diff --git a/src/DataProtection/DataProtection.Autorest/Az.DataProtection.format.ps1xml b/src/DataProtection/DataProtection.Autorest/Az.DataProtection.format.ps1xml index 052dc79bfda3..de376a34f2f0 100644 --- a/src/DataProtection/DataProtection.Autorest/Az.DataProtection.format.ps1xml +++ b/src/DataProtection/DataProtection.Autorest/Az.DataProtection.format.ps1xml @@ -38,6 +38,9 @@ + + + @@ -78,6 +81,9 @@ ResourceGuardsName + + ResourceId + SubscriptionId @@ -204,9 +210,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupInstanceResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupInstanceResource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupInstanceResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupInstanceResource @@ -232,9 +238,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AbsoluteDeleteOption + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AbsoluteDeleteOption - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AbsoluteDeleteOption + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AbsoluteDeleteOption @@ -260,9 +266,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AdHocBackupRuleOptions + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AdHocBackupRuleOptions - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AdHocBackupRuleOptions + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AdHocBackupRuleOptions @@ -282,9 +288,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AdhocBackupTriggerOption + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AdhocBackupTriggerOption - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AdhocBackupTriggerOption + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AdhocBackupTriggerOption @@ -304,9 +310,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AdhocBasedTriggerContext + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AdhocBasedTriggerContext - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AdhocBasedTriggerContext + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AdhocBasedTriggerContext @@ -326,9 +332,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AuthCredentials + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AuthCredentials - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AuthCredentials + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AuthCredentials @@ -348,9 +354,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupDiscreteRecoveryPoint + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupDiscreteRecoveryPoint - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupDiscreteRecoveryPoint + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupDiscreteRecoveryPoint @@ -430,9 +436,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupFindRestorableTimeRangesRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupFindRestorableTimeRangesRequest - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupFindRestorableTimeRangesRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupFindRestorableTimeRangesRequest @@ -464,9 +470,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupFindRestorableTimeRangesRequestResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupFindRestorableTimeRangesRequestResource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupFindRestorableTimeRangesRequestResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupFindRestorableTimeRangesRequestResource @@ -510,9 +516,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupFindRestorableTimeRangesResponse + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupFindRestorableTimeRangesResponse - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupFindRestorableTimeRangesResponse + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupFindRestorableTimeRangesResponse @@ -532,9 +538,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupFindRestorableTimeRangesResponseResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupFindRestorableTimeRangesResponseResource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupFindRestorableTimeRangesResponseResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupFindRestorableTimeRangesResponseResource @@ -554,9 +560,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupJob + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupJob - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupJob + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupJob @@ -744,9 +750,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupJobResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupJobResource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupJobResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupJobResource @@ -766,9 +772,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupJobResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupJobResourceList - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupJobResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupJobResourceList @@ -788,9 +794,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupParams + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupParams - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupParams + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupParams @@ -816,9 +822,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupRecoveryPoint + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupRecoveryPoint - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupRecoveryPoint + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupRecoveryPoint @@ -838,9 +844,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupRecoveryPointBasedRestoreRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupRecoveryPointBasedRestoreRequest - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupRecoveryPointBasedRestoreRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupRecoveryPointBasedRestoreRequest @@ -853,6 +859,9 @@ + + + @@ -875,6 +884,9 @@ ObjectType + + ResourceGuardOperationRequest + SourceDataStoreType @@ -890,9 +902,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupRecoveryPointResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupRecoveryPointResource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupRecoveryPointResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupRecoveryPointResource @@ -912,9 +924,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupRecoveryPointResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupRecoveryPointResourceList - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupRecoveryPointResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupRecoveryPointResourceList @@ -934,9 +946,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupRecoveryTimeBasedRestoreRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupRecoveryTimeBasedRestoreRequest - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupRecoveryTimeBasedRestoreRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupRecoveryTimeBasedRestoreRequest @@ -949,6 +961,9 @@ + + + @@ -971,6 +986,9 @@ ObjectType + + ResourceGuardOperationRequest + SourceDataStoreType @@ -986,9 +1004,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupRehydrationRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupRehydrationRequest - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupRehydrationRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupRehydrationRequest @@ -1020,15 +1038,18 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupRestoreRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupRestoreRequest - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupRestoreRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupRestoreRequest + + + @@ -1042,6 +1063,9 @@ ObjectType + + ResourceGuardOperationRequest + SourceDataStoreType @@ -1054,9 +1078,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupRestoreWithRehydrationRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupRestoreWithRehydrationRequest - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupRestoreWithRehydrationRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupRestoreWithRehydrationRequest @@ -1072,6 +1096,9 @@ + + + @@ -1100,6 +1127,9 @@ RecoveryPointId + + ResourceGuardOperationRequest + SourceDataStoreType @@ -1118,9 +1148,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupRule + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupRule - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupRule + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupRule @@ -1146,9 +1176,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureMonitorAlertSettings + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureMonitorAlertSettings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureMonitorAlertSettings + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureMonitorAlertSettings @@ -1168,9 +1198,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureOperationalStoreParameters + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureOperationalStoreParameters - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureOperationalStoreParameters + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureOperationalStoreParameters @@ -1202,9 +1232,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureRetentionRule + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureRetentionRule - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureRetentionRule + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureRetentionRule @@ -1236,9 +1266,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupCriteria - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupCriteria @@ -1258,9 +1288,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupDatasourceParameters + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupDatasourceParameters - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupDatasourceParameters + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupDatasourceParameters @@ -1280,9 +1310,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupInstance + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupInstance - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupInstance + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupInstance @@ -1298,6 +1328,9 @@ + + + @@ -1317,6 +1350,9 @@ ProvisioningState + + ResourceGuardOperationRequest + ValidationType @@ -1326,9 +1362,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupInstanceResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupInstanceResourceList - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupInstanceResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupInstanceResourceList @@ -1348,9 +1384,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupParameters + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupParameters - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupParameters + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupParameters @@ -1370,9 +1406,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupPolicy + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupPolicy - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupPolicy + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupPolicy @@ -1398,9 +1434,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupSchedule + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupSchedule - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupSchedule + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupSchedule @@ -1426,12 +1462,15 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupVault + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupVault - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupVault + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupVault + + + @@ -1441,6 +1480,9 @@ + + + @@ -1451,6 +1493,9 @@ + + BcdrSecurityLevel + IsVaultProtectedByResourceGuard @@ -1460,6 +1505,9 @@ ReplicatedRegion + + ResourceGuardOperationRequest + ResourceMoveState @@ -1472,9 +1520,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupVaultResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupVaultResource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupVaultResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupVaultResource @@ -1506,9 +1554,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupVaultResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupVaultResourceList - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupVaultResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupVaultResourceList @@ -1528,9 +1576,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BaseBackupPolicy + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BaseBackupPolicy - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BaseBackupPolicy + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BaseBackupPolicy @@ -1556,9 +1604,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BaseBackupPolicyResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BaseBackupPolicyResource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BaseBackupPolicyResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BaseBackupPolicyResource @@ -1578,9 +1626,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BaseBackupPolicyResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BaseBackupPolicyResourceList - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BaseBackupPolicyResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BaseBackupPolicyResourceList @@ -1600,9 +1648,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BasePolicyRule + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BasePolicyRule - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BasePolicyRule + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BasePolicyRule @@ -1628,9 +1676,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BaseResourceProperties + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BaseResourceProperties - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BaseResourceProperties + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BaseResourceProperties @@ -1650,9 +1698,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BlobBackupDatasourceParameters + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BlobBackupDatasourceParameters - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BlobBackupDatasourceParameters + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BlobBackupDatasourceParameters @@ -1678,9 +1726,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CheckNameAvailabilityRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CheckNameAvailabilityRequest - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CheckNameAvailabilityRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CheckNameAvailabilityRequest @@ -1700,9 +1748,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CheckNameAvailabilityResult + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CheckNameAvailabilityResult - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CheckNameAvailabilityResult + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CheckNameAvailabilityResult @@ -1734,9 +1782,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ClientDiscoveryDisplay + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ClientDiscoveryDisplay - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ClientDiscoveryDisplay + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ClientDiscoveryDisplay @@ -1774,9 +1822,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ClientDiscoveryForLogSpecification + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ClientDiscoveryForLogSpecification - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ClientDiscoveryForLogSpecification + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ClientDiscoveryForLogSpecification @@ -1808,9 +1856,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ClientDiscoveryResponse + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ClientDiscoveryResponse - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ClientDiscoveryResponse + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ClientDiscoveryResponse @@ -1830,9 +1878,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ClientDiscoveryValueForSingleApi + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ClientDiscoveryValueForSingleApi - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ClientDiscoveryValueForSingleApi + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ClientDiscoveryValueForSingleApi @@ -1864,9 +1912,59 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CopyOnExpiryOption + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CmkKekIdentity + + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CmkKekIdentity + + + + + + + + + + + + + + + IdentityId + + + IdentityType + + + + + + + + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CmkKeyVaultProperties + + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CmkKeyVaultProperties + + + + + + + + + + + + KeyUri + + + + + + + + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CopyOnExpiryOption - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CopyOnExpiryOption + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CopyOnExpiryOption @@ -1886,9 +1984,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CopyOption + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CopyOption - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CopyOption + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CopyOption @@ -1908,9 +2006,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossRegionRestoreDetails + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CrossRegionRestoreDetails - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossRegionRestoreDetails + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CrossRegionRestoreDetails @@ -1936,9 +2034,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossRegionRestoreJobRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CrossRegionRestoreJobRequest - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossRegionRestoreJobRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CrossRegionRestoreJobRequest @@ -1970,9 +2068,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossRegionRestoreJobsRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CrossRegionRestoreJobsRequest - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossRegionRestoreJobsRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CrossRegionRestoreJobsRequest @@ -1998,9 +2096,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossRegionRestoreSettings + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CrossRegionRestoreSettings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossRegionRestoreSettings + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CrossRegionRestoreSettings @@ -2020,9 +2118,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossSubscriptionRestoreSettings + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CrossSubscriptionRestoreSettings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossSubscriptionRestoreSettings + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CrossSubscriptionRestoreSettings @@ -2042,9 +2140,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CustomCopyOption + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CustomCopyOption - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CustomCopyOption + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CustomCopyOption @@ -2070,9 +2168,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.Datasource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.Datasource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.Datasource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.Datasource @@ -2122,9 +2220,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DatasourceSet + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DatasourceSet - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DatasourceSet + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DatasourceSet @@ -2180,9 +2278,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DataStoreInfoBase + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DataStoreInfoBase - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DataStoreInfoBase + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DataStoreInfoBase @@ -2208,9 +2306,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DataStoreParameters + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DataStoreParameters - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DataStoreParameters + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DataStoreParameters @@ -2236,9 +2334,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.Day + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.Day - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.Day + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.Day @@ -2264,9 +2362,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DefaultResourceProperties + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DefaultResourceProperties - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DefaultResourceProperties + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DefaultResourceProperties @@ -2286,9 +2384,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DeletedBackupInstance + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DeletedBackupInstance - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DeletedBackupInstance + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DeletedBackupInstance @@ -2304,6 +2402,9 @@ + + + @@ -2323,6 +2424,9 @@ ProvisioningState + + ResourceGuardOperationRequest + ValidationType @@ -2332,9 +2436,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DeletedBackupInstanceResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DeletedBackupInstanceResource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DeletedBackupInstanceResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DeletedBackupInstanceResource @@ -2354,9 +2458,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DeletedBackupInstanceResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DeletedBackupInstanceResourceList - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DeletedBackupInstanceResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DeletedBackupInstanceResourceList @@ -2376,9 +2480,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DeleteOption + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DeleteOption - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DeleteOption + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DeleteOption @@ -2404,9 +2508,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DeletionInfo + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DeletionInfo - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DeletionInfo + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DeletionInfo @@ -2444,9 +2548,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppBaseResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppBaseResource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppBaseResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppBaseResource @@ -2466,9 +2570,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppBaseResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppBaseResourceList - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppBaseResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppBaseResourceList @@ -2488,9 +2592,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppBaseTrackedResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppBaseTrackedResource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppBaseTrackedResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppBaseTrackedResource @@ -2522,9 +2626,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppBaseTrackedResourceTags + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppBaseTrackedResourceTags - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppBaseTrackedResourceTags + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppBaseTrackedResourceTags @@ -2544,9 +2648,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppIdentityDetails + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppIdentityDetails - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppIdentityDetails + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppIdentityDetails @@ -2572,9 +2676,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppProxyResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppProxyResource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppProxyResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppProxyResource @@ -2594,9 +2698,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppProxyResourceTags + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppProxyResourceTags - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppProxyResourceTags + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppProxyResourceTags @@ -2616,9 +2720,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppResource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppResource @@ -2638,9 +2742,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppResourceList - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppResourceList @@ -2660,9 +2764,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppTrackedResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppTrackedResource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppTrackedResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppTrackedResource @@ -2694,9 +2798,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppTrackedResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppTrackedResourceList - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppTrackedResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppTrackedResourceList @@ -2716,9 +2820,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppWorkerRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppWorkerRequest - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppWorkerRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppWorkerRequest @@ -2762,9 +2866,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppWorkerRequestHeaders + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppWorkerRequestHeaders - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppWorkerRequestHeaders + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppWorkerRequestHeaders @@ -2784,9 +2888,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppWorkerRequestParameters + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppWorkerRequestParameters - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppWorkerRequestParameters + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppWorkerRequestParameters @@ -2806,9 +2910,37 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.Error + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.EncryptionSettings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.Error + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.EncryptionSettings + + + + + + + + + + + + + + + CmkInfrastructureEncryption + + + State + + + + + + + + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.Error + + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.Error @@ -2840,9 +2972,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ExportJobsResult + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ExportJobsResult - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ExportJobsResult + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ExportJobsResult @@ -2880,9 +3012,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.FeatureValidationRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.FeatureValidationRequest - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.FeatureValidationRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.FeatureValidationRequest @@ -2914,9 +3046,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.FeatureValidationRequestBase + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.FeatureValidationRequestBase - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.FeatureValidationRequestBase + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.FeatureValidationRequestBase @@ -2936,9 +3068,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.FeatureValidationResponse + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.FeatureValidationResponse - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.FeatureValidationResponse + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.FeatureValidationResponse @@ -2964,9 +3096,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.FeatureValidationResponseBase + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.FeatureValidationResponseBase - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.FeatureValidationResponseBase + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.FeatureValidationResponseBase @@ -2986,9 +3118,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.FetchSecondaryRPsRequestParameters + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.FetchSecondaryRPsRequestParameters - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.FetchSecondaryRPsRequestParameters + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.FetchSecondaryRPsRequestParameters @@ -3014,9 +3146,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IdentityDetails + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IdentityDetails - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IdentityDetails + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IdentityDetails @@ -3042,9 +3174,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ImmediateCopyOption + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ImmediateCopyOption - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ImmediateCopyOption + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ImmediateCopyOption @@ -3064,9 +3196,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ImmutabilitySettings + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ImmutabilitySettings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ImmutabilitySettings + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ImmutabilitySettings @@ -3086,9 +3218,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.InnerError + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.InnerError - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.InnerError + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.InnerError @@ -3108,9 +3240,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.InnerErrorAdditionalInfo + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.InnerErrorAdditionalInfo - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.InnerErrorAdditionalInfo + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.InnerErrorAdditionalInfo @@ -3130,9 +3262,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ItemLevelRestoreCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ItemLevelRestoreCriteria - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ItemLevelRestoreCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ItemLevelRestoreCriteria @@ -3152,9 +3284,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ItemLevelRestoreTargetInfo + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ItemLevelRestoreTargetInfo - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ItemLevelRestoreTargetInfo + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ItemLevelRestoreTargetInfo @@ -3186,9 +3318,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ItemPathBasedRestoreCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ItemPathBasedRestoreCriteria - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ItemPathBasedRestoreCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ItemPathBasedRestoreCriteria @@ -3226,9 +3358,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.JobExtendedInfo + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.JobExtendedInfo - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.JobExtendedInfo + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.JobExtendedInfo @@ -3260,9 +3392,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.JobExtendedInfoAdditionalDetails + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.JobExtendedInfoAdditionalDetails - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.JobExtendedInfoAdditionalDetails + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.JobExtendedInfoAdditionalDetails @@ -3282,9 +3414,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.JobSubTask + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.JobSubTask - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.JobSubTask + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.JobSubTask @@ -3322,9 +3454,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.JobSubTaskAdditionalDetails + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.JobSubTaskAdditionalDetails - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.JobSubTaskAdditionalDetails + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.JobSubTaskAdditionalDetails @@ -3344,9 +3476,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.KubernetesClusterBackupDatasourceParameters + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.KubernetesClusterBackupDatasourceParameters - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.KubernetesClusterBackupDatasourceParameters + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.KubernetesClusterBackupDatasourceParameters @@ -3408,9 +3540,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.KubernetesClusterRestoreCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.KubernetesClusterRestoreCriteria - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.KubernetesClusterRestoreCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.KubernetesClusterRestoreCriteria @@ -3478,9 +3610,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.KubernetesClusterRestoreCriteriaNamespaceMappings + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.KubernetesClusterRestoreCriteriaNamespaceMappings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.KubernetesClusterRestoreCriteriaNamespaceMappings + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.KubernetesClusterRestoreCriteriaNamespaceMappings @@ -3500,9 +3632,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.KubernetesClusterVaultTierRestoreCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.KubernetesClusterVaultTierRestoreCriteria - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.KubernetesClusterVaultTierRestoreCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.KubernetesClusterVaultTierRestoreCriteria @@ -3582,9 +3714,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings @@ -3604,9 +3736,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.KubernetesPvRestoreCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.KubernetesPvRestoreCriteria - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.KubernetesPvRestoreCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.KubernetesPvRestoreCriteria @@ -3638,9 +3770,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.KubernetesStorageClassRestoreCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.KubernetesStorageClassRestoreCriteria - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.KubernetesStorageClassRestoreCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.KubernetesStorageClassRestoreCriteria @@ -3672,9 +3804,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.NamespacedNameResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.NamespacedNameResource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.NamespacedNameResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.NamespacedNameResource @@ -3700,9 +3832,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.OperationExtendedInfo + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.OperationExtendedInfo - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.OperationExtendedInfo + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.OperationExtendedInfo @@ -3722,9 +3854,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.OperationJobExtendedInfo + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.OperationJobExtendedInfo - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.OperationJobExtendedInfo + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.OperationJobExtendedInfo @@ -3750,9 +3882,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.OperationResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.OperationResource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.OperationResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.OperationResource @@ -3790,9 +3922,31 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.PatchResourceGuardInputTags + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.PatchBackupVaultInput - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.PatchResourceGuardInputTags + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.PatchBackupVaultInput + + + + + + + + + + + + ResourceGuardOperationRequest + + + + + + + + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.PatchResourceGuardInputTags + + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.PatchResourceGuardInputTags @@ -3812,9 +3966,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.PatchResourceRequestInputTags + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.PatchResourceRequestInputTags - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.PatchResourceRequestInputTags + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.PatchResourceRequestInputTags @@ -3834,9 +3988,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.PolicyInfo + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.PolicyInfo - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.PolicyInfo + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.PolicyInfo @@ -3862,9 +4016,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ProtectionStatusDetails + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ProtectionStatusDetails - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ProtectionStatusDetails + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ProtectionStatusDetails @@ -3884,9 +4038,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RangeBasedItemLevelRestoreCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RangeBasedItemLevelRestoreCriteria - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RangeBasedItemLevelRestoreCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RangeBasedItemLevelRestoreCriteria @@ -3918,9 +4072,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RecoveryPointDataStoreDetails + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RecoveryPointDataStoreDetails - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RecoveryPointDataStoreDetails + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RecoveryPointDataStoreDetails @@ -3976,9 +4130,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RecoveryPointsFilters + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RecoveryPointsFilters - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RecoveryPointsFilters + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RecoveryPointsFilters @@ -4028,9 +4182,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuard + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuard - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuard + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuard @@ -4068,9 +4222,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuardOperation + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardOperation - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuardOperation + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardOperation @@ -4096,9 +4250,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuardOperationDetail + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardOperationDetail - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuardOperationDetail + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardOperationDetail @@ -4124,9 +4278,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuardProxyBase + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardProxyBase - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuardProxyBase + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardProxyBase @@ -4158,9 +4312,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuardProxyBaseResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardProxyBaseResource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuardProxyBaseResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardProxyBaseResource @@ -4180,9 +4334,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuardProxyBaseResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardProxyBaseResourceList - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuardProxyBaseResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardProxyBaseResourceList @@ -4202,9 +4356,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuardResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardResource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuardResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardResource @@ -4236,9 +4390,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuardResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardResourceList - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuardResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardResourceList @@ -4258,9 +4412,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceMoveDetails + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceMoveDetails - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceMoveDetails + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceMoveDetails @@ -4304,9 +4458,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RestorableTimeRange + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestorableTimeRange - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RestorableTimeRange + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestorableTimeRange @@ -4338,9 +4492,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RestoreFilesTargetInfo + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestoreFilesTargetInfo - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RestoreFilesTargetInfo + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestoreFilesTargetInfo @@ -4372,9 +4526,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RestoreJobRecoveryPointDetails + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestoreJobRecoveryPointDetails - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RestoreJobRecoveryPointDetails + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestoreJobRecoveryPointDetails @@ -4400,9 +4554,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RestoreTargetInfo + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestoreTargetInfo - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RestoreTargetInfo + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestoreTargetInfo @@ -4434,9 +4588,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RestoreTargetInfoBase + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestoreTargetInfoBase - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RestoreTargetInfoBase + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestoreTargetInfoBase @@ -4468,9 +4622,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RetentionTag + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RetentionTag - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RetentionTag + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RetentionTag @@ -4496,9 +4650,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ScheduleBasedBackupCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ScheduleBasedBackupCriteria - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ScheduleBasedBackupCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ScheduleBasedBackupCriteria @@ -4548,9 +4702,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ScheduleBasedTriggerContext + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ScheduleBasedTriggerContext - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ScheduleBasedTriggerContext + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ScheduleBasedTriggerContext @@ -4570,9 +4724,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SecretStoreBasedAuthCredentials + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SecretStoreBasedAuthCredentials - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SecretStoreBasedAuthCredentials + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SecretStoreBasedAuthCredentials @@ -4592,9 +4746,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SecretStoreResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SecretStoreResource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SecretStoreResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SecretStoreResource @@ -4626,9 +4780,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SoftDeleteSettings + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SoftDeleteSettings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SoftDeleteSettings + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SoftDeleteSettings @@ -4654,9 +4808,31 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.StorageSetting + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.StopProtectionRequest + + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.StopProtectionRequest + + + + + + + + + + + + ResourceGuardOperationRequest + + + + + + + + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.StorageSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.StorageSetting + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.StorageSetting @@ -4676,9 +4852,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SupportedFeature + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SupportedFeature - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SupportedFeature + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SupportedFeature @@ -4710,9 +4886,31 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SyncBackupInstanceRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SuspendBackupRequest + + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SuspendBackupRequest + + + + + + + + + + + + ResourceGuardOperationRequest + + + + + + + + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SyncBackupInstanceRequest - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SyncBackupInstanceRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SyncBackupInstanceRequest @@ -4732,9 +4930,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.TaggingCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.TaggingCriteria - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.TaggingCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.TaggingCriteria @@ -4760,9 +4958,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.TargetDetails + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.TargetDetails - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.TargetDetails + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.TargetDetails @@ -4800,9 +4998,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.TriggerContext + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.TriggerContext - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.TriggerContext + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.TriggerContext @@ -4822,9 +5020,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.UnlockDeleteRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.UnlockDeleteRequest - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.UnlockDeleteRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.UnlockDeleteRequest @@ -4850,9 +5048,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.UnlockDeleteResponse + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.UnlockDeleteResponse - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.UnlockDeleteResponse + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.UnlockDeleteResponse @@ -4872,9 +5070,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.UserFacingError + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.UserFacingError - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.UserFacingError + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.UserFacingError @@ -4924,9 +5122,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.UserFacingErrorProperties + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.UserFacingErrorProperties - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.UserFacingErrorProperties + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.UserFacingErrorProperties @@ -4946,9 +5144,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.UserFacingWarningDetail + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.UserFacingWarningDetail - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.UserFacingWarningDetail + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.UserFacingWarningDetail diff --git a/src/DataProtection/DataProtection.Autorest/Az.DataProtection.psd1 b/src/DataProtection/DataProtection.Autorest/Az.DataProtection.psd1 index 88dae6211b2f..d00720fe355c 100644 --- a/src/DataProtection/DataProtection.Autorest/Az.DataProtection.psd1 +++ b/src/DataProtection/DataProtection.Autorest/Az.DataProtection.psd1 @@ -11,7 +11,7 @@ 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-AzDataProtectionBackupInstance', 'Update-AzDataProtectionBackupInstanceAssociatedPolicy', 'Update-AzDataProtectionBackupVault', 'Update-AzDataProtectionResourceGuard', '*' + FunctionsToExport = 'Backup-AzDataProtectionBackupInstanceAdhoc', 'Edit-AzDataProtectionPolicyRetentionRuleClientObject', 'Edit-AzDataProtectionPolicyTagClientObject', 'Edit-AzDataProtectionPolicyTriggerClientObject', 'Find-AzDataProtectionRestorableTimeRange', 'Get-AzDataProtectionBackupInstance', 'Get-AzDataProtectionBackupInstancesExtensionRouting', '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-AzDataProtectionBackupInstance', 'Update-AzDataProtectionBackupInstanceAssociatedPolicy', 'Update-AzDataProtectionBackupVault', 'Update-AzDataProtectionResourceGuard', '*' AliasesToExport = '*' PrivateData = @{ PSData = @{ diff --git a/src/DataProtection/DataProtection.Autorest/README.md b/src/DataProtection/DataProtection.Autorest/README.md index 1b7dceb21cda..80247483e4b6 100644 --- a/src/DataProtection/DataProtection.Autorest/README.md +++ b/src/DataProtection/DataProtection.Autorest/README.md @@ -31,11 +31,11 @@ This file contains the configuration for generating My API from the OpenAPI spec ``` yaml # it's the same options as command line options, just drop the double-dash! -commit: 41d1c179dc166b7f16b7e40ef4f2a1d9c85b10cc +commit: 72f52bc8847a889488da885f40d6871a89e0470b require: - $(this-folder)/../../readme.azure.noprofile.md input-file: - - $(repo)/specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-12-01/dataprotection.json + - $(repo)/specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2024-04-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: @@ -45,10 +45,6 @@ directive: - from: swagger-document where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}"].delete transform: $["description"] = "Delete a backupInstances" - - from: swagger-document - where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}/unlockDelete"]["post"]["parameters"] - transform: > - $.push({"name": "x-ms-authorization-auxiliary","in": "header","type": "string"}) - where: parameter-name: XmsAuthorizationAuxiliary set: @@ -104,6 +100,10 @@ directive: set: parameter-name: SoftDeleteSetting clear-alias: true + - where: + parameter-name: SecuritySettingEncryptionSetting + set: + parameter-name: EncryptionSetting - where: verb: Get subject: BackupVaultResource.* @@ -159,7 +159,7 @@ directive: subject: ResourceGuardMapping - where: parameter-name: ResourceGuardProxyName - hide: true + hide: true set: default: script: '"DppResourceGuardProxy"' @@ -167,7 +167,7 @@ directive: verb: New subject: ResourceGuardMapping parameter-name: LastUpdatedTime|Description|ResourceGuardOperationDetail - hide: true + hide: true - where: verb: Get subject: DeletedBackupInstance @@ -237,6 +237,26 @@ directive: verb: Start subject: .*Restore$ hide: true + - where: + verb: Stop + subject: ^BackupInstanceProtection$ + variant: Stop$|StopViaIdentityExpanded$ + remove: true + - where: + verb: Stop + subject: ^BackupInstanceProtection$ + variant: StopExpanded$|StopViaIdentity$ + hide: true + - where: + verb: Suspend + subject: ^BackupInstanceBackup$ + variant: Suspend$|SuspendViaIdentityExpanded$ + remove: true + - where: + verb: Suspend + subject: ^BackupInstanceBackup$ + variant: SuspendExpanded$|SuspendViaIdentity$ + hide: true - where: verb: Get subject: OperationResultPatch @@ -249,6 +269,11 @@ directive: verb: New subject: BackupVault hide: true + - where: + verb: Update + subject: BackupVault + variant: ^UpdateExpanded$ + hide: true - where: verb: Invoke variant: ^Post$|^PostViaIdentity$|^PostViaIdentityExpanded$ @@ -360,6 +385,22 @@ directive: property-name: SoftDeleteSettingState set: property-name: SoftDeleteState + - where: + property-name: SecuritySettingEncryptionSetting + set: + property-name: EncryptionSetting + - where: + property-name: InfrastructureEncryption + set: + property-name: CmkInfrastructureEncryption + - where: + property-name: KekIdentity + set: + property-name: CmkIdentity + - where: + property-name: KeyVaultProperty + set: + property-name: CmkKeyVaultProperty - where: subject: OperationStatus parameter-name: Location @@ -396,18 +437,19 @@ directive: - UserFacingError - ValidateRestoreRequestObject - ValidateCrossRegionRestoreRequestObject + - EncryptionSettings - from: source-file-csharp where: $ - transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicy Property', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicy Property'); + transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicy Property', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicy Property'); - from: source-file-csharp where: $ - transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerContext Trigger', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerContext Trigger'); + transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerContext Trigger', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerContext Trigger'); - from: source-file-csharp where: $ - transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupParameters BackupParameter', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupParameters BackupParameter'); + transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupParameters BackupParameter', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupParameters BackupParameter'); - from: source-file-csharp where: $ - transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPoint Property', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPoint Property'); + transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPoint Property', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 944ebe2db80c..b707555e50bb 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-12-01", + "apiVersion": "2024-04-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 cfe35efe176f..69c37ada48ac 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-12-01", + "apiVersion": "2024-04-01", "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.dataprotection" }, @@ -177,92 +177,6 @@ } ] }, - { - "name": "Stop-AzDataProtectionBackupInstanceProtection", - "description": "This operation will stop protection of a backup instance and data will be held forever", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/stopProtection", - "help": { - "learnMore": { - "url": "https://learn.microsoft.com/powershell/module/az.dataprotection/stop-azdataprotectionbackupinstanceprotection" - }, - "parameterSets": [ - { - "parameters": [ - "-BackupInstanceName ", - "-ResourceGroupName ", - "[-SubscriptionId ]", - "-VaultName " - ] - } - ] - }, - "examples": [ - { - "description": "This operation will stop protection of a backup instance and data will be held forever", - "parameters": [ - { - "name": "-BackupInstanceName", - "value": "[Path.backupInstanceName]" - }, - { - "name": "-ResourceGroupName", - "value": "[Path.resourceGroupName]" - }, - { - "name": "-SubscriptionId", - "value": "[Path.subscriptionId]" - }, - { - "name": "-VaultName", - "value": "[Path.vaultName]" - } - ] - } - ] - }, - { - "name": "Suspend-AzDataProtectionBackupInstanceBackup", - "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)", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/suspendBackups", - "help": { - "learnMore": { - "url": "https://learn.microsoft.com/powershell/module/az.dataprotection/suspend-azdataprotectionbackupinstancebackup" - }, - "parameterSets": [ - { - "parameters": [ - "-BackupInstanceName ", - "-ResourceGroupName ", - "[-SubscriptionId ]", - "-VaultName " - ] - } - ] - }, - "examples": [ - { - "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)", - "parameters": [ - { - "name": "-BackupInstanceName", - "value": "[Path.backupInstanceName]" - }, - { - "name": "-ResourceGroupName", - "value": "[Path.resourceGroupName]" - }, - { - "name": "-SubscriptionId", - "value": "[Path.subscriptionId]" - }, - { - "name": "-VaultName", - "value": "[Path.vaultName]" - } - ] - } - ] - }, { "name": "Test-AzDataProtectionBackupInstanceRestore", "description": "Validates if Restore can be triggered for a DataSource", 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 c4fe78e18289..06a28d3d956a 100644 --- a/src/DataProtection/DataProtection.Autorest/UX/Microsoft.DataProtection/backupVaults-backupJobs.json +++ b/src/DataProtection/DataProtection.Autorest/UX/Microsoft.DataProtection/backupVaults-backupJobs.json @@ -1,6 +1,6 @@ { "resourceType": "backupVaults/backupJobs", - "apiVersion": "2023-12-01", + "apiVersion": "2024-04-01", "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.dataprotection" }, 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 ac10f20440fb..1ac12ef6cfb1 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-12-01", + "apiVersion": "2024-04-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 ff3a8537be6d..442106630bd6 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-12-01", + "apiVersion": "2024-04-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 5d031f16bc27..ae8d76368ef2 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-12-01", + "apiVersion": "2024-04-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 adc197db9784..9de969f8bfbb 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-12-01", + "apiVersion": "2024-04-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 2e5bfb5bf1b1..92014bab0c02 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-12-01", + "apiVersion": "2024-04-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 8eb8115c66e1..fc3d7714e5a6 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-12-01", + "apiVersion": "2024-04-01", "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.dataprotection" }, 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 08ba20a98f84..a9166a9652c6 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Backupcenter/Search-AzDataProtectionBackupInstanceInAzGraph.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Backupcenter/Search-AzDataProtectionBackupInstanceInAzGraph.ps1 @@ -102,7 +102,7 @@ foreach($argResponse in $argInstanceResponse) { $jsonStringResponse = $argResponse | ConvertTo-Json -Depth 100 - $backupInstances += [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupInstanceResource]::FromJsonString($jsonStringResponse) + $backupInstances += [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 index 167522e73a51..3861375f4aa3 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Backupcenter/Search-AzDataProtectionBackupVaultInAzGraph.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Backupcenter/Search-AzDataProtectionBackupVaultInAzGraph.ps1 @@ -94,7 +94,7 @@ foreach($argVault in $argAllVaults) { $jsonStringResponse = $argVault | ConvertTo-Json -Depth 100 - $backupVaults += [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupVaultResource]::FromJsonString($jsonStringResponse) + $backupVaults += [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupVaultResource]::FromJsonString($jsonStringResponse) } return $backupVaults } 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 cab28255a634..3208a4598cd1 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Backupcenter/Search-AzDataProtectionJobInAzGraph.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Backupcenter/Search-AzDataProtectionJobInAzGraph.ps1 @@ -130,7 +130,7 @@ foreach($jobresponse in $argJobResponse) { $jsonStringResponse = $jobresponse | ConvertTo-Json -Depth 100 - $backupJobs += [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupJobResource]::FromJsonString($jsonStringResponse) + $backupJobs += [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupJobResource]::FromJsonString($jsonStringResponse) } return $backupJobs } 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 4b1efbb3ba91..d863622f1d58 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.Api20231201.IResourceGuardResource')] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource')] [CmdletBinding(PositionalBinding=$false, SupportsShouldProcess)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Creates a resource guard under a resource group')] 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 d20498a837b4..f39a8409823a 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Common/Unlock-AzDataProtectionResourceGuardOperation.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Common/Unlock-AzDataProtectionResourceGuardOperation.ps1 @@ -81,8 +81,7 @@ function Unlock-AzDataProtectionResourceGuardOperation else { $ResGuardProxy = Get-AzDataProtectionResourceGuardMapping -VaultName $VaultName -ResourceGroupName $ResourceGroupName } - - # 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-AzDataProtectionResourceGuard.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Common/Update-AzDataProtectionResourceGuard.ps1 index 0f46aa97f80b..566588b8cfe9 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.Api20231201.IResourceGuardResource')] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource')] [CmdletBinding(PositionalBinding=$false, SupportsShouldProcess)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Updates a resource guard belonging to a resource group')] @@ -31,7 +31,7 @@ function Update-AzDataProtectionResourceGuard [Hashtable] ${Tag}, - [Parameter(ParameterSetName="UpdateResourceGuardOperations", Mandatory=$false, HelpMessage='List of critical operations which are not protected by this resourceGuard. Supported values are DeleteProtection, UpdateProtection, UpdatePolicy, GetSecurityPin, DeleteBackupInstance')] + [Parameter(ParameterSetName="UpdateResourceGuardOperations", Mandatory=$false, HelpMessage='List of critical operations which are not protected by this resourceGuard. Supported values are DeleteProtection, UpdateProtection, UpdatePolicy, GetSecurityPin, DeleteBackupInstance, RecoveryServicesDisableImmutability, DataProtectionDisableImmutability, RecoveryServicesModifyEncryptionSettings, DataProtectionModifyEncryptionSettings')] [System.String[]] ${CriticalOperationExclusionList}, @@ -87,7 +87,7 @@ function Update-AzDataProtectionResourceGuard } # modify Critical operation exclusion list - $CriticalOperationsMap = @{ DeleteProtection = "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems/delete"; UpdateProtection = "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems/write"; UpdatePolicy = "Microsoft.RecoveryServices/vaults/backupPolicies/write"; GetSecurityPin = "Microsoft.RecoveryServices/vaults/backupSecurityPIN/action"; DeleteBackupInstance = "Microsoft.DataProtection/backupVaults/backupInstances/delete" } + $CriticalOperationsMap = @{ DeleteProtection = "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems/delete"; UpdateProtection = "Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems/write"; UpdatePolicy = "Microsoft.RecoveryServices/vaults/backupPolicies/write"; GetSecurityPin = "Microsoft.RecoveryServices/vaults/backupSecurityPIN/action"; DeleteBackupInstance = "Microsoft.DataProtection/backupVaults/backupInstances/delete"; RecoveryServicesDisableImmutability = "Microsoft.RecoveryServices/vaults/write#reduceImmutabilityState"; DataProtectionDisableImmutability = "Microsoft.DataProtection/backupVaults/write#reduceImmutabilityState"; RecoveryServicesModifyEncryptionSettings = "Microsoft.RecoveryServices/vaults/write#modifyEncryptionSettings"; DataProtectionModifyEncryptionSettings = "Microsoft.DataProtection/backupVaults/write#modifyEncryptionSettings"} $CriticalOperationExclusionListInternal = [System.Collections.ArrayList]@() diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/BackupInstance/Initialize-AzDataProtectionBackupInstance.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/BackupInstance/Initialize-AzDataProtectionBackupInstance.ps1 index 58ea6cf8bae7..2ed6c6678135 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/BackupInstance/Initialize-AzDataProtectionBackupInstance.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/BackupInstance/Initialize-AzDataProtectionBackupInstance.ps1 @@ -2,7 +2,7 @@ function Initialize-AzDataProtectionBackupInstance { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResource')] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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,AzureBlob.')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupDatasourceParameters] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupDatasourceParameters] ${BackupConfiguration} ) process { $manifest = LoadManifest -DatasourceType $DatasourceType.ToString() - $backupInstance = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupInstance]::new() + $backupInstance = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupInstance]::new() $backupInstance.ObjectType = "BackupInstance" if($manifest.snapshotRGPermissions.Length -eq 0 -and $SnapshotResourceGroupId -ne "") @@ -109,9 +109,9 @@ function Initialize-AzDataProtectionBackupInstance { $errormsg = "Please input SecretStoreType" throw $errormsg } - $backupInstance.DatasourceAuthCredentials = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SecretStoreBasedAuthCredentials]::new() + $backupInstance.DatasourceAuthCredentials = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SecretStoreBasedAuthCredentials]::new() $backupInstance.DatasourceAuthCredentials.ObjectType = "SecretStoreBasedAuthCredentials" - $backupInstance.DatasourceAuthCredentials.SecretStoreResource = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SecretStoreResource]::new() + $backupInstance.DatasourceAuthCredentials.SecretStoreResource = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SecretStoreResource]::new() $backupInstance.DatasourceAuthCredentials.SecretStoreResource.SecretStoreType = $SecretStoreType $backupInstance.DatasourceAuthCredentials.SecretStoreResource.Uri = $SecretStoreURI } @@ -121,7 +121,7 @@ function Initialize-AzDataProtectionBackupInstance { } } - $backupInstanceResource = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupInstanceResource]::new() + $backupInstanceResource = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupInstanceResource]::new() $backupInstanceResource.Property = $backupInstance if($PSBoundParameters.ContainsKey("DatasourceId")) @@ -139,7 +139,7 @@ function Initialize-AzDataProtectionBackupInstance { if($manifest.addDataStoreParametersList -eq $true) { - $operationalParam = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureOperationalStoreParameters]::new() + $operationalParam = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureOperationalStoreParameters]::new() $operationalParam.DataStoreType = "OperationalStore" $operationalParam.ObjectType = "AzureOperationalStoreParameters" $operationalParam.ResourceGroupId = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}" diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/BackupInstance/New-AzDataProtectionBackupConfigurationClientObject.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/BackupInstance/New-AzDataProtectionBackupConfigurationClientObject.ps1 index 14ec26dd7bdb..694c079e0390 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/BackupInstance/New-AzDataProtectionBackupConfigurationClientObject.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/BackupInstance/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.Api20231201.NamespacedNameResource[]] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.KubernetesClusterBackupDatasourceParameters]::new() + $dataSourceParam = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.BlobBackupDatasourceParameters]::new() + $dataSourceParam = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BlobBackupDatasourceParameters]::new() $dataSourceParam.ObjectType = "BlobBackupDatasourceParameters" if($VaultedBackupContainer -ne $null){ diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/BackupInstance/New-AzDataProtectionBackupInstance.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/BackupInstance/New-AzDataProtectionBackupInstance.ps1 index 451d2de41455..4ca22fe19ce9 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/BackupInstance/New-AzDataProtectionBackupInstance.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/BackupInstance/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.Api20231201.IBackupInstanceResource] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource] ${BackupInstance}, [Parameter(Mandatory=$false, HelpMessage='Resource tags')] diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/BackupInstance/Stop-AzDataProtectionBackupInstanceProtection.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/BackupInstance/Stop-AzDataProtectionBackupInstanceProtection.ps1 new file mode 100644 index 000000000000..f1e4eda26998 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/BackupInstance/Stop-AzDataProtectionBackupInstanceProtection.ps1 @@ -0,0 +1,115 @@ + + +function Stop-AzDataProtectionBackupInstanceProtection +{ + [OutputType('System.Boolean')] + [CmdletBinding(PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('This operation will stop protection of a backup instance and data will be held forever')] + + param( + [Parameter(ParameterSetName="Stop", Mandatory=$false, HelpMessage='Subscription Id of the backup vault')] + [System.String] + ${SubscriptionId}, + + [Parameter(ParameterSetName="Stop", Mandatory, HelpMessage='The name of the resource group where the backup vault is present')] + [System.String] + ${ResourceGroupName}, + + [Parameter(ParameterSetName="Stop", Mandatory, HelpMessage='The name of the backup instance')] + [System.String] + ${BackupInstanceName}, + + [Parameter(ParameterSetName="Stop", Mandatory, HelpMessage='The name of the backup vault')] + [System.String] + ${VaultName}, + + [Parameter(ParameterSetName="StopViaIdentity", Mandatory, HelpMessage='Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.', ValueFromPipeline=$true)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity] + ${InputObject}, + + [Parameter(Mandatory=$false, HelpMessage='Resource guard operation request in the format similar to /dppDisableStopProtectionRequests/default. Use this parameter when the operation is MUA protected.')] + [System.String[]] + ${ResourceGuardOperationRequest}, + + [Parameter(Mandatory=$false, HelpMessage='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.')] + [System.String] + ${Token}, + + [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(HelpMessage='Returns true when the command succeeds')] + [System.Management.Automation.SwitchParameter] + ${PassThru}, + + [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 + { + $parameterSetName = $PsCmdlet.ParameterSetName + if($parameterSetName -eq "StopViaIdentity"){ + $Parameter = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.StopProtectionRequest]::new() + + $hasResourceGuardOperationRequest = $PSBoundParameters.Remove("ResourceGuardOperationRequest") + if($hasResourceGuardOperationRequest){ + $Parameter.ResourceGuardOperationRequest = $ResourceGuardOperationRequest + } + + $null = $PSBoundParameters.Add("Parameter", $Parameter) + } + + if($PSBoundParameters.ContainsKey("Token")) + { + $null = $PSBoundParameters.Remove("Token") + $null = $PSBoundParameters.Add("Token", "Bearer $Token") + } + + Az.DataProtection.Internal\Stop-AzDataProtectionBackupInstanceProtection @PSBoundParameters + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/BackupInstance/Suspend-AzDataProtectionBackupInstanceBackup.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/BackupInstance/Suspend-AzDataProtectionBackupInstanceBackup.ps1 new file mode 100644 index 000000000000..80e9dbfb5d4c --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/BackupInstance/Suspend-AzDataProtectionBackupInstanceBackup.ps1 @@ -0,0 +1,115 @@ + + +function Suspend-AzDataProtectionBackupInstanceBackup +{ + [OutputType('System.Boolean')] + [CmdletBinding(PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] + [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')] + + param( + [Parameter(ParameterSetName="Suspend", Mandatory=$false, HelpMessage='Subscription Id of the backup vault')] + [System.String] + ${SubscriptionId}, + + [Parameter(ParameterSetName="Suspend", Mandatory, HelpMessage='The name of the resource group where the backup vault is present')] + [System.String] + ${ResourceGroupName}, + + [Parameter(ParameterSetName="Suspend", Mandatory, HelpMessage='The name of the backup instance')] + [System.String] + ${BackupInstanceName}, + + [Parameter(ParameterSetName="Suspend", Mandatory, HelpMessage='The name of the backup vault')] + [System.String] + ${VaultName}, + + [Parameter(ParameterSetName="SuspendViaIdentity", Mandatory, HelpMessage='Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.', ValueFromPipeline=$true)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity] + ${InputObject}, + + [Parameter(Mandatory=$false, HelpMessage='Resource guard operation request in the format similar to /dppDisableSuspendBackupsRequests/default. Use this parameter when the operation is MUA protected.')] + [System.String[]] + ${ResourceGuardOperationRequest}, + + [Parameter(Mandatory=$false, HelpMessage='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.')] + [System.String] + ${Token}, + + [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(HelpMessage='Returns true when the command succeeds')] + [System.Management.Automation.SwitchParameter] + ${PassThru}, + + [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 + { + $parameterSetName = $PsCmdlet.ParameterSetName + if($parameterSetName -eq "SuspendViaIdentity"){ + $Parameter = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SuspendBackupRequest]::new() + + $hasResourceGuardOperationRequest = $PSBoundParameters.Remove("ResourceGuardOperationRequest") + if($hasResourceGuardOperationRequest){ + $Parameter.ResourceGuardOperationRequest = $ResourceGuardOperationRequest + } + + $null = $PSBoundParameters.Add("Parameter", $Parameter) + } + + if($PSBoundParameters.ContainsKey("Token")) + { + $null = $PSBoundParameters.Remove("Token") + $null = $PSBoundParameters.Add("Token", "Bearer $Token") + } + + Az.DataProtection.Internal\Suspend-AzDataProtectionBackupInstanceBackup @PSBoundParameters + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/BackupInstance/Update-AzDataProtectionBackupInstance.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/BackupInstance/Update-AzDataProtectionBackupInstance.ps1 index 643d019871d4..463fd64ccfce 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/BackupInstance/Update-AzDataProtectionBackupInstance.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/BackupInstance/Update-AzDataProtectionBackupInstance.ps1 @@ -2,7 +2,7 @@ function Update-AzDataProtectionBackupInstance { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResource')] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource')] [CmdletBinding(PositionalBinding=$false, SupportsShouldProcess)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Updates a given backup instance')] @@ -116,7 +116,7 @@ function Update-AzDataProtectionBackupInstance $instance.Property.PolicyInfo.PolicyParameter.BackupDatasourceParametersList[0].ContainersList = $VaultedBackupContainer } elseif($datasourceParam -eq $null){ - $backupConfiguration = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BlobBackupDatasourceParameters]::new() + $backupConfiguration = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BlobBackupDatasourceParameters]::new() $backupConfiguration.ObjectType = "BlobBackupDatasourceParameters" $backupConfiguration.ContainersList = $VaultedBackupContainer diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/BackupInstance/Update-AzDataProtectionBackupInstanceAssociatedPolicy.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/BackupInstance/Update-AzDataProtectionBackupInstanceAssociatedPolicy.ps1 index a8d6d6dfd688..bef107bf76be 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/BackupInstance/Update-AzDataProtectionBackupInstanceAssociatedPolicy.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/BackupInstance/Update-AzDataProtectionBackupInstanceAssociatedPolicy.ps1 @@ -2,7 +2,7 @@ function Update-AzDataProtectionBackupInstanceAssociatedPolicy { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResource')] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Platform/Job/Get-AzDataProtectionJob.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Job/Get-AzDataProtectionJob.ps1 index 6bce3e513c13..a7a0369044c5 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Job/Get-AzDataProtectionJob.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Job/Get-AzDataProtectionJob.ps1 @@ -1,6 +1,6 @@ function Get-AzDataProtectionJob { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResource')] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResource')] [CmdletBinding(PositionalBinding=$false)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Gets or lists jobs in a backup vault')] 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 02c660dbcf96..867c4b884174 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.Api20231201.IAzureBackupRestoreRequest')] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest')] [CmdletBinding(PositionalBinding=$false, DefaultParameterSetName='AlternateLocationFullRecovery')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Initializes Restore Request object for triggering restore on a protected backup instance.')] @@ -71,7 +71,7 @@ [Parameter(ParameterSetName="OriginalLocationFullRecovery", Mandatory, HelpMessage='Backup Instance object to trigger original localtion restore.')] [Parameter(ParameterSetName="OriginalLocationILR", Mandatory, HelpMessage='Backup Instance object to trigger original localtion restore.')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupInstanceResource] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupInstanceResource] ${BackupInstance}, # this is applicable to all workloads wherever ALR supported. @@ -121,7 +121,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.Api20231201.KubernetesClusterRestoreCriteria] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.')] @@ -155,7 +155,7 @@ Write-Debug -Message $RecoveryPoint if($PSBoundParameters.ContainsKey("RehydrationPriority")){ - $restoreRequest = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupRestoreWithRehydrationRequest]::new() + $restoreRequest = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupRestoreWithRehydrationRequest]::new() $restoreRequest.ObjectType = "AzureBackupRestoreWithRehydrationRequest" $restoreRequest.RehydrationPriority = $RehydrationPriority if($PSBoundParameters.ContainsKey("RehydrationDuration")){ @@ -166,7 +166,7 @@ } } else{ - $restoreRequest = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupRecoveryPointBasedRestoreRequest]::new() + $restoreRequest = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupRecoveryPointBasedRestoreRequest]::new() $restoreRequest.ObjectType = "AzureBackupRecoveryPointBasedRestoreRequest" } $restoreRequest.RecoveryPointId = $RecoveryPoint @@ -176,7 +176,7 @@ { $utcTime = $PointInTime.ToUniversalTime().ToString("yyyy-MM-ddTHH:mm:ss.0000000Z") Write-Debug -Message $utcTime - $restoreRequest = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupRecoveryTimeBasedRestoreRequest]::new() + $restoreRequest = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupRecoveryTimeBasedRestoreRequest]::new() $restoreRequest.ObjectType = "AzureBackupRecoveryTimeBasedRestoreRequest" $restoreRequest.RecoveryPointTime = $utcTime $restoreMode = "PointInTimeBased" @@ -193,7 +193,7 @@ if($RestoreType -eq "RestoreAsFiles") { - $restoreRequest.RestoreTargetInfo = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RestoreFilesTargetInfo]::new() + $restoreRequest.RestoreTargetInfo = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestoreFilesTargetInfo]::new() $restoreRequest.RestoreTargetInfo.ObjectType = "RestoreFilesTargetInfo" if($manifest.fileNamePrefixDisabled -and $PSBoundParameters.ContainsKey("FileNamePrefix")){ @@ -228,11 +228,11 @@ { # RestoreTargetInfo for OLR ALR Full recovery if($DatasourceType -ne "AzureKubernetesService"){ - $restoreRequest.RestoreTargetInfo = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RestoreTargetInfo]::new() + $restoreRequest.RestoreTargetInfo = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestoreTargetInfo]::new() $restoreRequest.RestoreTargetInfo.ObjectType = "restoreTargetInfo" } else{ - $restoreRequest.RestoreTargetInfo = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ItemLevelRestoreTargetInfo]::new() + $restoreRequest.RestoreTargetInfo = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ItemLevelRestoreTargetInfo]::new() $restoreRequest.RestoreTargetInfo.ObjectType = "itemLevelRestoreTargetInfo" $restoreCriteriaList = @() @@ -252,7 +252,7 @@ else { # ILR: ItemLevelRestoreTargetInfo - $restoreRequest.RestoreTargetInfo = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ItemLevelRestoreTargetInfo]::new() + $restoreRequest.RestoreTargetInfo = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ItemLevelRestoreTargetInfo]::new() $restoreRequest.RestoreTargetInfo.ObjectType = "itemLevelRestoreTargetInfo" $restoreCriteriaList = @() @@ -264,7 +264,7 @@ $hasPrefixMatch = $PSBoundParameters.Remove("PrefixMatch") for($i = 0; $i -lt $ContainersList.length; $i++){ - $restoreCriteria = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ItemPathBasedRestoreCriteria]::new() + $restoreCriteria = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ItemPathBasedRestoreCriteria]::new() $restoreCriteria.ObjectType = "ItemPathBasedRestoreCriteria" $restoreCriteria.ItemPath = $ContainersList[$i] @@ -285,7 +285,7 @@ elseif($ContainersList.length -gt 0){ for($i = 0; $i -lt $ContainersList.length; $i++){ - $restoreCriteria = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RangeBasedItemLevelRestoreCriteria]::new() + $restoreCriteria = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RangeBasedItemLevelRestoreCriteria]::new() $restoreCriteria.ObjectType = "RangeBasedItemLevelRestoreCriteria" $restoreCriteria.MinMatchingValue = $ContainersList[$i] @@ -304,7 +304,7 @@ for($i = 0; $i -lt $FromPrefixPattern.length; $i++){ - $restoreCriteria = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RangeBasedItemLevelRestoreCriteria]::new() + $restoreCriteria = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RangeBasedItemLevelRestoreCriteria]::new() $restoreCriteria.ObjectType = "RangeBasedItemLevelRestoreCriteria" $restoreCriteria.MinMatchingValue = $FromPrefixPattern[$i] @@ -379,9 +379,9 @@ $errormsg = "Please input SecretStoreType" throw $errormsg } - $restoreRequest.RestoreTargetInfo.DatasourceAuthCredentials = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SecretStoreBasedAuthCredentials]::new() + $restoreRequest.RestoreTargetInfo.DatasourceAuthCredentials = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SecretStoreBasedAuthCredentials]::new() $restoreRequest.RestoreTargetInfo.DatasourceAuthCredentials.ObjectType = "SecretStoreBasedAuthCredentials" - $restoreRequest.RestoreTargetInfo.DatasourceAuthCredentials.SecretStoreResource = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SecretStoreResource]::new() + $restoreRequest.RestoreTargetInfo.DatasourceAuthCredentials.SecretStoreResource = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 56634f53d1e4..6515f47651ee 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.Api20231201.KubernetesClusterRestoreCriteriaNamespaceMappings] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.NamespacedNameResource[]] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.NamespacedNameResource[]] ${RestoreHookReference} ) process { - $restoreCriteria = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.KubernetesClusterRestoreCriteria]::new() + $restoreCriteria = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 index 32e38eb559a0..3230007fc5fd 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Restore/Start-AzDataProtectionBackupInstanceRestore.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Restore/Start-AzDataProtectionBackupInstanceRestore.ps1 @@ -2,7 +2,7 @@ function Start-AzDataProtectionBackupInstanceRestore { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo')] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo')] [CmdletBinding(PositionalBinding=$false, SupportsShouldProcess)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Triggers restore for a BackupInstance')] @@ -25,15 +25,23 @@ function Start-AzDataProtectionBackupInstanceRestore ${VaultName}, [Parameter(ParameterSetName="Trigger", Mandatory, HelpMessage='Restore request object to be initialized using Initialize-AzDataProtectionRestoreRequest cmdlet', ValueFromPipeline=$true)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest] ${Parameter}, + [Parameter(Mandatory=$false, HelpMessage='Resource guard operation request in the format similar to /dppTriggerRestoreRequests/default. Use this parameter when the operation is MUA protected.')] + [System.String[]] + ${ResourceGuardOperationRequest}, + + [Parameter(Mandatory=$false, HelpMessage='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.')] + [System.String] + ${Token}, + [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.Api20231201.IRestoreTargetInfoBase] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBase] ${RestoreTargetInfo}, [Parameter(ParameterSetName="TriggerExpanded", Mandatory, HelpMessage='Type of the source data store')] @@ -109,7 +117,19 @@ function Start-AzDataProtectionBackupInstanceRestore process { - $hasRestoreToSecondaryRegion = $PSBoundParameters.Remove("RestoreToSecondaryRegion") + $hasRestoreToSecondaryRegion = $PSBoundParameters.Remove("RestoreToSecondaryRegion") + + # MUA + if($PsCmdlet.ParameterSetName -eq "Trigger" -and $PSBoundParameters.ContainsKey("ResourceGuardOperationRequest")){ + $PSBoundParameters.Remove("ResourceGuardOperationRequest") + $Parameter.ResourceGuardOperationRequest = $ResourceGuardOperationRequest + } + + if($PSBoundParameters.ContainsKey("Token")) + { + $null = $PSBoundParameters.Remove("Token") + $null = $PSBoundParameters.Add("Token", "Bearer $Token") + } if($hasRestoreToSecondaryRegion){ @@ -141,7 +161,7 @@ function Start-AzDataProtectionBackupInstanceRestore $backupInstanceId = "/subscriptions/" + $SubscriptionId + "/resourceGroups/" + $ResourceGroupName + "/providers/Microsoft.DataProtection/backupVaults/" + $VaultName + "/backupInstances/" + $BackupInstanceName - $crossRegionRestoreDetail = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossRegionRestoreDetails]::new() + $crossRegionRestoreDetail = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CrossRegionRestoreDetails]::new() $crossRegionRestoreDetail.SourceBackupInstanceId = $backupInstanceId $crossRegionRestoreDetail.SourceRegion = $vault.Location @@ -152,7 +172,7 @@ function Start-AzDataProtectionBackupInstanceRestore $PSBoundParameters.Add("RestoreRequestObject", $Parameter) } else{ - $restoreRequestObject = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupRestoreRequest]::new() + $restoreRequestObject = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupRestoreRequest]::new() if($hasObjectType) { $restoreRequestObject.ObjectType = $ObjectType } if($hasRestoreTargetInfo) { $restoreRequestObject.RestoreTargetInfo = $RestoreTargetInfo } if($hasSourceDataStoreType) { $restoreRequestObject.SourceDataStoreType = $SourceDataStoreType } 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 7c6753767c53..aadc21084198 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.Api20231201.IOperationJobExtendedInfo')] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo')] [CmdletBinding(PositionalBinding=$false, SupportsShouldProcess)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Validates if Restore can be triggered for a DataSource')] @@ -24,7 +24,7 @@ function Test-AzDataProtectionBackupInstanceRestore ${VaultName}, [Parameter(ParameterSetName="ValidateRestore", Mandatory, HelpMessage='Restore request object for which to validate')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest] ${RestoreRequest}, [Parameter(Mandatory=$false, HelpMessage='Switch parameter to trigger restore to secondary region')] @@ -108,10 +108,10 @@ function Test-AzDataProtectionBackupInstanceRestore $backupInstanceId = "/subscriptions/" + $SubscriptionId + "/resourceGroups/" + $ResourceGroupName + "/providers/Microsoft.DataProtection/backupVaults/" + $VaultName + "/backupInstances/" + $Name - $Parameter = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ValidateCrossRegionRestoreRequestObject]::new() + $Parameter = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ValidateCrossRegionRestoreRequestObject]::new() $Parameter.RestoreRequestObject = $RestoreRequest - $Parameter.CrossRegionRestoreDetail = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossRegionRestoreDetails]::new() + $Parameter.CrossRegionRestoreDetail = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CrossRegionRestoreDetails]::new() $Parameter.CrossRegionRestoreDetail.SourceBackupInstanceId = $backupInstanceId $Parameter.CrossRegionRestoreDetail.SourceRegion = $vault.Location @@ -121,7 +121,7 @@ function Test-AzDataProtectionBackupInstanceRestore Az.DataProtection.Internal\Test-AzDataProtectionBackupInstanceCrossRegionRestore @PSBoundParameters } else{ - $Parameter = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ValidateRestoreRequestObject]::new() + $Parameter = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ValidateRestoreRequestObject]::new() $Parameter.RestoreRequestObject = $RestoreRequest $null = $PSBoundParameters.Add("Parameter", $Parameter) 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 4e313fdbebc4..a8f9599706ff 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 @@ -21,7 +21,7 @@ [System.String] ${ETag}, - [Parameter(HelpMessage='The identityType which can be either SystemAssigned or None.')] + [Parameter(HelpMessage='The identityType can take values - "SystemAssigned", "UserAssigned", "SystemAssigned,UserAssigned", "None".')] [System.String] ${IdentityType}, @@ -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.Api20231201.IStorageSetting[]] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStorageSetting[]] ${StorageSetting}, [Parameter(Mandatory=$false, HelpMessage='Parameter to Enable or Disable built-in azure monitor alerts for job failures. Security alerts cannot be disabled.')] @@ -65,6 +65,31 @@ [Parameter(HelpMessage='Resource tags.')] [System.Collections.Hashtable] ${Tag}, + + [Parameter(Mandatory=$false, HelpMessage='Gets or sets the user assigned identities.')] + [Alias('UserAssignedIdentity')] + [System.Collections.Hashtable] + ${IdentityUserAssignedIdentity}, + + [Parameter(Mandatory=$false, HelpMessage='Enable CMK encryption state for a Backup Vault.')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.EncryptionState] + ${CmkEncryptionState}, + + [Parameter(Mandatory=$false, HelpMessage='Enable infrastructure encryption with CMK on this vault. Infrastructure encryption must be configured only when creating the vault.')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.InfrastructureEncryptionState] + ${CmkInfrastructureEncryption}, + + [Parameter(Mandatory=$false, HelpMessage='The identity type to be used for CMK encryption - SystemAssigned or UserAssigned Identity.')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.IdentityType] + ${CmkIdentityType}, + + [Parameter(Mandatory=$false, HelpMessage='This parameter is required if the identity type is UserAssigned. Add the user assigned managed identity id to be used which has access permissions to the Key Vault.')] + [System.String] + ${CmkUserAssignedIdentityId}, + + [Parameter(Mandatory=$false, HelpMessage='The Key URI of the CMK key to be used for encryption. To enable auto-rotation of keys, exclude the version component from the Key URI. ')] + [System.String] + ${CmkEncryptionKeyUri}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] @@ -123,6 +148,29 @@ { $null = $PSBoundParameters.Add("IdentityType", "SystemAssigned") } + + $hasCmkEncryptionState = $PSBoundParameters.Remove("CmkEncryptionState") + $hasCmkIdentityType = $PSBoundParameters.Remove("CmkIdentityType") + $hasCmkUserAssignedIdentityId = $PSBoundParameters.Remove("CmkUserAssignedIdentityId") + $hasCmkEncryptionKeyUri = $PSBoundParameters.Remove("CmkEncryptionKeyUri") + $hasCmkInfrastructureEncryption = $PSBoundParameters.Remove("CmkInfrastructureEncryption") + + if (-not $hasCmkEncryptionState -and -not $hasCmkIdentityType -and -not $hasCmkUserAssignedIdentityId -and -not $hasCmkEncryptionKeyUri) { + Az.DataProtection.Internal\New-AzDataProtectionBackupVault @PSBoundParameters + return + } + + $encryptionSettings = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.EncryptionSettings]::new() + $encryptionSettings.State = $CmkEncryptionState + $encryptionSettings.CmkInfrastructureEncryption = $CmkInfrastructureEncryption + $encryptionSettings.CmkIdentity = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CmkKekIdentity]::new() + $encryptionSettings.CmkIdentity.IdentityType = $CmkIdentityType + $encryptionSettings.CmkIdentity.IdentityId = $CmkUserAssignedIdentityId + $encryptionSettings.CmkKeyVaultProperty = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CmkKeyVaultProperties]::new() + $encryptionSettings.CmkKeyVaultProperty.KeyUri = $CmkEncryptionKeyUri + + $PSBoundParameters.Add("EncryptionSetting", $encryptionSettings) + Az.DataProtection.Internal\New-AzDataProtectionBackupVault @PSBoundParameters } } \ No newline at end of file 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 e4d0a48734e3..75f6728bc77c 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.Api20231201.StorageSetting]::new() + $storageSetting = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 c47e8f138115..abf9c6db288e 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.Api20231201.IBackupInstanceResource] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource] ${BackupInstance}, [Parameter(ParameterSetName="SetPermissionsForBackup", Mandatory=$false, HelpMessage='ID of the keyvault')] @@ -36,7 +36,7 @@ ${DatasourceType}, [Parameter(ParameterSetName="SetPermissionsForRestore", Mandatory, HelpMessage='Restore request object which will be used for restore')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest] ${RestoreRequest}, [Parameter(ParameterSetName="SetPermissionsForRestore", Mandatory=$false, HelpMessage='Sanpshot Resource Group')] diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Vault/Update-AzDataProtectionBackupVault.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Vault/Update-AzDataProtectionBackupVault.ps1 new file mode 100644 index 000000000000..507ee2aba973 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Vault/Update-AzDataProtectionBackupVault.ps1 @@ -0,0 +1,201 @@ +function Update-AzDataProtectionBackupVault +{ + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResource')] + [CmdletBinding(DefaultParameterSetName="UpdateExpanded", PositionalBinding=$false, SupportsShouldProcess)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Updates a BackupVault resource belonging to a resource group. For example updating tags for a resource.')] + + param( + [Parameter(ParameterSetName="UpdateExpanded",Mandatory=$false, HelpMessage='The ID of the target subscription. The value must be an UUID.')] + [System.String] + ${SubscriptionId}, + + [Parameter(ParameterSetName="UpdateExpanded",Mandatory, HelpMessage='The name of the resource group. The name is case insensitive.')] + [System.String] + ${ResourceGroupName}, + + [Parameter(ParameterSetName="UpdateExpanded",Mandatory, HelpMessage='The name of the backup vault.')] + [System.String] + ${VaultName}, + + [Parameter(ParameterSetName="UpdateExpanded",HelpMessage='The identityType which can take values: "SystemAssigned", "UserAssigned", "SystemAssigned,UserAssigned", "None"')] + [System.String] + ${IdentityType}, + + [Parameter(ParameterSetName="UpdateExpanded",Mandatory=$false, HelpMessage='Parameter to Enable or Disable built-in azure monitor alerts for job failures. Security alerts cannot be disabled.')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState] + [ValidateSet('Enabled','Disabled')] + ${AzureMonitorAlertsForAllJobFailure}, + + [Parameter(ParameterSetName="UpdateExpanded",Mandatory=$false, HelpMessage='Immutability state of the vault. Allowed values are Disabled, Unlocked, Locked.')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState] + [ValidateSet('Disabled','Unlocked', 'Locked')] + ${ImmutabilityState}, + + [Parameter(ParameterSetName="UpdateExpanded",Mandatory=$false, HelpMessage='Cross region restore state of the vault. Allowed values are Disabled, Enabled.')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState] + [ValidateSet('Disabled','Enabled')] + ${CrossRegionRestoreState}, + + [Parameter(ParameterSetName="UpdateExpanded",Mandatory=$false, HelpMessage='Cross subscription restore state of the vault. Allowed values are Disabled, Enabled, PermanentlyDisabled.')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState] + [ValidateSet('Disabled','Enabled', 'PermanentlyDisabled')] + ${CrossSubscriptionRestoreState}, + + [Parameter(ParameterSetName="UpdateExpanded",Mandatory=$false, HelpMessage='Soft delete retention duration in days')] + [System.Double] + ${SoftDeleteRetentionDurationInDay}, + + [Parameter(ParameterSetName="UpdateExpanded",Mandatory=$false, HelpMessage='Soft delete state of the vault. Allowed values are Off, On, AlwaysOn')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState] + [ValidateSet('Off','On', 'AlwaysOn')] + ${SoftDeleteState}, + + [Parameter(ParameterSetName="UpdateExpanded",HelpMessage='Resource tags.')] + [System.Collections.Hashtable] + ${Tag}, + + [Parameter(ParameterSetName="UpdateExpanded",Mandatory=$false, HelpMessage='Gets or sets the user assigned identities.')] + [Alias('UserAssignedIdentity')] + [System.Collections.Hashtable] + ${IdentityUserAssignedIdentity}, + + [Parameter(ParameterSetName="UpdateExpanded",Mandatory=$false, HelpMessage='Enable CMK encryption state for a Backup Vault.')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.EncryptionState] + ${CmkEncryptionState}, + + [Parameter(ParameterSetName="UpdateExpanded",Mandatory=$false, HelpMessage='The identity type to be used for CMK encryption - SystemAssigned or UserAssigned Identity.')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.IdentityType] + ${CmkIdentityType}, + + [Parameter(ParameterSetName="UpdateExpanded",Mandatory=$false, HelpMessage='This parameter is required if the identity type is UserAssigned. Add the user assigned managed identity id to be used which has access permissions to the Key Vault.')] + [System.String] + ${CmkUserAssignedIdentityId}, + + [Parameter(ParameterSetName="UpdateExpanded",Mandatory=$false, HelpMessage='The Key URI of the CMK key to be used for encryption. To enable auto-rotation of keys, exclude the version component from the Key URI. ')] + [System.String] + ${CmkEncryptionKeyUri}, + + [Parameter(ParameterSetName="UpdateExpanded", Mandatory=$false, HelpMessage='Resource guard operation request in the format similar to /operationName/default. Here operationName can be any of dppReduceImmutabilityStateRequests, dppReduceSoftDeleteSecurityRequests, dppModifyEncryptionSettingsRequests. Use this parameter when the operation is MUA protected.')] + [System.String[]] + ${ResourceGuardOperationRequest}, + + [Parameter(Mandatory=$false, HelpMessage='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.')] + [System.String] + ${Token}, + + [Parameter(HelpMessage='The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.')] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [System.Management.Automation.PSObject] + # The credentials, account, tenant, and subscription used for communication with Azure. + ${DefaultProfile}, + + [Parameter(HelpMessage='Run the command as a job')] + [System.Management.Automation.SwitchParameter] + # Run the command as a job + ${AsJob}, + + [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()] + [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 + { + if($PSBoundParameters.ContainsKey("Token")) + { + $null = $PSBoundParameters.Remove("Token") + $null = $PSBoundParameters.Add("Token", "Bearer $Token") + } + + $hasCmkEncryptionState = $PSBoundParameters.Remove("CmkEncryptionState") + $hasCmkIdentityType = $PSBoundParameters.Remove("CmkIdentityType") + $hasCmkUserAssignedIdentityId = $PSBoundParameters.Remove("CmkUserAssignedIdentityId") + $hasCmkEncryptionKeyUri = $PSBoundParameters.Remove("CmkEncryptionKeyUri") + + if (-not $hasCmkEncryptionState -and -not $hasCmkIdentityType -and -not $hasCmkUserAssignedIdentityId -and -not $hasCmkEncryptionKeyUri) { + Az.DataProtection.Internal\Update-AzDataProtectionBackupVault @PSBoundParameters + return + } + + $hasIdentityType = $PSBoundParameters.Remove("IdentityType") + $hasAzureMonitorAlertsForAllJobFailure = $PSBoundParameters.Remove("AzureMonitorAlertsForAllJobFailure") + $hasImmutabilityState = $PSBoundParameters.Remove("ImmutabilityState") + $hasCrossRegionRestoreState = $PSBoundParameters.Remove("CrossRegionRestoreState") + $hasCrossSubscriptionRestoreState = $PSBoundParameters.Remove("CrossSubscriptionRestoreState") + $hasSoftDeleteRetentionDurationInDay = $PSBoundParameters.Remove("SoftDeleteRetentionDurationInDay") + $hasSoftDeleteState = $PSBoundParameters.Remove("SoftDeleteState") + $hasTag = $PSBoundParameters.Remove("Tag") + $hasUserAssignedIdentity = $PSBoundParameters.Remove("UserAssignedIdentity") + + $vault = Az.DataProtection\Get-AzDataProtectionBackupVault @PSBoundParameters + + $encryptionSettings = $null + + if ($vault.EncryptionSetting -ne $null) { $encryptionSettings = $vault.EncryptionSetting } + else { + $encryptionSettings = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.EncryptionSettings]::new() + $encryptionSettings.CmkIdentity = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CmkKekIdentity]::new() + $encryptionSettings.CmkKeyVaultProperty = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CmkKeyVaultProperties]::new() + } + + if ($hasCmkEncryptionState) { $encryptionSettings.State = $CmkEncryptionState } + if ($hasCmkIdentityType) { + $encryptionSettings.CmkIdentity.IdentityType = $CmkIdentityType + if ( $CmkIdentityType -eq "SystemAssigned" ) { + $encryptionSettings.CmkIdentity.IdentityId = $null + } + } + if ($hasCmkUserAssignedIdentityId) { $encryptionSettings.CmkIdentity.IdentityId = $CmkUserAssignedIdentityId } + if ($hasCmkEncryptionKeyUri) { $encryptionSettings.CmkKeyVaultProperty.KeyUri = $CmkEncryptionKeyUri } + + $PSBoundParameters.Add("EncryptionSetting", $encryptionSettings) + + if ($hasIdentityType) { $PSBoundParameters.Add("IdentityType", $IdentityType) } + if ($hasAzureMonitorAlertsForAllJobFailure) { $PSBoundParameters.Add("AzureMonitorAlertsForAllJobFailure", $AzureMonitorAlertsForAllJobFailure) } + if ($hasImmutabilityState) { $PSBoundParameters.Add("ImmutabilityState", $ImmutabilityState) } + if ($hasCrossRegionRestoreState) { $PSBoundParameters.Add("CrossRegionRestoreState", $CrossRegionRestoreState) } + if ($hasCrossSubscriptionRestoreState) { $PSBoundParameters.Add("CrossSubscriptionRestoreState", $CrossSubscriptionRestoreState) } + if ($hasSoftDeleteRetentionDurationInDay) { $PSBoundParameters.Add("SoftDeleteRetentionDurationInDay", $SoftDeleteRetentionDurationInDay) } + if ($hasSoftDeleteState) { $PSBoundParameters.Add("SoftDeleteState", $SoftDeleteState) } + if ($hasTag) { $PSBoundParameters.Add("Tag", $Tag) } + if ($hasUserAssignedIdentity) { $PSBoundParameters.Add("UserAssignedIdentity", $UserAssignedIdentity) } + + Az.DataProtection.Internal\Update-AzDataProtectionBackupVault @PSBoundParameters + } +} \ No newline at end of file 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 65a4728e96be..bcefa1a052b0 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.Api20231201.IBackupPolicy')] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupPolicy] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ISourceLifeCycle[]] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.AzureRetentionRule]::new() + $newRetentionRule = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.AzureRetentionRule]::new() + $newRetentionRule = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 966a73e4ad46..5053a589f523 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.Api20231201.IBackupPolicy')] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupPolicy] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IScheduleBasedBackupCriteria[]] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedBackupCriteria[]] ${Criteria} ) @@ -83,7 +83,7 @@ if($tagIndex -eq -1) { - $tagCriteria = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.TaggingCriteria]::new() + $tagCriteria = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 879ea3a22021..e4a5b3a61e2e 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.Api20231201.IBackupPolicy')] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupPolicy] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicy] ${Policy}, [Parameter(ParameterSetName='ModifyBackupSchedule', Mandatory, HelpMessage='Schedule to be associated to backup policy.')] 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 9c8dd4c29a2a..08e539d20c88 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.Api20231201.IBackupPolicy')] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.BackupPolicy]::FromJsonString($jsonPolicyString) + $defaultPolicy = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 f0d2410001f9..e6106a9e9738 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.Api20231201.IBaseBackupPolicyResource')] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupPolicy] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicy] ${Policy}, [Parameter()] @@ -114,7 +114,7 @@ $index += 1 } - $policyObject = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BaseBackupPolicyResource]::new() + $policyObject = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 c2c02e8dbf65..1fcd3da1388b 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.Api20231201.IScheduleBasedBackupCriteria')] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ScheduleBasedBackupCriteria]::new() + $criteria = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.Day]::new() + $day = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.Day]::new() + $day = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.Day]::new() $day.IsLast = $true $criteria.DaysOfMonth += $day } 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 40bd0114e456..47e800e85bf8 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.Api20231201.ISourceLifeCycle')] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.SourceLifeCycle]::new() + $lifeCycle = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.TargetCopySetting]::new() + $targetCopySetting = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.TargetCopySetting]::new() $targetCopySetting.DataStoreObjectType = "DataStoreInfoBase" $targetCopySetting.DataStoreType = $TargetDataStore $targetCopySetting.CopyAfterObjectType = $CopyOption diff --git a/src/DataProtection/DataProtection.Autorest/custom/Helpers/CommonHelpers.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Helpers/CommonHelpers.ps1 index c891a282b039..04612b69af8f 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.Api20231201.IDatasource] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasource] $DatasourceInfo, [Parameter(Mandatory=$true)] @@ -16,7 +16,7 @@ function GetDatasourceSetInfo process { - $DataSourceSetInfo = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DatasourceSet]::new() + $DataSourceSetInfo = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.Datasource]::new() + $DataSourceInfo = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 261382df0ea3..874d5144a3a1 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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { public partial class BackupInstanceResource { diff --git a/src/DataProtection/DataProtection.Autorest/examples/Get-AzDataProtectionBackupInstancesExtensionRouting.md b/src/DataProtection/DataProtection.Autorest/examples/Get-AzDataProtectionBackupInstancesExtensionRouting.md new file mode 100644 index 000000000000..0676440655ff --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/examples/Get-AzDataProtectionBackupInstancesExtensionRouting.md @@ -0,0 +1,7 @@ +### Example 1: Get backup instance extension routing +```powershell +$diskARMID = "subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx/resourceGroups/testRG/providers/Microsoft.Compute/disks/testDisk" +Get-AzDataProtectionBackupInstancesExtensionRouting -ResourceId $diskARMID +``` + +This command gets a list of backup instances associated with a tracked resource. To execute the cmdlet, We pass the datasource ARM ID to the parameter ResourceId. diff --git a/src/DataProtection/DataProtection.Autorest/examples/Get-AzDataProtectionBackupVault.md b/src/DataProtection/DataProtection.Autorest/examples/Get-AzDataProtectionBackupVault.md index 48f4a9fc7489..610dc2092047 100644 --- a/src/DataProtection/DataProtection.Autorest/examples/Get-AzDataProtectionBackupVault.md +++ b/src/DataProtection/DataProtection.Autorest/examples/Get-AzDataProtectionBackupVault.md @@ -51,4 +51,27 @@ $vault.SecureScore Adequate ``` -First command gets a specific vault by given vault name, then we fetch the secure score of the vault which shows Adequate. \ No newline at end of file +First command gets a specific vault by given vault name, then we fetch the secure score of the vault which shows Adequate. + +### Example 4: Get encryption settings of backup vault. +```powershell +$vault = Get-AzDataProtectionBackupVault -SubscriptionId "xxxx-xxx-xxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" +$vault.EncryptionSetting |fl +$vault.EncryptionSetting.CmkIdentity |fl +$vault.EncryptionSetting.CmkKeyVaultProperty |fl +``` + +```output +CmkIdentity : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CmkKekIdentity +CmkInfrastructureEncryption : Enabled +CmkKeyVaultProperty : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CmkKeyVaultProperties +State : Enabled + +IdentityId : /subscriptions/191973cd-9c54-41e0-ac19-25dd9a92d5a8/resourcegroups/jeevan-wrk-vms/providers/Microsoft.ManagedIdentity/userAssignedIdentities + /userMSIpstest +IdentityType : UserAssigned + +KeyUri : https://jeevantestkeyvaultcmk.vault.azure.net/keys/pstest/3cd5235ad6ac4c11b40a6f35444bcbe1 +``` + +First command gets a specific vault by given vault name, subsequent three commands fetch the specity properites of encryption settings. \ 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 6ee39e31d652..cf385bfd1e3c 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.Api20231201.ResourceGuardOperationDetail, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuardOperationDetail} +ResourceGuardOperationDetail : {Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardOperationDetail, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardOperationDetail} SystemData : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemData Type : Microsoft.DataProtection/vaults/backupResourceGuardProxies ``` diff --git a/src/DataProtection/DataProtection.Autorest/examples/New-AzDataProtectionBackupVault.md b/src/DataProtection/DataProtection.Autorest/examples/New-AzDataProtectionBackupVault.md index db62797f6606..01dc5f23f523 100644 --- a/src/DataProtection/DataProtection.Autorest/examples/New-AzDataProtectionBackupVault.md +++ b/src/DataProtection/DataProtection.Autorest/examples/New-AzDataProtectionBackupVault.md @@ -27,3 +27,34 @@ ETag IdentityPrincipalId IdentityTenantId IdentityType Location Name Type ``` This command creates a new backup vault while setting Immutability state, cross subscription restore state, soft delete settings of the vault at creation time. + +### Example 3: Create a Backup Vault with CMK +```powershell +$storagesetting = New-AzDataProtectionBackupVaultStorageSettingObject -DataStoreType VaultStore -Type LocallyRedundant +$userAssignedIdentity = @{ + "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/samplerg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sampleuami" = @{ + clientId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + principalId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + } + "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/samplerg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sampleuami2" = @{ + clientId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + principalId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + } +} + +$cmkIdentityId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/samplerg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sampleuami" + +$cmkKeyUri = "https://samplekvazbckp.vault.azure.net/keys/testkey/3cd5235ad6ac4c11b40a6f35444bcbe1" + +New-AzDataProtectionBackupVault -SubscriptionId xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -Location "location" -StorageSetting $storagesetting -IdentityType UserAssigned -UserAssignedIdentity $userAssignedIdentity -CmkEncryptionState Enabled -CmkIdentityType UserAssigned -CmkUserAssignedIdentityId $cmkIdentityId -CmkEncryptionKeyUri $cmkKeyUri -CmkInfrastructureEncryption Enabled +``` + +```output +Name Location IdentityType +-------- -------- ------------ +vaultName location UserAssigned +``` + +This command creates a backup vault with CMK encryption enabled + + diff --git a/src/DataProtection/DataProtection.Autorest/examples/Set-AzDataProtectionResourceGuardMapping.md b/src/DataProtection/DataProtection.Autorest/examples/Set-AzDataProtectionResourceGuardMapping.md index 9fb673bdeb40..d66720277b9d 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.Api20231201.ResourceGuardOperationDetail, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuardOperationDetail} +ResourceGuardOperationDetail : {Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardOperationDetail, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardOperationDetail} SystemData : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemData Type : Microsoft.DataProtection/vaults/backupResourceGuardProxies ``` diff --git a/src/DataProtection/DataProtection.Autorest/examples/Stop-AzDataProtectionBackupInstanceProtection.md b/src/DataProtection/DataProtection.Autorest/examples/Stop-AzDataProtectionBackupInstanceProtection.md index ec7ec768bc99..f1640bfc2ab9 100644 --- a/src/DataProtection/DataProtection.Autorest/examples/Stop-AzDataProtectionBackupInstanceProtection.md +++ b/src/DataProtection/DataProtection.Autorest/examples/Stop-AzDataProtectionBackupInstanceProtection.md @@ -4,4 +4,3 @@ Stop-AzDataProtectionBackupInstanceProtection -ResourceGroupName "rgName" -Subsc ``` The above command can be used to stop protection of a backup instance - diff --git a/src/DataProtection/DataProtection.Autorest/examples/Suspend-AzDataProtectionBackupInstanceBackup.md b/src/DataProtection/DataProtection.Autorest/examples/Suspend-AzDataProtectionBackupInstanceBackup.md index b958a2547ddb..e1f20b9b2966 100644 --- a/src/DataProtection/DataProtection.Autorest/examples/Suspend-AzDataProtectionBackupInstanceBackup.md +++ b/src/DataProtection/DataProtection.Autorest/examples/Suspend-AzDataProtectionBackupInstanceBackup.md @@ -4,4 +4,3 @@ Suspend-AzDataProtectionBackupInstanceBackup -ResourceGroupName "rgName" -Subscr ``` The above command can be used to stop backups of a backup instance, this will move the backup instance to a suspended state. - diff --git a/src/DataProtection/DataProtection.Autorest/examples/Update-AzDataProtectionBackupVault.md b/src/DataProtection/DataProtection.Autorest/examples/Update-AzDataProtectionBackupVault.md index 2f28799de0cc..c150e2826c2b 100644 --- a/src/DataProtection/DataProtection.Autorest/examples/Update-AzDataProtectionBackupVault.md +++ b/src/DataProtection/DataProtection.Autorest/examples/Update-AzDataProtectionBackupVault.md @@ -37,3 +37,33 @@ 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. + +### Example 4: Update vault CmkIdentityType from UserAssignedManagedIdentity to SystemAssignedManagedIdentity and CmkEncryptionKeyUri +```powershell +$cmkKeyUri = "https://samplekvazbckp.vault.azure.net/keys/testkey/3cd5235ad6ac4c11b40a6f35444bcbe1" + +Update-AzDataProtectionBackupVault -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -CmkIdentityType SystemAssigned -CmkEncryptionKeyUri $cmkKeyUri +``` + +```output +Name Location Type IdentityType +---- -------- ---- ------------ +vaultName southeastasia Microsoft.DataProtection/backupVaults SystemAssigned +``` + +This command is used to modify CmkIdentityType and CmkEncryptionKeyUri. These parameters are optional and can be used independently. + +### Example 5: Update vault CmkIdentityType from SystemAssignedManagedIdentity to UserAssignedManagedIdentity +```powershell +$cmkIdentityId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/samplerg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sampleuami" + +Update-AzDataProtectionBackupVault -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -CmkIdentityType UserAssigned -CmkUserAssignedIdentityId $cmkIdentityId +``` + +```output +Name Location Type IdentityType +---- -------- ---- ------------ +vaultName southeastasia Microsoft.DataProtection/backupVaults UserAssigned +``` + +This command is used to change CmkIdentityType from SystemAssigned to UserAssgined. CmkIdenityId is a required parameter. diff --git a/src/DataProtection/DataProtection.Autorest/exports/Backup-AzDataProtectionBackupInstanceAdhoc.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Backup-AzDataProtectionBackupInstanceAdhoc.ps1 index 3498aa1ec1a7..0f815d167cb0 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.Api20231201.IOperationJobExtendedInfo +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo .Notes COMPLEX PARAMETER PROPERTIES @@ -56,13 +56,14 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. [VaultName ]: The name of the backup vault. .Link https://learn.microsoft.com/powershell/module/az.dataprotection/backup-azdataprotectionbackupinstanceadhoc #> function Backup-AzDataProtectionBackupInstanceAdhoc { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo])] [CmdletBinding(DefaultParameterSetName='BackupExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='BackupExpanded', Mandatory)] diff --git a/src/DataProtection/DataProtection.Autorest/exports/Edit-AzDataProtectionPolicyRetentionRuleClientObject.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Edit-AzDataProtectionPolicyRetentionRuleClientObject.ps1 index b56d5c6eb9a9..69d2ae6fed65 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.Api20231201.IBackupPolicy +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupPolicy])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicy])] [CmdletBinding(DefaultParameterSetName='RemoveRetention', PositionalBinding=$false)] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupPolicy] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ISourceLifeCycle[]] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycle[]] # Life cycles associated with the retention rule. # To construct, see NOTES section for LIFECYCLES properties and create a hash table. ${LifeCycles}, diff --git a/src/DataProtection/DataProtection.Autorest/exports/Edit-AzDataProtectionPolicyTagClientObject.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Edit-AzDataProtectionPolicyTagClientObject.ps1 index 84123f900c7c..e23bb761a894 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.Api20231201.IBackupPolicy +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupPolicy])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicy])] [CmdletBinding(DefaultParameterSetName='RemoveTag', PositionalBinding=$false)] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupPolicy] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IScheduleBasedBackupCriteria[]] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedBackupCriteria[]] # Criterias to be associated with the schedule tag. # To construct, see NOTES section for CRITERIA properties and create a hash table. ${Criteria} diff --git a/src/DataProtection/DataProtection.Autorest/exports/Edit-AzDataProtectionPolicyTriggerClientObject.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Edit-AzDataProtectionPolicyTriggerClientObject.ps1 index 5737298e9b25..cacb116fd192 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.Api20231201.IBackupPolicy +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupPolicy])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicy])] [CmdletBinding(DefaultParameterSetName='RemoveBackupSchedule', PositionalBinding=$false)] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupPolicy] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicy] # Backup Policy object. # To construct, see NOTES section for POLICY properties and create a hash table. ${Policy}, diff --git a/src/DataProtection/DataProtection.Autorest/exports/Find-AzDataProtectionRestorableTimeRange.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Find-AzDataProtectionRestorableTimeRange.ps1 index cf82aa7a9eb2..655b55a77723 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.Api20231201.IAzureBackupFindRestorableTimeRangesResponseResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesResponseResource .Link https://learn.microsoft.com/powershell/module/az.dataprotection/find-azdataprotectionrestorabletimerange #> function Find-AzDataProtectionRestorableTimeRange { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesResponseResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesResponseResource])] [CmdletBinding(DefaultParameterSetName='FindExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] diff --git a/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionBackupInstance.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionBackupInstance.ps1 index 17fc7782882b..6a0355c4b559 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.Api20231201.IBackupInstanceResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource .Notes COMPLEX PARAMETER PROPERTIES @@ -45,13 +45,14 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. [VaultName ]: The name of the backup vault. .Link https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionbackupinstance #> function Get-AzDataProtectionBackupInstance { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] diff --git a/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionBackupInstancesExtensionRouting.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionBackupInstancesExtensionRouting.ps1 new file mode 100644 index 000000000000..0efcc10726e5 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionBackupInstancesExtensionRouting.ps1 @@ -0,0 +1,166 @@ + +# ---------------------------------------------------------------------------------- +# 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 list of backup instances associated with a tracked resource +.Description +Gets a list of backup instances associated with a tracked resource +.Example +$diskARMID = "subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx/resourceGroups/testRG/providers/Microsoft.Compute/disks/testDisk" +Get-AzDataProtectionBackupInstancesExtensionRouting -ResourceId $diskARMID + +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource +.Link +https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionbackupinstancesextensionrouting +#> +function Get-AzDataProtectionBackupInstancesExtensionRouting { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource])] +[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] +param( + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [System.String] + # ARM path of the resource to be protected using Microsoft.DataProtection + ${ResourceId}, + + [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 = @{ + List = 'Az.DataProtection.private\Get-AzDataProtectionBackupInstancesExtensionRouting_List'; + } + $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/Get-AzDataProtectionBackupPolicy.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionBackupPolicy.ps1 index 79b12862777d..b331bc980b1f 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.Api20231201.IBaseBackupPolicyResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResource .Notes COMPLEX PARAMETER PROPERTIES @@ -45,13 +45,14 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. [VaultName ]: The name of the backup vault. .Link https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionbackuppolicy #> function Get-AzDataProtectionBackupPolicy { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResource])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] diff --git a/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionBackupVault.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionBackupVault.ps1 index 97db4d879d1a..12e69a960c84 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionBackupVault.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionBackupVault.ps1 @@ -28,11 +28,16 @@ Get-AzDataProtectionBackupVault -SubscriptionId "xxxx-xxx-xxxx" -ResourceGroupNa .Example $vault = Get-AzDataProtectionBackupVault -SubscriptionId "xxxx-xxx-xxxx" -ResourceGroupName hiaga-rg -VaultName hiaga-vault $vault.SecureScore +.Example +$vault = Get-AzDataProtectionBackupVault -SubscriptionId "xxxx-xxx-xxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" +$vault.EncryptionSetting |fl +$vault.EncryptionSetting.CmkIdentity |fl +$vault.EncryptionSetting.CmkKeyVaultProperty |fl .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResource .Notes COMPLEX PARAMETER PROPERTIES @@ -50,13 +55,14 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. [VaultName ]: The name of the backup vault. .Link https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionbackupvault #> function Get-AzDataProtectionBackupVault { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResource])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get')] diff --git a/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionJob.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionJob.ps1 index 0a0a28fc5aec..f8f0b7b9c158 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionJob.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionJob.ps1 @@ -29,7 +29,7 @@ Get-AzDataProtectionJob -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" - .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResource .Notes COMPLEX PARAMETER PROPERTIES @@ -47,13 +47,14 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [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.Api20231201.IAzureBackupJobResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResource])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='List', Mandatory)] diff --git a/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionOperation.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionOperation.ps1 index 46c58331a314..ae41c762320c 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.Api20231201.IClientDiscoveryValueForSingleApi +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApi .Link https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionoperation #> function Get-AzDataProtectionOperation { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApi])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApi])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter()] diff --git a/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionOperationStatus.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionOperationStatus.ps1 index 70144861c43b..bb1c57bbd0c9 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.Api20231201.IOperationResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResource .Notes COMPLEX PARAMETER PROPERTIES @@ -48,13 +48,14 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [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-azdataprotectionoperationstatus #> function Get-AzDataProtectionOperationStatus { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResource])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] diff --git a/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionPolicyTemplate.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionPolicyTemplate.ps1 index 3123fafb9b7c..80506e8a5035 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.Api20231201.IBackupPolicy +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicy .Link https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionpolicytemplate #> function Get-AzDataProtectionPolicyTemplate { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupPolicy])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicy])] [CmdletBinding(PositionalBinding=$false)] param( [Parameter(Mandatory)] diff --git a/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionRecoveryPoint.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionRecoveryPoint.ps1 index 9f5b69be38ef..3fb194161c03 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionRecoveryPoint.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionRecoveryPoint.ps1 @@ -32,7 +32,7 @@ $recoveryPoints = Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxxxxxx-xx .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointResource .Outputs System.Management.Automation.PSObject .Notes @@ -52,13 +52,14 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. [VaultName ]: The name of the backup vault. .Link https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionrecoverypoint #> function Get-AzDataProtectionRecoveryPoint { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointResource], [PSObject])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointResource], [PSObject])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] diff --git a/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionResourceGuard.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionResourceGuard.ps1 index 9dbedd319b5a..286ec1610226 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.Api20231201.IResourceGuardResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource .Notes COMPLEX PARAMETER PROPERTIES @@ -45,13 +45,14 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. [VaultName ]: The name of the backup vault. .Link https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionresourceguard #> function Get-AzDataProtectionResourceGuard { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource])] [CmdletBinding(DefaultParameterSetName='Get1', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] diff --git a/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionResourceGuardMapping.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionResourceGuardMapping.ps1 index 9e8551e90cb4..10eb14d3f320 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.Api20231201.IResourceGuardProxyBaseResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResource .Notes COMPLEX PARAMETER PROPERTIES @@ -44,13 +44,14 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [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-azdataprotectionresourceguardmapping #> function Get-AzDataProtectionResourceGuardMapping { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResource])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] diff --git a/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionSoftDeletedBackupInstance.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionSoftDeletedBackupInstance.ps1 index 3c2a3ddeb567..1dc1b247f5f6 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.Api20231201.IDeletedBackupInstanceResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResource .Notes COMPLEX PARAMETER PROPERTIES @@ -43,13 +43,14 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [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-azdataprotectionsoftdeletedbackupinstance #> function Get-AzDataProtectionSoftDeletedBackupInstance { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResource])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] diff --git a/src/DataProtection/DataProtection.Autorest/exports/Initialize-AzDataProtectionBackupInstance.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Initialize-AzDataProtectionBackupInstance.ps1 index ccf34f719d6e..8f3a42b8cbe3 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Initialize-AzDataProtectionBackupInstance.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Initialize-AzDataProtectionBackupInstance.ps1 @@ -39,7 +39,7 @@ $datasourceId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGro $backupInstanceClientObject = Initialize-AzDataProtectionBackupInstance -DatasourceType AzureDatabaseForPGFlexServer -DatasourceLocation $vault.Location -PolicyId $pol[0].Id -DatasourceId $datasourceId .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource .Notes COMPLEX PARAMETER PROPERTIES @@ -51,7 +51,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.Api20231201.IBackupInstanceResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource])] [CmdletBinding(PositionalBinding=$false)] param( [Parameter(Mandatory)] @@ -106,7 +106,7 @@ param( [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupDatasourceParameters] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupDatasourceParameters] # Backup configuration for backup. # Use this parameter to configure protection for AzureKubernetesService,AzureBlob. # To construct, see NOTES section for BACKUPCONFIGURATION properties and create a hash table. diff --git a/src/DataProtection/DataProtection.Autorest/exports/Initialize-AzDataProtectionRestoreRequest.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Initialize-AzDataProtectionRestoreRequest.ps1 index 641dbde8dbd6..1fb60fde55be 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Initialize-AzDataProtectionRestoreRequest.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Initialize-AzDataProtectionRestoreRequest.ps1 @@ -57,7 +57,7 @@ $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.Api20231201.IAzureBackupRestoreRequest +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest .Notes COMPLEX PARAMETER PROPERTIES @@ -96,6 +96,7 @@ BACKUPINSTANCE : Backup Instance object to trigger origi [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. + [ResourceGuardOperationRequest ]: ResourceGuardOperationRequests on which LAC check will be performed [ValidationType ]: Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again. [Tag ]: Proxy Resource tags. [(Any) ]: This indicates any property can be added to this object. @@ -121,7 +122,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.Api20231201.IAzureBackupRestoreRequest])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest])] [CmdletBinding(DefaultParameterSetName='AlternateLocationFullRecovery', PositionalBinding=$false)] param( [Parameter(Mandatory)] @@ -194,7 +195,7 @@ param( [Parameter(ParameterSetName='OriginalLocationILR')] [Parameter(ParameterSetName='OriginalLocationFullRecovery')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.KubernetesClusterRestoreCriteria] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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. @@ -264,7 +265,7 @@ param( [Parameter(ParameterSetName='OriginalLocationILR', Mandatory)] [Parameter(ParameterSetName='OriginalLocationFullRecovery', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupInstanceResource] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupInstanceResource] # Backup Instance object to trigger original localtion restore. # To construct, see NOTES section for BACKUPINSTANCE properties and create a hash table. ${BackupInstance}, diff --git a/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionBackupConfigurationClientObject.ps1 b/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionBackupConfigurationClientObject.ps1 index a881fb75211f..e287bc591627 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.Api20231201.NamespacedNameResource[]] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.NamespacedNameResource[]] # Hook reference to be executed during backup. # To construct, see NOTES section for BACKUPHOOKREFERENCE properties and create a hash table. ${BackupHookReference}, diff --git a/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionBackupInstance.ps1 b/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionBackupInstance.ps1 index 04126fed0506..f42ad7258844 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionBackupInstance.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionBackupInstance.ps1 @@ -109,6 +109,7 @@ BACKUPINSTANCE : Backup instance request object which w [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. + [ResourceGuardOperationRequest ]: ResourceGuardOperationRequests on which LAC check will be performed [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 @@ -130,7 +131,7 @@ param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResource] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource] # Backup instance request object which will be used to configure backup # To construct, see NOTES section for BACKUPINSTANCE properties and create a hash table. ${BackupInstance}, diff --git a/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionBackupPolicy.ps1 b/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionBackupPolicy.ps1 index 28a50ec50a26..af51263586ec 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionBackupPolicy.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionBackupPolicy.ps1 @@ -116,7 +116,7 @@ Edit-AzDataProtectionPolicyTagClientObject -Policy $defaultPol -Name Monthly -Cr $pgflexPolicy = New-AzDataProtectionBackupPolicy -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -Name "pgflex-policy" -Policy $defaultPol .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResource .Notes COMPLEX PARAMETER PROPERTIES @@ -146,7 +146,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.Api20231201.IBaseBackupPolicyResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResource])] [CmdletBinding(PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -169,7 +169,7 @@ param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupPolicy] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicy] # Policy Request Object # To construct, see NOTES section for POLICY properties and create a hash table. ${Policy}, diff --git a/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionBackupVault.ps1 b/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionBackupVault.ps1 index 526c0d050dcc..dedb94641a38 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionBackupVault.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionBackupVault.ps1 @@ -27,6 +27,24 @@ New-AzDataProtectionBackupVault -SubscriptionId $sub -ResourceGroupName sarath-r $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 +.Example +$storagesetting = New-AzDataProtectionBackupVaultStorageSettingObject -DataStoreType VaultStore -Type LocallyRedundant +$userAssignedIdentity = @{ + "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/samplerg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sampleuami" = @{ + clientId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + principalId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + } + "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/samplerg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sampleuami2" = @{ + clientId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + principalId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + } +} + +$cmkIdentityId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/samplerg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sampleuami" + +$cmkKeyUri = "https://samplekvazbckp.vault.azure.net/keys/testkey/3cd5235ad6ac4c11b40a6f35444bcbe1" + +New-AzDataProtectionBackupVault -SubscriptionId xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -Location "location" -StorageSetting $storagesetting -IdentityType UserAssigned -UserAssignedIdentity $userAssignedIdentity -CmkEncryptionState Enabled -CmkIdentityType UserAssigned -CmkUserAssignedIdentityId $cmkIdentityId -CmkEncryptionKeyUri $cmkKeyUri -CmkInfrastructureEncryption Enabled .Outputs System.Management.Automation.PSObject @@ -65,7 +83,7 @@ param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IStorageSetting[]] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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. @@ -86,7 +104,7 @@ param( [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.String] - # The identityType which can be either SystemAssigned or None. + # The identityType can take values - "SystemAssigned", "UserAssigned", "SystemAssigned,UserAssigned", "None". ${IdentityType}, [Parameter()] @@ -136,6 +154,46 @@ param( # Resource tags. ${Tag}, + [Parameter()] + [Alias('UserAssignedIdentity')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.Collections.Hashtable] + # Gets or sets the user assigned identities. + ${IdentityUserAssignedIdentity}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.EncryptionState] + # Enable CMK encryption state for a Backup Vault. + ${CmkEncryptionState}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.InfrastructureEncryptionState] + # Enable infrastructure encryption with CMK on this vault. + # Infrastructure encryption must be configured only when creating the vault. + ${CmkInfrastructureEncryption}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.IdentityType] + # The identity type to be used for CMK encryption - SystemAssigned or UserAssigned Identity. + ${CmkIdentityType}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # This parameter is required if the identity type is UserAssigned. + # Add the user assigned managed identity id to be used which has access permissions to the Key Vault. + ${CmkUserAssignedIdentityId}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # The Key URI of the CMK key to be used for encryption. + # To enable auto-rotation of keys, exclude the version component from the Key URI. + ${CmkEncryptionKeyUri}, + [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] diff --git a/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionPolicyTagCriteriaClientObject.ps1 b/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionPolicyTagCriteriaClientObject.ps1 index b6d2cee719a9..e0ea281b2c30 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.Api20231201.IScheduleBasedBackupCriteria +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedBackupCriteria .Link https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionpolicytagcriteriaclientobject #> function New-AzDataProtectionPolicyTagCriteriaClientObject { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IScheduleBasedBackupCriteria])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedBackupCriteria])] [CmdletBinding(DefaultParameterSetName='ScheduleCriteria', PositionalBinding=$false)] param( [Parameter(ParameterSetName='AbsoluteCriteria', Mandatory)] diff --git a/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionResourceGuard.ps1 b/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionResourceGuard.ps1 index 2b26a25f556b..3861f4c24227 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.Api20231201.IResourceGuardResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource .Link https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionresourceguard #> function New-AzDataProtectionResourceGuard { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource])] [CmdletBinding(DefaultParameterSetName='CreateResourceGuard', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] diff --git a/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionRestoreConfigurationClientObject.ps1 b/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionRestoreConfigurationClientObject.ps1 index 566645dc74bd..37a0daded0d4 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.Api20231201.KubernetesClusterRestoreCriteriaNamespaceMappings] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.NamespacedNameResource[]] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.NamespacedNameResource[]] # Hook reference to be executed during restore. # To construct, see NOTES section for RESTOREHOOKREFERENCE properties and create a hash table. ${RestoreHookReference} diff --git a/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionRetentionLifeCycleClientObject.ps1 b/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionRetentionLifeCycleClientObject.ps1 index 2f6dab3e4082..edffd0b4066f 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.Api20231201.ISourceLifeCycle +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycle .Link https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionretentionlifecycleclientobject #> function New-AzDataProtectionRetentionLifeCycleClientObject { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISourceLifeCycle])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycle])] [CmdletBinding(PositionalBinding=$false)] param( [Parameter(Mandatory)] diff --git a/src/DataProtection/DataProtection.Autorest/exports/ProxyCmdletDefinitions.ps1 b/src/DataProtection/DataProtection.Autorest/exports/ProxyCmdletDefinitions.ps1 index cd89b2794086..75436eac7f3f 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.Api20231201.IOperationJobExtendedInfo +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo .Notes COMPLEX PARAMETER PROPERTIES @@ -56,13 +56,14 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. [VaultName ]: The name of the backup vault. .Link https://learn.microsoft.com/powershell/module/az.dataprotection/backup-azdataprotectionbackupinstanceadhoc #> function Backup-AzDataProtectionBackupInstanceAdhoc { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo])] [CmdletBinding(DefaultParameterSetName='BackupExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='BackupExpanded', Mandatory)] @@ -273,12 +274,12 @@ $pointInTimeRange = Find-AzDataProtectionRestorableTimeRange -BackupInstanceName $pointInTimeRange.RestorableTimeRange | Format-List .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesResponseResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesResponseResource .Link https://learn.microsoft.com/powershell/module/az.dataprotection/find-azdataprotectionrestorabletimerange #> function Find-AzDataProtectionRestorableTimeRange { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesResponseResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesResponseResource])] [CmdletBinding(DefaultParameterSetName='FindExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -465,6 +466,157 @@ end { } } +<# +.Synopsis +Gets a list of backup instances associated with a tracked resource +.Description +Gets a list of backup instances associated with a tracked resource +.Example +$diskARMID = "subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx/resourceGroups/testRG/providers/Microsoft.Compute/disks/testDisk" +Get-AzDataProtectionBackupInstancesExtensionRouting -ResourceId $diskARMID + +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource +.Link +https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionbackupinstancesextensionrouting +#> +function Get-AzDataProtectionBackupInstancesExtensionRouting { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource])] +[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] +param( + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [System.String] + # ARM path of the resource to be protected using Microsoft.DataProtection + ${ResourceId}, + + [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 = @{ + List = 'Az.DataProtection.private\Get-AzDataProtectionBackupInstancesExtensionRouting_List'; + } + $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 a backup instance with name in a backup vault @@ -478,7 +630,7 @@ Get-AzDataProtectionBackupInstance -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxxxxxxx .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource .Notes COMPLEX PARAMETER PROPERTIES @@ -496,13 +648,14 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. [VaultName ]: The name of the backup vault. .Link https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionbackupinstance #> function Get-AzDataProtectionBackupInstance { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] @@ -694,7 +847,7 @@ Get-AzDataProtectionBackupPolicy -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupNa .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResource .Notes COMPLEX PARAMETER PROPERTIES @@ -712,13 +865,14 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. [VaultName ]: The name of the backup vault. .Link https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionbackuppolicy #> function Get-AzDataProtectionBackupPolicy { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResource])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] @@ -911,11 +1065,16 @@ Get-AzDataProtectionBackupVault -SubscriptionId "xxxx-xxx-xxxx" -ResourceGroupNa .Example $vault = Get-AzDataProtectionBackupVault -SubscriptionId "xxxx-xxx-xxxx" -ResourceGroupName hiaga-rg -VaultName hiaga-vault $vault.SecureScore +.Example +$vault = Get-AzDataProtectionBackupVault -SubscriptionId "xxxx-xxx-xxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" +$vault.EncryptionSetting |fl +$vault.EncryptionSetting.CmkIdentity |fl +$vault.EncryptionSetting.CmkKeyVaultProperty |fl .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResource .Notes COMPLEX PARAMETER PROPERTIES @@ -933,13 +1092,14 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. [VaultName ]: The name of the backup vault. .Link https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionbackupvault #> function Get-AzDataProtectionBackupVault { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResource])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get')] @@ -1128,7 +1288,7 @@ While((Get-AzDataProtectionOperationStatus -OperationId $operationId -Location $ .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResource .Notes COMPLEX PARAMETER PROPERTIES @@ -1146,13 +1306,14 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [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-azdataprotectionoperationstatus #> function Get-AzDataProtectionOperationStatus { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResource])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] @@ -1328,12 +1489,12 @@ Returns the list of available operations. Get-AzDataProtectionOperation .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApi +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApi .Link https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionoperation #> function Get-AzDataProtectionOperation { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApi])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApi])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter()] @@ -1481,7 +1642,7 @@ $recoveryPoints = Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxxxxxx-xx .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointResource .Outputs System.Management.Automation.PSObject .Notes @@ -1501,13 +1662,14 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. [VaultName ]: The name of the backup vault. .Link https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionrecoverypoint #> function Get-AzDataProtectionRecoveryPoint { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointResource], [PSObject])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointResource], [PSObject])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] @@ -1723,7 +1885,7 @@ $mapping | fl .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResource .Notes COMPLEX PARAMETER PROPERTIES @@ -1741,13 +1903,14 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [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-azdataprotectionresourceguardmapping #> function Get-AzDataProtectionResourceGuardMapping { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResource])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] @@ -1935,7 +2098,7 @@ Get-AzDataProtectionResourceGuard -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxx .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource .Notes COMPLEX PARAMETER PROPERTIES @@ -1953,13 +2116,14 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. [VaultName ]: The name of the backup vault. .Link https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionresourceguard #> function Get-AzDataProtectionResourceGuard { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource])] [CmdletBinding(DefaultParameterSetName='Get1', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] @@ -2141,7 +2305,7 @@ Get-AzDataProtectionSoftDeletedBackupInstance -ResourceGroupName $resourceGroupN .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResource .Notes COMPLEX PARAMETER PROPERTIES @@ -2159,13 +2323,14 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [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-azdataprotectionsoftdeletedbackupinstance #> function Get-AzDataProtectionSoftDeletedBackupInstance { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResource])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] @@ -2373,6 +2538,7 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. [VaultName ]: The name of the backup vault. .Link @@ -2417,6 +2583,13 @@ param( # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Header')] + [System.String] + # 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. + ${Token}, + [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] @@ -2602,6 +2775,7 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. [VaultName ]: The name of the backup vault. .Link @@ -2818,6 +2992,7 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. [VaultName ]: The name of the backup vault. .Link @@ -3042,6 +3217,7 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. [VaultName ]: The name of the backup vault. .Link @@ -3254,6 +3430,7 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. [VaultName ]: The name of the backup vault. .Link @@ -3463,6 +3640,7 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. [VaultName ]: The name of the backup vault. .Link @@ -3671,7 +3849,7 @@ $proxy = Set-AzDataProtectionResourceGuardMapping -ResourceGroupName $resourceGr $proxy | fl .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResource .Notes COMPLEX PARAMETER PROPERTIES @@ -3684,7 +3862,7 @@ RESOURCEGUARDOPERATIONDETAIL : . https://learn.microsoft.com/powershell/module/az.dataprotection/set-azdataprotectionresourceguardmapping #> function Set-AzDataProtectionResourceGuardMapping { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResource])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -3855,56 +4033,42 @@ end { <# .Synopsis -This operation will stop protection of a backup instance and data will be held 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 protection of a backup instance and data will be held 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 -Stop-AzDataProtectionBackupInstanceProtection -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/stop-azdataprotectionbackupinstanceprotection +https://learn.microsoft.com/powershell/module/az.dataprotection/sync-azdataprotectionbackupinstance #> -function Stop-AzDataProtectionBackupInstanceProtection { +function Sync-AzDataProtectionBackupInstance { [OutputType([System.Boolean])] -[CmdletBinding(DefaultParameterSetName='Stop', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +[CmdletBinding(DefaultParameterSetName='SyncExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( - [Parameter(ParameterSetName='Stop', Mandatory)] + [Parameter(Mandatory)] + [Alias('BackupInstanceName')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] [System.String] # The name of the backup instance. - ${BackupInstanceName}, + ${Name}, - [Parameter(ParameterSetName='Stop', 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='Stop')] + [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] @@ -3912,18 +4076,13 @@ param( # The value must be an UUID. ${SubscriptionId}, - [Parameter(ParameterSetName='Stop', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] - [System.String] - # The name of the backup vault. - ${VaultName}, - - [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()] + [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')] @@ -4018,10 +4177,9 @@ begin { } $mapping = @{ - Stop = 'Az.DataProtection.private\Stop-AzDataProtectionBackupInstanceProtection_Stop'; - StopViaIdentity = 'Az.DataProtection.private\Stop-AzDataProtectionBackupInstanceProtection_StopViaIdentity'; + SyncExpanded = 'Az.DataProtection.private\Sync-AzDataProtectionBackupInstance_SyncExpanded'; } - if (('Stop') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + if (('SyncExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { @@ -4082,56 +4240,79 @@ 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) +Validate whether adhoc backup will be successful or not .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) +Validate whether adhoc backup will be successful or not .Example -Suspend-AzDataProtectionBackupInstanceBackup -ResourceGroupName "rgName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" -BackupInstanceName $backupInstance.BackupInstanceName +$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 -.Inputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -System.Boolean +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo .Notes COMPLEX PARAMETER PROPERTIES To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. -INPUTOBJECT : Identity Parameter - [BackupInstanceName ]: The name of the backup instance. - [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 -#> -function Suspend-AzDataProtectionBackupInstanceBackup { -[OutputType([System.Boolean])] -[CmdletBinding(DefaultParameterSetName='Suspend', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] -param( - [Parameter(ParameterSetName='Suspend', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] - [System.String] - # The name of the backup instance. - ${BackupInstanceName}, - - [Parameter(ParameterSetName='Suspend', Mandatory)] +BACKUPINSTANCE : Backup Instance + 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. + [ResourceGuardOperationRequest ]: ResourceGuardOperationRequests on which LAC check will be performed + [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/test-azdataprotectionbackupinstancereadiness +#> +function Test-AzDataProtectionBackupInstanceReadiness { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo])] +[CmdletBinding(DefaultParameterSetName='ValidateExpanded', 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(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] @@ -4139,18 +4320,12 @@ 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(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstance] + # Backup Instance + # To construct, see NOTES section for BACKUPINSTANCE properties and create a hash table. + ${BackupInstance}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] @@ -4193,12 +4368,6 @@ 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] @@ -4245,10 +4414,9 @@ begin { } $mapping = @{ - Suspend = 'Az.DataProtection.private\Suspend-AzDataProtectionBackupInstanceBackup_Suspend'; - SuspendViaIdentity = 'Az.DataProtection.private\Suspend-AzDataProtectionBackupInstanceBackup_SuspendViaIdentity'; + ValidateExpanded = 'Az.DataProtection.private\Test-AzDataProtectionBackupInstanceReadiness_ValidateExpanded'; } - if (('Suspend') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + if (('ValidateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { @@ -4309,42 +4477,58 @@ 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 +Undeletes a soft deleted backup instance .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 +Undeletes a soft deleted backup instance .Example -Sync-AzDataProtectionBackupInstance -ResourceGroupName "rgName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" -BackupInstanceName $backupInstance.BackupInstanceName +$softDeletedBI = Get-AzDataProtectionSoftDeletedBackupInstance -ResourceGroupName $resourceGroupName -SubscriptionId $subscriptionId -VaultName $vaultName +Undo-AzDataProtectionBackupInstanceDeletion -SubscriptionId $subscriptionId -ResourceGroupName $resourceGroupName -VaultName $vaultName -BackupInstanceName $softDeletedBI[0].Name +.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 + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection + [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/sync-azdataprotectionbackupinstance +https://learn.microsoft.com/powershell/module/az.dataprotection/undo-azdataprotectionbackupinstancedeletion #> -function Sync-AzDataProtectionBackupInstance { +function Undo-AzDataProtectionBackupInstanceDeletion { [OutputType([System.Boolean])] -[CmdletBinding(DefaultParameterSetName='SyncExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +[CmdletBinding(DefaultParameterSetName='Undelete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( - [Parameter(Mandatory)] - [Alias('BackupInstanceName')] + [Parameter(ParameterSetName='Undelete', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] [System.String] - # The name of the backup instance. - ${Name}, + # The name of the deleted backup instance + ${BackupInstanceName}, - [Parameter(Mandatory)] + [Parameter(ParameterSetName='Undelete', 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='Undelete')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] @@ -4352,13 +4536,18 @@ param( # 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(ParameterSetName='Undelete', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [System.String] + # The name of the backup vault. + ${VaultName}, + + [Parameter(ParameterSetName='UndeleteViaIdentity', 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')] @@ -4453,9 +4642,10 @@ begin { } $mapping = @{ - SyncExpanded = 'Az.DataProtection.private\Sync-AzDataProtectionBackupInstance_SyncExpanded'; + Undelete = 'Az.DataProtection.private\Undo-AzDataProtectionBackupInstanceDeletion_Undelete'; + UndeleteViaIdentity = 'Az.DataProtection.private\Undo-AzDataProtectionBackupInstanceDeletion_UndeleteViaIdentity'; } - if (('SyncExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + if (('Undelete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { @@ -4516,151 +4706,267 @@ end { <# .Synopsis -Validate whether adhoc backup will be successful or not +Updates a BackupVault resource belonging to a resource group. +For example, updating tags for a resource. .Description -Validate whether adhoc backup will be successful or not +Updates a BackupVault resource belonging to a resource group. +For example, updating tags for a resource. .Example -$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 +$tag = @{"Owner"="sarath";"Purpose"="AzureBackupTesting"} +Update-AzDataProtectionBackupVault -SubscriptionId "xxx-xxx-xxx" -ResourceGroupName sarath-rg -VaultName sarath-vault -Tag $tag +.Example +Update-AzDataProtectionBackupVault -ResourceGroupName "rgName" -VaultName "vaultName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -AzureMonitorAlertsForAllJobFailure 'Disabled' +.Example +Update-AzDataProtectionBackupVault -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -CrossSubscriptionRestoreState Disabled -ImmutabilityState Disabled -SoftDeleteRetentionDurationInDay 99 -SoftDeleteState Off +.Example +$cmkKeyUri = "https://samplekvazbckp.vault.azure.net/keys/testkey/3cd5235ad6ac4c11b40a6f35444bcbe1" + +Update-AzDataProtectionBackupVault -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -CmkIdentityType SystemAssigned -CmkEncryptionKeyUri $cmkKeyUri +.Example +$cmkIdentityId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/samplerg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sampleuami" + +Update-AzDataProtectionBackupVault -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -CmkIdentityType UserAssigned -CmkUserAssignedIdentityId $cmkIdentityId +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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. -BACKUPINSTANCE : Backup Instance - 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. +ENCRYPTIONSETTING : Customer Managed Key details of the resource. + [CmkIdentity ]: The details of the managed identity used for CMK + [IdentityId ]: The managed identity to be used which has access permissions to the Key Vault. Provide a value here in case identity types: 'UserAssigned' only. + [IdentityType ]: The identity type. 'SystemAssigned' and 'UserAssigned' are mutually exclusive. 'SystemAssigned' will use implicitly created managed identity. + [CmkInfrastructureEncryption ]: Enabling/Disabling the Double Encryption state + [CmkKeyVaultProperty ]: The properties of the Key Vault which hosts CMK + [KeyUri ]: The key uri of the Customer Managed Key + [State ]: Encryption state of the Backup Vault. + +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 + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection + [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/test-azdataprotectionbackupinstancereadiness +https://learn.microsoft.com/powershell/module/az.dataprotection/update-azdataprotectionbackupvault #> -function Test-AzDataProtectionBackupInstanceReadiness { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo])] -[CmdletBinding(DefaultParameterSetName='ValidateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +function Update-AzDataProtectionBackupVault { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResource])] +[CmdletBinding(DefaultParameterSetName='UpdateExpanded', 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)] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] - [System.String] - # The name of the backup vault. - ${VaultName}, + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity] + # Identity Parameter + # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + ${InputObject}, [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Header')] [System.String] - # The ID of the target subscription. - # The value must be an UUID. - ${SubscriptionId}, - - [Parameter(Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstance] - # Backup Instance - # To construct, see NOTES section for BACKUPINSTANCE properties and create a hash table. - ${BackupInstance}, + # 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. + ${Token}, + + [Parameter()] + [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()] + [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()] + [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='UpdateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings] + # Customer Managed Key details of the resource. + # To construct, see NOTES section for ENCRYPTIONSETTING properties and create a hash table. + ${EncryptionSetting}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # The identityType which can be either SystemAssigned, UserAssigned, 'SystemAssigned,UserAssigned' or None + ${IdentityType}, + + [Parameter()] + [Alias('UserAssignedIdentity')] + [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()] + [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()] + [AllowEmptyCollection()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String[]] + # ResourceGuardOperationRequests on which LAC check will be performed + ${ResourceGuardOperationRequest}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.Double] + # Soft delete retention duration in days. + ${SoftDeleteRetentionDurationInDay}, + + [Parameter()] + [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()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputTags]))] + [System.Collections.Hashtable] + # Resource tags. + ${Tag}, [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')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [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()] - [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')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [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='UpdateExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # The name of the resource group. + # The name is case insensitive. + ${ResourceGroupName}, + + [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # The name of the backup vault. + ${VaultName}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # The ID of the target subscription. + # The value must be an UUID. + ${SubscriptionId}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.EncryptionState] + # Enable CMK encryption state for a Backup Vault. + ${CmkEncryptionState}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.IdentityType] + # The identity type to be used for CMK encryption - SystemAssigned or UserAssigned Identity. + ${CmkIdentityType}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # This parameter is required if the identity type is UserAssigned. + # Add the user assigned managed identity id to be used which has access permissions to the Key Vault. + ${CmkUserAssignedIdentityId}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # The Key URI of the CMK key to be used for encryption. + # To enable auto-rotation of keys, exclude the version component from the Key URI. + ${CmkEncryptionKeyUri} ) begin { @@ -4689,16 +4995,8 @@ begin { } $mapping = @{ - ValidateExpanded = 'Az.DataProtection.private\Test-AzDataProtectionBackupInstanceReadiness_ValidateExpanded'; - } - if (('ValidateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { - $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } - if ($testPlayback) { - $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') - } else { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id - } + UpdateViaIdentityExpanded = 'Az.DataProtection.private\Update-AzDataProtectionBackupVault_UpdateViaIdentityExpanded'; + UpdateExpanded = 'Az.DataProtection.custom\Update-AzDataProtectionBackupVault'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) @@ -4752,607 +5050,91 @@ end { <# .Synopsis -Undeletes a soft deleted backup instance +Adds or removes Retention Rule to existing Policy .Description -Undeletes a soft deleted backup instance +Adds or removes Retention Rule to existing Policy .Example -$softDeletedBI = Get-AzDataProtectionSoftDeletedBackupInstance -ResourceGroupName $resourceGroupName -SubscriptionId $subscriptionId -VaultName $vaultName -Undo-AzDataProtectionBackupInstanceDeletion -SubscriptionId $subscriptionId -ResourceGroupName $resourceGroupName -VaultName $vaultName -BackupInstanceName $softDeletedBI[0].Name +$pol = Get-AzDataProtectionPolicyTemplate +$lifecycle = New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore OperationalStore -SourceRetentionDurationType Weeks -SourceRetentionDurationCount 5 +Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy $pol -Name Weekly -LifeCycles $lifecycle -IsDefault $false +.Example +Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy $pol -Name Weekly -RemoveRule -.Inputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -System.Boolean +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicy .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. +LIFECYCLES : Life cycles associated with the retention rule. + DeleteAfterDuration : Duration of deletion after given timespan + DeleteAfterObjectType : Type of the specific object - used for deserializing + SourceDataStoreObjectType : Type of Datasource object, used to initialize the right inherited type + SourceDataStoreType : type of datastore; Operational/Vault/Archive + [TargetDataStoreCopySetting ]: + CopyAfterObjectType : Type of the specific object - used for deserializing + DataStoreObjectType : Type of Datasource object, used to initialize the right inherited type + DataStoreType : type of datastore; Operational/Vault/Archive + +POLICY : Backup Policy Object + DatasourceType : Type of datasource for the backup management + ObjectType : + PolicyRule : Policy rule dictionary that contains rules for each backuptype i.e Full/Incremental/Logs etc + Name : + ObjectType : + DataStoreObjectType : Type of Datasource object, used to initialize the right inherited type + DataStoreType : type of datastore; Operational/Vault/Archive + TriggerObjectType : Type of the specific object - used for deserializing + Lifecycle : + DeleteAfterDuration : Duration of deletion after given timespan + DeleteAfterObjectType : Type of the specific object - used for deserializing + SourceDataStoreObjectType : Type of Datasource object, used to initialize the right inherited type + SourceDataStoreType : type of datastore; Operational/Vault/Archive + [TargetDataStoreCopySetting ]: + CopyAfterObjectType : Type of the specific object - used for deserializing + DataStoreObjectType : Type of Datasource object, used to initialize the right inherited type + DataStoreType : type of datastore; Operational/Vault/Archive + [BackupParameterObjectType ]: Type of the specific object - used for deserializing + [IsDefault ]: .Link -https://learn.microsoft.com/powershell/module/az.dataprotection/undo-azdataprotectionbackupinstancedeletion +https://learn.microsoft.com/powershell/module/az.dataprotection/edit-azdataprotectionpolicyretentionruleclientobject #> -function Undo-AzDataProtectionBackupInstanceDeletion { -[OutputType([System.Boolean])] -[CmdletBinding(DefaultParameterSetName='Undelete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +function Edit-AzDataProtectionPolicyRetentionRuleClientObject { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicy])] +[CmdletBinding(DefaultParameterSetName='RemoveRetention', PositionalBinding=$false)] param( - [Parameter(ParameterSetName='Undelete', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] - [System.String] - # The name of the deleted backup instance - ${BackupInstanceName}, + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicy] + # Backup Policy Object + # To construct, see NOTES section for POLICY properties and create a hash table. + ${Policy}, - [Parameter(ParameterSetName='Undelete', 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('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RetentionRuleName] + # Retention Rule Name + ${Name}, - [Parameter(ParameterSetName='Undelete')] - [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='RemoveRetention', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Specifies whether to remove the retention rule. + ${RemoveRule}, - [Parameter(ParameterSetName='Undelete', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] - [System.String] - # The name of the backup vault. - ${VaultName}, + [Parameter(ParameterSetName='AddRetention', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.Boolean] + # Specifies if retention rule is default retention rule. + ${IsDefault}, - [Parameter(ParameterSetName='UndeleteViaIdentity', 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()] - [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 = @{ - Undelete = 'Az.DataProtection.private\Undo-AzDataProtectionBackupInstanceDeletion_Undelete'; - UndeleteViaIdentity = 'Az.DataProtection.private\Undo-AzDataProtectionBackupInstanceDeletion_UndeleteViaIdentity'; - } - if (('Undelete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { - $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } - if ($testPlayback) { - $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') - } else { - $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) - $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 -Updates a BackupVault resource belonging to a resource group. -For example, updating tags for a resource. -.Description -Updates a BackupVault resource belonging to a resource group. -For example, updating tags for a resource. -.Example -$tag = @{"Owner"="sarath";"Purpose"="AzureBackupTesting"} -Update-AzDataProtectionBackupVault -SubscriptionId "xxx-xxx-xxx" -ResourceGroupName sarath-rg -VaultName sarath-vault -Tag $tag -.Example -Update-AzDataProtectionBackupVault -ResourceGroupName "rgName" -VaultName "vaultName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -AzureMonitorAlertsForAllJobFailure 'Disabled' -.Example -Update-AzDataProtectionBackupVault -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -CrossSubscriptionRestoreState Disabled -ImmutabilityState Disabled -SoftDeleteRetentionDurationInDay 99 -SoftDeleteState Off - -.Inputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity -.Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResource -.Notes -COMPLEX PARAMETER PROPERTIES - -To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables. - -INPUTOBJECT : Identity Parameter - [BackupInstanceName ]: The name of the backup instance. - [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/update-azdataprotectionbackupvault -#> -function Update-AzDataProtectionBackupVault { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResource])] -[CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] -param( - [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] - [System.String] - # The name of the resource group. - # The name is case insensitive. - ${ResourceGroupName}, - - [Parameter(ParameterSetName='UpdateExpanded')] - [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='UpdateExpanded', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] - [System.String] - # The name of the backup vault. - ${VaultName}, - - [Parameter(ParameterSetName='UpdateViaIdentityExpanded', 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.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()] - [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()] - [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()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String] - # The identityType which can be either SystemAssigned, UserAssigned, 'SystemAssigned,UserAssigned' or None - ${IdentityType}, - - [Parameter()] - [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()] - [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()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.Double] - # Soft delete retention duration in days. - ${SoftDeleteRetentionDurationInDay}, - - [Parameter()] - [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()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputTags]))] - [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 - - 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 = @{ - UpdateExpanded = 'Az.DataProtection.private\Update-AzDataProtectionBackupVault_UpdateExpanded'; - UpdateViaIdentityExpanded = 'Az.DataProtection.private\Update-AzDataProtectionBackupVault_UpdateViaIdentityExpanded'; - } - if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { - $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } - if ($testPlayback) { - $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') - } else { - $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) - $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 -Adds or removes Retention Rule to existing Policy -.Description -Adds or removes Retention Rule to existing Policy -.Example -$pol = Get-AzDataProtectionPolicyTemplate -$lifecycle = New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore OperationalStore -SourceRetentionDurationType Weeks -SourceRetentionDurationCount 5 -Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy $pol -Name Weekly -LifeCycles $lifecycle -IsDefault $false -.Example -Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy $pol -Name Weekly -RemoveRule - -.Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupPolicy -.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. - -LIFECYCLES : Life cycles associated with the retention rule. - DeleteAfterDuration : Duration of deletion after given timespan - DeleteAfterObjectType : Type of the specific object - used for deserializing - SourceDataStoreObjectType : Type of Datasource object, used to initialize the right inherited type - SourceDataStoreType : type of datastore; Operational/Vault/Archive - [TargetDataStoreCopySetting ]: - CopyAfterObjectType : Type of the specific object - used for deserializing - DataStoreObjectType : Type of Datasource object, used to initialize the right inherited type - DataStoreType : type of datastore; Operational/Vault/Archive - -POLICY : Backup Policy Object - DatasourceType : Type of datasource for the backup management - ObjectType : - PolicyRule : Policy rule dictionary that contains rules for each backuptype i.e Full/Incremental/Logs etc - Name : - ObjectType : - DataStoreObjectType : Type of Datasource object, used to initialize the right inherited type - DataStoreType : type of datastore; Operational/Vault/Archive - TriggerObjectType : Type of the specific object - used for deserializing - Lifecycle : - DeleteAfterDuration : Duration of deletion after given timespan - DeleteAfterObjectType : Type of the specific object - used for deserializing - SourceDataStoreObjectType : Type of Datasource object, used to initialize the right inherited type - SourceDataStoreType : type of datastore; Operational/Vault/Archive - [TargetDataStoreCopySetting ]: - CopyAfterObjectType : Type of the specific object - used for deserializing - DataStoreObjectType : Type of Datasource object, used to initialize the right inherited type - DataStoreType : type of datastore; Operational/Vault/Archive - [BackupParameterObjectType ]: Type of the specific object - used for deserializing - [IsDefault ]: -.Link -https://learn.microsoft.com/powershell/module/az.dataprotection/edit-azdataprotectionpolicyretentionruleclientobject -#> -function Edit-AzDataProtectionPolicyRetentionRuleClientObject { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupPolicy])] -[CmdletBinding(DefaultParameterSetName='RemoveRetention', PositionalBinding=$false)] -param( - [Parameter(Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupPolicy] - # Backup Policy Object - # To construct, see NOTES section for POLICY properties and create a hash table. - ${Policy}, - - [Parameter(Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RetentionRuleName] - # Retention Rule Name - ${Name}, - - [Parameter(ParameterSetName='RemoveRetention', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.Management.Automation.SwitchParameter] - # Specifies whether to remove the retention rule. - ${RemoveRule}, - - [Parameter(ParameterSetName='AddRetention', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.Boolean] - # Specifies if retention rule is default retention rule. - ${IsDefault}, - - [Parameter(ParameterSetName='AddRetention', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISourceLifeCycle[]] - # Life cycles associated with the retention rule. - # To construct, see NOTES section for LIFECYCLES properties and create a hash table. - ${LifeCycles}, + [Parameter(ParameterSetName='AddRetention', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycle[]] + # Life cycles associated with the retention rule. + # To construct, see NOTES section for LIFECYCLES properties and create a hash table. + ${LifeCycles}, [Parameter(ParameterSetName='AddRetention')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] @@ -5452,7 +5234,7 @@ Edit-AzDataProtectionPolicyTagClientObject -Policy $pol -Name Weekly -Criteria $ Edit-AzDataProtectionPolicyTagClientObject -Policy $pol -Name Weekly -RemoveRule .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupPolicy +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicy .Notes COMPLEX PARAMETER PROPERTIES @@ -5493,12 +5275,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.Api20231201.IBackupPolicy])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicy])] [CmdletBinding(DefaultParameterSetName='RemoveTag', PositionalBinding=$false)] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupPolicy] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicy] # Backup Policy Object. # To construct, see NOTES section for POLICY properties and create a hash table. ${Policy}, @@ -5517,7 +5299,7 @@ param( [Parameter(ParameterSetName='updateTag', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IScheduleBasedBackupCriteria[]] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedBackupCriteria[]] # Criterias to be associated with the schedule tag. # To construct, see NOTES section for CRITERIA properties and create a hash table. ${Criteria} @@ -5612,7 +5394,7 @@ $schedule = New-AzDataProtectionPolicyTriggerScheduleClientObject -ScheduleDays Edit-AzDataProtectionPolicyTriggerClientObject -Policy $pol -Schedule $schedule .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupPolicy +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicy .Notes COMPLEX PARAMETER PROPERTIES @@ -5642,12 +5424,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.Api20231201.IBackupPolicy])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicy])] [CmdletBinding(DefaultParameterSetName='RemoveBackupSchedule', PositionalBinding=$false)] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupPolicy] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicy] # Backup Policy object. # To construct, see NOTES section for POLICY properties and create a hash table. ${Policy}, @@ -5759,7 +5541,7 @@ Get-AzDataProtectionJob -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" - .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResource .Notes COMPLEX PARAMETER PROPERTIES @@ -5777,13 +5559,14 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [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.Api20231201.IAzureBackupJobResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResource])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='List', Mandatory)] @@ -5958,12 +5741,12 @@ Gets default policy template for a selected datasource type. Get-AzDataProtectionPolicyTemplate -DatasourceType AzureDisk .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupPolicy +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicy .Link https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionpolicytemplate #> function Get-AzDataProtectionPolicyTemplate { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupPolicy])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicy])] [CmdletBinding(PositionalBinding=$false)] param( [Parameter(Mandatory)] @@ -6076,7 +5859,7 @@ $datasourceId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGro $backupInstanceClientObject = Initialize-AzDataProtectionBackupInstance -DatasourceType AzureDatabaseForPGFlexServer -DatasourceLocation $vault.Location -PolicyId $pol[0].Id -DatasourceId $datasourceId .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource .Notes COMPLEX PARAMETER PROPERTIES @@ -6088,7 +5871,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.Api20231201.IBackupInstanceResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource])] [CmdletBinding(PositionalBinding=$false)] param( [Parameter(Mandatory)] @@ -6143,7 +5926,7 @@ param( [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupDatasourceParameters] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupDatasourceParameters] # Backup configuration for backup. # Use this parameter to configure protection for AzureKubernetesService,AzureBlob. # To construct, see NOTES section for BACKUPCONFIGURATION properties and create a hash table. @@ -6271,7 +6054,7 @@ $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.Api20231201.IAzureBackupRestoreRequest +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest .Notes COMPLEX PARAMETER PROPERTIES @@ -6310,6 +6093,7 @@ BACKUPINSTANCE : Backup Instance object to trigger origi [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. + [ResourceGuardOperationRequest ]: ResourceGuardOperationRequests on which LAC check will be performed [ValidationType ]: Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again. [Tag ]: Proxy Resource tags. [(Any) ]: This indicates any property can be added to this object. @@ -6335,7 +6119,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.Api20231201.IAzureBackupRestoreRequest])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest])] [CmdletBinding(DefaultParameterSetName='AlternateLocationFullRecovery', PositionalBinding=$false)] param( [Parameter(Mandatory)] @@ -6408,7 +6192,7 @@ param( [Parameter(ParameterSetName='OriginalLocationILR')] [Parameter(ParameterSetName='OriginalLocationFullRecovery')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.KubernetesClusterRestoreCriteria] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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. @@ -6429,75 +6213,272 @@ param( [Parameter(ParameterSetName='OriginalLocationILR')] [Parameter(ParameterSetName='OriginalLocationFullRecovery')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecretStoreTypes] - # Secret store type for secret store authentication of data source. - # This parameter is only supported for AzureDatabaseForPostgreSQL currently. - ${SecretStoreType}, + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecretStoreTypes] + # Secret store type for secret store authentication of data source. + # This parameter is only supported for AzureDatabaseForPostgreSQL currently. + ${SecretStoreType}, + + [Parameter(ParameterSetName='AlternateLocationILR', Mandatory)] + [Parameter(ParameterSetName='OriginalLocationILR', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Switch parameter to enable item level recovery. + ${ItemLevelRecovery}, + + [Parameter(ParameterSetName='AlternateLocationILR')] + [Parameter(ParameterSetName='OriginalLocationILR')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String[]] + # Container names for Item Level Recovery. + ${ContainersList}, + + [Parameter(ParameterSetName='AlternateLocationILR')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.Collections.Hashtable] + # Use this parameter to filter block blobs by prefix in a container for alternate location ILR. + # When you specify a prefix, only blobs matching that prefix in the container will be restored. + # Input for this parameter is a hashtable where each key is a container name and each value is an array of string prefixes for that container. + ${PrefixMatch}, + + [Parameter(ParameterSetName='RestoreAsFiles', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # Target storage account container Id to which backup data will be restored as files. + ${TargetContainerURI}, + + [Parameter(ParameterSetName='RestoreAsFiles')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # Target storage account container ARM Id to which backup data will be restored as files. + # This parameter is required for restoring as files when cross subscription restore is disabled on the backup vault. + ${TargetResourceIdForRestoreAsFile}, + + [Parameter(ParameterSetName='RestoreAsFiles')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # File name to be prefixed to the restored backup data. + ${FileNamePrefix}, + + [Parameter(ParameterSetName='OriginalLocationILR', Mandatory)] + [Parameter(ParameterSetName='OriginalLocationFullRecovery', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupInstanceResource] + # Backup Instance object to trigger original localtion restore. + # To construct, see NOTES section for BACKUPINSTANCE properties and create a hash table. + ${BackupInstance}, + + [Parameter(ParameterSetName='OriginalLocationILR')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String[]] + # Specify the blob restore start range for PITR. + # You can use this option to specify the starting range for a subset of blobs in each container to restore. + # use a forward slash (/) to separate the container name from the blob prefix pattern. + ${FromPrefixPattern}, + + [Parameter(ParameterSetName='OriginalLocationILR')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String[]] + # Specify the blob restore end range for PITR. + # You can use this option to specify the ending range for a subset of blobs in each container to restore. + # use a forward slash (/) to separate the container name from the blob prefix pattern. + ${ToPrefixPattern} +) + +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 = @{ + AlternateLocationFullRecovery = 'Az.DataProtection.custom\Initialize-AzDataProtectionRestoreRequest'; + AlternateLocationILR = 'Az.DataProtection.custom\Initialize-AzDataProtectionRestoreRequest'; + RestoreAsFiles = 'Az.DataProtection.custom\Initialize-AzDataProtectionRestoreRequest'; + OriginalLocationILR = 'Az.DataProtection.custom\Initialize-AzDataProtectionRestoreRequest'; + OriginalLocationFullRecovery = 'Az.DataProtection.custom\Initialize-AzDataProtectionRestoreRequest'; + } + $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 +Creates new backup configuration object +.Description +Creates new backup configuration object +.Example +$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'}) +.Example +$storageAccount = Get-AzStorageAccount -ResourceGroupName $resourceGroupName -Name $storageAccountName +$containers=Get-AzStorageContainer -Context $storageAccount.Context +$backupConfig = New-AzDataProtectionBackupConfigurationClientObject -DatasourceType AzureBlob -VaultedBackupContainer $containers.Name[1,3,4] + +.Outputs +System.Management.Automation.PSObject +.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. + +BACKUPHOOKREFERENCE : Hook reference to be executed during backup. + [Name ]: Name of the resource + [Namespace ]: Namespace in which the resource exists +.Link +https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionbackupconfigurationclientobject +#> +function New-AzDataProtectionBackupConfigurationClientObject { +[OutputType([PSObject])] +[CmdletBinding(PositionalBinding=$false)] +param( + [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[]] + # List of resource types to be excluded from backup + ${ExcludedResourceType}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String[]] + # List of resource types to be included for backup + ${IncludedResourceType}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String[]] + # List of namespaces to be excluded from backup + ${ExcludedNamespace}, - [Parameter(ParameterSetName='AlternateLocationILR', Mandatory)] - [Parameter(ParameterSetName='OriginalLocationILR', Mandatory)] + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.Management.Automation.SwitchParameter] - # Switch parameter to enable item level recovery. - ${ItemLevelRecovery}, + [System.String[]] + # List of namespaces to be included for backup + ${IncludedNamespace}, - [Parameter(ParameterSetName='AlternateLocationILR')] - [Parameter(ParameterSetName='OriginalLocationILR')] + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.String[]] - # Container names for Item Level Recovery. - ${ContainersList}, + # List of labels for internal filtering for backup + ${LabelSelector}, - [Parameter(ParameterSetName='AlternateLocationILR')] + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.Collections.Hashtable] - # Use this parameter to filter block blobs by prefix in a container for alternate location ILR. - # When you specify a prefix, only blobs matching that prefix in the container will be restored. - # Input for this parameter is a hashtable where each key is a container name and each value is an array of string prefixes for that container. - ${PrefixMatch}, + [System.Nullable[System.Boolean]] + # Boolean parameter to decide whether snapshot volumes are included for backup. + # By default this is taken as true. + ${SnapshotVolume}, - [Parameter(ParameterSetName='RestoreAsFiles', Mandatory)] + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String] - # Target storage account container Id to which backup data will be restored as files. - ${TargetContainerURI}, + [System.Nullable[System.Boolean]] + # Boolean parameter to decide whether cluster scope resources are included for backup. + # By default this is taken as true. + ${IncludeClusterScopeResource}, - [Parameter(ParameterSetName='RestoreAsFiles')] + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String] - # Target storage account container ARM Id to which backup data will be restored as files. - # This parameter is required for restoring as files when cross subscription restore is disabled on the backup vault. - ${TargetResourceIdForRestoreAsFile}, + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.NamespacedNameResource[]] + # Hook reference to be executed during backup. + # To construct, see NOTES section for BACKUPHOOKREFERENCE properties and create a hash table. + ${BackupHookReference}, - [Parameter(ParameterSetName='RestoreAsFiles')] + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String] - # File name to be prefixed to the restored backup data. - ${FileNamePrefix}, + [System.String[]] + # List of containers to be backed up inside the VaultStore. + # Use this parameter for DatasourceType AzureBlob. + ${VaultedBackupContainer}, - [Parameter(ParameterSetName='OriginalLocationILR', Mandatory)] - [Parameter(ParameterSetName='OriginalLocationFullRecovery', Mandatory)] + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupInstanceResource] - # Backup Instance object to trigger original localtion restore. - # To construct, see NOTES section for BACKUPINSTANCE properties and create a hash table. - ${BackupInstance}, + [System.Management.Automation.SwitchParameter] + # Switch parameter to include all containers to be backed up inside the VaultStore. + # Use this parameter for DatasourceType AzureBlob. + ${IncludeAllContainer}, - [Parameter(ParameterSetName='OriginalLocationILR')] + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String[]] - # Specify the blob restore start range for PITR. - # You can use this option to specify the starting range for a subset of blobs in each container to restore. - # use a forward slash (/) to separate the container name from the blob prefix pattern. - ${FromPrefixPattern}, + [System.String] + # Storage account where the Datasource is present. + # Use this parameter for DatasourceType AzureBlob. + ${StorageAccountName}, - [Parameter(ParameterSetName='OriginalLocationILR')] + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String[]] - # Specify the blob restore end range for PITR. - # You can use this option to specify the ending range for a subset of blobs in each container to restore. - # use a forward slash (/) to separate the container name from the blob prefix pattern. - ${ToPrefixPattern} + [System.String] + # Storage account resource group name where the Datasource is present. + # Use this parameter for DatasourceType AzureBlob. + ${StorageAccountResourceGroupName} ) begin { @@ -6526,11 +6507,7 @@ begin { } $mapping = @{ - AlternateLocationFullRecovery = 'Az.DataProtection.custom\Initialize-AzDataProtectionRestoreRequest'; - AlternateLocationILR = 'Az.DataProtection.custom\Initialize-AzDataProtectionRestoreRequest'; - RestoreAsFiles = 'Az.DataProtection.custom\Initialize-AzDataProtectionRestoreRequest'; - OriginalLocationILR = 'Az.DataProtection.custom\Initialize-AzDataProtectionRestoreRequest'; - OriginalLocationFullRecovery = 'Az.DataProtection.custom\Initialize-AzDataProtectionRestoreRequest'; + __AllParameterSets = 'Az.DataProtection.custom\New-AzDataProtectionBackupConfigurationClientObject'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) @@ -6584,117 +6561,187 @@ end { <# .Synopsis -Creates new backup configuration object +Configures Backup for supported azure resources .Description -Creates new backup configuration object +Configures Backup for supported azure resources .Example -$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'}) +$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 -$storageAccount = Get-AzStorageAccount -ResourceGroupName $resourceGroupName -Name $storageAccountName -$containers=Get-AzStorageContainer -Context $storageAccount.Context -$backupConfig = New-AzDataProtectionBackupConfigurationClientObject -DatasourceType AzureBlob -VaultedBackupContainer $containers.Name[1,3,4] +$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-Object {$_.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-Object { $_.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 +.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-Object { $_.DatasourceType -match "mysql" } +$datasourceId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/rgName/providers/Microsoft.DBforMySQL/flexibleServers/test-mysql" +$backupInstanceClientObject = Initialize-AzDataProtectionBackupInstance -DatasourceType AzureDatabaseForMySQL -DatasourceLocation $vault.Location -PolicyId $pol[0].Id -DatasourceId $datasourceId +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 -.Outputs -System.Management.Automation.PSObject .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. -BACKUPHOOKREFERENCE : Hook reference to be executed during backup. - [Name ]: Name of the resource - [Namespace ]: Namespace in which the resource exists +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. + [ResourceGuardOperationRequest ]: ResourceGuardOperationRequests on which LAC check will be performed + [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-azdataprotectionbackupconfigurationclientobject +https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionbackupinstance #> -function New-AzDataProtectionBackupConfigurationClientObject { -[OutputType([PSObject])] -[CmdletBinding(PositionalBinding=$false)] +function New-AzDataProtectionBackupInstance { +[CmdletBinding(PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(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}, - [Parameter()] + [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String[]] - # List of resource types to be excluded from backup - ${ExcludedResourceType}, + [System.String] + # Name of the backup vault + ${VaultName}, - [Parameter()] + [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String[]] - # List of resource types to be included for backup - ${IncludedResourceType}, + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String[]] - # List of namespaces to be excluded from backup - ${ExcludedNamespace}, + [System.String] + # Subscription Id of the vault + ${SubscriptionId}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String[]] - # List of namespaces to be included for backup - ${IncludedNamespace}, + [System.Collections.Hashtable] + # Resource tags + ${Tag}, [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String[]] - # List of labels for internal filtering for backup - ${LabelSelector}, + [System.Management.Automation.PSObject] + ${DefaultProfile}, - [Parameter()] + [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.Nullable[System.Boolean]] - # Boolean parameter to decide whether snapshot volumes are included for backup. - # By default this is taken as true. - ${SnapshotVolume}, + [System.Management.Automation.SwitchParameter] + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + ${HttpPipelineAppend}, - [Parameter()] + [Parameter(DontShow)] + [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.Nullable[System.Boolean]] - # Boolean parameter to decide whether cluster scope resources are included for backup. - # By default this is taken as true. - ${IncludeClusterScopeResource}, + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + ${HttpPipelinePrepend}, - [Parameter()] + [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.NamespacedNameResource[]] - # Hook reference to be executed during backup. - # To construct, see NOTES section for BACKUPHOOKREFERENCE properties and create a hash table. - ${BackupHookReference}, + [System.Uri] + ${Proxy}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String[]] - # List of containers to be backed up inside the VaultStore. - # Use this parameter for DatasourceType AzureBlob. - ${VaultedBackupContainer}, + [System.Management.Automation.SwitchParameter] + ${AsJob}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.Management.Automation.SwitchParameter] - # Switch parameter to include all containers to be backed up inside the VaultStore. - # Use this parameter for DatasourceType AzureBlob. - ${IncludeAllContainer}, + ${NoWait}, - [Parameter()] + [Parameter(DontShow)] + [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String] - # Storage account where the Datasource is present. - # Use this parameter for DatasourceType AzureBlob. - ${StorageAccountName}, + [System.Management.Automation.PSCredential] + ${ProxyCredential}, - [Parameter()] + [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String] - # Storage account resource group name where the Datasource is present. - # Use this parameter for DatasourceType AzureBlob. - ${StorageAccountResourceGroupName} + [System.Management.Automation.SwitchParameter] + ${ProxyUseDefaultCredentials} ) begin { @@ -6723,7 +6770,7 @@ begin { } $mapping = @{ - __AllParameterSets = 'Az.DataProtection.custom\New-AzDataProtectionBackupConfigurationClientObject'; + __AllParameterSets = 'Az.DataProtection.custom\New-AzDataProtectionBackupInstance'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) @@ -6777,137 +6824,170 @@ end { <# .Synopsis -Configures Backup for supported azure resources +Creates a new backup policy in a given backup vault .Description -Configures Backup for supported azure resources +Creates a new backup policy in a given 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 +$defaultPol = Get-AzDataProtectionPolicyTemplate -DatasourceType AzureDisk +New-AzDataProtectionBackupPolicy -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupName sarath-rg -VaultName sarath-vault -Name "MyPolicy" -Policy $defaultPol .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 +$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 -$policy = Get-AzDataProtectionBackupPolicy -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" -ResourceGroupName "resourceGroupName" | Where-Object {$_.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 +$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 -$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-Object { $_.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 +$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 -$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-Object { $_.DatasourceType -match "mysql" } -$datasourceId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/rgName/providers/Microsoft.DBforMySQL/flexibleServers/test-mysql" -$backupInstanceClientObject = Initialize-AzDataProtectionBackupInstance -DatasourceType AzureDatabaseForMySQL -DatasourceLocation $vault.Location -PolicyId $pol[0].Id -DatasourceId $datasourceId -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 +$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 +.Example +$defaultPol = Get-AzDataProtectionPolicyTemplate -DatasourceType AzureDatabaseForPGFlexServer +$lifeCycleVault = New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore VaultStore -SourceRetentionDurationType Days -SourceRetentionDurationCount 10 +Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy $defaultPol -Name Default -LifeCycles $lifeCycleVault -IsDefault $true +$lifeCycleVault = New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore VaultStore -SourceRetentionDurationType Months -SourceRetentionDurationCount 6 +Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy $defaultPol -Name Monthly -LifeCycles $lifeCycleVault -IsDefault $false +$schDates = @( +( + (Get-Date -Year 2024 -Month 03 -Day 04 -Hour 09 -Minute 0 -Second 0) +), +( + (Get-Date -Year 2024 -Month 03 -Day 05 -Hour 09 -Minute 0 -Second 0) +)) +$trigger = New-AzDataProtectionPolicyTriggerScheduleClientObject -ScheduleDays $schDates -IntervalType Weekly -IntervalCount 1 +Edit-AzDataProtectionPolicyTriggerClientObject -Schedule $trigger -Policy $defaultPol +$tagCriteria = New-AzDataProtectionPolicyTagCriteriaClientObject -MonthsOfYear January -DaysOfMonth 1,5,Last +Edit-AzDataProtectionPolicyTagClientObject -Policy $defaultPol -Name Monthly -Criteria $tagCriteria +$pgflexPolicy = New-AzDataProtectionBackupPolicy -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -Name "pgflex-policy" -Policy $defaultPol +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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. -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. +POLICY : Policy Request Object + DatasourceType : Type of datasource for the backup management + ObjectType : + PolicyRule : Policy rule dictionary that contains rules for each backuptype i.e Full/Incremental/Logs etc + Name : 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. + DataStoreObjectType : Type of Datasource object, used to initialize the right inherited type + DataStoreType : type of datastore; Operational/Vault/Archive + TriggerObjectType : Type of the specific object - used for deserializing + Lifecycle : + DeleteAfterDuration : Duration of deletion after given timespan + DeleteAfterObjectType : Type of the specific object - used for deserializing + SourceDataStoreObjectType : Type of Datasource object, used to initialize the right inherited type + SourceDataStoreType : type of datastore; Operational/Vault/Archive + [TargetDataStoreCopySetting ]: + CopyAfterObjectType : Type of the specific object - used for deserializing + DataStoreObjectType : Type of Datasource object, used to initialize the right inherited type + DataStoreType : type of datastore; Operational/Vault/Archive + [BackupParameterObjectType ]: Type of the specific object - used for deserializing + [IsDefault ]: .Link -https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionbackupinstance +https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionbackuppolicy #> -function New-AzDataProtectionBackupInstance { +function New-AzDataProtectionBackupPolicy { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResource])] [CmdletBinding(PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.String] - # Resource Group of the backup vault + # Resource Group Name ${ResourceGroupName}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.String] - # Name of the backup vault + # Vault Name ${VaultName}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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}, + [System.String] + # Policy Name + ${Name}, + + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicy] + # Policy Request Object + # To construct, see NOTES section for POLICY properties and create a hash table. + ${Policy}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.String] - # Subscription Id of the vault + # Subscription Id ${SubscriptionId}, - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.Collections.Hashtable] - # Resource tags - ${Tag}, - [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] @@ -6937,16 +7017,6 @@ param( [System.Uri] ${Proxy}, - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.Management.Automation.SwitchParameter] - ${AsJob}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.Management.Automation.SwitchParameter] - ${NoWait}, - [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] @@ -6985,7 +7055,7 @@ begin { } $mapping = @{ - __AllParameterSets = 'Az.DataProtection.custom\New-AzDataProtectionBackupInstance'; + __AllParameterSets = 'Az.DataProtection.custom\New-AzDataProtectionBackupPolicy'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) @@ -7039,169 +7109,183 @@ end { <# .Synopsis -Creates a new backup policy in a given backup vault +Creates or updates a BackupVault resource belonging to a resource group. .Description -Creates a new backup policy in a given 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 +Creates or updates a BackupVault resource belonging to a resource group. .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 +$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 -$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 +$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 .Example -$defaultPol = Get-AzDataProtectionPolicyTemplate -DatasourceType AzureDatabaseForPGFlexServer -$lifeCycleVault = New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore VaultStore -SourceRetentionDurationType Days -SourceRetentionDurationCount 10 -Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy $defaultPol -Name Default -LifeCycles $lifeCycleVault -IsDefault $true -$lifeCycleVault = New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore VaultStore -SourceRetentionDurationType Months -SourceRetentionDurationCount 6 -Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy $defaultPol -Name Monthly -LifeCycles $lifeCycleVault -IsDefault $false -$schDates = @( -( - (Get-Date -Year 2024 -Month 03 -Day 04 -Hour 09 -Minute 0 -Second 0) -), -( - (Get-Date -Year 2024 -Month 03 -Day 05 -Hour 09 -Minute 0 -Second 0) -)) -$trigger = New-AzDataProtectionPolicyTriggerScheduleClientObject -ScheduleDays $schDates -IntervalType Weekly -IntervalCount 1 -Edit-AzDataProtectionPolicyTriggerClientObject -Schedule $trigger -Policy $defaultPol -$tagCriteria = New-AzDataProtectionPolicyTagCriteriaClientObject -MonthsOfYear January -DaysOfMonth 1,5,Last -Edit-AzDataProtectionPolicyTagClientObject -Policy $defaultPol -Name Monthly -Criteria $tagCriteria -$pgflexPolicy = New-AzDataProtectionBackupPolicy -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -Name "pgflex-policy" -Policy $defaultPol +$storagesetting = New-AzDataProtectionBackupVaultStorageSettingObject -DataStoreType VaultStore -Type LocallyRedundant +$userAssignedIdentity = @{ + "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/samplerg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sampleuami" = @{ + clientId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + principalId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + } + "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/samplerg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sampleuami2" = @{ + clientId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + principalId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + } +} + +$cmkIdentityId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/samplerg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sampleuami" + +$cmkKeyUri = "https://samplekvazbckp.vault.azure.net/keys/testkey/3cd5235ad6ac4c11b40a6f35444bcbe1" + +New-AzDataProtectionBackupVault -SubscriptionId xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -Location "location" -StorageSetting $storagesetting -IdentityType UserAssigned -UserAssignedIdentity $userAssignedIdentity -CmkEncryptionState Enabled -CmkIdentityType UserAssigned -CmkUserAssignedIdentityId $cmkIdentityId -CmkEncryptionKeyUri $cmkKeyUri -CmkInfrastructureEncryption Enabled .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResource +System.Management.Automation.PSObject .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. -POLICY : Policy Request Object - DatasourceType : Type of datasource for the backup management - ObjectType : - PolicyRule : Policy rule dictionary that contains rules for each backuptype i.e Full/Incremental/Logs etc - Name : - ObjectType : - DataStoreObjectType : Type of Datasource object, used to initialize the right inherited type - DataStoreType : type of datastore; Operational/Vault/Archive - TriggerObjectType : Type of the specific object - used for deserializing - Lifecycle : - DeleteAfterDuration : Duration of deletion after given timespan - DeleteAfterObjectType : Type of the specific object - used for deserializing - SourceDataStoreObjectType : Type of Datasource object, used to initialize the right inherited type - SourceDataStoreType : type of datastore; Operational/Vault/Archive - [TargetDataStoreCopySetting ]: - CopyAfterObjectType : Type of the specific object - used for deserializing - DataStoreObjectType : Type of Datasource object, used to initialize the right inherited type - DataStoreType : type of datastore; Operational/Vault/Archive - [BackupParameterObjectType ]: Type of the specific object - used for deserializing - [IsDefault ]: +STORAGESETTING : Storage Settings of the vault. Use New-AzDataProtectionBackupVaultStorageSetting Cmdlet to Create. + [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-azdataprotectionbackuppolicy +https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionbackupvault #> -function New-AzDataProtectionBackupPolicy { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResource])] +function New-AzDataProtectionBackupVault { +[OutputType([PSObject])] [CmdletBinding(PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.String] - # Resource Group Name + # Resource Group Name of the backup vault ${ResourceGroupName}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.String] - # Vault Name + # Name of the backup vault ${VaultName}, - [Parameter(Mandatory)] + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # Resource location. + ${Location}, + + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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. + ${StorageSetting}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # Subscription Id of the vault + ${SubscriptionId}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # Optional ETag. + ${ETag}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # The identityType can take values - "SystemAssigned", "UserAssigned", "SystemAssigned,UserAssigned", "None". + ${IdentityType}, + + [Parameter()] + [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()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState] + # Immutability state of the vault. + # Allowed values are Disabled, Unlocked, Locked. + ${ImmutabilityState}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState] + # Cross region restore state of the vault. + # Allowed values are Disabled, Enabled. + ${CrossRegionRestoreState}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState] + # Cross subscription restore state of the vault. + # Allowed values are Disabled, Enabled, PermanentlyDisabled. + ${CrossSubscriptionRestoreState}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.Double] + # Soft delete retention duration in days + ${SoftDeleteRetentionDurationInDay}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState] + # Soft delete state of the vault. + # Allowed values are Off, On, AlwaysOn + ${SoftDeleteState}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.Collections.Hashtable] + # Resource tags. + ${Tag}, + + [Parameter()] + [Alias('UserAssignedIdentity')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.Collections.Hashtable] + # Gets or sets the user assigned identities. + ${IdentityUserAssignedIdentity}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.EncryptionState] + # Enable CMK encryption state for a Backup Vault. + ${CmkEncryptionState}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.InfrastructureEncryptionState] + # Enable infrastructure encryption with CMK on this vault. + # Infrastructure encryption must be configured only when creating the vault. + ${CmkInfrastructureEncryption}, + + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String] - # Policy Name - ${Name}, + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.IdentityType] + # The identity type to be used for CMK encryption - SystemAssigned or UserAssigned Identity. + ${CmkIdentityType}, - [Parameter(Mandatory)] + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupPolicy] - # Policy Request Object - # To construct, see NOTES section for POLICY properties and create a hash table. - ${Policy}, + [System.String] + # This parameter is required if the identity type is UserAssigned. + # Add the user assigned managed identity id to be used which has access permissions to the Key Vault. + ${CmkUserAssignedIdentityId}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.String] - # Subscription Id - ${SubscriptionId}, + # The Key URI of the CMK key to be used for encryption. + # To enable auto-rotation of keys, exclude the version component from the Key URI. + ${CmkEncryptionKeyUri}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] @@ -7210,6 +7294,11 @@ param( [System.Management.Automation.PSObject] ${DefaultProfile}, + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.Management.Automation.SwitchParameter] + ${AsJob}, + [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.Management.Automation.SwitchParameter] @@ -7232,6 +7321,11 @@ param( [System.Uri] ${Proxy}, + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.Management.Automation.SwitchParameter] + ${NoWait}, + [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] @@ -7270,7 +7364,7 @@ begin { } $mapping = @{ - __AllParameterSets = 'Az.DataProtection.custom\New-AzDataProtectionBackupPolicy'; + __AllParameterSets = 'Az.DataProtection.custom\New-AzDataProtectionBackupVault'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) @@ -7324,175 +7418,169 @@ end { <# .Synopsis -Creates or updates a BackupVault resource belonging to a resource group. +Get Backup Vault storage setting object .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 +Get Backup Vault storage setting object .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 +New-AzDataProtectionBackupVaultStorageSettingObject -Type GeoRedundant -DataStoreType VaultStore .Outputs System.Management.Automation.PSObject -.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. - -STORAGESETTING : Storage Settings of the vault. Use New-AzDataProtectionBackupVaultStorageSetting Cmdlet to Create. - [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 +https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionbackupvaultstoragesettingobject #> -function New-AzDataProtectionBackupVault { +function New-AzDataProtectionBackupVaultStorageSettingObject { [OutputType([PSObject])] -[CmdletBinding(PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +[CmdletBinding(PositionalBinding=$false)] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String] - # Resource Group Name of the backup vault - ${ResourceGroupName}, - - [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] - # Resource location. - ${Location}, + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.StorageSettingType] + # Storage Type of the vault + ${Type}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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. - ${StorageSetting}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String] - # Subscription Id of the vault - ${SubscriptionId}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String] - # Optional ETag. - ${ETag}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String] - # The identityType which can be either SystemAssigned or None. - ${IdentityType}, - - [Parameter()] - [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}, + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreType] + # DataStore Type of the vault + ${DataStoreType} +) - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState] - # Immutability state of the vault. - # Allowed values are Disabled, Unlocked, Locked. - ${ImmutabilityState}, +begin { + try { + $outBuffer = $null + if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { + $PSBoundParameters['OutBuffer'] = 1 + } + $parameterSet = $PSCmdlet.ParameterSetName - [Parameter()] - [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}, + 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' + } - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState] - # Cross subscription restore state of the vault. - # Allowed values are Disabled, Enabled, PermanentlyDisabled. - ${CrossSubscriptionRestoreState}, + $mapping = @{ + __AllParameterSets = 'Az.DataProtection.custom\New-AzDataProtectionBackupVaultStorageSettingObject'; + } + $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 + } +} - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.Double] - # Soft delete retention duration in days - ${SoftDeleteRetentionDurationInDay}, +process { + try { + $steppablePipeline.Process($_) + } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + throw + } - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState] - # Soft delete state of the vault. - # Allowed values are Off, On, AlwaysOn - ${SoftDeleteState}, + finally { + $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId + $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + } - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.Collections.Hashtable] - # Resource tags. - ${Tag}, +} +end { + try { + $steppablePipeline.End() - [Parameter()] - [Alias('AzureRMContext', 'AzureCredential')] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.Management.Automation.PSObject] - ${DefaultProfile}, + [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 - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.Management.Automation.SwitchParameter] - ${AsJob}, + } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + throw + } +} +} - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.Management.Automation.SwitchParameter] - ${Break}, +<# +.Synopsis +Creates a new criteria object +.Description +Creates a new criteria object +.Example +New-AzDataProtectionPolicyTagCriteriaClientObject -AbsoluteCriteria FirstOfDay +.Example +New-AzDataProtectionPolicyTagCriteriaClientObject -DaysOfWeek @("Sunday", "Monday") - [Parameter(DontShow)] - [ValidateNotNull()] +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedBackupCriteria +.Link +https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionpolicytagcriteriaclientobject +#> +function New-AzDataProtectionPolicyTagCriteriaClientObject { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedBackupCriteria])] +[CmdletBinding(DefaultParameterSetName='ScheduleCriteria', PositionalBinding=$false)] +param( + [Parameter(ParameterSetName='AbsoluteCriteria', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] - ${HttpPipelineAppend}, + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AbsoluteTagCriteria] + # Absolute criteria + ${AbsoluteCriteria}, - [Parameter(DontShow)] - [ValidateNotNull()] + [Parameter(ParameterSetName='ScheduleCriteria')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] - ${HttpPipelinePrepend}, + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DaysOfWeek[]] + # Days of the week + ${DaysOfWeek}, - [Parameter(DontShow)] + [Parameter(ParameterSetName='ScheduleCriteria')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.Uri] - ${Proxy}, + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.WeeksOfMonth[]] + # Weeks of the month. + ${WeeksOfMonth}, - [Parameter()] + [Parameter(ParameterSetName='ScheduleCriteria')] + [Parameter(ParameterSetName='MonthlyCriteria')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.Management.Automation.SwitchParameter] - ${NoWait}, + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.MonthsOfYear[]] + # Months of the year. + ${MonthsOfYear}, - [Parameter(DontShow)] - [ValidateNotNull()] + [Parameter(ParameterSetName='ScheduleCriteria')] + [Parameter(ParameterSetName='MonthlyCriteria')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.Management.Automation.PSCredential] - ${ProxyCredential}, + [System.DateTime[]] + # Schedule times. + ${ScheduleTimes}, - [Parameter(DontShow)] + [Parameter(ParameterSetName='MonthlyCriteria', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.Management.Automation.SwitchParameter] - ${ProxyUseDefaultCredentials} + [System.String[]] + # Days of the month. + # Allowed values are 1 to 28 and Last + ${DaysOfMonth} ) begin { @@ -7521,7 +7609,9 @@ begin { } $mapping = @{ - __AllParameterSets = 'Az.DataProtection.custom\New-AzDataProtectionBackupVault'; + AbsoluteCriteria = 'Az.DataProtection.custom\New-AzDataProtectionPolicyTagCriteriaClientObject'; + ScheduleCriteria = 'Az.DataProtection.custom\New-AzDataProtectionPolicyTagCriteriaClientObject'; + MonthlyCriteria = 'Az.DataProtection.custom\New-AzDataProtectionPolicyTagCriteriaClientObject'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) @@ -7575,32 +7665,42 @@ end { <# .Synopsis -Get Backup Vault storage setting object +Creates new Schedule object .Description -Get Backup Vault storage setting object +Creates new Schedule object .Example -New-AzDataProtectionBackupVaultStorageSettingObject -Type GeoRedundant -DataStoreType VaultStore +$date = Get-Date +New-AzDataProtectionPolicyTriggerScheduleClientObject -ScheduleDays $date -IntervalType Daily -IntervalCount 1 +.Example +$date = Get-Date +New-AzDataProtectionPolicyTriggerScheduleClientObject -ScheduleDays $date -IntervalType Hourly -IntervalCount 4 .Outputs -System.Management.Automation.PSObject +System.String[] .Link -https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionbackupvaultstoragesettingobject +https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionpolicytriggerscheduleclientobject #> -function New-AzDataProtectionBackupVaultStorageSettingObject { -[OutputType([PSObject])] +function New-AzDataProtectionPolicyTriggerScheduleClientObject { +[OutputType([System.String[]])] [CmdletBinding(PositionalBinding=$false)] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.StorageSettingType] - # Storage Type of the vault - ${Type}, + [System.DateTime[]] + # Days with which backup will be scheduled. + ${ScheduleDays}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreType] - # DataStore Type of the vault - ${DataStoreType} + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.BackupFrequency] + # Freuquency of the backup. + ${IntervalType}, + + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.Int32] + # Frequency of the backup. + ${IntervalCount} ) begin { @@ -7629,7 +7729,7 @@ begin { } $mapping = @{ - __AllParameterSets = 'Az.DataProtection.custom\New-AzDataProtectionBackupVaultStorageSettingObject'; + __AllParameterSets = 'Az.DataProtection.custom\New-AzDataProtectionPolicyTriggerScheduleClientObject'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) @@ -7683,61 +7783,102 @@ end { <# .Synopsis -Creates a new criteria object +Creates a resource guard under a resource group .Description -Creates a new criteria object -.Example -New-AzDataProtectionPolicyTagCriteriaClientObject -AbsoluteCriteria FirstOfDay +Creates a resource guard under a resource group .Example -New-AzDataProtectionPolicyTagCriteriaClientObject -DaysOfWeek @("Sunday", "Monday") +New-AzDataProtectionResourceGuard -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "mua-rg" -Name "mua-resource-guard" -Location "centraluseuap" .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IScheduleBasedBackupCriteria +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource .Link -https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionpolicytagcriteriaclientobject +https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionresourceguard #> -function New-AzDataProtectionPolicyTagCriteriaClientObject { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IScheduleBasedBackupCriteria])] -[CmdletBinding(DefaultParameterSetName='ScheduleCriteria', PositionalBinding=$false)] +function New-AzDataProtectionResourceGuard { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource])] +[CmdletBinding(DefaultParameterSetName='CreateResourceGuard', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( - [Parameter(ParameterSetName='AbsoluteCriteria', Mandatory)] + [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AbsoluteTagCriteria] - # Absolute criteria - ${AbsoluteCriteria}, + [System.String] + # Resource Group name of the resource guard + ${ResourceGroupName}, - [Parameter(ParameterSetName='ScheduleCriteria')] + [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DaysOfWeek[]] - # Days of the week - ${DaysOfWeek}, + [System.String] + # Name of the resource guard + ${Name}, - [Parameter(ParameterSetName='ScheduleCriteria')] + [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.WeeksOfMonth[]] - # Weeks of the month. - ${WeeksOfMonth}, + [System.String] + # Location of the resource guard + ${Location}, - [Parameter(ParameterSetName='ScheduleCriteria')] - [Parameter(ParameterSetName='MonthlyCriteria')] + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.MonthsOfYear[]] - # Months of the year. - ${MonthsOfYear}, + [System.String] + # Subscription Id of the resource guard + ${SubscriptionId}, - [Parameter(ParameterSetName='ScheduleCriteria')] - [Parameter(ParameterSetName='MonthlyCriteria')] + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.DateTime[]] - # Schedule times. - ${ScheduleTimes}, + [System.String] + # Optional ETag + ${ETag}, - [Parameter(ParameterSetName='MonthlyCriteria', Mandatory)] + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String[]] - # Days of the month. - # Allowed values are 1 to 28 and Last - ${DaysOfMonth} + [System.String] + # This parameter is no longer in use and will be depricated + ${IdentityType}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.Collections.Hashtable] + # Resource tags + ${Tag}, + + [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(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} ) begin { @@ -7766,9 +7907,7 @@ begin { } $mapping = @{ - AbsoluteCriteria = 'Az.DataProtection.custom\New-AzDataProtectionPolicyTagCriteriaClientObject'; - ScheduleCriteria = 'Az.DataProtection.custom\New-AzDataProtectionPolicyTagCriteriaClientObject'; - MonthlyCriteria = 'Az.DataProtection.custom\New-AzDataProtectionPolicyTagCriteriaClientObject'; + CreateResourceGuard = 'Az.DataProtection.custom\New-AzDataProtectionResourceGuard'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) @@ -7805,59 +7944,121 @@ 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 + [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 +Creates new restore configuration object +.Description +Creates new restore configuration object +.Example +$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'}) + +.Outputs +System.Management.Automation.PSObject +.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. + +NAMESPACEMAPPING : Namespaces mapping from source namespaces to target namespaces to resolve namespace naming conflicts in the target cluster. + [(Any) ]: This indicates any property can be added to this object. + +RESTOREHOOKREFERENCE : Hook reference to be executed during restore. + [Name ]: Name of the resource + [Namespace ]: Namespace in which the resource exists +.Link +https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionrestoreconfigurationclientobject +#> +function New-AzDataProtectionRestoreConfigurationClientObject { +[OutputType([PSObject])] +[CmdletBinding(PositionalBinding=$false)] +param( + [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[]] + # List of resource types to be excluded for restore + ${ExcludedResourceType}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String[]] + # List of resource types to be included for restore + ${IncludedResourceType}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String[]] + # List of namespaces to be excluded for restore + ${ExcludedNamespace}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String[]] + # List of namespaces to be included for restore + ${IncludedNamespace}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String[]] + # List of labels for internal filtering for restore + ${LabelSelector}, - } catch { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - throw - } -} -} + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.Nullable[System.Boolean]] + # Boolean parameter to decide whether cluster scope resources are included for restore. + # By default this is taken as true. + ${IncludeClusterScopeResource}, -<# -.Synopsis -Creates new Schedule object -.Description -Creates new Schedule object -.Example -$date = Get-Date -New-AzDataProtectionPolicyTriggerScheduleClientObject -ScheduleDays $date -IntervalType Daily -IntervalCount 1 -.Example -$date = Get-Date -New-AzDataProtectionPolicyTriggerScheduleClientObject -ScheduleDays $date -IntervalType Hourly -IntervalCount 4 + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # Conflict policy for restore. + # Allowed values are Skip, Patch. + # Default value is Skip + ${ConflictPolicy}, -.Outputs -System.String[] -.Link -https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionpolicytriggerscheduleclientobject -#> -function New-AzDataProtectionPolicyTriggerScheduleClientObject { -[OutputType([System.String[]])] -[CmdletBinding(PositionalBinding=$false)] -param( - [Parameter(Mandatory)] + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.DateTime[]] - # Days with which backup will be scheduled. - ${ScheduleDays}, + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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}, - [Parameter(Mandatory)] + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.BackupFrequency] - # Freuquency of the backup. - ${IntervalType}, + [System.String] + # Restore mode for persistent volumes. + # Allowed values are RestoreWithVolumeData, RestoreWithoutVolumeData. + # Default value is RestoreWithVolumeData + ${PersistentVolumeRestoreMode}, - [Parameter(Mandatory)] + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.Int32] - # Frequency of the backup. - ${IntervalCount} + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.NamespacedNameResource[]] + # Hook reference to be executed during restore. + # To construct, see NOTES section for RESTOREHOOKREFERENCE properties and create a hash table. + ${RestoreHookReference} ) begin { @@ -7886,7 +8087,7 @@ begin { } $mapping = @{ - __AllParameterSets = 'Az.DataProtection.custom\New-AzDataProtectionPolicyTriggerScheduleClientObject'; + __AllParameterSets = 'Az.DataProtection.custom\New-AzDataProtectionRestoreConfigurationClientObject'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) @@ -7940,102 +8141,52 @@ end { <# .Synopsis -Creates a resource guard under a resource group +Creates new Lifecycle object .Description -Creates a resource guard under a resource group +Creates new Lifecycle object .Example -New-AzDataProtectionResourceGuard -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "mua-rg" -Name "mua-resource-guard" -Location "centraluseuap" +New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore OperationalStore -SourceRetentionDurationType Days -SourceRetentionDurationCount 30 +.Example +New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore OperationalStore -SourceRetentionDurationType Weeks -SourceRetentionDurationCount 20 .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycle .Link -https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionresourceguard +https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionretentionlifecycleclientobject #> -function New-AzDataProtectionResourceGuard { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResource])] -[CmdletBinding(DefaultParameterSetName='CreateResourceGuard', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +function New-AzDataProtectionRetentionLifeCycleClientObject { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycle])] +[CmdletBinding(PositionalBinding=$false)] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String] - # Resource Group name of the resource guard - ${ResourceGroupName}, + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreType] + # Source Datastore + ${SourceDataStore}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String] - # Name of the resource guard - ${Name}, + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DurationType] + # Retention Duration Type + ${SourceRetentionDurationType}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String] - # Location of the resource guard - ${Location}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String] - # Subscription Id of the resource guard - ${SubscriptionId}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String] - # Optional ETag - ${ETag}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String] - # This parameter is no longer in use and will be depricated - ${IdentityType}, + [System.Int32] + # Retention Duration Count + ${SourceRetentionDurationCount}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.Collections.Hashtable] - # Resource tags - ${Tag}, + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreType] + # Target Datastore + ${TargetDataStore}, [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(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} + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CopyOption] + # CopyOption + ${CopyOption} ) begin { @@ -8064,7 +8215,7 @@ begin { } $mapping = @{ - CreateResourceGuard = 'Az.DataProtection.custom\New-AzDataProtectionResourceGuard'; + __AllParameterSets = 'Az.DataProtection.custom\New-AzDataProtectionRetentionLifeCycleClientObject'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) @@ -8118,104 +8269,94 @@ end { <# .Synopsis -Creates new restore configuration object +Searches for Backup instances in Azure Resource Graph and retrieves the expected entries .Description -Creates new restore configuration object +Searches for Backup instances in Azure Resource Graph and retrieves the expected entries .Example -$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'}) +Search-AzDataProtectionBackupInstanceInAzGraph -Subscription "xxxx-xxx-xxx" -DatasourceType AzureDisk +.Example +Search-AzDataProtectionBackupInstanceInAzGraph -Subscription "xxxx-xxx-xxx" -DatasourceType AzureDisk -ResourceGroup @("sarath-rg", "sarath-rg2") +.Example +Search-AzDataProtectionBackupInstanceInAzGraph -Subscription "xxxx-xxx-xxx" -DatasourceType AzureDisk -ResourceGroup @("sarath-rg", "sarath-rg2") -ProtectionStatus ProtectionConfigured .Outputs System.Management.Automation.PSObject -.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. - -NAMESPACEMAPPING : Namespaces mapping from source namespaces to target namespaces to resolve namespace naming conflicts in the target cluster. - [(Any) ]: This indicates any property can be added to this object. - -RESTOREHOOKREFERENCE : Hook reference to be executed during restore. - [Name ]: Name of the resource - [Namespace ]: Namespace in which the resource exists .Link -https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionrestoreconfigurationclientobject +https://learn.microsoft.com/powershell/module/az.dataprotection/search-azdataprotectionbackupinstanceinazgraph #> -function New-AzDataProtectionRestoreConfigurationClientObject { +function Search-AzDataProtectionBackupInstanceInAzGraph { [OutputType([PSObject])] [CmdletBinding(PositionalBinding=$false)] param( [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[]] - # List of resource types to be excluded for restore - ${ExcludedResourceType}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.String[]] - # List of resource types to be included for restore - ${IncludedResourceType}, + # Subscription of Vault + ${Subscription}, - [Parameter()] + [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String[]] - # List of namespaces to be excluded for restore - ${ExcludedNamespace}, + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DatasourceTypes] + # Datasource Type + ${DatasourceType}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.String[]] - # List of namespaces to be included for restore - ${IncludedNamespace}, + # Resource Group of Vault + ${ResourceGroup}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.String[]] - # List of labels for internal filtering for restore - ${LabelSelector}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.Nullable[System.Boolean]] - # Boolean parameter to decide whether cluster scope resources are included for restore. - # By default this is taken as true. - ${IncludeClusterScopeResource}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String] - # Conflict policy for restore. - # Allowed values are Skip, Patch. - # Default value is Skip - ${ConflictPolicy}, + # Name of the vault + ${Vault}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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}, + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProtectionStatus[]] + # Protection Status of the item + ${ProtectionStatus}, [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String] - # Restore mode for persistent volumes. - # Allowed values are RestoreWithVolumeData, RestoreWithoutVolumeData. - # Default value is RestoreWithVolumeData - ${PersistentVolumeRestoreMode}, + [System.Management.Automation.PSObject] + ${DefaultProfile}, - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.NamespacedNameResource[]] - # Hook reference to be executed during restore. - # To construct, see NOTES section for RESTOREHOOKREFERENCE properties and create a hash table. - ${RestoreHookReference} + [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 { @@ -8244,7 +8385,7 @@ begin { } $mapping = @{ - __AllParameterSets = 'Az.DataProtection.custom\New-AzDataProtectionRestoreConfigurationClientObject'; + __AllParameterSets = 'Az.DataProtection.custom\Search-AzDataProtectionBackupInstanceInAzGraph'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) @@ -8298,52 +8439,81 @@ end { <# .Synopsis -Creates new Lifecycle object +Searches for Backup vaults in Azure Resource Graph and retrieves the expected entries .Description -Creates new Lifecycle object -.Example -New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore OperationalStore -SourceRetentionDurationType Days -SourceRetentionDurationCount 30 +Searches for Backup vaults in Azure Resource Graph and retrieves the expected entries .Example -New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore OperationalStore -SourceRetentionDurationType Weeks -SourceRetentionDurationCount 20 +Search-AzDataProtectionBackupVaultInAzGraph -Subscription "xxxxxxxx-xxxx-xxxxxxxxxxxx" -ResourceGroup $resourceGroupName -Vault $vaultName .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISourceLifeCycle +System.Management.Automation.PSObject .Link -https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionretentionlifecycleclientobject +https://learn.microsoft.com/powershell/module/az.dataprotection/search-azdataprotectionbackupvaultinazgraph #> -function New-AzDataProtectionRetentionLifeCycleClientObject { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISourceLifeCycle])] +function Search-AzDataProtectionBackupVaultInAzGraph { +[OutputType([PSObject])] [CmdletBinding(PositionalBinding=$false)] param( [Parameter(Mandatory)] + [Alias('SubscriptionId')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreType] - # Source Datastore - ${SourceDataStore}, - - [Parameter(Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DurationType] - # Retention Duration Type - ${SourceRetentionDurationType}, + [System.String[]] + # Subscription of Vault + ${Subscription}, - [Parameter(Mandatory)] + [Parameter()] + [Alias('ResourceGroupName')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.Int32] - # Retention Duration Count - ${SourceRetentionDurationCount}, + [System.String[]] + # Resource Group of Vault + ${ResourceGroup}, [Parameter()] + [Alias('VaultName')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreType] - # Target Datastore - ${TargetDataStore}, + [System.String[]] + # Name of the vault + ${Vault}, [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CopyOption] - # CopyOption - ${CopyOption} + [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 { @@ -8372,7 +8542,7 @@ begin { } $mapping = @{ - __AllParameterSets = 'Az.DataProtection.custom\New-AzDataProtectionRetentionLifeCycleClientObject'; + __AllParameterSets = 'Az.DataProtection.custom\Search-AzDataProtectionBackupVaultInAzGraph'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) @@ -8426,22 +8596,22 @@ end { <# .Synopsis -Searches for Backup instances in Azure Resource Graph and retrieves the expected entries +Searches for Backup Jobs in Azure Resource Graph and retrieves the expected entries .Description -Searches for Backup instances in Azure Resource Graph and retrieves the expected entries -.Example -Search-AzDataProtectionBackupInstanceInAzGraph -Subscription "xxxx-xxx-xxx" -DatasourceType AzureDisk +Searches for Backup Jobs in Azure Resource Graph and retrieves the expected entries .Example -Search-AzDataProtectionBackupInstanceInAzGraph -Subscription "xxxx-xxx-xxx" -DatasourceType AzureDisk -ResourceGroup @("sarath-rg", "sarath-rg2") +$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-AzDataProtectionBackupInstanceInAzGraph -Subscription "xxxx-xxx-xxx" -DatasourceType AzureDisk -ResourceGroup @("sarath-rg", "sarath-rg2") -ProtectionStatus ProtectionConfigured +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-azdataprotectionbackupinstanceinazgraph +https://learn.microsoft.com/powershell/module/az.dataprotection/search-azdataprotectionjobinazgraph #> -function Search-AzDataProtectionBackupInstanceInAzGraph { +function Search-AzDataProtectionJobInAzGraph { [OutputType([PSObject])] [CmdletBinding(PositionalBinding=$false)] param( @@ -8471,9 +8641,27 @@ param( [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProtectionStatus[]] - # Protection Status of the item - ${ProtectionStatus}, + [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')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.JobOperation[]] + # Operation filter for the backup job + ${Operation}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.JobStatus[]] + # Status filter for the backup job + ${Status}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] @@ -8542,7 +8730,7 @@ begin { } $mapping = @{ - __AllParameterSets = 'Az.DataProtection.custom\Search-AzDataProtectionBackupInstanceInAzGraph'; + __AllParameterSets = 'Az.DataProtection.custom\Search-AzDataProtectionJobInAzGraph'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) @@ -8596,81 +8784,145 @@ end { <# .Synopsis -Searches for Backup vaults in Azure Resource Graph and retrieves the expected entries +Grants required permissions to the backup vault and other resources for configure backup and restore scenarios .Description -Searches for Backup vaults in Azure Resource Graph and retrieves the expected entries +Grants required permissions to the backup vault and other resources for configure backup and restore scenarios .Example -Search-AzDataProtectionBackupVaultInAzGraph -Subscription "xxxxxxxx-xxxx-xxxxxxxxxxxx" -ResourceGroup $resourceGroupName -Vault $vaultName +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.Management.Automation.PSObject +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. + [ResourceGuardOperationRequest ]: ResourceGuardOperationRequests on which LAC check will be performed + [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. + [ResourceGuardOperationRequest ]: ResourceGuardOperationRequests on which LAC check will be performed + [SourceResourceId ]: Fully qualified Azure Resource Manager ID of the datasource which is being recovered. .Link -https://learn.microsoft.com/powershell/module/az.dataprotection/search-azdataprotectionbackupvaultinazgraph +https://learn.microsoft.com/powershell/module/az.dataprotection/set-azdataprotectionmsipermission #> -function Search-AzDataProtectionBackupVaultInAzGraph { -[OutputType([PSObject])] -[CmdletBinding(PositionalBinding=$false)] +function Set-AzDataProtectionMSIPermission { +[OutputType([System.Object])] +[CmdletBinding(DefaultParameterSetName='SetPermissionsForBackup', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] - [Alias('SubscriptionId')] + [Alias('ResourceGroupName')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String[]] - # Subscription of Vault - ${Subscription}, + [System.String] + # Resource group of the backup vault + ${VaultResourceGroup}, - [Parameter()] - [Alias('ResourceGroupName')] + [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String[]] - # Resource Group of Vault - ${ResourceGroup}, + [System.String] + # Name of the backup vault + ${VaultName}, - [Parameter()] - [Alias('VaultName')] + [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String[]] - # Name of the vault - ${Vault}, + [System.String] + # Scope at which the permissions need to be granted + ${PermissionsScope}, - [Parameter()] - [Alias('AzureRMContext', 'AzureCredential')] - [ValidateNotNull()] + [Parameter(ParameterSetName='SetPermissionsForBackup', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.Management.Automation.PSObject] - ${DefaultProfile}, + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - ${Break}, + [Parameter(ParameterSetName='SetPermissionsForBackup')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # ID of the keyvault + ${KeyVaultId}, - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] - ${HttpPipelineAppend}, + [Parameter(ParameterSetName='SetPermissionsForRestore', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] - ${HttpPipelinePrepend}, + [Parameter(ParameterSetName='SetPermissionsForRestore')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # Subscription Id of the backup vault + ${SubscriptionId}, - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] - [System.Uri] - ${Proxy}, + [Parameter(ParameterSetName='SetPermissionsForRestore')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DatasourceTypes] + # Datasource Type + ${DatasourceType}, - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] - [System.Management.Automation.PSCredential] - ${ProxyCredential}, + [Parameter(ParameterSetName='SetPermissionsForRestore')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # Sanpshot Resource Group + ${SnapshotResourceGroupId}, - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - ${ProxyUseDefaultCredentials} + [Parameter(ParameterSetName='SetPermissionsForRestore')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # Target storage account ARM Id. + # Use this parameter for DatasourceType AzureDatabaseForMySQL, AzureDatabaseForPGFlexServer. + ${StorageAccountARMId} ) begin { @@ -8699,7 +8951,8 @@ begin { } $mapping = @{ - __AllParameterSets = 'Az.DataProtection.custom\Search-AzDataProtectionBackupVaultInAzGraph'; + 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) @@ -8753,72 +9006,198 @@ end { <# .Synopsis -Searches for Backup Jobs in Azure Resource Graph and retrieves the expected entries +Triggers restore for a BackupInstance .Description -Searches for Backup Jobs in Azure Resource Graph and retrieves the expected entries +Triggers restore for a BackupInstance .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 +$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 -Search-AzDataProtectionJobInAzGraph -Subscription "xxxx-xxx-xxx" -ResourceGroup sarath-rg -Vault sarath-vault -DatasourceType AzureDisk -Operation OnDemandBackup +$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-Object { $_.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-Object { $_.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-Object { $_.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-Object { $_.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 +} +.Example +$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" | Where-Object { $_.Name -match "test-pgflex" } +$rps = Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.Name +$targetContainerURI = "https://teststorageaccount.blob.core.windows.net/powershellpgflexrestore" +$storageAccId = (Get-AzStorageAccount -ResourceGroupName "teststorageaccountRG" -Name "teststorageaccount").Id +$pgFlexRestoreAsFilesRequest = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureDatabaseForPGFlexServer -SourceDataStore VaultStore -RestoreLocation $vault.Location -RestoreType RestoreAsFiles -RecoveryPoint $rps[0].Property.RecoveryPointId -TargetContainerURI $targetContainerURI +Set-AzDataProtectionMSIPermission -VaultResourceGroup "resourceGroupName" -VaultName "vaultName" -PermissionsScope "ResourceGroup" -RestoreRequest $pgFlexRestoreAsFilesRequest -DatasourceType AzureDatabaseForPGFlexServer -SubscriptionId $SubscriptionId -StorageAccountARMId $storageAccId +$validateRestore = Test-AzDataProtectionBackupInstanceRestore -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -RestoreRequest $pgFlexRestoreAsFilesRequest -Name $instance.BackupInstanceName +$restoreJob = Start-AzDataProtectionBackupInstanceRestore -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.BackupInstanceName -Parameter $pgFlexRestoreAsFilesRequest +.Example +$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" | Where-Object { $_.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 +$prefMatch = @{ + $backedUpContainers[0] = @("Su", "PS") + $backedUpContainers[1]= @("meta", "coll", "Su") +} +$targetStorageAccountId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/targetStorageAccount" +$restoreReqILR = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureBlob -SourceDataStore VaultStore -RestoreLocation "vaultLocation" -RecoveryPoint $rp[0].Name -ItemLevelRecovery -RestoreType AlternateLocation -TargetResourceId $targetStorageAccountId -ContainersList $backedUpContainers[0,1] -PrefixMatch $prefMatch +Test-AzDataProtectionBackupInstanceRestore -Name $instance[0].Name -ResourceGroupName "resourceGroupName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" -RestoreRequest $restoreReqILR +$restoreJobILR = Start-AzDataProtectionBackupInstanceRestore -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.BackupInstanceName -Parameter $restoreJobILR +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest .Outputs -System.Management.Automation.PSObject +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 : 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 + [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. + [ResourceGuardOperationRequest ]: ResourceGuardOperationRequests on which LAC check will be performed + [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/search-azdataprotectionjobinazgraph +https://learn.microsoft.com/powershell/module/az.dataprotection/start-azdataprotectionbackupinstancerestore #> -function Search-AzDataProtectionJobInAzGraph { -[OutputType([PSObject])] -[CmdletBinding(PositionalBinding=$false)] +function Start-AzDataProtectionBackupInstanceRestore { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo])] +[CmdletBinding(DefaultParameterSetName='Trigger', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String[]] - # Subscription of Vault - ${Subscription}, + [System.String] + # The name of the resource group where the backup vault is present + ${ResourceGroupName}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DatasourceTypes] - # Datasource Type - ${DatasourceType}, + [System.String] + # The name of the backup instance + ${BackupInstanceName}, - [Parameter()] + [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String[]] - # Resource Group of Vault - ${ResourceGroup}, + [System.String] + # The name of the backup vault + ${VaultName}, - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String[]] - # Name of the vault - ${Vault}, + [Parameter(ParameterSetName='Trigger', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.DateTime] - # Start Time filter for the backup Job - ${StartTime}, + [System.String] + # Subscription Id of the backup vault + ${SubscriptionId}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.DateTime] - # End Time filter for the Backup Job - ${EndTime}, + [System.String[]] + # Resource guard operation request in the format similar to /dppTriggerRestoreRequests/default. + # Use this parameter when the operation is MUA protected. + ${ResourceGuardOperationRequest}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.JobOperation[]] - # Operation filter for the backup job - ${Operation}, + [System.String] + # 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. + ${Token}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.JobStatus[]] - # Status filter for the backup job - ${Status}, + [System.Management.Automation.SwitchParameter] + # Switch parameter to trigger restore to secondary region (Cross region restore) + ${RestoreToSecondaryRegion}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] @@ -8828,37 +9207,86 @@ param( ${DefaultProfile}, [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.Management.Automation.SwitchParameter] ${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[]] ${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[]] ${HttpPipelinePrepend}, [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [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('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.Management.Automation.PSCredential] ${ProxyCredential}, [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.Management.Automation.SwitchParameter] - ${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.Api20240401.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 { @@ -8887,7 +9315,8 @@ begin { } $mapping = @{ - __AllParameterSets = 'Az.DataProtection.custom\Search-AzDataProtectionJobInAzGraph'; + 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) @@ -8941,143 +9370,145 @@ end { <# .Synopsis -Grants required permissions to the backup vault and other resources for configure backup and restore scenarios +This operation will stop protection of a backup instance and data will be held forever .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" - +This operation will stop protection of a backup instance and data will be held forever .Example -Set-AzDataProtectionMSIPermission -BackupInstance $backupInstance -VaultResourceGroup "resourceGroupName" -VaultName "vaultName" -PermissionsScope "ResourceGroup" +Stop-AzDataProtectionBackupInstanceProtection -ResourceGroupName "rgName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" -BackupInstanceName $backupInstance.BackupInstanceName +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -System.Object +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. -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. +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 + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection + [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/set-azdataprotectionmsipermission +https://learn.microsoft.com/powershell/module/az.dataprotection/stop-azdataprotectionbackupinstanceprotection #> -function Set-AzDataProtectionMSIPermission { -[OutputType([System.Object])] -[CmdletBinding(DefaultParameterSetName='SetPermissionsForBackup', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +function Stop-AzDataProtectionBackupInstanceProtection { +[OutputType([System.Boolean])] +[CmdletBinding(DefaultParameterSetName='Stop', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( - [Parameter(Mandatory)] - [Alias('ResourceGroupName')] + [Parameter(ParameterSetName='Stop', 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)] + [Parameter(ParameterSetName='Stop', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.String] - # Name of the backup vault + # The name of the backup instance + ${BackupInstanceName}, + + [Parameter(ParameterSetName='Stop', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # The name of the backup vault ${VaultName}, - [Parameter(Mandatory)] + [Parameter(ParameterSetName='Stop')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.String] - # Scope at which the permissions need to be granted - ${PermissionsScope}, + # Subscription Id of the backup vault + ${SubscriptionId}, - [Parameter(ParameterSetName='SetPermissionsForBackup', Mandatory)] + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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}, + [System.String[]] + # Resource guard operation request in the format similar to /dppDisableStopProtectionRequests/default. + # Use this parameter when the operation is MUA protected. + ${ResourceGuardOperationRequest}, - [Parameter(ParameterSetName='SetPermissionsForBackup')] + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.String] - # ID of the keyvault - ${KeyVaultId}, + # 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. + ${Token}, - [Parameter(ParameterSetName='SetPermissionsForRestore', Mandatory)] + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.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(ParameterSetName='SetPermissionsForRestore')] + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String] - # Subscription Id of the backup vault - ${SubscriptionId}, + [System.Management.Automation.SwitchParameter] + # Returns true when the command succeeds + ${PassThru}, - [Parameter(ParameterSetName='SetPermissionsForRestore')] + [Parameter(DontShow)] + [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DatasourceTypes] - # Datasource Type - ${DatasourceType}, + [System.Management.Automation.PSCredential] + ${ProxyCredential}, - [Parameter(ParameterSetName='SetPermissionsForRestore')] + [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String] - # Sanpshot Resource Group - ${SnapshotResourceGroupId}, + [System.Management.Automation.SwitchParameter] + ${ProxyUseDefaultCredentials}, - [Parameter(ParameterSetName='SetPermissionsForRestore')] + [Parameter(ParameterSetName='StopViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String] - # Target storage account ARM Id. - # Use this parameter for DatasourceType AzureDatabaseForMySQL, AzureDatabaseForPGFlexServer. - ${StorageAccountARMId} + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity] + # Identity Parameter + # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + ${InputObject} ) begin { @@ -9106,8 +9537,8 @@ begin { } $mapping = @{ - SetPermissionsForBackup = 'Az.DataProtection.custom\Set-AzDataProtectionMSIPermission'; - SetPermissionsForRestore = 'Az.DataProtection.custom\Set-AzDataProtectionMSIPermission'; + Stop = 'Az.DataProtection.custom\Stop-AzDataProtectionBackupInstanceProtection'; + StopViaIdentity = 'Az.DataProtection.custom\Stop-AzDataProtectionBackupInstanceProtection'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) @@ -9161,173 +9592,62 @@ end { <# .Synopsis -Triggers restore for a BackupInstance +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 -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-Object { $_.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-Object { $_.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-Object { $_.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-Object { $_.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 -} -.Example -$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" | Where-Object { $_.Name -match "test-pgflex" } -$rps = Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.Name -$targetContainerURI = "https://teststorageaccount.blob.core.windows.net/powershellpgflexrestore" -$storageAccId = (Get-AzStorageAccount -ResourceGroupName "teststorageaccountRG" -Name "teststorageaccount").Id -$pgFlexRestoreAsFilesRequest = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureDatabaseForPGFlexServer -SourceDataStore VaultStore -RestoreLocation $vault.Location -RestoreType RestoreAsFiles -RecoveryPoint $rps[0].Property.RecoveryPointId -TargetContainerURI $targetContainerURI -Set-AzDataProtectionMSIPermission -VaultResourceGroup "resourceGroupName" -VaultName "vaultName" -PermissionsScope "ResourceGroup" -RestoreRequest $pgFlexRestoreAsFilesRequest -DatasourceType AzureDatabaseForPGFlexServer -SubscriptionId $SubscriptionId -StorageAccountARMId $storageAccId -$validateRestore = Test-AzDataProtectionBackupInstanceRestore -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -RestoreRequest $pgFlexRestoreAsFilesRequest -Name $instance.BackupInstanceName -$restoreJob = Start-AzDataProtectionBackupInstanceRestore -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.BackupInstanceName -Parameter $pgFlexRestoreAsFilesRequest +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 -$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" | Where-Object { $_.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 -$prefMatch = @{ - $backedUpContainers[0] = @("Su", "PS") - $backedUpContainers[1]= @("meta", "coll", "Su") -} -$targetStorageAccountId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/targetStorageAccount" -$restoreReqILR = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureBlob -SourceDataStore VaultStore -RestoreLocation "vaultLocation" -RecoveryPoint $rp[0].Name -ItemLevelRecovery -RestoreType AlternateLocation -TargetResourceId $targetStorageAccountId -ContainersList $backedUpContainers[0,1] -PrefixMatch $prefMatch -Test-AzDataProtectionBackupInstanceRestore -Name $instance[0].Name -ResourceGroupName "resourceGroupName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" -RestoreRequest $restoreReqILR -$restoreJobILR = Start-AzDataProtectionBackupInstanceRestore -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.BackupInstanceName -Parameter $restoreJobILR +Suspend-AzDataProtectionBackupInstanceBackup -ResourceGroupName "rgName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" -BackupInstanceName $backupInstance.BackupInstanceName .Inputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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 : 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 - [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 + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection + [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/suspend-azdataprotectionbackupinstancebackup #> -function Start-AzDataProtectionBackupInstanceRestore { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo])] -[CmdletBinding(DefaultParameterSetName='Trigger', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +function Suspend-AzDataProtectionBackupInstanceBackup { +[OutputType([System.Boolean])] +[CmdletBinding(DefaultParameterSetName='Suspend', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( - [Parameter(Mandatory)] + [Parameter(ParameterSetName='Suspend', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.String] # The name of the resource group where the backup vault is present ${ResourceGroupName}, - [Parameter(Mandatory)] + [Parameter(ParameterSetName='Suspend', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.String] # The name of the backup instance ${BackupInstanceName}, - [Parameter(Mandatory)] + [Parameter(ParameterSetName='Suspend', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.String] # The name of the backup vault ${VaultName}, - [Parameter(ParameterSetName='Trigger', Mandatory, ValueFromPipeline)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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()] + [Parameter(ParameterSetName='Suspend')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.String] # Subscription Id of the backup vault @@ -9335,9 +9655,17 @@ param( [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.Management.Automation.SwitchParameter] - # Switch parameter to trigger restore to secondary region (Cross region restore) - ${RestoreToSecondaryRegion}, + [System.String[]] + # Resource guard operation request in the format similar to /dppDisableSuspendBackupsRequests/default. + # Use this parameter when the operation is MUA protected. + ${ResourceGuardOperationRequest}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # 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. + ${Token}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] @@ -9380,6 +9708,12 @@ param( # Run the command asynchronously ${NoWait}, + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Returns true when the command succeeds + ${PassThru}, + [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] @@ -9391,42 +9725,12 @@ param( [System.Management.Automation.SwitchParameter] ${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.Api20231201.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')] + [Parameter(ParameterSetName='SuspendViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String] - # Fully qualified Azure Resource Manager ID of the datasource which is being recovered - ${SourceResourceId} + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity] + # Identity Parameter + # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + ${InputObject} ) begin { @@ -9455,8 +9759,8 @@ begin { } $mapping = @{ - Trigger = 'Az.DataProtection.custom\Start-AzDataProtectionBackupInstanceRestore'; - TriggerExpanded = 'Az.DataProtection.custom\Start-AzDataProtectionBackupInstanceRestore'; + Suspend = 'Az.DataProtection.custom\Suspend-AzDataProtectionBackupInstanceBackup'; + SuspendViaIdentity = 'Az.DataProtection.custom\Suspend-AzDataProtectionBackupInstanceBackup'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) @@ -9523,7 +9827,7 @@ $validateRestore = Test-AzDataProtectionBackupInstanceRestore -Name $instances[0 $validateRestore = Test-AzDataProtectionBackupInstanceRestore -ResourceGroupName $ResourceGroupName -Name $instance[0].Name -VaultName $VaultName -RestoreRequest $RestoreRequestObject -SubscriptionId $SubscriptionId -RestoreToSecondaryRegion .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo .Notes COMPLEX PARAMETER PROPERTIES @@ -9537,12 +9841,13 @@ RESTOREREQUEST : Restore request object for which to 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. + [ResourceGuardOperationRequest ]: ResourceGuardOperationRequests on which LAC check will be performed [SourceResourceId ]: Fully qualified Azure Resource Manager ID of the datasource which is being recovered. .Link https://learn.microsoft.com/powershell/module/az.dataprotection/test-azdataprotectionbackupinstancerestore #> function Test-AzDataProtectionBackupInstanceRestore { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo])] [CmdletBinding(DefaultParameterSetName='ValidateRestore', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -9565,7 +9870,7 @@ param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest] # Restore request object for which to validate # To construct, see NOTES section for RESTOREREQUEST properties and create a hash table. ${RestoreRequest}, @@ -9925,12 +10230,12 @@ $updateBI.Property.PolicyInfo.PolicyId $updateBI.Property.PolicyInfo.PolicyParameter.BackupDatasourceParametersList[0].ContainersList .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource .Link https://learn.microsoft.com/powershell/module/az.dataprotection/update-azdataprotectionbackupinstance #> function Update-AzDataProtectionBackupInstance { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource])] [CmdletBinding(PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -10111,12 +10416,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.Api20231201.IBackupInstanceResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource .Link https://learn.microsoft.com/powershell/module/az.dataprotection/update-azdataprotectionbackupinstanceassociatedpolicy #> function Update-AzDataProtectionBackupInstanceAssociatedPolicy { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource])] [CmdletBinding(PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -10290,12 +10595,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.Api20231201.IResourceGuardResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource .Link https://learn.microsoft.com/powershell/module/az.dataprotection/update-azdataprotectionresourceguard #> function Update-AzDataProtectionResourceGuard { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource])] [CmdletBinding(DefaultParameterSetName='UpdateResourceGuardOperations', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -10338,7 +10643,7 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.String[]] # List of critical operations which are not protected by this resourceGuard. - # Supported values are DeleteProtection, UpdateProtection, UpdatePolicy, GetSecurityPin, DeleteBackupInstance + # Supported values are DeleteProtection, UpdateProtection, UpdatePolicy, GetSecurityPin, DeleteBackupInstance, RecoveryServicesDisableImmutability, DataProtectionDisableImmutability, RecoveryServicesModifyEncryptionSettings, DataProtectionModifyEncryptionSettings ${CriticalOperationExclusionList}, [Parameter()] diff --git a/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionBackupInstance.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionBackupInstance.ps1 index af2a5f7bcf9a..6c3a2d0b65ed 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionBackupInstance.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionBackupInstance.ps1 @@ -44,6 +44,7 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. [VaultName ]: The name of the backup vault. .Link @@ -88,6 +89,13 @@ param( # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Header')] + [System.String] + # 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. + ${Token}, + [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] diff --git a/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionBackupPolicy.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionBackupPolicy.ps1 index 375b669d0e74..95716240fe9d 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionBackupPolicy.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionBackupPolicy.ps1 @@ -44,6 +44,7 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. [VaultName ]: The name of the backup vault. .Link diff --git a/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionBackupVault.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionBackupVault.ps1 index 4f6053f55353..f8c35d99b880 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionBackupVault.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionBackupVault.ps1 @@ -43,6 +43,7 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. [VaultName ]: The name of the backup vault. .Link diff --git a/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionResourceGuard.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionResourceGuard.ps1 index 3ccf64e5a197..9ccd9d882417 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionResourceGuard.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionResourceGuard.ps1 @@ -43,6 +43,7 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. [VaultName ]: The name of the backup vault. .Link diff --git a/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionResourceGuardMapping.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionResourceGuardMapping.ps1 index 311548d70d99..52f5fe83b173 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionResourceGuardMapping.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionResourceGuardMapping.ps1 @@ -46,6 +46,7 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. [VaultName ]: The name of the backup vault. .Link diff --git a/src/DataProtection/DataProtection.Autorest/exports/Resume-AzDataProtectionBackupInstanceProtection.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Resume-AzDataProtectionBackupInstanceProtection.ps1 index 1515a3e0e03d..91bb1b60f31d 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Resume-AzDataProtectionBackupInstanceProtection.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Resume-AzDataProtectionBackupInstanceProtection.ps1 @@ -43,6 +43,7 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. [VaultName ]: The name of the backup vault. .Link diff --git a/src/DataProtection/DataProtection.Autorest/exports/Set-AzDataProtectionMSIPermission.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Set-AzDataProtectionMSIPermission.ps1 index 776e4caf8018..4e86d0f21f32 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Set-AzDataProtectionMSIPermission.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Set-AzDataProtectionMSIPermission.ps1 @@ -72,6 +72,7 @@ BACKUPINSTANCE : Backup instance request object which w [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. + [ResourceGuardOperationRequest ]: ResourceGuardOperationRequests on which LAC check will be performed [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 @@ -82,6 +83,7 @@ RESTOREREQUEST : Restore request object which will b 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. + [ResourceGuardOperationRequest ]: ResourceGuardOperationRequests on which LAC check will be performed [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 @@ -111,7 +113,7 @@ param( [Parameter(ParameterSetName='SetPermissionsForBackup', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResource] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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}, @@ -124,7 +126,7 @@ param( [Parameter(ParameterSetName='SetPermissionsForRestore', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest] # Restore request object which will be used for restore # To construct, see NOTES section for RESTOREREQUEST properties and create a hash table. ${RestoreRequest}, diff --git a/src/DataProtection/DataProtection.Autorest/exports/Set-AzDataProtectionResourceGuardMapping.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Set-AzDataProtectionResourceGuardMapping.ps1 index cb00069cfa25..130d7b07a9d5 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.Api20231201.IResourceGuardProxyBaseResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardProxyBaseResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResource])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] diff --git a/src/DataProtection/DataProtection.Autorest/exports/Start-AzDataProtectionBackupInstanceRestore.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Start-AzDataProtectionBackupInstanceRestore.ps1 index faf3556067aa..2dd11bd0d9ea 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Start-AzDataProtectionBackupInstanceRestore.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Start-AzDataProtectionBackupInstanceRestore.ps1 @@ -129,9 +129,9 @@ Test-AzDataProtectionBackupInstanceRestore -Name $instance[0].Name -ResourceGrou $restoreJobILR = Start-AzDataProtectionBackupInstanceRestore -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.BackupInstanceName -Parameter $restoreJobILR .Inputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo .Notes COMPLEX PARAMETER PROPERTIES @@ -145,6 +145,7 @@ PARAMETER : Restore request object to be initialized 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. + [ResourceGuardOperationRequest ]: ResourceGuardOperationRequests on which LAC check will be performed [SourceResourceId ]: Fully qualified Azure Resource Manager ID of the datasource which is being recovered. RESTORETARGETINFO : Gets or sets the restore target information @@ -154,7 +155,7 @@ RESTORETARGETINFO : Gets or sets the restore target info https://learn.microsoft.com/powershell/module/az.dataprotection/start-azdataprotectionbackupinstancerestore #> function Start-AzDataProtectionBackupInstanceRestore { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo])] [CmdletBinding(DefaultParameterSetName='Trigger', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -177,7 +178,7 @@ param( [Parameter(ParameterSetName='Trigger', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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}, @@ -188,6 +189,20 @@ param( # Subscription Id of the backup vault ${SubscriptionId}, + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String[]] + # Resource guard operation request in the format similar to /dppTriggerRestoreRequests/default. + # Use this parameter when the operation is MUA protected. + ${ResourceGuardOperationRequest}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # 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. + ${Token}, + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.Management.Automation.SwitchParameter] @@ -254,7 +269,7 @@ param( [Parameter(ParameterSetName='TriggerExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBase] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBase] # Gets or sets the restore target information # To construct, see NOTES section for RESTORETARGETINFO properties and create a hash table. ${RestoreTargetInfo}, diff --git a/src/DataProtection/DataProtection.Autorest/exports/Stop-AzDataProtectionBackupInstanceProtection.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Stop-AzDataProtectionBackupInstanceProtection.ps1 index 81a2b58a649a..bc0928e58b9b 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Stop-AzDataProtectionBackupInstanceProtection.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Stop-AzDataProtectionBackupInstanceProtection.ps1 @@ -43,6 +43,7 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. [VaultName ]: The name of the backup vault. .Link @@ -53,104 +54,107 @@ function Stop-AzDataProtectionBackupInstanceProtection { [CmdletBinding(DefaultParameterSetName='Stop', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Stop', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.String] - # The name of the backup instance. + # The name of the resource group where the backup vault is present + ${ResourceGroupName}, + + [Parameter(ParameterSetName='Stop', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # The name of the backup instance ${BackupInstanceName}, [Parameter(ParameterSetName='Stop', 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 vault + ${VaultName}, [Parameter(ParameterSetName='Stop')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [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 backup vault ${SubscriptionId}, - [Parameter(ParameterSetName='Stop', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] - [System.String] - # The name of the backup vault. - ${VaultName}, + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String[]] + # Resource guard operation request in the format similar to /dppDisableStopProtectionRequests/default. + # Use this parameter when the operation is MUA protected. + ${ResourceGuardOperationRequest}, - [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()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # 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. + ${Token}, [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('Runtime')] + [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()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [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')] + [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='StopViaIdentity', 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} ) begin { @@ -179,17 +183,8 @@ begin { } $mapping = @{ - Stop = 'Az.DataProtection.private\Stop-AzDataProtectionBackupInstanceProtection_Stop'; - StopViaIdentity = 'Az.DataProtection.private\Stop-AzDataProtectionBackupInstanceProtection_StopViaIdentity'; - } - if (('Stop') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { - $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } - if ($testPlayback) { - $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') - } else { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id - } + Stop = 'Az.DataProtection.custom\Stop-AzDataProtectionBackupInstanceProtection'; + StopViaIdentity = 'Az.DataProtection.custom\Stop-AzDataProtectionBackupInstanceProtection'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) diff --git a/src/DataProtection/DataProtection.Autorest/exports/Suspend-AzDataProtectionBackupInstanceBackup.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Suspend-AzDataProtectionBackupInstanceBackup.ps1 index 5bbf32d2e94d..7c67194efea2 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Suspend-AzDataProtectionBackupInstanceBackup.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Suspend-AzDataProtectionBackupInstanceBackup.ps1 @@ -16,9 +16,9 @@ <# .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) +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 backup for a backup instance and retains the backup data as per the policy (except latest Recovery point, which will be retained 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 Suspend-AzDataProtectionBackupInstanceBackup -ResourceGroupName "rgName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" -BackupInstanceName $backupInstance.BackupInstanceName @@ -43,6 +43,7 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. [VaultName ]: The name of the backup vault. .Link @@ -53,104 +54,107 @@ function Suspend-AzDataProtectionBackupInstanceBackup { [CmdletBinding(DefaultParameterSetName='Suspend', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Suspend', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.String] - # The name of the backup instance. + # The name of the resource group where the backup vault is present + ${ResourceGroupName}, + + [Parameter(ParameterSetName='Suspend', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # The name of the backup instance ${BackupInstanceName}, [Parameter(ParameterSetName='Suspend', 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 vault + ${VaultName}, [Parameter(ParameterSetName='Suspend')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [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 backup vault ${SubscriptionId}, - [Parameter(ParameterSetName='Suspend', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] - [System.String] - # The name of the backup vault. - ${VaultName}, + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String[]] + # Resource guard operation request in the format similar to /dppDisableSuspendBackupsRequests/default. + # Use this parameter when the operation is MUA protected. + ${ResourceGuardOperationRequest}, - [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()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # 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. + ${Token}, [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('Runtime')] + [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()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [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')] + [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='SuspendViaIdentity', 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} ) begin { @@ -179,17 +183,8 @@ begin { } $mapping = @{ - Suspend = 'Az.DataProtection.private\Suspend-AzDataProtectionBackupInstanceBackup_Suspend'; - SuspendViaIdentity = 'Az.DataProtection.private\Suspend-AzDataProtectionBackupInstanceBackup_SuspendViaIdentity'; - } - if (('Suspend') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { - $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } - if ($testPlayback) { - $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') - } else { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id - } + Suspend = 'Az.DataProtection.custom\Suspend-AzDataProtectionBackupInstanceBackup'; + SuspendViaIdentity = 'Az.DataProtection.custom\Suspend-AzDataProtectionBackupInstanceBackup'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) diff --git a/src/DataProtection/DataProtection.Autorest/exports/Test-AzDataProtectionBackupInstanceReadiness.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Test-AzDataProtectionBackupInstanceReadiness.ps1 index 25dbe5816390..a0e5a6814e4f 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.Api20231201.IOperationJobExtendedInfo +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo .Notes COMPLEX PARAMETER PROPERTIES @@ -66,12 +66,13 @@ BACKUPINSTANCE : Backup Instance [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. + [ResourceGuardOperationRequest ]: ResourceGuardOperationRequests on which LAC check will be performed [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/test-azdataprotectionbackupinstancereadiness #> function Test-AzDataProtectionBackupInstanceReadiness { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo])] [CmdletBinding(DefaultParameterSetName='ValidateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -97,7 +98,7 @@ param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstance] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstance] # Backup Instance # To construct, see NOTES section for BACKUPINSTANCE properties and create a hash table. ${BackupInstance}, diff --git a/src/DataProtection/DataProtection.Autorest/exports/Test-AzDataProtectionBackupInstanceRestore.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Test-AzDataProtectionBackupInstanceRestore.ps1 index d32c04a99562..241d86adc686 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Test-AzDataProtectionBackupInstanceRestore.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Test-AzDataProtectionBackupInstanceRestore.ps1 @@ -29,7 +29,7 @@ $validateRestore = Test-AzDataProtectionBackupInstanceRestore -Name $instances[0 $validateRestore = Test-AzDataProtectionBackupInstanceRestore -ResourceGroupName $ResourceGroupName -Name $instance[0].Name -VaultName $VaultName -RestoreRequest $RestoreRequestObject -SubscriptionId $SubscriptionId -RestoreToSecondaryRegion .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo .Notes COMPLEX PARAMETER PROPERTIES @@ -43,12 +43,13 @@ RESTOREREQUEST : Restore request object for which to 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. + [ResourceGuardOperationRequest ]: ResourceGuardOperationRequests on which LAC check will be performed [SourceResourceId ]: Fully qualified Azure Resource Manager ID of the datasource which is being recovered. .Link https://learn.microsoft.com/powershell/module/az.dataprotection/test-azdataprotectionbackupinstancerestore #> function Test-AzDataProtectionBackupInstanceRestore { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo])] [CmdletBinding(DefaultParameterSetName='ValidateRestore', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -71,7 +72,7 @@ param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest] # Restore request object for which to validate # To construct, see NOTES section for RESTOREREQUEST properties and create a hash table. ${RestoreRequest}, diff --git a/src/DataProtection/DataProtection.Autorest/exports/Undo-AzDataProtectionBackupInstanceDeletion.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Undo-AzDataProtectionBackupInstanceDeletion.ps1 index b2e47adb1751..1b749c54d8ba 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Undo-AzDataProtectionBackupInstanceDeletion.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Undo-AzDataProtectionBackupInstanceDeletion.ps1 @@ -44,6 +44,7 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. [VaultName ]: The name of the backup vault. .Link diff --git a/src/DataProtection/DataProtection.Autorest/exports/Update-AzDataProtectionBackupInstance.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Update-AzDataProtectionBackupInstance.ps1 index aca007d790aa..5a2a2c44f414 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Update-AzDataProtectionBackupInstance.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Update-AzDataProtectionBackupInstance.ps1 @@ -28,12 +28,12 @@ $updateBI.Property.PolicyInfo.PolicyId $updateBI.Property.PolicyInfo.PolicyParameter.BackupDatasourceParametersList[0].ContainersList .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource .Link https://learn.microsoft.com/powershell/module/az.dataprotection/update-azdataprotectionbackupinstance #> function Update-AzDataProtectionBackupInstance { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource])] [CmdletBinding(PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] diff --git a/src/DataProtection/DataProtection.Autorest/exports/Update-AzDataProtectionBackupInstanceAssociatedPolicy.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Update-AzDataProtectionBackupInstanceAssociatedPolicy.ps1 index 77f72631aff1..4236614b2f49 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.Api20231201.IBackupInstanceResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource .Link https://learn.microsoft.com/powershell/module/az.dataprotection/update-azdataprotectionbackupinstanceassociatedpolicy #> function Update-AzDataProtectionBackupInstanceAssociatedPolicy { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource])] [CmdletBinding(PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] diff --git a/src/DataProtection/DataProtection.Autorest/exports/Update-AzDataProtectionBackupVault.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Update-AzDataProtectionBackupVault.ps1 index e4c83cde1172..3de7ac9a20bc 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Update-AzDataProtectionBackupVault.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Update-AzDataProtectionBackupVault.ps1 @@ -28,16 +28,33 @@ Update-AzDataProtectionBackupVault -SubscriptionId "xxx-xxx-xxx" -ResourceGroupN Update-AzDataProtectionBackupVault -ResourceGroupName "rgName" -VaultName "vaultName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -AzureMonitorAlertsForAllJobFailure 'Disabled' .Example Update-AzDataProtectionBackupVault -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -CrossSubscriptionRestoreState Disabled -ImmutabilityState Disabled -SoftDeleteRetentionDurationInDay 99 -SoftDeleteState Off +.Example +$cmkKeyUri = "https://samplekvazbckp.vault.azure.net/keys/testkey/3cd5235ad6ac4c11b40a6f35444bcbe1" + +Update-AzDataProtectionBackupVault -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -CmkIdentityType SystemAssigned -CmkEncryptionKeyUri $cmkKeyUri +.Example +$cmkIdentityId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/samplerg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sampleuami" + +Update-AzDataProtectionBackupVault -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -CmkIdentityType UserAssigned -CmkUserAssignedIdentityId $cmkIdentityId .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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. +ENCRYPTIONSETTING : Customer Managed Key details of the resource. + [CmkIdentity ]: The details of the managed identity used for CMK + [IdentityId ]: The managed identity to be used which has access permissions to the Key Vault. Provide a value here in case identity types: 'UserAssigned' only. + [IdentityType ]: The identity type. 'SystemAssigned' and 'UserAssigned' are mutually exclusive. 'SystemAssigned' will use implicitly created managed identity. + [CmkInfrastructureEncryption ]: Enabling/Disabling the Double Encryption state + [CmkKeyVaultProperty ]: The properties of the Key Vault which hosts CMK + [KeyUri ]: The key uri of the Customer Managed Key + [State ]: Encryption state of the Backup Vault. + INPUTOBJECT : Identity Parameter [BackupInstanceName ]: The name of the backup instance. [BackupPolicyName ]: @@ -50,36 +67,16 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [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/update-azdataprotectionbackupvault #> function Update-AzDataProtectionBackupVault { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResource])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( - [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] - [System.String] - # The name of the resource group. - # The name is case insensitive. - ${ResourceGroupName}, - - [Parameter(ParameterSetName='UpdateExpanded')] - [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='UpdateExpanded', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] - [System.String] - # The name of the backup vault. - ${VaultName}, - [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity] @@ -87,6 +84,13 @@ param( # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Header')] + [System.String] + # 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. + ${Token}, + [Parameter()] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState])] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] @@ -111,6 +115,13 @@ param( # Allowed values are Disabled, Enabled, PermanentlyDisabled. ${CrossSubscriptionRestoreState}, + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings] + # Customer Managed Key details of the resource. + # To construct, see NOTES section for ENCRYPTIONSETTING properties and create a hash table. + ${EncryptionSetting}, + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.String] @@ -118,6 +129,7 @@ param( ${IdentityType}, [Parameter()] + [Alias('UserAssignedIdentity')] [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] @@ -132,6 +144,13 @@ param( # Allowed values are Disabled, Unlocked, Locked. ${ImmutabilityState}, + [Parameter()] + [AllowEmptyCollection()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String[]] + # ResourceGuardOperationRequests on which LAC check will be performed + ${ResourceGuardOperationRequest}, + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.Double] @@ -148,7 +167,7 @@ param( [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputTags]))] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputTags]))] [System.Collections.Hashtable] # Resource tags. ${Tag}, @@ -156,62 +175,108 @@ param( [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')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [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()] - [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')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [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='UpdateExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # The name of the resource group. + # The name is case insensitive. + ${ResourceGroupName}, + + [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # The name of the backup vault. + ${VaultName}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # The ID of the target subscription. + # The value must be an UUID. + ${SubscriptionId}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.EncryptionState] + # Enable CMK encryption state for a Backup Vault. + ${CmkEncryptionState}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.IdentityType] + # The identity type to be used for CMK encryption - SystemAssigned or UserAssigned Identity. + ${CmkIdentityType}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # This parameter is required if the identity type is UserAssigned. + # Add the user assigned managed identity id to be used which has access permissions to the Key Vault. + ${CmkUserAssignedIdentityId}, + + [Parameter(ParameterSetName='UpdateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # The Key URI of the CMK key to be used for encryption. + # To enable auto-rotation of keys, exclude the version component from the Key URI. + ${CmkEncryptionKeyUri} ) begin { @@ -240,17 +305,8 @@ begin { } $mapping = @{ - UpdateExpanded = 'Az.DataProtection.private\Update-AzDataProtectionBackupVault_UpdateExpanded'; UpdateViaIdentityExpanded = 'Az.DataProtection.private\Update-AzDataProtectionBackupVault_UpdateViaIdentityExpanded'; - } - if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { - $testPlayback = $false - $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } - if ($testPlayback) { - $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') - } else { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id - } + UpdateExpanded = 'Az.DataProtection.custom\Update-AzDataProtectionBackupVault'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) diff --git a/src/DataProtection/DataProtection.Autorest/exports/Update-AzDataProtectionResourceGuard.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Update-AzDataProtectionResourceGuard.ps1 index c6cc294e73be..62f1d8772de1 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.Api20231201.IResourceGuardResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource .Link https://learn.microsoft.com/powershell/module/az.dataprotection/update-azdataprotectionresourceguard #> function Update-AzDataProtectionResourceGuard { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource])] [CmdletBinding(DefaultParameterSetName='UpdateResourceGuardOperations', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -74,7 +74,7 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.String[]] # List of critical operations which are not protected by this resourceGuard. - # Supported values are DeleteProtection, UpdateProtection, UpdatePolicy, GetSecurityPin, DeleteBackupInstance + # Supported values are DeleteProtection, UpdateProtection, UpdatePolicy, GetSecurityPin, DeleteBackupInstance, RecoveryServicesDisableImmutability, DataProtectionDisableImmutability, RecoveryServicesModifyEncryptionSettings, DataProtectionModifyEncryptionSettings ${CriticalOperationExclusionList}, [Parameter()] diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/DataProtection.cs b/src/DataProtection/DataProtection.Autorest/generated/api/DataProtection.cs index d2b4af9547a3..ae88604ff5be 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.Api20231201.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.Api20240401.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-12-01"; + var apiVersion = @"2024-04-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.Api20231201.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.Api20240401.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-12-01"; + var apiVersion = @"2024-04-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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.ITriggerBackupRequest body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -307,6 +307,7 @@ public partial class DataProtection /// 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 @@ -316,9 +317,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.Api20231201.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, string xMSAuthorizationAuxiliary, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -343,6 +344,12 @@ public partial class DataProtection 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; } + // 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); @@ -355,6 +362,7 @@ public partial class DataProtection /// Create or update a backup instance 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 @@ -364,9 +372,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.Api20231201.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, string xMSAuthorizationAuxiliary, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -404,6 +412,12 @@ public partial class DataProtection 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; } + // 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); @@ -424,7 +438,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 +555,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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -570,12 +584,13 @@ public partial class DataProtection /// 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 BackupInstancesCreateOrUpdate_Validate(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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, string xMSAuthorizationAuxiliary, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -586,6 +601,7 @@ public partial class DataProtection await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); await eventListener.AssertNotNull(nameof(vaultName),vaultName); await eventListener.AssertNotNull(nameof(backupInstanceName),backupInstanceName); + await eventListener.AssertNotNull(nameof(xMSAuthorizationAuxiliary),xMSAuthorizationAuxiliary); await eventListener.AssertNotNull(nameof(body), body); await eventListener.AssertObjectIsValid(nameof(body), body); } @@ -596,6 +612,7 @@ public partial class DataProtection /// The name of the resource group. The name is case insensitive. /// The name of the backup vault. /// The name of the backup instance. + /// /// 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 @@ -605,9 +622,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, string xMSAuthorizationAuxiliary, 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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -632,6 +649,12 @@ public partial class DataProtection 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; } + // 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; } // make the call await this.BackupInstancesDelete_Call(request,onOk,onNoContent,onDefault,eventListener,sender); @@ -640,6 +663,7 @@ public partial class DataProtection /// Delete a backupInstances /// + /// /// 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 @@ -649,9 +673,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, string xMSAuthorizationAuxiliary, 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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -689,6 +713,12 @@ public partial class DataProtection 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; } + // 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; } // make the call await this.BackupInstancesDelete_Call(request,onOk,onNoContent,onDefault,eventListener,sender); @@ -706,7 +736,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 +866,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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -859,11 +889,12 @@ public partial class DataProtection /// The name of the resource group. The name is case insensitive. /// The name of the backup vault. /// The name of the 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 BackupInstancesDelete_Validate(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task BackupInstancesDelete_Validate(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, string xMSAuthorizationAuxiliary, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -874,6 +905,159 @@ public partial class DataProtection await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); await eventListener.AssertNotNull(nameof(vaultName),vaultName); await eventListener.AssertNotNull(nameof(backupInstanceName),backupInstanceName); + await eventListener.AssertNotNull(nameof(xMSAuthorizationAuxiliary),xMSAuthorizationAuxiliary); + } + } + + /// Gets a list of backup instances associated with a tracked resource + /// ARM path of the resource to be protected using Microsoft.DataProtection + /// 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 BackupInstancesExtensionRoutingList(string resourceId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::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 = @"2024-04-01"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/" + + (resourceId) + + "/providers/Microsoft.DataProtection/backupInstances" + + "?" + + "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.BackupInstancesExtensionRoutingList_Call(request,onOk,onDefault,eventListener,sender); + } + } + + /// Gets a list of backup instances associated with a tracked resource + /// + /// 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 BackupInstancesExtensionRoutingListViaIdentity(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 = @"2024-04-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/backupInstances$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + if (!_match.Success) + { + throw new global::System.Exception("Invalid identity for URI '/{resourceId}/providers/Microsoft.DataProtection/backupInstances'"); + } + + // replace URI parameters with values from identity + var resourceId = _match.Groups["resourceId"].Value; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/" + + resourceId + + "/providers/Microsoft.DataProtection/backupInstances" + + "?" + + "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.BackupInstancesExtensionRoutingList_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 BackupInstancesExtensionRoutingList_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.Api20240401.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.Api20240401.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. + /// + /// ARM path of the resource to be protected using Microsoft.DataProtection + /// 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 BackupInstancesExtensionRoutingList_Validate(string resourceId, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + { + using( NoSynchronizationContext ) + { + await eventListener.AssertNotNull(nameof(resourceId),resourceId); } } @@ -890,9 +1074,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -938,9 +1122,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -984,9 +1168,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -1046,7 +1230,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 +1248,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.Api20231201.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.Api20240401.BackupInstanceResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } case global::System.Net.HttpStatusCode.Accepted: @@ -1076,7 +1260,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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -1129,9 +1313,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -1185,7 +1369,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 +1387,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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -1262,9 +1446,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -1304,9 +1488,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -1358,7 +1542,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 +1560,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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -1434,9 +1618,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -1478,9 +1662,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -1535,7 +1719,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 +1843,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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -1713,9 +1897,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -1757,9 +1941,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -1814,7 +1998,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 +2122,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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -1986,6 +2170,8 @@ public partial class DataProtection /// 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). @@ -1994,9 +2180,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, string xMSAuthorizationAuxiliary, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStopProtectionRequest 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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -2022,7 +2208,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.BackupInstancesStopProtection_Call(request,onOk,onDefault,eventListener,sender); } @@ -2032,6 +2228,8 @@ public partial class DataProtection /// This operation will stop protection of a backup instance and data will be held forever /// /// + /// + /// 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). @@ -2040,9 +2238,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, string xMSAuthorizationAuxiliary, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStopProtectionRequest 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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -2081,7 +2279,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.BackupInstancesStopProtection_Call(request,onOk,onDefault,eventListener,sender); } @@ -2097,7 +2305,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 +2429,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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -2244,11 +2452,13 @@ public partial class DataProtection /// 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 BackupInstancesStopProtection_Validate(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task BackupInstancesStopProtection_Validate(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, string xMSAuthorizationAuxiliary, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStopProtectionRequest body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -2259,6 +2469,9 @@ public partial class DataProtection await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); await eventListener.AssertNotNull(nameof(vaultName),vaultName); await eventListener.AssertNotNull(nameof(backupInstanceName),backupInstanceName); + await eventListener.AssertNotNull(nameof(xMSAuthorizationAuxiliary),xMSAuthorizationAuxiliary); + await eventListener.AssertNotNull(nameof(body), body); + await eventListener.AssertObjectIsValid(nameof(body), body); } } @@ -2270,6 +2483,8 @@ public partial class DataProtection /// 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). @@ -2278,9 +2493,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, string xMSAuthorizationAuxiliary, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISuspendBackupRequest 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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -2306,7 +2521,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.BackupInstancesSuspendBackups_Call(request,onOk,onDefault,eventListener,sender); } @@ -2317,6 +2542,8 @@ public partial class DataProtection /// point, which will be retained forever) /// /// + /// + /// 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). @@ -2325,9 +2552,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, string xMSAuthorizationAuxiliary, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISuspendBackupRequest 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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -2366,7 +2593,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.BackupInstancesSuspendBackups_Call(request,onOk,onDefault,eventListener,sender); } @@ -2382,7 +2619,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 +2743,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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -2529,11 +2766,13 @@ public partial class DataProtection /// 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 BackupInstancesSuspendBackups_Validate(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task BackupInstancesSuspendBackups_Validate(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, string xMSAuthorizationAuxiliary, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISuspendBackupRequest body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -2544,6 +2783,9 @@ public partial class DataProtection await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); await eventListener.AssertNotNull(nameof(vaultName),vaultName); await eventListener.AssertNotNull(nameof(backupInstanceName),backupInstanceName); + await eventListener.AssertNotNull(nameof(xMSAuthorizationAuxiliary),xMSAuthorizationAuxiliary); + await eventListener.AssertNotNull(nameof(body), body); + await eventListener.AssertObjectIsValid(nameof(body), body); } } @@ -2564,9 +2806,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.Api20231201.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.Api20240401.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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -2616,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 BackupInstancesSyncBackupInstanceViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -2677,7 +2919,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 +3043,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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -2829,7 +3071,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.Api20231201.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.Api20240401.ISyncBackupInstanceRequest body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -2858,9 +3100,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupInstancesTriggerCrossRegionRestore(string subscriptionId, string resourceGroupName, string location, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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) + public async global::System.Threading.Tasks.Task BackupInstancesTriggerCrossRegionRestore(string subscriptionId, string resourceGroupName, string location, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -2905,9 +3147,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupInstancesTriggerCrossRegionRestoreViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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) + public async global::System.Threading.Tasks.Task BackupInstancesTriggerCrossRegionRestoreViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -2965,7 +3207,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - 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) + 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 ) { @@ -3080,7 +3322,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.Api20231201.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.Api20240401.OperationJobExtendedInfo.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -3113,7 +3355,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task BackupInstancesTriggerCrossRegionRestore_Validate(string subscriptionId, string resourceGroupName, string location, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreRequestObject 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.Api20240401.ICrossRegionRestoreRequestObject body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -3143,9 +3385,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.Api20231201.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 BackupInstancesTriggerRehydrate(string resourceGroupName, string subscriptionId, string vaultName, string backupInstanceName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -3192,9 +3434,9 @@ 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.Api20231201.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 BackupInstancesTriggerRehydrateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -3253,7 +3495,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 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 ) { @@ -3377,7 +3619,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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -3405,7 +3647,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_Validate(string resourceGroupName, string subscriptionId, string vaultName, string backupInstanceName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRehydrationRequest 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.Api20240401.IAzureBackupRehydrationRequest body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -3426,6 +3668,7 @@ public partial class DataProtection /// 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 @@ -3435,9 +3678,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.Api20231201.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 BackupInstancesTriggerRestore(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, string xMSAuthorizationAuxiliary, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -3463,6 +3706,12 @@ 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); @@ -3475,6 +3724,7 @@ public partial class DataProtection /// Triggers 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 default (any response code not handled @@ -3484,9 +3734,9 @@ 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.Api20231201.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 BackupInstancesTriggerRestoreViaIdentity(global::System.String viaIdentity, string xMSAuthorizationAuxiliary, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -3525,6 +3775,12 @@ 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); @@ -3545,7 +3801,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 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 ) { @@ -3660,13 +3916,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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -3689,12 +3945,13 @@ public partial class DataProtection /// 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 BackupInstancesTriggerRestore_Validate(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest 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, string xMSAuthorizationAuxiliary, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -3705,6 +3962,7 @@ public partial class DataProtection await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); await eventListener.AssertNotNull(nameof(vaultName),vaultName); await eventListener.AssertNotNull(nameof(backupInstanceName),backupInstanceName); + await eventListener.AssertNotNull(nameof(xMSAuthorizationAuxiliary),xMSAuthorizationAuxiliary); await eventListener.AssertNotNull(nameof(body), body); await eventListener.AssertObjectIsValid(nameof(body), body); } @@ -3723,9 +3981,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupInstancesValidateCrossRegionRestore(string subscriptionId, string resourceGroupName, string location, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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) + public async global::System.Threading.Tasks.Task BackupInstancesValidateCrossRegionRestore(string subscriptionId, string resourceGroupName, string location, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -3770,9 +4028,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupInstancesValidateCrossRegionRestoreViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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) + public async global::System.Threading.Tasks.Task BackupInstancesValidateCrossRegionRestoreViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -3830,7 +4088,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - 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) + 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 ) { @@ -3945,7 +4203,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.Api20231201.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.Api20240401.OperationJobExtendedInfo.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -3978,7 +4236,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task BackupInstancesValidateCrossRegionRestore_Validate(string subscriptionId, string resourceGroupName, string location, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateCrossRegionRestoreRequestObject 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.Api20240401.IValidateCrossRegionRestoreRequestObject body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -4007,9 +4265,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.Api20231201.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 BackupInstancesValidateForBackup(string subscriptionId, string resourceGroupName, string vaultName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4054,9 +4312,9 @@ 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.Api20231201.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 BackupInstancesValidateForBackupViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4112,7 +4370,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 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 ) { @@ -4227,13 +4485,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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -4260,7 +4518,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_Validate(string subscriptionId, string resourceGroupName, string vaultName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateForBackupRequest body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task BackupInstancesValidateForBackup_Validate(string subscriptionId, string resourceGroupName, string vaultName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateForBackupRequest body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -4289,9 +4547,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.Api20231201.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 BackupInstancesValidateForRestore(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4338,9 +4596,9 @@ 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.Api20231201.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 BackupInstancesValidateForRestoreViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4399,7 +4657,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 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 ) { @@ -4514,13 +4772,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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -4548,7 +4806,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_Validate(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateRestoreRequestObject body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task BackupInstancesValidateForRestore_Validate(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateRestoreRequestObject body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -4578,9 +4836,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.Api20231201.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 BackupPoliciesCreateOrUpdate(string subscriptionId, string resourceGroupName, string vaultName, string backupPolicyName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4626,9 +4884,9 @@ 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.Api20231201.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 BackupPoliciesCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4686,7 +4944,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 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 ) { @@ -4704,13 +4962,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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -4738,7 +4996,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_Validate(string subscriptionId, string resourceGroupName, string vaultName, string backupPolicyName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResource body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task BackupPoliciesCreateOrUpdate_Validate(string subscriptionId, string resourceGroupName, string vaultName, string backupPolicyName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResource body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -4768,9 +5026,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 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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4812,9 +5070,9 @@ 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 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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4869,7 +5127,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 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 ) { @@ -4899,7 +5157,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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -4953,9 +5211,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 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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4996,9 +5254,9 @@ 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 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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -5052,7 +5310,7 @@ public partial class DataProtection /// /// 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) + 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 ) { @@ -5070,13 +5328,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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -5129,9 +5387,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 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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -5171,9 +5429,9 @@ 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 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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -5225,7 +5483,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 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 ) { @@ -5243,13 +5501,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.Api20231201.BaseBackupPolicyResourceList.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -5301,9 +5559,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 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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -5344,9 +5602,9 @@ 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 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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -5401,7 +5659,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 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 ) { @@ -5419,7 +5677,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.Api20231201.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.Api20240401.BackupVaultResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } case global::System.Net.HttpStatusCode.Accepted: @@ -5431,7 +5689,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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -5485,9 +5743,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.Api20231201.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 BackupVaultsCheckNameAvailability(string resourceGroupName, string subscriptionId, string location, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -5532,9 +5790,9 @@ 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.Api20231201.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 BackupVaultsCheckNameAvailabilityViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -5590,7 +5848,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 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 ) { @@ -5608,13 +5866,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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -5641,7 +5899,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_Validate(string resourceGroupName, string subscriptionId, string location, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICheckNameAvailabilityRequest body, 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.Api20240401.ICheckNameAvailabilityRequest body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -5660,6 +5918,7 @@ public partial class DataProtection /// 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 @@ -5669,9 +5928,9 @@ public partial class DataProtection /// /// 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.Api20231201.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 BackupVaultsCreateOrUpdate(string subscriptionId, string resourceGroupName, string vaultName, string xMSAuthorizationAuxiliary, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -5694,6 +5953,12 @@ public partial class DataProtection 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; } + // 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); @@ -5706,6 +5971,7 @@ public partial class DataProtection /// 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 @@ -5715,9 +5981,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.Api20231201.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 BackupVaultsCreateOrUpdateViaIdentity(global::System.String viaIdentity, string xMSAuthorizationAuxiliary, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -5752,6 +6018,12 @@ public partial class DataProtection 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; } + // 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); @@ -5772,7 +6044,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 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 ) { @@ -5889,13 +6161,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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -5917,12 +6189,13 @@ public partial class DataProtection /// 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.Api20231201.IBackupVaultResource body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task BackupVaultsCreateOrUpdate_Validate(string subscriptionId, string resourceGroupName, string vaultName, string xMSAuthorizationAuxiliary, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResource body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -5932,6 +6205,7 @@ 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(xMSAuthorizationAuxiliary),xMSAuthorizationAuxiliary); await eventListener.AssertNotNull(nameof(body), body); await eventListener.AssertObjectIsValid(nameof(body), body); } @@ -5950,9 +6224,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 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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -5992,9 +6266,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 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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -6046,7 +6320,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 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 ) { @@ -6176,7 +6450,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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -6227,9 +6501,9 @@ public partial class DataProtection /// /// 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) + 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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -6269,9 +6543,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 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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -6309,9 +6583,9 @@ 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 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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -6360,7 +6634,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 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 ) { @@ -6378,13 +6652,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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -6431,9 +6705,9 @@ public partial class DataProtection /// /// 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) + 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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -6469,9 +6743,9 @@ public partial class DataProtection /// /// 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) + 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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -6517,7 +6791,7 @@ 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) + 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 ) { @@ -6535,13 +6809,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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -6584,9 +6858,9 @@ 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 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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -6637,7 +6911,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 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 ) { @@ -6655,13 +6929,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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -6706,6 +6980,7 @@ public partial class DataProtection /// 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 @@ -6715,9 +6990,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.Api20231201.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 BackupVaultsUpdate(string subscriptionId, string resourceGroupName, string vaultName, string xMSAuthorizationAuxiliary, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -6740,6 +7015,12 @@ public partial class DataProtection 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; } + // 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); @@ -6754,6 +7035,7 @@ public partial class DataProtection /// 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 default (any response code not handled @@ -6763,9 +7045,9 @@ 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.Api20231201.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 BackupVaultsUpdateViaIdentity(global::System.String viaIdentity, string xMSAuthorizationAuxiliary, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -6800,6 +7082,12 @@ public partial class DataProtection 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; } + // 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); @@ -6820,7 +7108,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 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 ) { @@ -6937,13 +7225,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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -6965,12 +7253,13 @@ public partial class DataProtection /// 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 BackupVaultsUpdate_Validate(string subscriptionId, string resourceGroupName, string vaultName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInput body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task BackupVaultsUpdate_Validate(string subscriptionId, string resourceGroupName, string vaultName, string xMSAuthorizationAuxiliary, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInput body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -6980,6 +7269,7 @@ 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(xMSAuthorizationAuxiliary),xMSAuthorizationAuxiliary); await eventListener.AssertNotNull(nameof(body), body); await eventListener.AssertObjectIsValid(nameof(body), body); } @@ -6997,9 +7287,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.Api20231201.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 DataProtectionCheckFeatureSupport(string subscriptionId, string location, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -7042,9 +7332,9 @@ 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.Api20231201.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 DataProtectionCheckFeatureSupportViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -7097,7 +7387,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 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 ) { @@ -7115,13 +7405,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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -7147,7 +7437,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_Validate(string subscriptionId, string location, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationRequestBase body, 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.Api20240401.IFeatureValidationRequestBase body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -7168,9 +7458,9 @@ 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 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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -7204,9 +7494,9 @@ 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 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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -7249,7 +7539,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 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 ) { @@ -7267,13 +7557,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.Api20231201.ClientDiscoveryResponse.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -7317,9 +7607,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 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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -7360,9 +7650,9 @@ 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 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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -7416,7 +7706,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 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 ) { @@ -7434,13 +7724,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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -7493,9 +7783,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 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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -7535,9 +7825,9 @@ 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 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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -7589,7 +7879,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 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 ) { @@ -7607,13 +7897,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.Api20231201.DeletedBackupInstanceResourceList.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -7665,9 +7955,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 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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -7709,9 +7999,9 @@ 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 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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -7766,7 +8056,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 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 ) { @@ -7890,7 +8180,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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -7945,9 +8235,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.Api20231201.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 DppResourceGuardProxyCreateOrUpdate(string subscriptionId, string resourceGroupName, string vaultName, string resourceGuardProxyName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -7993,9 +8283,9 @@ 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.Api20231201.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 DppResourceGuardProxyCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -8053,7 +8343,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 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 ) { @@ -8071,13 +8361,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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -8105,7 +8395,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_Validate(string subscriptionId, string resourceGroupName, string vaultName, string resourceGuardProxyName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResource body, 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.Api20240401.IResourceGuardProxyBaseResource body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -8136,9 +8426,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 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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -8180,9 +8470,9 @@ 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 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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -8237,7 +8527,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 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 ) { @@ -8267,7 +8557,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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -8324,9 +8614,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 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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -8369,9 +8659,9 @@ 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 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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -8425,7 +8715,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 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 ) { @@ -8443,13 +8733,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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -8503,9 +8793,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 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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -8545,9 +8835,9 @@ 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 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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -8599,7 +8889,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 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 ) { @@ -8617,13 +8907,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.Api20231201.ResourceGuardProxyBaseResourceList.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -8677,9 +8967,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.Api20231201.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 DppResourceGuardProxyUnlockDelete(string subscriptionId, string resourceGroupName, string vaultName, string resourceGuardProxyName, string xMSAuthorizationAuxiliary, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -8733,9 +9023,9 @@ 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.Api20231201.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 DppResourceGuardProxyUnlockDeleteViaIdentity(global::System.String viaIdentity, string xMSAuthorizationAuxiliary, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -8800,7 +9090,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 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 ) { @@ -8818,13 +9108,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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -8853,7 +9143,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_Validate(string subscriptionId, string resourceGroupName, string vaultName, string resourceGuardProxyName, string xMSAuthorizationAuxiliary, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUnlockDeleteRequest body, 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.Api20240401.IUnlockDeleteRequest body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -8888,9 +9178,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 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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -8935,9 +9225,9 @@ 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 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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -8992,7 +9282,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 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 ) { @@ -9010,7 +9300,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.Api20231201.ExportJobsResult.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.Api20240401.ExportJobsResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } case global::System.Net.HttpStatusCode.Accepted: @@ -9022,7 +9312,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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -9075,9 +9365,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 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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -9117,9 +9407,9 @@ 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 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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -9171,7 +9461,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 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 ) { @@ -9292,7 +9582,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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -9344,9 +9634,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task FetchCrossRegionRestoreJobGet(string resourceGroupName, string subscriptionId, string location, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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) + public async global::System.Threading.Tasks.Task FetchCrossRegionRestoreJobGet(string resourceGroupName, string subscriptionId, string location, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -9391,9 +9681,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task FetchCrossRegionRestoreJobGetViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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) + public async global::System.Threading.Tasks.Task FetchCrossRegionRestoreJobGetViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -9449,7 +9739,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - 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) + 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 ) { @@ -9467,13 +9757,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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -9500,7 +9790,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task FetchCrossRegionRestoreJobGet_Validate(string resourceGroupName, string subscriptionId, string location, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreJobRequest 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.Api20240401.ICrossRegionRestoreJobRequest body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -9530,9 +9820,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task FetchCrossRegionRestoreJobsList(string resourceGroupName, string subscriptionId, string location, string Filter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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) + public async global::System.Threading.Tasks.Task FetchCrossRegionRestoreJobsList(string resourceGroupName, string subscriptionId, string location, string Filter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -9580,9 +9870,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task FetchCrossRegionRestoreJobsListViaIdentity(global::System.String viaIdentity, string Filter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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) + public async global::System.Threading.Tasks.Task FetchCrossRegionRestoreJobsListViaIdentity(global::System.String viaIdentity, string Filter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -9640,7 +9930,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - 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) + 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 ) { @@ -9658,13 +9948,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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -9692,7 +9982,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task FetchCrossRegionRestoreJobsList_Validate(string resourceGroupName, string subscriptionId, string location, string Filter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreJobsRequest body, 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.Api20240401.ICrossRegionRestoreJobsRequest body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -9726,9 +10016,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task FetchSecondaryRecoveryPointsList(string subscriptionId, string resourceGroupName, string location, string Filter, string SkipToken, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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) + public async global::System.Threading.Tasks.Task FetchSecondaryRecoveryPointsList(string subscriptionId, string resourceGroupName, string location, string Filter, string SkipToken, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -9781,9 +10071,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task FetchSecondaryRecoveryPointsListViaIdentity(global::System.String viaIdentity, string Filter, string SkipToken, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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) + public async global::System.Threading.Tasks.Task FetchSecondaryRecoveryPointsListViaIdentity(global::System.String viaIdentity, string Filter, string SkipToken, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -9843,7 +10133,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - 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) + 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 ) { @@ -9861,13 +10151,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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -9896,7 +10186,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - 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.Api20231201.IFetchSecondaryRPsRequestParameters body, 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.Api20240401.IFetchSecondaryRPsRequestParameters body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -9927,9 +10217,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -9970,9 +10260,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -10026,7 +10316,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 ) { @@ -10044,13 +10334,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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -10103,9 +10393,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -10145,9 +10435,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -10199,7 +10489,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 ) { @@ -10217,13 +10507,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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -10275,9 +10565,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -10317,9 +10607,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -10371,7 +10661,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 ) { @@ -10389,7 +10679,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.Api20231201.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.Api20240401.OperationJobExtendedInfo.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } case global::System.Net.HttpStatusCode.Accepted: @@ -10401,7 +10691,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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -10451,9 +10741,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -10494,9 +10784,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -10552,7 +10842,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 ) { @@ -10570,13 +10860,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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -10629,9 +10919,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -10670,9 +10960,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -10723,7 +11013,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 ) { @@ -10741,13 +11031,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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -10796,9 +11086,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -10837,9 +11127,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -10892,7 +11182,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 ) { @@ -10910,13 +11200,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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -10969,9 +11259,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -11014,9 +11304,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -11073,7 +11363,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 ) { @@ -11091,13 +11381,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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -11155,9 +11445,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -11205,9 +11495,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -11266,7 +11556,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 ) { @@ -11284,13 +11574,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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -11348,9 +11638,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -11390,9 +11680,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -11444,7 +11734,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 ) { @@ -11474,7 +11764,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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -11525,9 +11815,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -11570,9 +11860,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -11614,9 +11904,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -11670,7 +11960,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 ) { @@ -11688,13 +11978,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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -11748,9 +12038,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -11793,9 +12083,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -11851,7 +12141,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 ) { @@ -11869,13 +12159,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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -11931,9 +12221,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -11976,9 +12266,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -12034,7 +12324,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 ) { @@ -12052,13 +12342,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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -12114,9 +12404,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -12159,9 +12449,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -12217,7 +12507,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 ) { @@ -12235,13 +12525,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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -12297,9 +12587,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -12342,9 +12632,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -12400,7 +12690,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 ) { @@ -12418,13 +12708,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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -12480,9 +12770,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -12525,9 +12815,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -12583,7 +12873,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 ) { @@ -12601,13 +12891,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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -12663,9 +12953,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -12708,9 +12998,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -12766,7 +13056,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 ) { @@ -12784,13 +13074,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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -12845,9 +13135,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -12889,9 +13179,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -12945,7 +13235,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 ) { @@ -12963,13 +13253,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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -13022,9 +13312,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -13066,9 +13356,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -13122,7 +13412,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 ) { @@ -13140,13 +13430,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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -13199,9 +13489,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -13243,9 +13533,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -13299,7 +13589,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 ) { @@ -13317,13 +13607,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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -13373,9 +13663,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -13413,9 +13703,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -13466,7 +13756,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 ) { @@ -13484,13 +13774,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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -13537,9 +13827,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -13575,9 +13865,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -13625,7 +13915,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 ) { @@ -13643,13 +13933,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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -13696,9 +13986,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -13740,9 +14030,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -13796,7 +14086,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 ) { @@ -13814,13 +14104,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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -13873,9 +14163,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -13917,9 +14207,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -13973,7 +14263,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 ) { @@ -13991,13 +14281,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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -14046,9 +14336,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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -14099,7 +14389,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 ) { @@ -14117,13 +14407,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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -14177,9 +14467,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.Api20231201.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.Api20240401.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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -14225,9 +14515,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.Api20231201.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.Api20240401.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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -14282,7 +14572,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 ) { @@ -14300,13 +14590,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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -14333,7 +14623,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.Api20231201.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.Api20240401.IPatchResourceGuardInput body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -14362,9 +14652,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.Api20231201.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.Api20240401.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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -14409,9 +14699,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.Api20231201.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.Api20240401.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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -14467,7 +14757,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 ) { @@ -14485,19 +14775,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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -14524,7 +14814,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.Api20231201.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.Api20240401.IResourceGuardResource body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -14553,9 +14843,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.Api20231201.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.Api20240401.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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -14602,9 +14892,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.Api20231201.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.Api20240401.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-12-01"; + var apiVersion = @"2024-04-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -14663,7 +14953,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 ) { @@ -14681,13 +14971,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.Api20231201.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.Api20240401.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.Api20231201.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.Api20240401.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -14715,7 +15005,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.Api20231201.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.Api20240401.IAzureBackupFindRestorableTimeRangesRequest body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AbsoluteDeleteOption.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AbsoluteDeleteOption.PowerShell.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AbsoluteDeleteOption.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AbsoluteDeleteOption.PowerShell.cs index 7b410a48ccb0..4ac26533a34d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AbsoluteDeleteOption.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDeleteOptionInternal)this).Duration = (string) content.GetValueForProperty("Duration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeleteOptionInternal)this).Duration, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeleteOptionInternal)this).Duration = (string) content.GetValueForProperty("Duration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeleteOptionInternal)this).Duration, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeleteOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeleteOptionInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeleteOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDeleteOptionInternal)this).Duration = (string) content.GetValueForProperty("Duration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeleteOptionInternal)this).Duration, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeleteOptionInternal)this).Duration = (string) content.GetValueForProperty("Duration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeleteOptionInternal)this).Duration, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeleteOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeleteOptionInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeleteOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAbsoluteDeleteOption DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAbsoluteDeleteOption DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAbsoluteDeleteOption DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AbsoluteDeleteOption(content); } @@ -137,7 +137,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAbsoluteDeleteOption FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AbsoluteDeleteOption.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AbsoluteDeleteOption.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AbsoluteDeleteOption.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AbsoluteDeleteOption.TypeConverter.cs index 306cd5915837..94573368a25e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AbsoluteDeleteOption.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAbsoluteDeleteOption ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAbsoluteDeleteOption ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAbsoluteDeleteOption).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAbsoluteDeleteOption).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AbsoluteDeleteOption.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AbsoluteDeleteOption.cs similarity index 83% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AbsoluteDeleteOption.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AbsoluteDeleteOption.cs index 6c6ff8550548..0ac15dac0cb0 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AbsoluteDeleteOption.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Delete option with duration public partial class AbsoluteDeleteOption : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAbsoluteDeleteOption, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAbsoluteDeleteOptionInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAbsoluteDeleteOption, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAbsoluteDeleteOptionInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeleteOption __deleteOption = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DeleteOption(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeleteOption __deleteOption = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDeleteOptionInternal)__deleteOption).Duration; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeleteOptionInternal)__deleteOption).Duration = value ; } + public string Duration { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeleteOptionInternal)__deleteOption).Duration; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDeleteOptionInternal)__deleteOption).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeleteOptionInternal)__deleteOption).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeleteOptionInternal)__deleteOption).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDeleteOption + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeleteOption { } /// Delete option with duration internal partial interface IAbsoluteDeleteOptionInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeleteOptionInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeleteOptionInternal { } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AbsoluteDeleteOption.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AbsoluteDeleteOption.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AbsoluteDeleteOption.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AbsoluteDeleteOption.json.cs index 34d5597ea613..6e5d6a6cc15b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AbsoluteDeleteOption.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.DeleteOption(json); + __deleteOption = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DeleteOption(json); AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAbsoluteDeleteOption. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAbsoluteDeleteOption. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAbsoluteDeleteOption. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAbsoluteDeleteOption. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAbsoluteDeleteOption FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AdHocBackupRuleOptions.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AdHocBackupRuleOptions.PowerShell.cs similarity index 85% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AdHocBackupRuleOptions.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AdHocBackupRuleOptions.PowerShell.cs index d0227ff641cb..3468db9105f8 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AdHocBackupRuleOptions.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAdHocBackupRuleOptionsInternal)this).TriggerOption = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBackupTriggerOption) content.GetValueForProperty("TriggerOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdHocBackupRuleOptionsInternal)this).TriggerOption, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AdhocBackupTriggerOptionTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdHocBackupRuleOptionsInternal)this).TriggerOption = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBackupTriggerOption) content.GetValueForProperty("TriggerOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdHocBackupRuleOptionsInternal)this).TriggerOption, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AdhocBackupTriggerOptionTypeConverter.ConvertFrom); } if (content.Contains("RuleName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdHocBackupRuleOptionsInternal)this).RuleName = (string) content.GetValueForProperty("RuleName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdHocBackupRuleOptionsInternal)this).RuleName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdHocBackupRuleOptionsInternal)this).RuleName = (string) content.GetValueForProperty("RuleName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdHocBackupRuleOptionsInternal)this).RuleName, global::System.Convert.ToString); } if (content.Contains("TriggerOptionRetentionTagOverride")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdHocBackupRuleOptionsInternal)this).TriggerOptionRetentionTagOverride = (string) content.GetValueForProperty("TriggerOptionRetentionTagOverride",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdHocBackupRuleOptionsInternal)this).TriggerOptionRetentionTagOverride, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdHocBackupRuleOptionsInternal)this).TriggerOptionRetentionTagOverride = (string) content.GetValueForProperty("TriggerOptionRetentionTagOverride",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAdHocBackupRuleOptionsInternal)this).TriggerOption = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBackupTriggerOption) content.GetValueForProperty("TriggerOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdHocBackupRuleOptionsInternal)this).TriggerOption, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AdhocBackupTriggerOptionTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdHocBackupRuleOptionsInternal)this).TriggerOption = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBackupTriggerOption) content.GetValueForProperty("TriggerOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdHocBackupRuleOptionsInternal)this).TriggerOption, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AdhocBackupTriggerOptionTypeConverter.ConvertFrom); } if (content.Contains("RuleName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdHocBackupRuleOptionsInternal)this).RuleName = (string) content.GetValueForProperty("RuleName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdHocBackupRuleOptionsInternal)this).RuleName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdHocBackupRuleOptionsInternal)this).RuleName = (string) content.GetValueForProperty("RuleName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdHocBackupRuleOptionsInternal)this).RuleName, global::System.Convert.ToString); } if (content.Contains("TriggerOptionRetentionTagOverride")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdHocBackupRuleOptionsInternal)this).TriggerOptionRetentionTagOverride = (string) content.GetValueForProperty("TriggerOptionRetentionTagOverride",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdHocBackupRuleOptionsInternal)this).TriggerOptionRetentionTagOverride, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdHocBackupRuleOptionsInternal)this).TriggerOptionRetentionTagOverride = (string) content.GetValueForProperty("TriggerOptionRetentionTagOverride",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAdHocBackupRuleOptions DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAdHocBackupRuleOptions DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdHocBackupRuleOptions DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AdHocBackupRuleOptions(content); } @@ -145,7 +145,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdHocBackupRuleOptions FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AdHocBackupRuleOptions.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AdHocBackupRuleOptions.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AdHocBackupRuleOptions.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AdHocBackupRuleOptions.TypeConverter.cs index 8deac0ccdce5..b48f6939478e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AdHocBackupRuleOptions.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAdHocBackupRuleOptions ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdHocBackupRuleOptions ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdHocBackupRuleOptions).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdHocBackupRuleOptions).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AdHocBackupRuleOptions.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AdHocBackupRuleOptions.cs similarity index 83% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AdHocBackupRuleOptions.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AdHocBackupRuleOptions.cs index f0f752235a06..5d5078e2a1d2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AdHocBackupRuleOptions.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Adhoc backup rules public partial class AdHocBackupRuleOptions : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdHocBackupRuleOptions, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdHocBackupRuleOptionsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdHocBackupRuleOptions, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdHocBackupRuleOptionsInternal { /// Internal Acessors for TriggerOption - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBackupTriggerOption Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdHocBackupRuleOptionsInternal.TriggerOption { get => (this._triggerOption = this._triggerOption ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AdhocBackupTriggerOption()); set { {_triggerOption = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBackupTriggerOption Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdHocBackupRuleOptionsInternal.TriggerOption { get => (this._triggerOption = this._triggerOption ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAdhocBackupTriggerOption _triggerOption; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAdhocBackupTriggerOption TriggerOption { get => (this._triggerOption = this._triggerOption ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AdhocBackupTriggerOption()); set => this._triggerOption = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBackupTriggerOption TriggerOption { get => (this._triggerOption = this._triggerOption ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAdhocBackupTriggerOptionInternal)TriggerOption).RetentionTagOverride; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBackupTriggerOptionInternal)TriggerOption).RetentionTagOverride = value ?? null; } + public string TriggerOptionRetentionTagOverride { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBackupTriggerOptionInternal)TriggerOption).RetentionTagOverride; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAdhocBackupTriggerOption TriggerOption { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBackupTriggerOption TriggerOption { get; set; } string TriggerOptionRetentionTagOverride { get; set; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AdHocBackupRuleOptions.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AdHocBackupRuleOptions.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AdHocBackupRuleOptions.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AdHocBackupRuleOptions.json.cs index 7cdc94614f91..31148dfbde0e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AdHocBackupRuleOptions.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.AdhocBackupTriggerOption.FromJson(__jsonTriggerOption) : TriggerOption;} + {_triggerOption = If( json?.PropertyT("triggerOption"), out var __jsonTriggerOption) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAdHocBackupRuleOptions. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdHocBackupRuleOptions. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdHocBackupRuleOptions. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdHocBackupRuleOptions. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdHocBackupRuleOptions FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AdhocBackupTriggerOption.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AdhocBackupTriggerOption.PowerShell.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AdhocBackupTriggerOption.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AdhocBackupTriggerOption.PowerShell.cs index da34a431292b..45f205ffc085 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AdhocBackupTriggerOption.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAdhocBackupTriggerOptionInternal)this).RetentionTagOverride = (string) content.GetValueForProperty("RetentionTagOverride",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBackupTriggerOptionInternal)this).RetentionTagOverride, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBackupTriggerOptionInternal)this).RetentionTagOverride = (string) content.GetValueForProperty("RetentionTagOverride",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAdhocBackupTriggerOptionInternal)this).RetentionTagOverride = (string) content.GetValueForProperty("RetentionTagOverride",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBackupTriggerOptionInternal)this).RetentionTagOverride, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBackupTriggerOptionInternal)this).RetentionTagOverride = (string) content.GetValueForProperty("RetentionTagOverride",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAdhocBackupTriggerOption DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAdhocBackupTriggerOption DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBackupTriggerOption DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AdhocBackupTriggerOption(content); } @@ -129,7 +129,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBackupTriggerOption FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AdhocBackupTriggerOption.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AdhocBackupTriggerOption.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AdhocBackupTriggerOption.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AdhocBackupTriggerOption.TypeConverter.cs index 34f4454c7c5f..134b9cab1b52 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AdhocBackupTriggerOption.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAdhocBackupTriggerOption ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBackupTriggerOption ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBackupTriggerOption).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBackupTriggerOption).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AdhocBackupTriggerOption.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AdhocBackupTriggerOption.cs similarity index 94% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AdhocBackupTriggerOption.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AdhocBackupTriggerOption.cs index 0d92bbf9c73e..b1949b6cb278 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AdhocBackupTriggerOption.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Adhoc backup trigger option public partial class AdhocBackupTriggerOption : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBackupTriggerOption, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBackupTriggerOptionInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBackupTriggerOption, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBackupTriggerOptionInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AdhocBackupTriggerOption.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AdhocBackupTriggerOption.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AdhocBackupTriggerOption.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AdhocBackupTriggerOption.json.cs index 45c75c8892e3..365c84879966 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AdhocBackupTriggerOption.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAdhocBackupTriggerOption. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBackupTriggerOption. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBackupTriggerOption. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBackupTriggerOption. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBackupTriggerOption FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AdhocBasedTaggingCriteria.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AdhocBasedTaggingCriteria.PowerShell.cs similarity index 82% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AdhocBasedTaggingCriteria.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AdhocBasedTaggingCriteria.PowerShell.cs index 8e06fc928cff..78fbac439adf 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AdhocBasedTaggingCriteria.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAdhocBasedTaggingCriteriaInternal)this).TagInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRetentionTag) content.GetValueForProperty("TagInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTaggingCriteriaInternal)this).TagInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RetentionTagTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTaggingCriteriaInternal)this).TagInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRetentionTag) content.GetValueForProperty("TagInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTaggingCriteriaInternal)this).TagInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RetentionTagTypeConverter.ConvertFrom); } if (content.Contains("TagInfoETag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTaggingCriteriaInternal)this).TagInfoETag = (string) content.GetValueForProperty("TagInfoETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTaggingCriteriaInternal)this).TagInfoETag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTaggingCriteriaInternal)this).TagInfoETag = (string) content.GetValueForProperty("TagInfoETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTaggingCriteriaInternal)this).TagInfoETag, global::System.Convert.ToString); } if (content.Contains("TagInfoId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTaggingCriteriaInternal)this).TagInfoId = (string) content.GetValueForProperty("TagInfoId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTaggingCriteriaInternal)this).TagInfoId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTaggingCriteriaInternal)this).TagInfoId = (string) content.GetValueForProperty("TagInfoId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTaggingCriteriaInternal)this).TagInfoId, global::System.Convert.ToString); } if (content.Contains("TagInfoTagName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTaggingCriteriaInternal)this).TagInfoTagName = (string) content.GetValueForProperty("TagInfoTagName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTaggingCriteriaInternal)this).TagInfoTagName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTaggingCriteriaInternal)this).TagInfoTagName = (string) content.GetValueForProperty("TagInfoTagName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAdhocBasedTaggingCriteriaInternal)this).TagInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRetentionTag) content.GetValueForProperty("TagInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTaggingCriteriaInternal)this).TagInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RetentionTagTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTaggingCriteriaInternal)this).TagInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRetentionTag) content.GetValueForProperty("TagInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTaggingCriteriaInternal)this).TagInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RetentionTagTypeConverter.ConvertFrom); } if (content.Contains("TagInfoETag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTaggingCriteriaInternal)this).TagInfoETag = (string) content.GetValueForProperty("TagInfoETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTaggingCriteriaInternal)this).TagInfoETag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTaggingCriteriaInternal)this).TagInfoETag = (string) content.GetValueForProperty("TagInfoETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTaggingCriteriaInternal)this).TagInfoETag, global::System.Convert.ToString); } if (content.Contains("TagInfoId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTaggingCriteriaInternal)this).TagInfoId = (string) content.GetValueForProperty("TagInfoId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTaggingCriteriaInternal)this).TagInfoId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTaggingCriteriaInternal)this).TagInfoId = (string) content.GetValueForProperty("TagInfoId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTaggingCriteriaInternal)this).TagInfoId, global::System.Convert.ToString); } if (content.Contains("TagInfoTagName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTaggingCriteriaInternal)this).TagInfoTagName = (string) content.GetValueForProperty("TagInfoTagName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTaggingCriteriaInternal)this).TagInfoTagName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTaggingCriteriaInternal)this).TagInfoTagName = (string) content.GetValueForProperty("TagInfoTagName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAdhocBasedTaggingCriteria DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAdhocBasedTaggingCriteria DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTaggingCriteria DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AdhocBasedTaggingCriteria(content); } @@ -153,7 +153,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTaggingCriteria FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AdhocBasedTaggingCriteria.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AdhocBasedTaggingCriteria.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AdhocBasedTaggingCriteria.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AdhocBasedTaggingCriteria.TypeConverter.cs index e02f8754382f..768eac16643e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AdhocBasedTaggingCriteria.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAdhocBasedTaggingCriteria ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTaggingCriteria ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTaggingCriteria).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTaggingCriteria).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AdhocBasedTaggingCriteria.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AdhocBasedTaggingCriteria.cs similarity index 81% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AdhocBasedTaggingCriteria.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AdhocBasedTaggingCriteria.cs index 0a07420088b1..0948e88a8bb0 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AdhocBasedTaggingCriteria.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Adhoc backup tagging criteria public partial class AdhocBasedTaggingCriteria : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTaggingCriteria, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTaggingCriteriaInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTaggingCriteria, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTaggingCriteriaInternal { /// Internal Acessors for TagInfo - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRetentionTag Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTaggingCriteriaInternal.TagInfo { get => (this._tagInfo = this._tagInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RetentionTag()); set { {_tagInfo = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRetentionTag Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTaggingCriteriaInternal.TagInfo { get => (this._tagInfo = this._tagInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RetentionTag()); set { {_tagInfo = value;} } } /// Internal Acessors for TagInfoETag - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTaggingCriteriaInternal.TagInfoETag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRetentionTagInternal)TagInfo).ETag; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRetentionTagInternal)TagInfo).ETag = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTaggingCriteriaInternal.TagInfoETag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRetentionTagInternal)TagInfo).ETag; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRetentionTagInternal)TagInfo).ETag = value; } /// Internal Acessors for TagInfoId - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTaggingCriteriaInternal.TagInfoId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRetentionTagInternal)TagInfo).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRetentionTagInternal)TagInfo).Id = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTaggingCriteriaInternal.TagInfoId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRetentionTagInternal)TagInfo).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRetentionTagInternal)TagInfo).Id = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRetentionTag _tagInfo; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRetentionTag TagInfo { get => (this._tagInfo = this._tagInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RetentionTag()); set => this._tagInfo = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRetentionTag TagInfo { get => (this._tagInfo = this._tagInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRetentionTagInternal)TagInfo).ETag; } + public string TagInfoETag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRetentionTagInternal)TagInfo).Id; } + public string TagInfoId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRetentionTagInternal)TagInfo).TagName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRetentionTagInternal)TagInfo).TagName = value ?? null; } + public string TagInfoTagName { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRetentionTagInternal)TagInfo).TagName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRetentionTag TagInfo { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRetentionTag TagInfo { get; set; } /// Retention Tag version. string TagInfoETag { get; set; } /// Retention Tag version. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AdhocBasedTaggingCriteria.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AdhocBasedTaggingCriteria.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AdhocBasedTaggingCriteria.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AdhocBasedTaggingCriteria.json.cs index dbcdc6894430..f9f39140f26c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AdhocBasedTaggingCriteria.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.RetentionTag.FromJson(__jsonTagInfo) : TagInfo;} + {_tagInfo = If( json?.PropertyT("tagInfo"), out var __jsonTagInfo) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RetentionTag.FromJson(__jsonTagInfo) : TagInfo;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTaggingCriteria. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTaggingCriteria. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTaggingCriteria. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTaggingCriteria. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTaggingCriteria FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AdhocBasedTriggerContext.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AdhocBasedTriggerContext.PowerShell.cs similarity index 80% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AdhocBasedTriggerContext.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AdhocBasedTriggerContext.PowerShell.cs index 51320ee851c9..687b240f0161 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AdhocBasedTriggerContext.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAdhocBasedTriggerContextInternal)this).TaggingCriterion = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTaggingCriteria) content.GetValueForProperty("TaggingCriterion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTriggerContextInternal)this).TaggingCriterion, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AdhocBasedTaggingCriteriaTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTriggerContextInternal)this).TaggingCriterion = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTaggingCriteria) content.GetValueForProperty("TaggingCriterion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTriggerContextInternal)this).TaggingCriterion, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AdhocBasedTaggingCriteriaTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerContextInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerContextInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerContextInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerContextInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("TaggingCriterionTagInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTriggerContextInternal)this).TaggingCriterionTagInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRetentionTag) content.GetValueForProperty("TaggingCriterionTagInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTriggerContextInternal)this).TaggingCriterionTagInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RetentionTagTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTriggerContextInternal)this).TaggingCriterionTagInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRetentionTag) content.GetValueForProperty("TaggingCriterionTagInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTriggerContextInternal)this).TaggingCriterionTagInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RetentionTagTypeConverter.ConvertFrom); } if (content.Contains("TagInfoETag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTriggerContextInternal)this).TagInfoETag = (string) content.GetValueForProperty("TagInfoETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTriggerContextInternal)this).TagInfoETag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTriggerContextInternal)this).TagInfoETag = (string) content.GetValueForProperty("TagInfoETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTriggerContextInternal)this).TagInfoETag, global::System.Convert.ToString); } if (content.Contains("TagInfoId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTriggerContextInternal)this).TagInfoId = (string) content.GetValueForProperty("TagInfoId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTriggerContextInternal)this).TagInfoId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTriggerContextInternal)this).TagInfoId = (string) content.GetValueForProperty("TagInfoId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTriggerContextInternal)this).TagInfoId, global::System.Convert.ToString); } if (content.Contains("TagInfoTagName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTriggerContextInternal)this).TagInfoTagName = (string) content.GetValueForProperty("TagInfoTagName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTriggerContextInternal)this).TagInfoTagName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTriggerContextInternal)this).TagInfoTagName = (string) content.GetValueForProperty("TagInfoTagName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAdhocBasedTriggerContextInternal)this).TaggingCriterion = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTaggingCriteria) content.GetValueForProperty("TaggingCriterion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTriggerContextInternal)this).TaggingCriterion, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AdhocBasedTaggingCriteriaTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTriggerContextInternal)this).TaggingCriterion = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTaggingCriteria) content.GetValueForProperty("TaggingCriterion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTriggerContextInternal)this).TaggingCriterion, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AdhocBasedTaggingCriteriaTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerContextInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerContextInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerContextInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerContextInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("TaggingCriterionTagInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTriggerContextInternal)this).TaggingCriterionTagInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRetentionTag) content.GetValueForProperty("TaggingCriterionTagInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTriggerContextInternal)this).TaggingCriterionTagInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RetentionTagTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTriggerContextInternal)this).TaggingCriterionTagInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRetentionTag) content.GetValueForProperty("TaggingCriterionTagInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTriggerContextInternal)this).TaggingCriterionTagInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RetentionTagTypeConverter.ConvertFrom); } if (content.Contains("TagInfoETag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTriggerContextInternal)this).TagInfoETag = (string) content.GetValueForProperty("TagInfoETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTriggerContextInternal)this).TagInfoETag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTriggerContextInternal)this).TagInfoETag = (string) content.GetValueForProperty("TagInfoETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTriggerContextInternal)this).TagInfoETag, global::System.Convert.ToString); } if (content.Contains("TagInfoId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTriggerContextInternal)this).TagInfoId = (string) content.GetValueForProperty("TagInfoId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTriggerContextInternal)this).TagInfoId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTriggerContextInternal)this).TagInfoId = (string) content.GetValueForProperty("TagInfoId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTriggerContextInternal)this).TagInfoId, global::System.Convert.ToString); } if (content.Contains("TagInfoTagName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTriggerContextInternal)this).TagInfoTagName = (string) content.GetValueForProperty("TagInfoTagName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTriggerContextInternal)this).TagInfoTagName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTriggerContextInternal)this).TagInfoTagName = (string) content.GetValueForProperty("TagInfoTagName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAdhocBasedTriggerContext DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAdhocBasedTriggerContext DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTriggerContext DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AdhocBasedTriggerContext(content); } @@ -169,7 +169,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTriggerContext FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AdhocBasedTriggerContext.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AdhocBasedTriggerContext.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AdhocBasedTriggerContext.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AdhocBasedTriggerContext.TypeConverter.cs index 74e4725ba848..2fcd7e24b5aa 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AdhocBasedTriggerContext.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAdhocBasedTriggerContext ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTriggerContext ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTriggerContext).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTriggerContext).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AdhocBasedTriggerContext.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AdhocBasedTriggerContext.cs similarity index 79% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AdhocBasedTriggerContext.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AdhocBasedTriggerContext.cs index d4f60a123cd1..c3d66abee270 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AdhocBasedTriggerContext.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Adhoc trigger context public partial class AdhocBasedTriggerContext : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTriggerContext, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTriggerContextInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTriggerContext, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTriggerContextInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerContext __triggerContext = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.TriggerContext(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerContext __triggerContext = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.TriggerContext(); /// Internal Acessors for TagInfoETag - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTriggerContextInternal.TagInfoETag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTaggingCriteriaInternal)TaggingCriterion).TagInfoETag; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTaggingCriteriaInternal)TaggingCriterion).TagInfoETag = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTriggerContextInternal.TagInfoETag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTaggingCriteriaInternal)TaggingCriterion).TagInfoETag; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTaggingCriteriaInternal)TaggingCriterion).TagInfoETag = value; } /// Internal Acessors for TagInfoId - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTriggerContextInternal.TagInfoId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTaggingCriteriaInternal)TaggingCriterion).TagInfoId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTaggingCriteriaInternal)TaggingCriterion).TagInfoId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTriggerContextInternal.TagInfoId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTaggingCriteriaInternal)TaggingCriterion).TagInfoId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTaggingCriteriaInternal)TaggingCriterion).TagInfoId = value; } /// Internal Acessors for TaggingCriterion - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTaggingCriteria Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTriggerContextInternal.TaggingCriterion { get => (this._taggingCriterion = this._taggingCriterion ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AdhocBasedTaggingCriteria()); set { {_taggingCriterion = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTaggingCriteria Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTriggerContextInternal.TaggingCriterion { get => (this._taggingCriterion = this._taggingCriterion ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AdhocBasedTaggingCriteria()); set { {_taggingCriterion = value;} } } /// Internal Acessors for TaggingCriterionTagInfo - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRetentionTag Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTriggerContextInternal.TaggingCriterionTagInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTaggingCriteriaInternal)TaggingCriterion).TagInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTaggingCriteriaInternal)TaggingCriterion).TagInfo = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRetentionTag Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTriggerContextInternal.TaggingCriterionTagInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTaggingCriteriaInternal)TaggingCriterion).TagInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ITriggerContextInternal)__triggerContext).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerContextInternal)__triggerContext).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerContextInternal)__triggerContext).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAdhocBasedTaggingCriteriaInternal)TaggingCriterion).TagInfoETag; } + public string TagInfoETag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAdhocBasedTaggingCriteriaInternal)TaggingCriterion).TagInfoId; } + public string TagInfoId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAdhocBasedTaggingCriteriaInternal)TaggingCriterion).TagInfoTagName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTaggingCriteriaInternal)TaggingCriterion).TagInfoTagName = value ?? null; } + public string TagInfoTagName { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTaggingCriteriaInternal)TaggingCriterion).TagInfoTagName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTaggingCriteriaInternal)TaggingCriterion).TagInfoTagName = value ?? null; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTaggingCriteria _taggingCriterion; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAdhocBasedTaggingCriteria TaggingCriterion { get => (this._taggingCriterion = this._taggingCriterion ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AdhocBasedTaggingCriteria()); set => this._taggingCriterion = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTaggingCriteria TaggingCriterion { get => (this._taggingCriterion = this._taggingCriterion ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ITriggerContext + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ITriggerContextInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAdhocBasedTaggingCriteria TaggingCriterion { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTaggingCriteria TaggingCriterion { get; set; } /// Retention tag information - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRetentionTag TaggingCriterionTagInfo { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRetentionTag TaggingCriterionTagInfo { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AdhocBasedTriggerContext.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AdhocBasedTriggerContext.json.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AdhocBasedTriggerContext.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AdhocBasedTriggerContext.json.cs index d64c6ba8c13c..3ca11dec8086 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AdhocBasedTriggerContext.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.TriggerContext(json); - {_taggingCriterion = If( json?.PropertyT("taggingCriteria"), out var __jsonTaggingCriteria) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AdhocBasedTaggingCriteria.FromJson(__jsonTaggingCriteria) : TaggingCriterion;} + __triggerContext = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.TriggerContext(json); + {_taggingCriterion = If( json?.PropertyT("taggingCriteria"), out var __jsonTaggingCriteria) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AdhocBasedTaggingCriteria.FromJson(__jsonTaggingCriteria) : TaggingCriterion;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTriggerContext. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTriggerContext. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTriggerContext. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBasedTriggerContext. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBasedTriggerContext FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AuthCredentials.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AuthCredentials.PowerShell.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AuthCredentials.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AuthCredentials.PowerShell.cs index 2496fbc3d31f..073d9d073d6e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AuthCredentials.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAuthCredentialsInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAuthCredentialsInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAuthCredentialsInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAuthCredentialsInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAuthCredentialsInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAuthCredentialsInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAuthCredentials DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAuthCredentials DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAuthCredentials DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AuthCredentials(content); } @@ -127,7 +127,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAuthCredentials FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AuthCredentials.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AuthCredentials.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AuthCredentials.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AuthCredentials.TypeConverter.cs index 3550ebcc5dec..28fca1544d41 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AuthCredentials.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAuthCredentials ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAuthCredentials ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAuthCredentials).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAuthCredentials).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AuthCredentials.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AuthCredentials.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AuthCredentials.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AuthCredentials.cs index 64e387026a9e..5d713cda5970 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AuthCredentials.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAuthCredentials, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAuthCredentialsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAuthCredentials, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAuthCredentialsInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AuthCredentials.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AuthCredentials.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AuthCredentials.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AuthCredentials.json.cs index 2df5249ad4ad..9efd33e856f8 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AuthCredentials.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAuthCredentials. - /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAuthCredentials interface is polymorphic, + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAuthCredentials. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAuthCredentials. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAuthCredentials. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAuthCredentials FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AzureBackupDiscreteRecoveryPoint.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupDiscreteRecoveryPoint.PowerShell.cs similarity index 79% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupDiscreteRecoveryPoint.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupDiscreteRecoveryPoint.PowerShell.cs index 8f8b64ee9ecf..eebbb78b6c4b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupDiscreteRecoveryPoint.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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,57 +70,57 @@ internal AzureBackupDiscreteRecoveryPoint(global::System.Collections.IDictionary // actually deserialize if (content.Contains("FriendlyName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupDiscreteRecoveryPointInternal)this).FriendlyName = (string) content.GetValueForProperty("FriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupDiscreteRecoveryPointInternal)this).FriendlyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupDiscreteRecoveryPointInternal)this).FriendlyName = (string) content.GetValueForProperty("FriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupDiscreteRecoveryPointInternal)this).FriendlyName, global::System.Convert.ToString); } if (content.Contains("RecoveryPointDataStoresDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointDataStoresDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointDataStoreDetails[]) content.GetValueForProperty("RecoveryPointDataStoresDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointDataStoresDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RecoveryPointDataStoreDetailsTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointDataStoresDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointDataStoreDetails[]) content.GetValueForProperty("RecoveryPointDataStoresDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointDataStoresDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RecoveryPointDataStoreDetailsTypeConverter.ConvertFrom)); } if (content.Contains("RecoveryPointTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointTime = (global::System.DateTime) content.GetValueForProperty("RecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointTime = (global::System.DateTime) content.GetValueForProperty("RecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupDiscreteRecoveryPointInternal)this).PolicyName = (string) content.GetValueForProperty("PolicyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupDiscreteRecoveryPointInternal)this).PolicyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupDiscreteRecoveryPointInternal)this).PolicyName = (string) content.GetValueForProperty("PolicyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupDiscreteRecoveryPointInternal)this).PolicyName, global::System.Convert.ToString); } if (content.Contains("PolicyVersion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupDiscreteRecoveryPointInternal)this).PolicyVersion = (string) content.GetValueForProperty("PolicyVersion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupDiscreteRecoveryPointInternal)this).PolicyVersion, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupDiscreteRecoveryPointInternal)this).PolicyVersion = (string) content.GetValueForProperty("PolicyVersion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupDiscreteRecoveryPointInternal)this).PolicyVersion, global::System.Convert.ToString); } if (content.Contains("RecoveryPointId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointId = (string) content.GetValueForProperty("RecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointId = (string) content.GetValueForProperty("RecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointId, global::System.Convert.ToString); } if (content.Contains("RecoveryPointType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointType = (string) content.GetValueForProperty("RecoveryPointType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointType = (string) content.GetValueForProperty("RecoveryPointType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointType, global::System.Convert.ToString); } if (content.Contains("RetentionTagName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupDiscreteRecoveryPointInternal)this).RetentionTagName = (string) content.GetValueForProperty("RetentionTagName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupDiscreteRecoveryPointInternal)this).RetentionTagName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupDiscreteRecoveryPointInternal)this).RetentionTagName = (string) content.GetValueForProperty("RetentionTagName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupDiscreteRecoveryPointInternal)this).RetentionTagName, global::System.Convert.ToString); } if (content.Contains("RetentionTagVersion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupDiscreteRecoveryPointInternal)this).RetentionTagVersion = (string) content.GetValueForProperty("RetentionTagVersion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupDiscreteRecoveryPointInternal)this).RetentionTagVersion, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupDiscreteRecoveryPointInternal)this).RetentionTagVersion = (string) content.GetValueForProperty("RetentionTagVersion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupDiscreteRecoveryPointInternal)this).RetentionTagVersion, global::System.Convert.ToString); } if (content.Contains("ExpiryTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupDiscreteRecoveryPointInternal)this).ExpiryTime = (global::System.DateTime?) content.GetValueForProperty("ExpiryTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IAzureBackupDiscreteRecoveryPointInternal)this).ExpiryTime = (global::System.DateTime?) content.GetValueForProperty("ExpiryTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RecoveryPointCompletionState?) content.GetValueForProperty("RecoveryPointState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RecoveryPointCompletionState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RecoveryPointCompletionState?) content.GetValueForProperty("RecoveryPointState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RecoveryPointCompletionState.CreateFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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. @@ -135,79 +135,79 @@ internal AzureBackupDiscreteRecoveryPoint(global::System.Management.Automation.P // actually deserialize if (content.Contains("FriendlyName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupDiscreteRecoveryPointInternal)this).FriendlyName = (string) content.GetValueForProperty("FriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupDiscreteRecoveryPointInternal)this).FriendlyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupDiscreteRecoveryPointInternal)this).FriendlyName = (string) content.GetValueForProperty("FriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupDiscreteRecoveryPointInternal)this).FriendlyName, global::System.Convert.ToString); } if (content.Contains("RecoveryPointDataStoresDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointDataStoresDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointDataStoreDetails[]) content.GetValueForProperty("RecoveryPointDataStoresDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointDataStoresDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RecoveryPointDataStoreDetailsTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointDataStoresDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointDataStoreDetails[]) content.GetValueForProperty("RecoveryPointDataStoresDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointDataStoresDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RecoveryPointDataStoreDetailsTypeConverter.ConvertFrom)); } if (content.Contains("RecoveryPointTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointTime = (global::System.DateTime) content.GetValueForProperty("RecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointTime = (global::System.DateTime) content.GetValueForProperty("RecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupDiscreteRecoveryPointInternal)this).PolicyName = (string) content.GetValueForProperty("PolicyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupDiscreteRecoveryPointInternal)this).PolicyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupDiscreteRecoveryPointInternal)this).PolicyName = (string) content.GetValueForProperty("PolicyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupDiscreteRecoveryPointInternal)this).PolicyName, global::System.Convert.ToString); } if (content.Contains("PolicyVersion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupDiscreteRecoveryPointInternal)this).PolicyVersion = (string) content.GetValueForProperty("PolicyVersion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupDiscreteRecoveryPointInternal)this).PolicyVersion, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupDiscreteRecoveryPointInternal)this).PolicyVersion = (string) content.GetValueForProperty("PolicyVersion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupDiscreteRecoveryPointInternal)this).PolicyVersion, global::System.Convert.ToString); } if (content.Contains("RecoveryPointId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointId = (string) content.GetValueForProperty("RecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointId = (string) content.GetValueForProperty("RecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointId, global::System.Convert.ToString); } if (content.Contains("RecoveryPointType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointType = (string) content.GetValueForProperty("RecoveryPointType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointType = (string) content.GetValueForProperty("RecoveryPointType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointType, global::System.Convert.ToString); } if (content.Contains("RetentionTagName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupDiscreteRecoveryPointInternal)this).RetentionTagName = (string) content.GetValueForProperty("RetentionTagName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupDiscreteRecoveryPointInternal)this).RetentionTagName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupDiscreteRecoveryPointInternal)this).RetentionTagName = (string) content.GetValueForProperty("RetentionTagName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupDiscreteRecoveryPointInternal)this).RetentionTagName, global::System.Convert.ToString); } if (content.Contains("RetentionTagVersion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupDiscreteRecoveryPointInternal)this).RetentionTagVersion = (string) content.GetValueForProperty("RetentionTagVersion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupDiscreteRecoveryPointInternal)this).RetentionTagVersion, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupDiscreteRecoveryPointInternal)this).RetentionTagVersion = (string) content.GetValueForProperty("RetentionTagVersion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupDiscreteRecoveryPointInternal)this).RetentionTagVersion, global::System.Convert.ToString); } if (content.Contains("ExpiryTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupDiscreteRecoveryPointInternal)this).ExpiryTime = (global::System.DateTime?) content.GetValueForProperty("ExpiryTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IAzureBackupDiscreteRecoveryPointInternal)this).ExpiryTime = (global::System.DateTime?) content.GetValueForProperty("ExpiryTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RecoveryPointCompletionState?) content.GetValueForProperty("RecoveryPointState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RecoveryPointCompletionState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RecoveryPointCompletionState?) content.GetValueForProperty("RecoveryPointState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RecoveryPointCompletionState.CreateFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupDiscreteRecoveryPoint DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupDiscreteRecoveryPoint DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupDiscreteRecoveryPoint DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureBackupDiscreteRecoveryPoint(content); } @@ -217,7 +217,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupDiscreteRecoveryPoint FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AzureBackupDiscreteRecoveryPoint.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupDiscreteRecoveryPoint.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupDiscreteRecoveryPoint.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupDiscreteRecoveryPoint.TypeConverter.cs index 6bf42b23520f..57bd0530839c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupDiscreteRecoveryPoint.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAzureBackupDiscreteRecoveryPoint ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupDiscreteRecoveryPoint ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupDiscreteRecoveryPoint).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupDiscreteRecoveryPoint).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupDiscreteRecoveryPoint.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupDiscreteRecoveryPoint.cs similarity index 93% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupDiscreteRecoveryPoint.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupDiscreteRecoveryPoint.cs index 78a8852e5dd5..e660a4fe3d3b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupDiscreteRecoveryPoint.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Azure backup discrete RecoveryPoint public partial class AzureBackupDiscreteRecoveryPoint : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupDiscreteRecoveryPoint, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupDiscreteRecoveryPointInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupDiscreteRecoveryPoint, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupDiscreteRecoveryPointInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPoint __azureBackupRecoveryPoint = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupRecoveryPoint(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPoint __azureBackupRecoveryPoint = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupDiscreteRecoveryPointInternal.ExpiryTime { get => this._expiryTime; set { {_expiryTime = value;} } } + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRecoveryPointInternal)__azureBackupRecoveryPoint).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointInternal)__azureBackupRecoveryPoint).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointInternal)__azureBackupRecoveryPoint).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRecoveryPointDataStoreDetails[] _recoveryPointDataStoresDetail; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointDataStoreDetails[] _recoveryPointDataStoresDetail; [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointDataStoreDetails[] RecoveryPointDataStoresDetail { get => this._recoveryPointDataStoresDetail; set => this._recoveryPointDataStoresDetail = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointDataStoreDetails[] RecoveryPointDataStoresDetail { get => this._recoveryPointDataStoresDetail; set => this._recoveryPointDataStoresDetail = value; } /// Backing field for property. private string _recoveryPointId; @@ -116,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.Api20231201.IAzureBackupRecoveryPoint + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPoint { [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -155,8 +155,8 @@ public partial interface IAzureBackupDiscreteRecoveryPoint : ReadOnly = false, Description = @"", SerializedName = @"recoveryPointDataStoresDetails", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointDataStoreDetails) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointDataStoreDetails[] RecoveryPointDataStoresDetail { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointDataStoreDetails) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointDataStoreDetails[] RecoveryPointDataStoresDetail { get; set; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -212,7 +212,7 @@ public partial interface IAzureBackupDiscreteRecoveryPoint : } /// Azure backup discrete RecoveryPoint internal partial interface IAzureBackupDiscreteRecoveryPointInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointInternal { global::System.DateTime? ExpiryTime { get; set; } @@ -222,7 +222,7 @@ internal partial interface IAzureBackupDiscreteRecoveryPointInternal : string PolicyVersion { get; set; } - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointDataStoreDetails[] RecoveryPointDataStoresDetail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointDataStoreDetails[] RecoveryPointDataStoresDetail { get; set; } string RecoveryPointId { get; set; } /// diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupDiscreteRecoveryPoint.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupDiscreteRecoveryPoint.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupDiscreteRecoveryPoint.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupDiscreteRecoveryPoint.json.cs index 360d034460fd..c7c532303649 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupDiscreteRecoveryPoint.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.AzureBackupRecoveryPoint(json); + __azureBackupRecoveryPoint = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRecoveryPointDataStoreDetails) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IRecoveryPointDataStoreDetails) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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;} @@ -81,13 +81,13 @@ internal AzureBackupDiscreteRecoveryPoint(Microsoft.Azure.PowerShell.Cmdlets.Dat } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupDiscreteRecoveryPoint. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupDiscreteRecoveryPoint. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupDiscreteRecoveryPoint. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupDiscreteRecoveryPoint. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupDiscreteRecoveryPoint FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupFindRestorableTimeRangesRequest.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupFindRestorableTimeRangesRequest.PowerShell.cs similarity index 87% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupFindRestorableTimeRangesRequest.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupFindRestorableTimeRangesRequest.PowerShell.cs index c5304745b13e..d94e50fd49ca 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupFindRestorableTimeRangesRequest.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAzureBackupFindRestorableTimeRangesRequestInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreSourceDataStoreType) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesRequestInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreSourceDataStoreType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesRequestInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreSourceDataStoreType) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesRequestInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreSourceDataStoreType.CreateFrom); } if (content.Contains("StartTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesRequestInternal)this).StartTime = (string) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesRequestInternal)this).StartTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesRequestInternal)this).StartTime = (string) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesRequestInternal)this).StartTime, global::System.Convert.ToString); } if (content.Contains("EndTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesRequestInternal)this).EndTime = (string) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesRequestInternal)this).EndTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesRequestInternal)this).EndTime = (string) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupFindRestorableTimeRangesRequestInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreSourceDataStoreType) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesRequestInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreSourceDataStoreType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesRequestInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreSourceDataStoreType) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesRequestInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreSourceDataStoreType.CreateFrom); } if (content.Contains("StartTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesRequestInternal)this).StartTime = (string) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesRequestInternal)this).StartTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesRequestInternal)this).StartTime = (string) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesRequestInternal)this).StartTime, global::System.Convert.ToString); } if (content.Contains("EndTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesRequestInternal)this).EndTime = (string) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesRequestInternal)this).EndTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesRequestInternal)this).EndTime = (string) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupFindRestorableTimeRangesRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupFindRestorableTimeRangesRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureBackupFindRestorableTimeRangesRequest(content); } @@ -148,7 +148,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AzureBackupFindRestorableTimeRangesRequest.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupFindRestorableTimeRangesRequest.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupFindRestorableTimeRangesRequest.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupFindRestorableTimeRangesRequest.TypeConverter.cs index 64746d1fbfe2..4373079dbe5f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupFindRestorableTimeRangesRequest.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAzureBackupFindRestorableTimeRangesRequest ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesRequest ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesRequest).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesRequest).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupFindRestorableTimeRangesRequest.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupFindRestorableTimeRangesRequest.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupFindRestorableTimeRangesRequest.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupFindRestorableTimeRangesRequest.cs index 31c848b8c529..85697cda2523 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupFindRestorableTimeRangesRequest.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// List Restore Ranges Request public partial class AzureBackupFindRestorableTimeRangesRequest : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesRequest, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesRequestInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesRequest, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesRequestInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupFindRestorableTimeRangesRequest.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupFindRestorableTimeRangesRequest.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupFindRestorableTimeRangesRequest.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupFindRestorableTimeRangesRequest.json.cs index 8c1f29e60363..be5399289e27 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupFindRestorableTimeRangesRequest.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAzureBackupFindRestorableTimeRangesRequest. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesRequest. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesRequest. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesRequest. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AzureBackupFindRestorableTimeRangesRequestResource.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupFindRestorableTimeRangesRequestResource.PowerShell.cs similarity index 77% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupFindRestorableTimeRangesRequestResource.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupFindRestorableTimeRangesRequestResource.PowerShell.cs index 7484ff303804..deeaab1e9f8b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupFindRestorableTimeRangesRequestResource.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).Content = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesRequest) content.GetValueForProperty("Content",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).Content, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupFindRestorableTimeRangesRequestTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).Content = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesRequest) content.GetValueForProperty("Content",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).Content, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupFindRestorableTimeRangesRequestTypeConverter.ConvertFrom); } if (content.Contains("SubscriptionId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).SubscriptionId = (string) content.GetValueForProperty("SubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).SubscriptionId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).SubscriptionId = (string) content.GetValueForProperty("SubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).SubscriptionId, global::System.Convert.ToString); } if (content.Contains("Uri")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).Uri = (string) content.GetValueForProperty("Uri",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).Uri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).Uri = (string) content.GetValueForProperty("Uri",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).Uri, global::System.Convert.ToString); } if (content.Contains("Header")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).Header = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestHeaders) content.GetValueForProperty("Header",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).Header, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppWorkerRequestHeadersTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).Header = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestHeaders) content.GetValueForProperty("Header",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).Header, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppWorkerRequestHeadersTypeConverter.ConvertFrom); } if (content.Contains("SupportedGroupVersion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).SupportedGroupVersion = (string[]) content.GetValueForProperty("SupportedGroupVersion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).SupportedGroupVersion, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).SupportedGroupVersion = (string[]) content.GetValueForProperty("SupportedGroupVersion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).SupportedGroupVersion, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("CultureInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).CultureInfo = (string) content.GetValueForProperty("CultureInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).CultureInfo, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).CultureInfo = (string) content.GetValueForProperty("CultureInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).CultureInfo, global::System.Convert.ToString); } if (content.Contains("Parameter")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).Parameter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestParameters) content.GetValueForProperty("Parameter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).Parameter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppWorkerRequestParametersTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).Parameter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestParameters) content.GetValueForProperty("Parameter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).Parameter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppWorkerRequestParametersTypeConverter.ConvertFrom); } if (content.Contains("HttpMethod")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).HttpMethod = (string) content.GetValueForProperty("HttpMethod",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).HttpMethod, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).HttpMethod = (string) content.GetValueForProperty("HttpMethod",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).HttpMethod, global::System.Convert.ToString); } if (content.Contains("ContentSourceDataStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).ContentSourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreSourceDataStoreType) content.GetValueForProperty("ContentSourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).ContentSourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreSourceDataStoreType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).ContentSourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreSourceDataStoreType) content.GetValueForProperty("ContentSourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).ContentSourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreSourceDataStoreType.CreateFrom); } if (content.Contains("ContentStartTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).ContentStartTime = (string) content.GetValueForProperty("ContentStartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).ContentStartTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).ContentStartTime = (string) content.GetValueForProperty("ContentStartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).ContentStartTime, global::System.Convert.ToString); } if (content.Contains("ContentEndTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).ContentEndTime = (string) content.GetValueForProperty("ContentEndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).ContentEndTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).ContentEndTime = (string) content.GetValueForProperty("ContentEndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).Content = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesRequest) content.GetValueForProperty("Content",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).Content, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupFindRestorableTimeRangesRequestTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).Content = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesRequest) content.GetValueForProperty("Content",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).Content, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupFindRestorableTimeRangesRequestTypeConverter.ConvertFrom); } if (content.Contains("SubscriptionId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).SubscriptionId = (string) content.GetValueForProperty("SubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).SubscriptionId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).SubscriptionId = (string) content.GetValueForProperty("SubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).SubscriptionId, global::System.Convert.ToString); } if (content.Contains("Uri")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).Uri = (string) content.GetValueForProperty("Uri",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).Uri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).Uri = (string) content.GetValueForProperty("Uri",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).Uri, global::System.Convert.ToString); } if (content.Contains("Header")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).Header = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestHeaders) content.GetValueForProperty("Header",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).Header, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppWorkerRequestHeadersTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).Header = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestHeaders) content.GetValueForProperty("Header",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).Header, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppWorkerRequestHeadersTypeConverter.ConvertFrom); } if (content.Contains("SupportedGroupVersion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).SupportedGroupVersion = (string[]) content.GetValueForProperty("SupportedGroupVersion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).SupportedGroupVersion, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).SupportedGroupVersion = (string[]) content.GetValueForProperty("SupportedGroupVersion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).SupportedGroupVersion, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("CultureInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).CultureInfo = (string) content.GetValueForProperty("CultureInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).CultureInfo, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).CultureInfo = (string) content.GetValueForProperty("CultureInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).CultureInfo, global::System.Convert.ToString); } if (content.Contains("Parameter")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).Parameter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestParameters) content.GetValueForProperty("Parameter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).Parameter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppWorkerRequestParametersTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).Parameter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestParameters) content.GetValueForProperty("Parameter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).Parameter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppWorkerRequestParametersTypeConverter.ConvertFrom); } if (content.Contains("HttpMethod")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).HttpMethod = (string) content.GetValueForProperty("HttpMethod",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).HttpMethod, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).HttpMethod = (string) content.GetValueForProperty("HttpMethod",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).HttpMethod, global::System.Convert.ToString); } if (content.Contains("ContentSourceDataStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).ContentSourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreSourceDataStoreType) content.GetValueForProperty("ContentSourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).ContentSourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreSourceDataStoreType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).ContentSourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreSourceDataStoreType) content.GetValueForProperty("ContentSourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).ContentSourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreSourceDataStoreType.CreateFrom); } if (content.Contains("ContentStartTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).ContentStartTime = (string) content.GetValueForProperty("ContentStartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).ContentStartTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).ContentStartTime = (string) content.GetValueForProperty("ContentStartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).ContentStartTime, global::System.Convert.ToString); } if (content.Contains("ContentEndTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).ContentEndTime = (string) content.GetValueForProperty("ContentEndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).ContentEndTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).ContentEndTime = (string) content.GetValueForProperty("ContentEndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupFindRestorableTimeRangesRequestResource DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupFindRestorableTimeRangesRequestResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesRequestResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureBackupFindRestorableTimeRangesRequestResource(content); } @@ -212,7 +212,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesRequestResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AzureBackupFindRestorableTimeRangesRequestResource.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupFindRestorableTimeRangesRequestResource.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupFindRestorableTimeRangesRequestResource.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupFindRestorableTimeRangesRequestResource.TypeConverter.cs index 5a04b29e61e7..d270c707aa55 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupFindRestorableTimeRangesRequestResource.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAzureBackupFindRestorableTimeRangesRequestResource ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesRequestResource ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesRequestResource).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesRequestResource).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupFindRestorableTimeRangesRequestResource.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupFindRestorableTimeRangesRequestResource.cs similarity index 80% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupFindRestorableTimeRangesRequestResource.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupFindRestorableTimeRangesRequestResource.cs index df4b8be93f0e..b2ad36fc2762 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupFindRestorableTimeRangesRequestResource.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// List Restore Ranges Request public partial class AzureBackupFindRestorableTimeRangesRequestResource : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesRequestResource, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesRequestResourceInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesRequestResource, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesRequestResourceInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequest __dppWorkerRequest = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppWorkerRequest(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequest __dppWorkerRequest = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppWorkerRequest(); /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesRequest _content; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesRequest _content; /// AzureBackupFindRestorableTimeRangesRequestResource content [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesRequest Content { get => (this._content = this._content ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupFindRestorableTimeRangesRequest()); set => this._content = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesRequest Content { get => (this._content = this._content ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupFindRestorableTimeRangesRequestInternal)Content).EndTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesRequestInternal)Content).EndTime = value ?? null; } + public string ContentEndTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesRequestInternal)Content).EndTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupFindRestorableTimeRangesRequestInternal)Content).SourceDataStoreType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IAzureBackupFindRestorableTimeRangesRequestInternal)Content).SourceDataStoreType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupFindRestorableTimeRangesRequestInternal)Content).StartTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesRequestInternal)Content).StartTime = value ?? null; } + public string ContentStartTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesRequestInternal)Content).StartTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppWorkerRequestInternal)__dppWorkerRequest).CultureInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)__dppWorkerRequest).CultureInfo = value ?? null; } + public string CultureInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)__dppWorkerRequest).CultureInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppWorkerRequestHeaders Header { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)__dppWorkerRequest).Header; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)__dppWorkerRequest).Header = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestHeaders Header { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)__dppWorkerRequest).Header; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppWorkerRequestInternal)__dppWorkerRequest).HttpMethod; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)__dppWorkerRequest).HttpMethod = value ?? null; } + public string HttpMethod { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)__dppWorkerRequest).HttpMethod; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)__dppWorkerRequest).HttpMethod = value ?? null; } /// Internal Acessors for Content - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesRequest Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesRequestResourceInternal.Content { get => (this._content = this._content ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupFindRestorableTimeRangesRequest()); set { {_content = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesRequest Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesRequestResourceInternal.Content { get => (this._content = this._content ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppWorkerRequestParameters Parameter { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)__dppWorkerRequest).Parameter; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)__dppWorkerRequest).Parameter = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestParameters Parameter { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)__dppWorkerRequest).Parameter; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppWorkerRequestInternal)__dppWorkerRequest).SubscriptionId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)__dppWorkerRequest).SubscriptionId = value ?? null; } + public string SubscriptionId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)__dppWorkerRequest).SubscriptionId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppWorkerRequestInternal)__dppWorkerRequest).SupportedGroupVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)__dppWorkerRequest).SupportedGroupVersion = value ?? null /* arrayOf */; } + public string[] SupportedGroupVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)__dppWorkerRequest).SupportedGroupVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppWorkerRequestInternal)__dppWorkerRequest).Uri; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)__dppWorkerRequest).Uri = value ?? null; } + public string Uri { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)__dppWorkerRequest).Uri; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppWorkerRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppWorkerRequestInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal { /// AzureBackupFindRestorableTimeRangesRequestResource content - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesRequest Content { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AzureBackupFindRestorableTimeRangesRequestResource.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupFindRestorableTimeRangesRequestResource.json.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupFindRestorableTimeRangesRequestResource.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupFindRestorableTimeRangesRequestResource.json.cs index 1f7202c7e8ce..18f246131d59 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupFindRestorableTimeRangesRequestResource.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.DppWorkerRequest(json); - {_content = If( json?.PropertyT("content"), out var __jsonContent) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupFindRestorableTimeRangesRequest.FromJson(__jsonContent) : Content;} + __dppWorkerRequest = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppWorkerRequest(json); + {_content = If( json?.PropertyT("content"), out var __jsonContent) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupFindRestorableTimeRangesRequest.FromJson(__jsonContent) : Content;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesRequestResource. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesRequestResource. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesRequestResource. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesRequestResource. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesRequestResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AzureBackupFindRestorableTimeRangesResponse.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupFindRestorableTimeRangesResponse.PowerShell.cs similarity index 86% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupFindRestorableTimeRangesResponse.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupFindRestorableTimeRangesResponse.PowerShell.cs index 66fbd8fc7483..2a8a673c30cb 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupFindRestorableTimeRangesResponse.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAzureBackupFindRestorableTimeRangesResponseInternal)this).RestorableTimeRange = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestorableTimeRange[]) content.GetValueForProperty("RestorableTimeRange",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesResponseInternal)this).RestorableTimeRange, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RestorableTimeRangeTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesResponseInternal)this).RestorableTimeRange = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestorableTimeRange[]) content.GetValueForProperty("RestorableTimeRange",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesResponseInternal)this).RestorableTimeRange, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestorableTimeRangeTypeConverter.ConvertFrom)); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesResponseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesResponseInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesResponseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupFindRestorableTimeRangesResponseInternal)this).RestorableTimeRange = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestorableTimeRange[]) content.GetValueForProperty("RestorableTimeRange",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesResponseInternal)this).RestorableTimeRange, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RestorableTimeRangeTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesResponseInternal)this).RestorableTimeRange = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestorableTimeRange[]) content.GetValueForProperty("RestorableTimeRange",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesResponseInternal)this).RestorableTimeRange, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestorableTimeRangeTypeConverter.ConvertFrom)); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesResponseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesResponseInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesResponseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupFindRestorableTimeRangesResponse DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupFindRestorableTimeRangesResponse DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesResponse DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureBackupFindRestorableTimeRangesResponse(content); } @@ -140,7 +140,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesResponse FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AzureBackupFindRestorableTimeRangesResponse.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupFindRestorableTimeRangesResponse.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupFindRestorableTimeRangesResponse.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupFindRestorableTimeRangesResponse.TypeConverter.cs index 65acac415c39..df315c6ea10a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupFindRestorableTimeRangesResponse.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAzureBackupFindRestorableTimeRangesResponse ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesResponse ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesResponse).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesResponse).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupFindRestorableTimeRangesResponse.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupFindRestorableTimeRangesResponse.cs similarity index 87% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupFindRestorableTimeRangesResponse.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupFindRestorableTimeRangesResponse.cs index 8a0894a15200..c55ef5d08f8b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupFindRestorableTimeRangesResponse.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// List Restore Ranges Response public partial class AzureBackupFindRestorableTimeRangesResponse : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesResponse, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesResponseInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesResponse, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRestorableTimeRange[] _restorableTimeRange; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRestorableTimeRange[] RestorableTimeRange { get => this._restorableTimeRange; set => this._restorableTimeRange = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRestorableTimeRange) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestorableTimeRange[] RestorableTimeRange { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestorableTimeRange) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRestorableTimeRange[] RestorableTimeRange { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestorableTimeRange[] RestorableTimeRange { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupFindRestorableTimeRangesResponse.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupFindRestorableTimeRangesResponse.json.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupFindRestorableTimeRangesResponse.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupFindRestorableTimeRangesResponse.json.cs index 33fbe542ec6f..0d2866fcb404 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupFindRestorableTimeRangesResponse.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IRestorableTimeRange) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IRestorableTimeRange) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupFindRestorableTimeRangesResponse. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesResponse. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesResponse. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesResponse. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesResponse FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AzureBackupFindRestorableTimeRangesResponseResource.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupFindRestorableTimeRangesResponseResource.PowerShell.cs similarity index 80% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupFindRestorableTimeRangesResponseResource.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupFindRestorableTimeRangesResponseResource.PowerShell.cs index 40a6bbf68068..a5620862f553 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupFindRestorableTimeRangesResponseResource.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAzureBackupFindRestorableTimeRangesResponseResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesResponse) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesResponseResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupFindRestorableTimeRangesResponseTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesResponseResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesResponse) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesResponseResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupFindRestorableTimeRangesResponseTypeConverter.ConvertFrom); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("RestorableTimeRange")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesResponseResourceInternal)this).RestorableTimeRange = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestorableTimeRange[]) content.GetValueForProperty("RestorableTimeRange",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesResponseResourceInternal)this).RestorableTimeRange, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RestorableTimeRangeTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesResponseResourceInternal)this).RestorableTimeRange = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestorableTimeRange[]) content.GetValueForProperty("RestorableTimeRange",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesResponseResourceInternal)this).RestorableTimeRange, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestorableTimeRangeTypeConverter.ConvertFrom)); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesResponseResourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesResponseResourceInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesResponseResourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupFindRestorableTimeRangesResponseResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesResponse) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesResponseResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupFindRestorableTimeRangesResponseTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesResponseResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesResponse) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesResponseResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupFindRestorableTimeRangesResponseTypeConverter.ConvertFrom); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("RestorableTimeRange")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesResponseResourceInternal)this).RestorableTimeRange = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestorableTimeRange[]) content.GetValueForProperty("RestorableTimeRange",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesResponseResourceInternal)this).RestorableTimeRange, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RestorableTimeRangeTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesResponseResourceInternal)this).RestorableTimeRange = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestorableTimeRange[]) content.GetValueForProperty("RestorableTimeRange",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesResponseResourceInternal)this).RestorableTimeRange, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestorableTimeRangeTypeConverter.ConvertFrom)); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesResponseResourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesResponseResourceInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesResponseResourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupFindRestorableTimeRangesResponseResource DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupFindRestorableTimeRangesResponseResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesResponseResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureBackupFindRestorableTimeRangesResponseResource(content); } @@ -180,7 +180,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesResponseResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AzureBackupFindRestorableTimeRangesResponseResource.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupFindRestorableTimeRangesResponseResource.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupFindRestorableTimeRangesResponseResource.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupFindRestorableTimeRangesResponseResource.TypeConverter.cs index 5a05c2d790ca..52a82eedf198 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupFindRestorableTimeRangesResponseResource.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAzureBackupFindRestorableTimeRangesResponseResource ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesResponseResource ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesResponseResource).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesResponseResource).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupFindRestorableTimeRangesResponseResource.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupFindRestorableTimeRangesResponseResource.cs similarity index 77% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupFindRestorableTimeRangesResponseResource.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupFindRestorableTimeRangesResponseResource.cs index 4103a1d16102..fb5a32073565 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupFindRestorableTimeRangesResponseResource.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// List Restore Ranges Response public partial class AzureBackupFindRestorableTimeRangesResponseResource : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesResponseResource, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesResponseResourceInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesResponseResource, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesResponseResourceInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResource __dppResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppResource(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResource __dppResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResourceInternal)__dppResource).Id; } + public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)__dppResource).Id; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesResponse Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesResponseResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupFindRestorableTimeRangesResponse()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesResponse Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesResponseResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupFindRestorableTimeRangesResponse()); set { {_property = value;} } } /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).Id = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)__dppResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)__dppResource).Id = value; } /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).Name = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)__dppResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)__dppResource).Name = value; } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).SystemData = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)__dppResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)__dppResource).SystemData = value; } /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).Type = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)__dppResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResourceInternal)__dppResource).Name; } + public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupFindRestorableTimeRangesResponseInternal)Property).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesResponseInternal)Property).ObjectType = value ?? null; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesResponseInternal)Property).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesResponseInternal)Property).ObjectType = value ?? null; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesResponse _property; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesResponse _property; /// AzureBackupFindRestorableTimeRangesResponseResource properties [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesResponse Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupFindRestorableTimeRangesResponse()); set => this._property = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesResponse Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRestorableTimeRange[] RestorableTimeRange { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesResponseInternal)Property).RestorableTimeRange; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesResponseInternal)Property).RestorableTimeRange = value ?? null /* arrayOf */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestorableTimeRange[] RestorableTimeRange { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesResponseInternal)Property).RestorableTimeRange; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResourceInternal)__dppResource).SystemData; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResourceInternal)__dppResource).Type; } + public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRestorableTimeRange) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestorableTimeRange[] RestorableTimeRange { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestorableTimeRange) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestorableTimeRange[] RestorableTimeRange { get; set; } } /// List Restore Ranges Response internal partial interface IAzureBackupFindRestorableTimeRangesResponseResourceInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal { string ObjectType { get; set; } /// AzureBackupFindRestorableTimeRangesResponseResource properties - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesResponse Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesResponse Property { get; set; } /// Returns the Restore Ranges available on the Backup Instance. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestorableTimeRange[] RestorableTimeRange { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestorableTimeRange[] RestorableTimeRange { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupFindRestorableTimeRangesResponseResource.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupFindRestorableTimeRangesResponseResource.json.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupFindRestorableTimeRangesResponseResource.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupFindRestorableTimeRangesResponseResource.json.cs index c60d29b72633..708f927c88d6 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupFindRestorableTimeRangesResponseResource.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.DppResource(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupFindRestorableTimeRangesResponse.FromJson(__jsonProperties) : Property;} + __dppResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppResource(json); + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupFindRestorableTimeRangesResponse.FromJson(__jsonProperties) : Property;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesResponseResource. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesResponseResource. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesResponseResource. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesResponseResource. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesResponseResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AzureBackupJob.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupJob.PowerShell.cs similarity index 71% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupJob.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupJob.PowerShell.cs index bfc98a6e556a..2dc155319b03 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupJob.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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,181 +70,181 @@ internal AzureBackupJob(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("ExtendedInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ExtendedInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfo) content.GetValueForProperty("ExtendedInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ExtendedInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.JobExtendedInfoTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ExtendedInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfo) content.GetValueForProperty("ExtendedInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ExtendedInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.JobExtendedInfoTypeConverter.ConvertFrom); } if (content.Contains("ActivityId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ActivityId = (string) content.GetValueForProperty("ActivityId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ActivityId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ActivityId = (string) content.GetValueForProperty("ActivityId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ActivityId, global::System.Convert.ToString); } if (content.Contains("BackupInstanceFriendlyName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).BackupInstanceFriendlyName = (string) content.GetValueForProperty("BackupInstanceFriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).BackupInstanceFriendlyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).BackupInstanceFriendlyName = (string) content.GetValueForProperty("BackupInstanceFriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).BackupInstanceFriendlyName, global::System.Convert.ToString); } if (content.Contains("BackupInstanceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).BackupInstanceId = (string) content.GetValueForProperty("BackupInstanceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).BackupInstanceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).BackupInstanceId = (string) content.GetValueForProperty("BackupInstanceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).BackupInstanceId, global::System.Convert.ToString); } if (content.Contains("DataSourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).DataSourceId = (string) content.GetValueForProperty("DataSourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).DataSourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).DataSourceId = (string) content.GetValueForProperty("DataSourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).DataSourceId, global::System.Convert.ToString); } if (content.Contains("DataSourceLocation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).DataSourceLocation = (string) content.GetValueForProperty("DataSourceLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).DataSourceLocation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).DataSourceLocation = (string) content.GetValueForProperty("DataSourceLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).DataSourceLocation, global::System.Convert.ToString); } if (content.Contains("DataSourceName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).DataSourceName = (string) content.GetValueForProperty("DataSourceName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).DataSourceName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).DataSourceName = (string) content.GetValueForProperty("DataSourceName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).DataSourceName, global::System.Convert.ToString); } if (content.Contains("DataSourceSetName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).DataSourceSetName = (string) content.GetValueForProperty("DataSourceSetName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).DataSourceSetName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).DataSourceSetName = (string) content.GetValueForProperty("DataSourceSetName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).DataSourceSetName, global::System.Convert.ToString); } if (content.Contains("DataSourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).DataSourceType = (string) content.GetValueForProperty("DataSourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).DataSourceType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).DataSourceType = (string) content.GetValueForProperty("DataSourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).DataSourceType, global::System.Convert.ToString); } if (content.Contains("Duration")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).Duration = (string) content.GetValueForProperty("Duration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).Duration, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).Duration = (string) content.GetValueForProperty("Duration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).Duration, global::System.Convert.ToString); } if (content.Contains("EndTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).EndTime = (global::System.DateTime?) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IAzureBackupJobInternal)this).EndTime = (global::System.DateTime?) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobInternal)this).ErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingError[]) content.GetValueForProperty("ErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ErrorDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.UserFacingErrorTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError[]) content.GetValueForProperty("ErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ErrorDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.UserFacingErrorTypeConverter.ConvertFrom)); } if (content.Contains("IsUserTriggered")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).IsUserTriggered = (bool) content.GetValueForProperty("IsUserTriggered",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).IsUserTriggered, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).IsUserTriggered = (bool) content.GetValueForProperty("IsUserTriggered",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).IsUserTriggered, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("Operation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).Operation = (string) content.GetValueForProperty("Operation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).Operation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).Operation = (string) content.GetValueForProperty("Operation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).Operation, global::System.Convert.ToString); } if (content.Contains("OperationCategory")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).OperationCategory = (string) content.GetValueForProperty("OperationCategory",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).OperationCategory, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).OperationCategory = (string) content.GetValueForProperty("OperationCategory",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).OperationCategory, global::System.Convert.ToString); } if (content.Contains("PolicyId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).PolicyId = (string) content.GetValueForProperty("PolicyId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).PolicyId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).PolicyId = (string) content.GetValueForProperty("PolicyId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).PolicyId, global::System.Convert.ToString); } if (content.Contains("PolicyName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).PolicyName = (string) content.GetValueForProperty("PolicyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).PolicyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).PolicyName = (string) content.GetValueForProperty("PolicyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).PolicyName, global::System.Convert.ToString); } if (content.Contains("ProgressEnabled")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ProgressEnabled = (bool) content.GetValueForProperty("ProgressEnabled",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ProgressEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ProgressEnabled = (bool) content.GetValueForProperty("ProgressEnabled",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ProgressEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("ProgressUrl")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ProgressUrl = (string) content.GetValueForProperty("ProgressUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ProgressUrl, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ProgressUrl = (string) content.GetValueForProperty("ProgressUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ProgressUrl, global::System.Convert.ToString); } if (content.Contains("RehydrationPriority")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).RehydrationPriority = (string) content.GetValueForProperty("RehydrationPriority",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).RehydrationPriority, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).RehydrationPriority = (string) content.GetValueForProperty("RehydrationPriority",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).RehydrationPriority, global::System.Convert.ToString); } if (content.Contains("RestoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).RestoreType = (string) content.GetValueForProperty("RestoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).RestoreType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).RestoreType = (string) content.GetValueForProperty("RestoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).RestoreType, global::System.Convert.ToString); } if (content.Contains("SourceResourceGroup")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).SourceResourceGroup = (string) content.GetValueForProperty("SourceResourceGroup",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).SourceResourceGroup, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).SourceResourceGroup = (string) content.GetValueForProperty("SourceResourceGroup",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).SourceResourceGroup, global::System.Convert.ToString); } if (content.Contains("SourceSubscriptionId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).SourceSubscriptionId = (string) content.GetValueForProperty("SourceSubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).SourceSubscriptionId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).SourceSubscriptionId = (string) content.GetValueForProperty("SourceSubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).SourceSubscriptionId, global::System.Convert.ToString); } if (content.Contains("StartTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).StartTime = (global::System.DateTime) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IAzureBackupJobInternal)this).StartTime = (global::System.DateTime) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobInternal)this).Status = (string) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).Status, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).Status = (string) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).Status, global::System.Convert.ToString); } if (content.Contains("SubscriptionId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).SubscriptionId = (string) content.GetValueForProperty("SubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).SubscriptionId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).SubscriptionId = (string) content.GetValueForProperty("SubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).SubscriptionId, global::System.Convert.ToString); } if (content.Contains("SupportedAction")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).SupportedAction = (string[]) content.GetValueForProperty("SupportedAction",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).SupportedAction, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).SupportedAction = (string[]) content.GetValueForProperty("SupportedAction",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).SupportedAction, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("VaultName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).VaultName = (string) content.GetValueForProperty("VaultName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).VaultName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).VaultName = (string) content.GetValueForProperty("VaultName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).VaultName, global::System.Convert.ToString); } if (content.Contains("Etag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).Etag = (string) content.GetValueForProperty("Etag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).Etag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).Etag = (string) content.GetValueForProperty("Etag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).Etag, global::System.Convert.ToString); } if (content.Contains("SourceDataStoreName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).SourceDataStoreName = (string) content.GetValueForProperty("SourceDataStoreName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).SourceDataStoreName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).SourceDataStoreName = (string) content.GetValueForProperty("SourceDataStoreName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).SourceDataStoreName, global::System.Convert.ToString); } if (content.Contains("DestinationDataStoreName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).DestinationDataStoreName = (string) content.GetValueForProperty("DestinationDataStoreName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).DestinationDataStoreName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).DestinationDataStoreName = (string) content.GetValueForProperty("DestinationDataStoreName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).DestinationDataStoreName, global::System.Convert.ToString); } if (content.Contains("ExtendedInfoSourceRecoverPoint")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ExtendedInfoSourceRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("ExtendedInfoSourceRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ExtendedInfoSourceRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ExtendedInfoSourceRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("ExtendedInfoSourceRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ExtendedInfoSourceRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); } if (content.Contains("ExtendedInfoTargetRecoverPoint")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ExtendedInfoTargetRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("ExtendedInfoTargetRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ExtendedInfoTargetRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ExtendedInfoTargetRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("ExtendedInfoTargetRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ExtendedInfoTargetRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); } if (content.Contains("ExtendedInfoAdditionalDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ExtendedInfoAdditionalDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoAdditionalDetails) content.GetValueForProperty("ExtendedInfoAdditionalDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ExtendedInfoAdditionalDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.JobExtendedInfoAdditionalDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ExtendedInfoAdditionalDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoAdditionalDetails) content.GetValueForProperty("ExtendedInfoAdditionalDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ExtendedInfoAdditionalDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.JobExtendedInfoAdditionalDetailsTypeConverter.ConvertFrom); } if (content.Contains("ExtendedInfoBackupInstanceState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ExtendedInfoBackupInstanceState = (string) content.GetValueForProperty("ExtendedInfoBackupInstanceState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ExtendedInfoBackupInstanceState, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ExtendedInfoBackupInstanceState = (string) content.GetValueForProperty("ExtendedInfoBackupInstanceState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ExtendedInfoBackupInstanceState, global::System.Convert.ToString); } if (content.Contains("ExtendedInfoDataTransferredInByte")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ExtendedInfoDataTransferredInByte = (double?) content.GetValueForProperty("ExtendedInfoDataTransferredInByte",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ExtendedInfoDataTransferredInByte, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ExtendedInfoDataTransferredInByte = (double?) content.GetValueForProperty("ExtendedInfoDataTransferredInByte",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ExtendedInfoDataTransferredInByte, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); } if (content.Contains("ExtendedInfoRecoveryDestination")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ExtendedInfoRecoveryDestination = (string) content.GetValueForProperty("ExtendedInfoRecoveryDestination",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ExtendedInfoRecoveryDestination, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ExtendedInfoRecoveryDestination = (string) content.GetValueForProperty("ExtendedInfoRecoveryDestination",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ExtendedInfoRecoveryDestination, global::System.Convert.ToString); } if (content.Contains("ExtendedInfoSubTask")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ExtendedInfoSubTask = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTask[]) content.GetValueForProperty("ExtendedInfoSubTask",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ExtendedInfoSubTask, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.JobSubTaskTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ExtendedInfoSubTask = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTask[]) content.GetValueForProperty("ExtendedInfoSubTask",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ExtendedInfoSubTask, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.JobSubTaskTypeConverter.ConvertFrom)); } if (content.Contains("ExtendedInfoWarningDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ExtendedInfoWarningDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingWarningDetail[]) content.GetValueForProperty("ExtendedInfoWarningDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ExtendedInfoWarningDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.UserFacingWarningDetailTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ExtendedInfoWarningDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingWarningDetail[]) content.GetValueForProperty("ExtendedInfoWarningDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ExtendedInfoWarningDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.UserFacingWarningDetailTypeConverter.ConvertFrom)); } if (content.Contains("SourceRecoverPointRecoveryPointId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).SourceRecoverPointRecoveryPointId = (string) content.GetValueForProperty("SourceRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).SourceRecoverPointRecoveryPointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).SourceRecoverPointRecoveryPointId = (string) content.GetValueForProperty("SourceRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).SourceRecoverPointRecoveryPointId, global::System.Convert.ToString); } if (content.Contains("SourceRecoverPointRecoveryPointTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).SourceRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("SourceRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IAzureBackupJobInternal)this).SourceRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("SourceRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobInternal)this).TargetRecoverPointRecoveryPointId = (string) content.GetValueForProperty("TargetRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).TargetRecoverPointRecoveryPointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).TargetRecoverPointRecoveryPointId = (string) content.GetValueForProperty("TargetRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).TargetRecoverPointRecoveryPointId, global::System.Convert.ToString); } if (content.Contains("TargetRecoverPointRecoveryPointTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).TargetRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("TargetRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IAzureBackupJobInternal)this).TargetRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("TargetRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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. @@ -259,201 +259,201 @@ internal AzureBackupJob(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("ExtendedInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ExtendedInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfo) content.GetValueForProperty("ExtendedInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ExtendedInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.JobExtendedInfoTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ExtendedInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfo) content.GetValueForProperty("ExtendedInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ExtendedInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.JobExtendedInfoTypeConverter.ConvertFrom); } if (content.Contains("ActivityId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ActivityId = (string) content.GetValueForProperty("ActivityId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ActivityId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ActivityId = (string) content.GetValueForProperty("ActivityId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ActivityId, global::System.Convert.ToString); } if (content.Contains("BackupInstanceFriendlyName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).BackupInstanceFriendlyName = (string) content.GetValueForProperty("BackupInstanceFriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).BackupInstanceFriendlyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).BackupInstanceFriendlyName = (string) content.GetValueForProperty("BackupInstanceFriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).BackupInstanceFriendlyName, global::System.Convert.ToString); } if (content.Contains("BackupInstanceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).BackupInstanceId = (string) content.GetValueForProperty("BackupInstanceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).BackupInstanceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).BackupInstanceId = (string) content.GetValueForProperty("BackupInstanceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).BackupInstanceId, global::System.Convert.ToString); } if (content.Contains("DataSourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).DataSourceId = (string) content.GetValueForProperty("DataSourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).DataSourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).DataSourceId = (string) content.GetValueForProperty("DataSourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).DataSourceId, global::System.Convert.ToString); } if (content.Contains("DataSourceLocation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).DataSourceLocation = (string) content.GetValueForProperty("DataSourceLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).DataSourceLocation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).DataSourceLocation = (string) content.GetValueForProperty("DataSourceLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).DataSourceLocation, global::System.Convert.ToString); } if (content.Contains("DataSourceName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).DataSourceName = (string) content.GetValueForProperty("DataSourceName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).DataSourceName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).DataSourceName = (string) content.GetValueForProperty("DataSourceName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).DataSourceName, global::System.Convert.ToString); } if (content.Contains("DataSourceSetName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).DataSourceSetName = (string) content.GetValueForProperty("DataSourceSetName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).DataSourceSetName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).DataSourceSetName = (string) content.GetValueForProperty("DataSourceSetName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).DataSourceSetName, global::System.Convert.ToString); } if (content.Contains("DataSourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).DataSourceType = (string) content.GetValueForProperty("DataSourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).DataSourceType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).DataSourceType = (string) content.GetValueForProperty("DataSourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).DataSourceType, global::System.Convert.ToString); } if (content.Contains("Duration")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).Duration = (string) content.GetValueForProperty("Duration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).Duration, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).Duration = (string) content.GetValueForProperty("Duration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).Duration, global::System.Convert.ToString); } if (content.Contains("EndTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).EndTime = (global::System.DateTime?) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IAzureBackupJobInternal)this).EndTime = (global::System.DateTime?) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobInternal)this).ErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingError[]) content.GetValueForProperty("ErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ErrorDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.UserFacingErrorTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError[]) content.GetValueForProperty("ErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ErrorDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.UserFacingErrorTypeConverter.ConvertFrom)); } if (content.Contains("IsUserTriggered")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).IsUserTriggered = (bool) content.GetValueForProperty("IsUserTriggered",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).IsUserTriggered, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).IsUserTriggered = (bool) content.GetValueForProperty("IsUserTriggered",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).IsUserTriggered, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("Operation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).Operation = (string) content.GetValueForProperty("Operation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).Operation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).Operation = (string) content.GetValueForProperty("Operation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).Operation, global::System.Convert.ToString); } if (content.Contains("OperationCategory")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).OperationCategory = (string) content.GetValueForProperty("OperationCategory",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).OperationCategory, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).OperationCategory = (string) content.GetValueForProperty("OperationCategory",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).OperationCategory, global::System.Convert.ToString); } if (content.Contains("PolicyId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).PolicyId = (string) content.GetValueForProperty("PolicyId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).PolicyId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).PolicyId = (string) content.GetValueForProperty("PolicyId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).PolicyId, global::System.Convert.ToString); } if (content.Contains("PolicyName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).PolicyName = (string) content.GetValueForProperty("PolicyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).PolicyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).PolicyName = (string) content.GetValueForProperty("PolicyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).PolicyName, global::System.Convert.ToString); } if (content.Contains("ProgressEnabled")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ProgressEnabled = (bool) content.GetValueForProperty("ProgressEnabled",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ProgressEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ProgressEnabled = (bool) content.GetValueForProperty("ProgressEnabled",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ProgressEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("ProgressUrl")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ProgressUrl = (string) content.GetValueForProperty("ProgressUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ProgressUrl, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ProgressUrl = (string) content.GetValueForProperty("ProgressUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ProgressUrl, global::System.Convert.ToString); } if (content.Contains("RehydrationPriority")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).RehydrationPriority = (string) content.GetValueForProperty("RehydrationPriority",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).RehydrationPriority, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).RehydrationPriority = (string) content.GetValueForProperty("RehydrationPriority",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).RehydrationPriority, global::System.Convert.ToString); } if (content.Contains("RestoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).RestoreType = (string) content.GetValueForProperty("RestoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).RestoreType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).RestoreType = (string) content.GetValueForProperty("RestoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).RestoreType, global::System.Convert.ToString); } if (content.Contains("SourceResourceGroup")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).SourceResourceGroup = (string) content.GetValueForProperty("SourceResourceGroup",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).SourceResourceGroup, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).SourceResourceGroup = (string) content.GetValueForProperty("SourceResourceGroup",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).SourceResourceGroup, global::System.Convert.ToString); } if (content.Contains("SourceSubscriptionId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).SourceSubscriptionId = (string) content.GetValueForProperty("SourceSubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).SourceSubscriptionId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).SourceSubscriptionId = (string) content.GetValueForProperty("SourceSubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).SourceSubscriptionId, global::System.Convert.ToString); } if (content.Contains("StartTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).StartTime = (global::System.DateTime) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IAzureBackupJobInternal)this).StartTime = (global::System.DateTime) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobInternal)this).Status = (string) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).Status, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).Status = (string) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).Status, global::System.Convert.ToString); } if (content.Contains("SubscriptionId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).SubscriptionId = (string) content.GetValueForProperty("SubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).SubscriptionId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).SubscriptionId = (string) content.GetValueForProperty("SubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).SubscriptionId, global::System.Convert.ToString); } if (content.Contains("SupportedAction")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).SupportedAction = (string[]) content.GetValueForProperty("SupportedAction",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).SupportedAction, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).SupportedAction = (string[]) content.GetValueForProperty("SupportedAction",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).SupportedAction, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("VaultName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).VaultName = (string) content.GetValueForProperty("VaultName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).VaultName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).VaultName = (string) content.GetValueForProperty("VaultName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).VaultName, global::System.Convert.ToString); } if (content.Contains("Etag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).Etag = (string) content.GetValueForProperty("Etag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).Etag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).Etag = (string) content.GetValueForProperty("Etag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).Etag, global::System.Convert.ToString); } if (content.Contains("SourceDataStoreName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).SourceDataStoreName = (string) content.GetValueForProperty("SourceDataStoreName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).SourceDataStoreName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).SourceDataStoreName = (string) content.GetValueForProperty("SourceDataStoreName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).SourceDataStoreName, global::System.Convert.ToString); } if (content.Contains("DestinationDataStoreName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).DestinationDataStoreName = (string) content.GetValueForProperty("DestinationDataStoreName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).DestinationDataStoreName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).DestinationDataStoreName = (string) content.GetValueForProperty("DestinationDataStoreName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).DestinationDataStoreName, global::System.Convert.ToString); } if (content.Contains("ExtendedInfoSourceRecoverPoint")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ExtendedInfoSourceRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("ExtendedInfoSourceRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ExtendedInfoSourceRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ExtendedInfoSourceRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("ExtendedInfoSourceRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ExtendedInfoSourceRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); } if (content.Contains("ExtendedInfoTargetRecoverPoint")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ExtendedInfoTargetRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("ExtendedInfoTargetRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ExtendedInfoTargetRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ExtendedInfoTargetRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("ExtendedInfoTargetRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ExtendedInfoTargetRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); } if (content.Contains("ExtendedInfoAdditionalDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ExtendedInfoAdditionalDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoAdditionalDetails) content.GetValueForProperty("ExtendedInfoAdditionalDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ExtendedInfoAdditionalDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.JobExtendedInfoAdditionalDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ExtendedInfoAdditionalDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoAdditionalDetails) content.GetValueForProperty("ExtendedInfoAdditionalDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ExtendedInfoAdditionalDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.JobExtendedInfoAdditionalDetailsTypeConverter.ConvertFrom); } if (content.Contains("ExtendedInfoBackupInstanceState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ExtendedInfoBackupInstanceState = (string) content.GetValueForProperty("ExtendedInfoBackupInstanceState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ExtendedInfoBackupInstanceState, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ExtendedInfoBackupInstanceState = (string) content.GetValueForProperty("ExtendedInfoBackupInstanceState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ExtendedInfoBackupInstanceState, global::System.Convert.ToString); } if (content.Contains("ExtendedInfoDataTransferredInByte")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ExtendedInfoDataTransferredInByte = (double?) content.GetValueForProperty("ExtendedInfoDataTransferredInByte",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ExtendedInfoDataTransferredInByte, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ExtendedInfoDataTransferredInByte = (double?) content.GetValueForProperty("ExtendedInfoDataTransferredInByte",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ExtendedInfoDataTransferredInByte, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); } if (content.Contains("ExtendedInfoRecoveryDestination")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ExtendedInfoRecoveryDestination = (string) content.GetValueForProperty("ExtendedInfoRecoveryDestination",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ExtendedInfoRecoveryDestination, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ExtendedInfoRecoveryDestination = (string) content.GetValueForProperty("ExtendedInfoRecoveryDestination",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ExtendedInfoRecoveryDestination, global::System.Convert.ToString); } if (content.Contains("ExtendedInfoSubTask")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ExtendedInfoSubTask = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTask[]) content.GetValueForProperty("ExtendedInfoSubTask",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ExtendedInfoSubTask, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.JobSubTaskTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ExtendedInfoSubTask = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTask[]) content.GetValueForProperty("ExtendedInfoSubTask",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ExtendedInfoSubTask, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.JobSubTaskTypeConverter.ConvertFrom)); } if (content.Contains("ExtendedInfoWarningDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ExtendedInfoWarningDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingWarningDetail[]) content.GetValueForProperty("ExtendedInfoWarningDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).ExtendedInfoWarningDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.UserFacingWarningDetailTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ExtendedInfoWarningDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingWarningDetail[]) content.GetValueForProperty("ExtendedInfoWarningDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).ExtendedInfoWarningDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.UserFacingWarningDetailTypeConverter.ConvertFrom)); } if (content.Contains("SourceRecoverPointRecoveryPointId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).SourceRecoverPointRecoveryPointId = (string) content.GetValueForProperty("SourceRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).SourceRecoverPointRecoveryPointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).SourceRecoverPointRecoveryPointId = (string) content.GetValueForProperty("SourceRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).SourceRecoverPointRecoveryPointId, global::System.Convert.ToString); } if (content.Contains("SourceRecoverPointRecoveryPointTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).SourceRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("SourceRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IAzureBackupJobInternal)this).SourceRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("SourceRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobInternal)this).TargetRecoverPointRecoveryPointId = (string) content.GetValueForProperty("TargetRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).TargetRecoverPointRecoveryPointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).TargetRecoverPointRecoveryPointId = (string) content.GetValueForProperty("TargetRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)this).TargetRecoverPointRecoveryPointId, global::System.Convert.ToString); } if (content.Contains("TargetRecoverPointRecoveryPointTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)this).TargetRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("TargetRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IAzureBackupJobInternal)this).TargetRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("TargetRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJob DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJob DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJob DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureBackupJob(content); } @@ -463,7 +463,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJob FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AzureBackupJob.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupJob.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupJob.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupJob.TypeConverter.cs index bed16ff3acf5..a0944a117cef 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupJob.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAzureBackupJob ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJob ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJob).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJob).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupJob.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupJob.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupJob.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupJob.cs index 10f6c341107e..f621f9cb70fa 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupJob.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// AzureBackup Job Class public partial class AzureBackupJob : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJob, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJob, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IUserFacingError[] _errorDetail; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IUserFacingError[] ErrorDetail { get => this._errorDetail; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError[] ErrorDetail { get => this._errorDetail; } /// Backing field for property. private string _etag; @@ -103,35 +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.Api20231201.IJobExtendedInfo _extendedInfo; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IJobExtendedInfo ExtendedInfo { get => (this._extendedInfo = this._extendedInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.JobExtendedInfo()); } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfo ExtendedInfo { get => (this._extendedInfo = this._extendedInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IJobExtendedInfoAdditionalDetails ExtendedInfoAdditionalDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)ExtendedInfo).AdditionalDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)ExtendedInfo).AdditionalDetail = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoAdditionalDetails ExtendedInfoAdditionalDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)ExtendedInfo).AdditionalDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IJobExtendedInfoInternal)ExtendedInfo).BackupInstanceState; } + public string ExtendedInfoBackupInstanceState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IJobExtendedInfoInternal)ExtendedInfo).DataTransferredInByte; } + public double? ExtendedInfoDataTransferredInByte { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IJobExtendedInfoInternal)ExtendedInfo).RecoveryDestination; } + public string ExtendedInfoRecoveryDestination { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IJobSubTask[] ExtendedInfoSubTask { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)ExtendedInfo).SubTask; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTask[] ExtendedInfoSubTask { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IUserFacingWarningDetail[] ExtendedInfoWarningDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)ExtendedInfo).WarningDetail; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingWarningDetail[] ExtendedInfoWarningDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)ExtendedInfo).WarningDetail; } /// Backing field for property. private bool _isUserTriggered; @@ -141,52 +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.Api20231201.IAzureBackupJobInternal.BackupInstanceId { get => this._backupInstanceId; set { {_backupInstanceId = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal.BackupInstanceId { get => this._backupInstanceId; set { {_backupInstanceId = value;} } } /// Internal Acessors for EndTime - global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal.EndTime { get => this._endTime; set { {_endTime = value;} } } + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal.EndTime { get => this._endTime; set { {_endTime = value;} } } /// Internal Acessors for ErrorDetail - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingError[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal.ErrorDetail { get => this._errorDetail; set { {_errorDetail = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal.ErrorDetail { get => this._errorDetail; set { {_errorDetail = value;} } } /// Internal Acessors for ExtendedInfo - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfo Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal.ExtendedInfo { get => (this._extendedInfo = this._extendedInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.JobExtendedInfo()); set { {_extendedInfo = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfo Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal.ExtendedInfo { get => (this._extendedInfo = this._extendedInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.JobExtendedInfo()); set { {_extendedInfo = value;} } } /// Internal Acessors for ExtendedInfoBackupInstanceState - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal.ExtendedInfoBackupInstanceState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)ExtendedInfo).BackupInstanceState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)ExtendedInfo).BackupInstanceState = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal.ExtendedInfoBackupInstanceState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)ExtendedInfo).BackupInstanceState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)ExtendedInfo).BackupInstanceState = value; } /// Internal Acessors for ExtendedInfoDataTransferredInByte - double? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal.ExtendedInfoDataTransferredInByte { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)ExtendedInfo).DataTransferredInByte; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)ExtendedInfo).DataTransferredInByte = value; } + double? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal.ExtendedInfoDataTransferredInByte { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)ExtendedInfo).DataTransferredInByte; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)ExtendedInfo).DataTransferredInByte = value; } /// Internal Acessors for ExtendedInfoRecoveryDestination - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal.ExtendedInfoRecoveryDestination { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)ExtendedInfo).RecoveryDestination; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)ExtendedInfo).RecoveryDestination = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal.ExtendedInfoRecoveryDestination { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)ExtendedInfo).RecoveryDestination; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)ExtendedInfo).RecoveryDestination = value; } /// Internal Acessors for ExtendedInfoSourceRecoverPoint - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreJobRecoveryPointDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal.ExtendedInfoSourceRecoverPoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)ExtendedInfo).SourceRecoverPoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)ExtendedInfo).SourceRecoverPoint = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreJobRecoveryPointDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal.ExtendedInfoSourceRecoverPoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)ExtendedInfo).SourceRecoverPoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)ExtendedInfo).SourceRecoverPoint = value; } /// Internal Acessors for ExtendedInfoSubTask - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTask[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal.ExtendedInfoSubTask { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)ExtendedInfo).SubTask; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)ExtendedInfo).SubTask = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTask[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal.ExtendedInfoSubTask { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)ExtendedInfo).SubTask; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)ExtendedInfo).SubTask = value; } /// Internal Acessors for ExtendedInfoTargetRecoverPoint - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreJobRecoveryPointDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal.ExtendedInfoTargetRecoverPoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)ExtendedInfo).TargetRecoverPoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)ExtendedInfo).TargetRecoverPoint = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreJobRecoveryPointDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal.ExtendedInfoTargetRecoverPoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)ExtendedInfo).TargetRecoverPoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)ExtendedInfo).TargetRecoverPoint = value; } /// Internal Acessors for ExtendedInfoWarningDetail - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingWarningDetail[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal.ExtendedInfoWarningDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)ExtendedInfo).WarningDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)ExtendedInfo).WarningDetail = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingWarningDetail[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal.ExtendedInfoWarningDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)ExtendedInfo).WarningDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)ExtendedInfo).WarningDetail = value; } /// Internal Acessors for PolicyId - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal.PolicyId { get => this._policyId; set { {_policyId = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal.PolicyId { get => this._policyId; set { {_policyId = value;} } } /// Internal Acessors for PolicyName - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal.PolicyName { get => this._policyName; set { {_policyName = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal.PolicyName { get => this._policyName; set { {_policyName = value;} } } /// Internal Acessors for ProgressUrl - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal.ProgressUrl { get => this._progressUrl; set { {_progressUrl = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal.ProgressUrl { get => this._progressUrl; set { {_progressUrl = value;} } } /// Internal Acessors for RehydrationPriority - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal.RehydrationPriority { get => this._rehydrationPriority; set { {_rehydrationPriority = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal.RehydrationPriority { get => this._rehydrationPriority; set { {_rehydrationPriority = value;} } } /// Internal Acessors for RestoreType - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal.RestoreType { get => this._restoreType; set { {_restoreType = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal.RestoreType { get => this._restoreType; set { {_restoreType = value;} } } /// Backing field for property. private string _operation; @@ -255,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.Api20231201.IJobExtendedInfoInternal)ExtendedInfo).SourceRecoverPointRecoveryPointId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)ExtendedInfo).SourceRecoverPointRecoveryPointId = value ?? null; } + public string SourceRecoverPointRecoveryPointId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)ExtendedInfo).SourceRecoverPointRecoveryPointId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IJobExtendedInfoInternal)ExtendedInfo).SourceRecoverPointRecoveryPointTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)ExtendedInfo).SourceRecoverPointRecoveryPointTime = value ?? default(global::System.DateTime); } + public global::System.DateTime? SourceRecoverPointRecoveryPointTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)ExtendedInfo).SourceRecoverPointRecoveryPointTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)ExtendedInfo).SourceRecoverPointRecoveryPointTime = value ?? default(global::System.DateTime); } /// Backing field for property. private string _sourceResourceGroup; @@ -303,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.Api20231201.IJobExtendedInfoInternal)ExtendedInfo).TargetRecoverPointRecoveryPointId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)ExtendedInfo).TargetRecoverPointRecoveryPointId = value ?? null; } + public string TargetRecoverPointRecoveryPointId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)ExtendedInfo).TargetRecoverPointRecoveryPointId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IJobExtendedInfoInternal)ExtendedInfo).TargetRecoverPointRecoveryPointTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)ExtendedInfo).TargetRecoverPointRecoveryPointTime = value ?? default(global::System.DateTime); } + public global::System.DateTime? TargetRecoverPointRecoveryPointTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)ExtendedInfo).TargetRecoverPointRecoveryPointTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)ExtendedInfo).TargetRecoverPointRecoveryPointTime = value ?? default(global::System.DateTime); } /// Backing field for property. private string _vaultName; @@ -419,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.Api20231201.IUserFacingError) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingError[] ErrorDetail { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError[] ErrorDetail { get; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -435,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.Api20231201.IJobExtendedInfoAdditionalDetails) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoAdditionalDetails ExtendedInfoAdditionalDetail { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoAdditionalDetails) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoAdditionalDetails ExtendedInfoAdditionalDetail { get; set; } /// State of the Backup Instance [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -467,16 +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.Api20231201.IJobSubTask) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTask[] ExtendedInfoSubTask { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTask) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IUserFacingWarningDetail) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingWarningDetail[] ExtendedInfoWarningDetail { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingWarningDetail) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingWarningDetail[] ExtendedInfoWarningDetail { get; } /// Indicated that whether the job is adhoc(true) or scheduled(false) [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = true, @@ -678,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.Api20231201.IUserFacingError[] ErrorDetail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError[] ErrorDetail { get; set; } string Etag { get; set; } /// Extended Information about the job - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfo ExtendedInfo { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfo ExtendedInfo { get; set; } /// Job's Additional Details - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoAdditionalDetails ExtendedInfoAdditionalDetail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoAdditionalDetails ExtendedInfoAdditionalDetail { get; set; } /// State of the Backup Instance string ExtendedInfoBackupInstanceState { get; set; } /// Number of bytes transferred @@ -692,13 +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.Api20231201.IRestoreJobRecoveryPointDetails ExtendedInfoSourceRecoverPoint { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreJobRecoveryPointDetails ExtendedInfoSourceRecoverPoint { get; set; } /// List of Sub Tasks of the job - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTask[] ExtendedInfoSubTask { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTask[] ExtendedInfoSubTask { get; set; } /// Details of the Target Recovery Point - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreJobRecoveryPointDetails ExtendedInfoTargetRecoverPoint { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreJobRecoveryPointDetails ExtendedInfoTargetRecoverPoint { get; set; } /// A List, detailing the warnings related to the job - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingWarningDetail[] ExtendedInfoWarningDetail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AzureBackupJob.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupJob.json.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupJob.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupJob.json.cs index 89a2689b42bd..2961da533cc6 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupJob.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.JobExtendedInfo.FromJson(__jsonExtendedInfo) : ExtendedInfo;} + {_extendedInfo = If( json?.PropertyT("extendedInfo"), out var __jsonExtendedInfo) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IUserFacingError) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IUserFacingError) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJob. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJob. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJob. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJob. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJob FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AzureBackupJobResource.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupJobResource.PowerShell.cs similarity index 72% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupJobResource.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupJobResource.PowerShell.cs index 3bb64bfe9ab3..25a1e54b1a11 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupJobResource.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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,201 +70,201 @@ internal AzureBackupJobResource(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJob) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupJobTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJob) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupJobTypeConverter.ConvertFrom); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("ExtendedInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ExtendedInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfo) content.GetValueForProperty("ExtendedInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ExtendedInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.JobExtendedInfoTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ExtendedInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfo) content.GetValueForProperty("ExtendedInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ExtendedInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.JobExtendedInfoTypeConverter.ConvertFrom); } if (content.Contains("ActivityId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ActivityId = (string) content.GetValueForProperty("ActivityId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ActivityId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ActivityId = (string) content.GetValueForProperty("ActivityId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ActivityId, global::System.Convert.ToString); } if (content.Contains("BackupInstanceFriendlyName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).BackupInstanceFriendlyName = (string) content.GetValueForProperty("BackupInstanceFriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).BackupInstanceFriendlyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).BackupInstanceFriendlyName = (string) content.GetValueForProperty("BackupInstanceFriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).BackupInstanceFriendlyName, global::System.Convert.ToString); } if (content.Contains("BackupInstanceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).BackupInstanceId = (string) content.GetValueForProperty("BackupInstanceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).BackupInstanceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).BackupInstanceId = (string) content.GetValueForProperty("BackupInstanceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).BackupInstanceId, global::System.Convert.ToString); } if (content.Contains("DataSourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).DataSourceId = (string) content.GetValueForProperty("DataSourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).DataSourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).DataSourceId = (string) content.GetValueForProperty("DataSourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).DataSourceId, global::System.Convert.ToString); } if (content.Contains("DataSourceLocation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).DataSourceLocation = (string) content.GetValueForProperty("DataSourceLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).DataSourceLocation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).DataSourceLocation = (string) content.GetValueForProperty("DataSourceLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).DataSourceLocation, global::System.Convert.ToString); } if (content.Contains("DataSourceName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).DataSourceName = (string) content.GetValueForProperty("DataSourceName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).DataSourceName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).DataSourceName = (string) content.GetValueForProperty("DataSourceName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).DataSourceName, global::System.Convert.ToString); } if (content.Contains("DataSourceSetName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).DataSourceSetName = (string) content.GetValueForProperty("DataSourceSetName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).DataSourceSetName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).DataSourceSetName = (string) content.GetValueForProperty("DataSourceSetName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).DataSourceSetName, global::System.Convert.ToString); } if (content.Contains("DataSourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).DataSourceType = (string) content.GetValueForProperty("DataSourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).DataSourceType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).DataSourceType = (string) content.GetValueForProperty("DataSourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).DataSourceType, global::System.Convert.ToString); } if (content.Contains("Duration")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).Duration = (string) content.GetValueForProperty("Duration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).Duration, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).Duration = (string) content.GetValueForProperty("Duration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).Duration, global::System.Convert.ToString); } if (content.Contains("EndTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).EndTime = (global::System.DateTime?) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IAzureBackupJobResourceInternal)this).EndTime = (global::System.DateTime?) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobResourceInternal)this).ErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingError[]) content.GetValueForProperty("ErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ErrorDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.UserFacingErrorTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError[]) content.GetValueForProperty("ErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ErrorDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.UserFacingErrorTypeConverter.ConvertFrom)); } if (content.Contains("IsUserTriggered")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).IsUserTriggered = (bool) content.GetValueForProperty("IsUserTriggered",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).IsUserTriggered, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).IsUserTriggered = (bool) content.GetValueForProperty("IsUserTriggered",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).IsUserTriggered, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("Operation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).Operation = (string) content.GetValueForProperty("Operation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).Operation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).Operation = (string) content.GetValueForProperty("Operation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).Operation, global::System.Convert.ToString); } if (content.Contains("OperationCategory")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).OperationCategory = (string) content.GetValueForProperty("OperationCategory",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).OperationCategory, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).OperationCategory = (string) content.GetValueForProperty("OperationCategory",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).OperationCategory, global::System.Convert.ToString); } if (content.Contains("PolicyId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).PolicyId = (string) content.GetValueForProperty("PolicyId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).PolicyId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).PolicyId = (string) content.GetValueForProperty("PolicyId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).PolicyId, global::System.Convert.ToString); } if (content.Contains("PolicyName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).PolicyName = (string) content.GetValueForProperty("PolicyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).PolicyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).PolicyName = (string) content.GetValueForProperty("PolicyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).PolicyName, global::System.Convert.ToString); } if (content.Contains("ProgressEnabled")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ProgressEnabled = (bool) content.GetValueForProperty("ProgressEnabled",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ProgressEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ProgressEnabled = (bool) content.GetValueForProperty("ProgressEnabled",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ProgressEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("ProgressUrl")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ProgressUrl = (string) content.GetValueForProperty("ProgressUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ProgressUrl, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ProgressUrl = (string) content.GetValueForProperty("ProgressUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ProgressUrl, global::System.Convert.ToString); } if (content.Contains("RehydrationPriority")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).RehydrationPriority = (string) content.GetValueForProperty("RehydrationPriority",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).RehydrationPriority, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).RehydrationPriority = (string) content.GetValueForProperty("RehydrationPriority",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).RehydrationPriority, global::System.Convert.ToString); } if (content.Contains("RestoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).RestoreType = (string) content.GetValueForProperty("RestoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).RestoreType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).RestoreType = (string) content.GetValueForProperty("RestoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).RestoreType, global::System.Convert.ToString); } if (content.Contains("SourceResourceGroup")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).SourceResourceGroup = (string) content.GetValueForProperty("SourceResourceGroup",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).SourceResourceGroup, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).SourceResourceGroup = (string) content.GetValueForProperty("SourceResourceGroup",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).SourceResourceGroup, global::System.Convert.ToString); } if (content.Contains("SourceSubscriptionId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).SourceSubscriptionId = (string) content.GetValueForProperty("SourceSubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).SourceSubscriptionId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).SourceSubscriptionId = (string) content.GetValueForProperty("SourceSubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).SourceSubscriptionId, global::System.Convert.ToString); } if (content.Contains("StartTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).StartTime = (global::System.DateTime) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IAzureBackupJobResourceInternal)this).StartTime = (global::System.DateTime) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobResourceInternal)this).Status = (string) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).Status, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).Status = (string) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).Status, global::System.Convert.ToString); } if (content.Contains("SubscriptionId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).SubscriptionId = (string) content.GetValueForProperty("SubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).SubscriptionId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).SubscriptionId = (string) content.GetValueForProperty("SubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).SubscriptionId, global::System.Convert.ToString); } if (content.Contains("SupportedAction")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).SupportedAction = (string[]) content.GetValueForProperty("SupportedAction",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).SupportedAction, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).SupportedAction = (string[]) content.GetValueForProperty("SupportedAction",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).SupportedAction, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("VaultName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).VaultName = (string) content.GetValueForProperty("VaultName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).VaultName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).VaultName = (string) content.GetValueForProperty("VaultName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).VaultName, global::System.Convert.ToString); } if (content.Contains("Etag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).Etag = (string) content.GetValueForProperty("Etag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).Etag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).Etag = (string) content.GetValueForProperty("Etag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).Etag, global::System.Convert.ToString); } if (content.Contains("SourceDataStoreName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).SourceDataStoreName = (string) content.GetValueForProperty("SourceDataStoreName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).SourceDataStoreName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).SourceDataStoreName = (string) content.GetValueForProperty("SourceDataStoreName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).SourceDataStoreName, global::System.Convert.ToString); } if (content.Contains("DestinationDataStoreName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).DestinationDataStoreName = (string) content.GetValueForProperty("DestinationDataStoreName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).DestinationDataStoreName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).DestinationDataStoreName = (string) content.GetValueForProperty("DestinationDataStoreName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).DestinationDataStoreName, global::System.Convert.ToString); } if (content.Contains("ExtendedInfoSourceRecoverPoint")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ExtendedInfoSourceRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("ExtendedInfoSourceRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ExtendedInfoSourceRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ExtendedInfoSourceRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("ExtendedInfoSourceRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ExtendedInfoSourceRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); } if (content.Contains("ExtendedInfoTargetRecoverPoint")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ExtendedInfoTargetRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("ExtendedInfoTargetRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ExtendedInfoTargetRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ExtendedInfoTargetRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("ExtendedInfoTargetRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ExtendedInfoTargetRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); } if (content.Contains("ExtendedInfoAdditionalDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ExtendedInfoAdditionalDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoAdditionalDetails) content.GetValueForProperty("ExtendedInfoAdditionalDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ExtendedInfoAdditionalDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.JobExtendedInfoAdditionalDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ExtendedInfoAdditionalDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoAdditionalDetails) content.GetValueForProperty("ExtendedInfoAdditionalDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ExtendedInfoAdditionalDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.JobExtendedInfoAdditionalDetailsTypeConverter.ConvertFrom); } if (content.Contains("ExtendedInfoBackupInstanceState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ExtendedInfoBackupInstanceState = (string) content.GetValueForProperty("ExtendedInfoBackupInstanceState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ExtendedInfoBackupInstanceState, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ExtendedInfoBackupInstanceState = (string) content.GetValueForProperty("ExtendedInfoBackupInstanceState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ExtendedInfoBackupInstanceState, global::System.Convert.ToString); } if (content.Contains("ExtendedInfoDataTransferredInByte")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ExtendedInfoDataTransferredInByte = (double?) content.GetValueForProperty("ExtendedInfoDataTransferredInByte",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ExtendedInfoDataTransferredInByte, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ExtendedInfoDataTransferredInByte = (double?) content.GetValueForProperty("ExtendedInfoDataTransferredInByte",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ExtendedInfoDataTransferredInByte, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); } if (content.Contains("ExtendedInfoRecoveryDestination")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ExtendedInfoRecoveryDestination = (string) content.GetValueForProperty("ExtendedInfoRecoveryDestination",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ExtendedInfoRecoveryDestination, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ExtendedInfoRecoveryDestination = (string) content.GetValueForProperty("ExtendedInfoRecoveryDestination",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ExtendedInfoRecoveryDestination, global::System.Convert.ToString); } if (content.Contains("ExtendedInfoSubTask")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ExtendedInfoSubTask = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTask[]) content.GetValueForProperty("ExtendedInfoSubTask",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ExtendedInfoSubTask, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.JobSubTaskTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ExtendedInfoSubTask = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTask[]) content.GetValueForProperty("ExtendedInfoSubTask",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ExtendedInfoSubTask, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.JobSubTaskTypeConverter.ConvertFrom)); } if (content.Contains("ExtendedInfoWarningDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ExtendedInfoWarningDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingWarningDetail[]) content.GetValueForProperty("ExtendedInfoWarningDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ExtendedInfoWarningDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.UserFacingWarningDetailTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ExtendedInfoWarningDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingWarningDetail[]) content.GetValueForProperty("ExtendedInfoWarningDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ExtendedInfoWarningDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.UserFacingWarningDetailTypeConverter.ConvertFrom)); } if (content.Contains("SourceRecoverPointRecoveryPointId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).SourceRecoverPointRecoveryPointId = (string) content.GetValueForProperty("SourceRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).SourceRecoverPointRecoveryPointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).SourceRecoverPointRecoveryPointId = (string) content.GetValueForProperty("SourceRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).SourceRecoverPointRecoveryPointId, global::System.Convert.ToString); } if (content.Contains("SourceRecoverPointRecoveryPointTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).SourceRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("SourceRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IAzureBackupJobResourceInternal)this).SourceRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("SourceRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobResourceInternal)this).TargetRecoverPointRecoveryPointId = (string) content.GetValueForProperty("TargetRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).TargetRecoverPointRecoveryPointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).TargetRecoverPointRecoveryPointId = (string) content.GetValueForProperty("TargetRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).TargetRecoverPointRecoveryPointId, global::System.Convert.ToString); } if (content.Contains("TargetRecoverPointRecoveryPointTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).TargetRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("TargetRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IAzureBackupJobResourceInternal)this).TargetRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("TargetRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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. @@ -279,223 +279,223 @@ internal AzureBackupJobResource(global::System.Management.Automation.PSObject co // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJob) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupJobTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJob) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupJobTypeConverter.ConvertFrom); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("ExtendedInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ExtendedInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfo) content.GetValueForProperty("ExtendedInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ExtendedInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.JobExtendedInfoTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ExtendedInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfo) content.GetValueForProperty("ExtendedInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ExtendedInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.JobExtendedInfoTypeConverter.ConvertFrom); } if (content.Contains("ActivityId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ActivityId = (string) content.GetValueForProperty("ActivityId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ActivityId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ActivityId = (string) content.GetValueForProperty("ActivityId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ActivityId, global::System.Convert.ToString); } if (content.Contains("BackupInstanceFriendlyName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).BackupInstanceFriendlyName = (string) content.GetValueForProperty("BackupInstanceFriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).BackupInstanceFriendlyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).BackupInstanceFriendlyName = (string) content.GetValueForProperty("BackupInstanceFriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).BackupInstanceFriendlyName, global::System.Convert.ToString); } if (content.Contains("BackupInstanceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).BackupInstanceId = (string) content.GetValueForProperty("BackupInstanceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).BackupInstanceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).BackupInstanceId = (string) content.GetValueForProperty("BackupInstanceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).BackupInstanceId, global::System.Convert.ToString); } if (content.Contains("DataSourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).DataSourceId = (string) content.GetValueForProperty("DataSourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).DataSourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).DataSourceId = (string) content.GetValueForProperty("DataSourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).DataSourceId, global::System.Convert.ToString); } if (content.Contains("DataSourceLocation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).DataSourceLocation = (string) content.GetValueForProperty("DataSourceLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).DataSourceLocation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).DataSourceLocation = (string) content.GetValueForProperty("DataSourceLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).DataSourceLocation, global::System.Convert.ToString); } if (content.Contains("DataSourceName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).DataSourceName = (string) content.GetValueForProperty("DataSourceName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).DataSourceName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).DataSourceName = (string) content.GetValueForProperty("DataSourceName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).DataSourceName, global::System.Convert.ToString); } if (content.Contains("DataSourceSetName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).DataSourceSetName = (string) content.GetValueForProperty("DataSourceSetName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).DataSourceSetName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).DataSourceSetName = (string) content.GetValueForProperty("DataSourceSetName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).DataSourceSetName, global::System.Convert.ToString); } if (content.Contains("DataSourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).DataSourceType = (string) content.GetValueForProperty("DataSourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).DataSourceType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).DataSourceType = (string) content.GetValueForProperty("DataSourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).DataSourceType, global::System.Convert.ToString); } if (content.Contains("Duration")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).Duration = (string) content.GetValueForProperty("Duration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).Duration, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).Duration = (string) content.GetValueForProperty("Duration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).Duration, global::System.Convert.ToString); } if (content.Contains("EndTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).EndTime = (global::System.DateTime?) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IAzureBackupJobResourceInternal)this).EndTime = (global::System.DateTime?) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobResourceInternal)this).ErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingError[]) content.GetValueForProperty("ErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ErrorDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.UserFacingErrorTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError[]) content.GetValueForProperty("ErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ErrorDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.UserFacingErrorTypeConverter.ConvertFrom)); } if (content.Contains("IsUserTriggered")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).IsUserTriggered = (bool) content.GetValueForProperty("IsUserTriggered",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).IsUserTriggered, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).IsUserTriggered = (bool) content.GetValueForProperty("IsUserTriggered",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).IsUserTriggered, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("Operation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).Operation = (string) content.GetValueForProperty("Operation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).Operation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).Operation = (string) content.GetValueForProperty("Operation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).Operation, global::System.Convert.ToString); } if (content.Contains("OperationCategory")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).OperationCategory = (string) content.GetValueForProperty("OperationCategory",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).OperationCategory, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).OperationCategory = (string) content.GetValueForProperty("OperationCategory",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).OperationCategory, global::System.Convert.ToString); } if (content.Contains("PolicyId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).PolicyId = (string) content.GetValueForProperty("PolicyId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).PolicyId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).PolicyId = (string) content.GetValueForProperty("PolicyId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).PolicyId, global::System.Convert.ToString); } if (content.Contains("PolicyName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).PolicyName = (string) content.GetValueForProperty("PolicyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).PolicyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).PolicyName = (string) content.GetValueForProperty("PolicyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).PolicyName, global::System.Convert.ToString); } if (content.Contains("ProgressEnabled")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ProgressEnabled = (bool) content.GetValueForProperty("ProgressEnabled",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ProgressEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ProgressEnabled = (bool) content.GetValueForProperty("ProgressEnabled",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ProgressEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("ProgressUrl")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ProgressUrl = (string) content.GetValueForProperty("ProgressUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ProgressUrl, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ProgressUrl = (string) content.GetValueForProperty("ProgressUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ProgressUrl, global::System.Convert.ToString); } if (content.Contains("RehydrationPriority")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).RehydrationPriority = (string) content.GetValueForProperty("RehydrationPriority",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).RehydrationPriority, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).RehydrationPriority = (string) content.GetValueForProperty("RehydrationPriority",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).RehydrationPriority, global::System.Convert.ToString); } if (content.Contains("RestoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).RestoreType = (string) content.GetValueForProperty("RestoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).RestoreType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).RestoreType = (string) content.GetValueForProperty("RestoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).RestoreType, global::System.Convert.ToString); } if (content.Contains("SourceResourceGroup")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).SourceResourceGroup = (string) content.GetValueForProperty("SourceResourceGroup",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).SourceResourceGroup, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).SourceResourceGroup = (string) content.GetValueForProperty("SourceResourceGroup",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).SourceResourceGroup, global::System.Convert.ToString); } if (content.Contains("SourceSubscriptionId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).SourceSubscriptionId = (string) content.GetValueForProperty("SourceSubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).SourceSubscriptionId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).SourceSubscriptionId = (string) content.GetValueForProperty("SourceSubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).SourceSubscriptionId, global::System.Convert.ToString); } if (content.Contains("StartTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).StartTime = (global::System.DateTime) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IAzureBackupJobResourceInternal)this).StartTime = (global::System.DateTime) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobResourceInternal)this).Status = (string) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).Status, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).Status = (string) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).Status, global::System.Convert.ToString); } if (content.Contains("SubscriptionId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).SubscriptionId = (string) content.GetValueForProperty("SubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).SubscriptionId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).SubscriptionId = (string) content.GetValueForProperty("SubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).SubscriptionId, global::System.Convert.ToString); } if (content.Contains("SupportedAction")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).SupportedAction = (string[]) content.GetValueForProperty("SupportedAction",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).SupportedAction, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).SupportedAction = (string[]) content.GetValueForProperty("SupportedAction",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).SupportedAction, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("VaultName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).VaultName = (string) content.GetValueForProperty("VaultName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).VaultName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).VaultName = (string) content.GetValueForProperty("VaultName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).VaultName, global::System.Convert.ToString); } if (content.Contains("Etag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).Etag = (string) content.GetValueForProperty("Etag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).Etag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).Etag = (string) content.GetValueForProperty("Etag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).Etag, global::System.Convert.ToString); } if (content.Contains("SourceDataStoreName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).SourceDataStoreName = (string) content.GetValueForProperty("SourceDataStoreName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).SourceDataStoreName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).SourceDataStoreName = (string) content.GetValueForProperty("SourceDataStoreName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).SourceDataStoreName, global::System.Convert.ToString); } if (content.Contains("DestinationDataStoreName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).DestinationDataStoreName = (string) content.GetValueForProperty("DestinationDataStoreName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).DestinationDataStoreName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).DestinationDataStoreName = (string) content.GetValueForProperty("DestinationDataStoreName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).DestinationDataStoreName, global::System.Convert.ToString); } if (content.Contains("ExtendedInfoSourceRecoverPoint")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ExtendedInfoSourceRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("ExtendedInfoSourceRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ExtendedInfoSourceRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ExtendedInfoSourceRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("ExtendedInfoSourceRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ExtendedInfoSourceRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); } if (content.Contains("ExtendedInfoTargetRecoverPoint")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ExtendedInfoTargetRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("ExtendedInfoTargetRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ExtendedInfoTargetRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ExtendedInfoTargetRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("ExtendedInfoTargetRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ExtendedInfoTargetRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); } if (content.Contains("ExtendedInfoAdditionalDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ExtendedInfoAdditionalDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoAdditionalDetails) content.GetValueForProperty("ExtendedInfoAdditionalDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ExtendedInfoAdditionalDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.JobExtendedInfoAdditionalDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ExtendedInfoAdditionalDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoAdditionalDetails) content.GetValueForProperty("ExtendedInfoAdditionalDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ExtendedInfoAdditionalDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.JobExtendedInfoAdditionalDetailsTypeConverter.ConvertFrom); } if (content.Contains("ExtendedInfoBackupInstanceState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ExtendedInfoBackupInstanceState = (string) content.GetValueForProperty("ExtendedInfoBackupInstanceState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ExtendedInfoBackupInstanceState, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ExtendedInfoBackupInstanceState = (string) content.GetValueForProperty("ExtendedInfoBackupInstanceState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ExtendedInfoBackupInstanceState, global::System.Convert.ToString); } if (content.Contains("ExtendedInfoDataTransferredInByte")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ExtendedInfoDataTransferredInByte = (double?) content.GetValueForProperty("ExtendedInfoDataTransferredInByte",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ExtendedInfoDataTransferredInByte, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ExtendedInfoDataTransferredInByte = (double?) content.GetValueForProperty("ExtendedInfoDataTransferredInByte",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ExtendedInfoDataTransferredInByte, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); } if (content.Contains("ExtendedInfoRecoveryDestination")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ExtendedInfoRecoveryDestination = (string) content.GetValueForProperty("ExtendedInfoRecoveryDestination",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ExtendedInfoRecoveryDestination, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ExtendedInfoRecoveryDestination = (string) content.GetValueForProperty("ExtendedInfoRecoveryDestination",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ExtendedInfoRecoveryDestination, global::System.Convert.ToString); } if (content.Contains("ExtendedInfoSubTask")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ExtendedInfoSubTask = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTask[]) content.GetValueForProperty("ExtendedInfoSubTask",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ExtendedInfoSubTask, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.JobSubTaskTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ExtendedInfoSubTask = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTask[]) content.GetValueForProperty("ExtendedInfoSubTask",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ExtendedInfoSubTask, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.JobSubTaskTypeConverter.ConvertFrom)); } if (content.Contains("ExtendedInfoWarningDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ExtendedInfoWarningDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingWarningDetail[]) content.GetValueForProperty("ExtendedInfoWarningDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).ExtendedInfoWarningDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.UserFacingWarningDetailTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ExtendedInfoWarningDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingWarningDetail[]) content.GetValueForProperty("ExtendedInfoWarningDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).ExtendedInfoWarningDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.UserFacingWarningDetailTypeConverter.ConvertFrom)); } if (content.Contains("SourceRecoverPointRecoveryPointId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).SourceRecoverPointRecoveryPointId = (string) content.GetValueForProperty("SourceRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).SourceRecoverPointRecoveryPointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).SourceRecoverPointRecoveryPointId = (string) content.GetValueForProperty("SourceRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).SourceRecoverPointRecoveryPointId, global::System.Convert.ToString); } if (content.Contains("SourceRecoverPointRecoveryPointTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).SourceRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("SourceRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IAzureBackupJobResourceInternal)this).SourceRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("SourceRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobResourceInternal)this).TargetRecoverPointRecoveryPointId = (string) content.GetValueForProperty("TargetRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).TargetRecoverPointRecoveryPointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).TargetRecoverPointRecoveryPointId = (string) content.GetValueForProperty("TargetRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal)this).TargetRecoverPointRecoveryPointId, global::System.Convert.ToString); } if (content.Contains("TargetRecoverPointRecoveryPointTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal)this).TargetRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("TargetRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IAzureBackupJobResourceInternal)this).TargetRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("TargetRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobResource DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureBackupJobResource(content); } @@ -505,7 +505,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AzureBackupJobResource.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupJobResource.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupJobResource.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupJobResource.TypeConverter.cs index 95e732716817..225506a75d51 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupJobResource.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAzureBackupJobResource ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResource ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResource).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResource).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupJobResource.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupJobResource.cs similarity index 81% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupJobResource.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupJobResource.cs index 8d38c185b220..80b52452795c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupJobResource.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupJobResource.cs @@ -3,266 +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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// AzureBackup Job Resource Class public partial class AzureBackupJobResource : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResource, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResource, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResource __dppResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppResource(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResource __dppResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobInternal)Property).ActivityId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).ActivityId = value ?? null; } + public string ActivityId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).ActivityId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobInternal)Property).BackupInstanceFriendlyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).BackupInstanceFriendlyName = value ?? null; } + public string BackupInstanceFriendlyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).BackupInstanceFriendlyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobInternal)Property).BackupInstanceId; } + public string BackupInstanceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobInternal)Property).DataSourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).DataSourceId = value ?? null; } + public string DataSourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).DataSourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobInternal)Property).DataSourceLocation; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).DataSourceLocation = value ?? null; } + public string DataSourceLocation { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).DataSourceLocation; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobInternal)Property).DataSourceName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).DataSourceName = value ?? null; } + public string DataSourceName { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).DataSourceName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobInternal)Property).DataSourceSetName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).DataSourceSetName = value ?? null; } + public string DataSourceSetName { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).DataSourceSetName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobInternal)Property).DataSourceType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).DataSourceType = value ?? null; } + public string DataSourceType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).DataSourceType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobInternal)Property).DestinationDataStoreName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).DestinationDataStoreName = value ?? null; } + public string DestinationDataStoreName { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).DestinationDataStoreName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobInternal)Property).Duration; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).Duration = value ?? null; } + public string Duration { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).Duration; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobInternal)Property).EndTime; } + public global::System.DateTime? EndTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IUserFacingError[] ErrorDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).ErrorDetail; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError[] ErrorDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobInternal)Property).Etag; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).Etag = value ?? null; } + public string Etag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).Etag; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IJobExtendedInfoAdditionalDetails ExtendedInfoAdditionalDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).ExtendedInfoAdditionalDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).ExtendedInfoAdditionalDetail = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoAdditionalDetails ExtendedInfoAdditionalDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).ExtendedInfoAdditionalDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobInternal)Property).ExtendedInfoBackupInstanceState; } + public string ExtendedInfoBackupInstanceState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobInternal)Property).ExtendedInfoDataTransferredInByte; } + public double? ExtendedInfoDataTransferredInByte { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobInternal)Property).ExtendedInfoRecoveryDestination; } + public string ExtendedInfoRecoveryDestination { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IJobSubTask[] ExtendedInfoSubTask { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).ExtendedInfoSubTask; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTask[] ExtendedInfoSubTask { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IUserFacingWarningDetail[] ExtendedInfoWarningDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).ExtendedInfoWarningDetail; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingWarningDetail[] ExtendedInfoWarningDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResourceInternal)__dppResource).Id; } + public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobInternal)Property).IsUserTriggered; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).IsUserTriggered = value ?? default(bool); } + public bool? IsUserTriggered { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).IsUserTriggered; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).IsUserTriggered = value ?? default(bool); } /// Internal Acessors for BackupInstanceId - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal.BackupInstanceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).BackupInstanceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).BackupInstanceId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal.BackupInstanceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).BackupInstanceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).BackupInstanceId = value; } /// Internal Acessors for EndTime - global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal.EndTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).EndTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).EndTime = value; } + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal.EndTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).EndTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).EndTime = value; } /// Internal Acessors for ErrorDetail - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingError[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal.ErrorDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).ErrorDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).ErrorDetail = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal.ErrorDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).ErrorDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).ErrorDetail = value; } /// Internal Acessors for ExtendedInfo - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfo Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal.ExtendedInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).ExtendedInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).ExtendedInfo = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfo Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal.ExtendedInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).ExtendedInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).ExtendedInfo = value; } /// Internal Acessors for ExtendedInfoBackupInstanceState - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal.ExtendedInfoBackupInstanceState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).ExtendedInfoBackupInstanceState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).ExtendedInfoBackupInstanceState = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal.ExtendedInfoBackupInstanceState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).ExtendedInfoBackupInstanceState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).ExtendedInfoBackupInstanceState = value; } /// Internal Acessors for ExtendedInfoDataTransferredInByte - double? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal.ExtendedInfoDataTransferredInByte { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).ExtendedInfoDataTransferredInByte; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).ExtendedInfoDataTransferredInByte = value; } + double? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal.ExtendedInfoDataTransferredInByte { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).ExtendedInfoDataTransferredInByte; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).ExtendedInfoDataTransferredInByte = value; } /// Internal Acessors for ExtendedInfoRecoveryDestination - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal.ExtendedInfoRecoveryDestination { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).ExtendedInfoRecoveryDestination; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).ExtendedInfoRecoveryDestination = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal.ExtendedInfoRecoveryDestination { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).ExtendedInfoRecoveryDestination; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).ExtendedInfoRecoveryDestination = value; } /// Internal Acessors for ExtendedInfoSourceRecoverPoint - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreJobRecoveryPointDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal.ExtendedInfoSourceRecoverPoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).ExtendedInfoSourceRecoverPoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).ExtendedInfoSourceRecoverPoint = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreJobRecoveryPointDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal.ExtendedInfoSourceRecoverPoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).ExtendedInfoSourceRecoverPoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).ExtendedInfoSourceRecoverPoint = value; } /// Internal Acessors for ExtendedInfoSubTask - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTask[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal.ExtendedInfoSubTask { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).ExtendedInfoSubTask; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).ExtendedInfoSubTask = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTask[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal.ExtendedInfoSubTask { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).ExtendedInfoSubTask; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).ExtendedInfoSubTask = value; } /// Internal Acessors for ExtendedInfoTargetRecoverPoint - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreJobRecoveryPointDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal.ExtendedInfoTargetRecoverPoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).ExtendedInfoTargetRecoverPoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).ExtendedInfoTargetRecoverPoint = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreJobRecoveryPointDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal.ExtendedInfoTargetRecoverPoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).ExtendedInfoTargetRecoverPoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).ExtendedInfoTargetRecoverPoint = value; } /// Internal Acessors for ExtendedInfoWarningDetail - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingWarningDetail[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal.ExtendedInfoWarningDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).ExtendedInfoWarningDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).ExtendedInfoWarningDetail = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingWarningDetail[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal.ExtendedInfoWarningDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).ExtendedInfoWarningDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).ExtendedInfoWarningDetail = value; } /// Internal Acessors for PolicyId - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal.PolicyId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).PolicyId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).PolicyId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal.PolicyId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).PolicyId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).PolicyId = value; } /// Internal Acessors for PolicyName - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal.PolicyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).PolicyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).PolicyName = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal.PolicyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).PolicyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).PolicyName = value; } /// Internal Acessors for ProgressUrl - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal.ProgressUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).ProgressUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).ProgressUrl = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal.ProgressUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).ProgressUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).ProgressUrl = value; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJob Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupJob()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJob Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupJob()); set { {_property = value;} } } /// Internal Acessors for RehydrationPriority - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal.RehydrationPriority { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).RehydrationPriority; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).RehydrationPriority = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal.RehydrationPriority { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).RehydrationPriority; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).RehydrationPriority = value; } /// Internal Acessors for RestoreType - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceInternal.RestoreType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).RestoreType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).RestoreType = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceInternal.RestoreType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).RestoreType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).RestoreType = value; } /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).Id = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)__dppResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)__dppResource).Id = value; } /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).Name = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)__dppResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)__dppResource).Name = value; } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).SystemData = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)__dppResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)__dppResource).SystemData = value; } /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).Type = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)__dppResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResourceInternal)__dppResource).Name; } + public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobInternal)Property).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).Operation = value ?? null; } + public string Operation { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobInternal)Property).OperationCategory; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).OperationCategory = value ?? null; } + public string OperationCategory { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).OperationCategory; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobInternal)Property).PolicyId; } + public string PolicyId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobInternal)Property).PolicyName; } + public string PolicyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobInternal)Property).ProgressEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).ProgressEnabled = value ?? default(bool); } + public bool? ProgressEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).ProgressEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobInternal)Property).ProgressUrl; } + public string ProgressUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).ProgressUrl; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJob _property; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJob _property; /// AzureBackupJobResource properties [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJob Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupJob()); set => this._property = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJob Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobInternal)Property).RehydrationPriority; } + public string RehydrationPriority { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobInternal)Property).RestoreType; } + public string RestoreType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobInternal)Property).SourceDataStoreName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).SourceDataStoreName = value ?? null; } + public string SourceDataStoreName { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).SourceDataStoreName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobInternal)Property).SourceRecoverPointRecoveryPointId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).SourceRecoverPointRecoveryPointId = value ?? null; } + public string SourceRecoverPointRecoveryPointId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).SourceRecoverPointRecoveryPointId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobInternal)Property).SourceRecoverPointRecoveryPointTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).SourceRecoverPointRecoveryPointTime = value ?? default(global::System.DateTime); } + public global::System.DateTime? SourceRecoverPointRecoveryPointTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).SourceRecoverPointRecoveryPointTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobInternal)Property).SourceResourceGroup; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).SourceResourceGroup = value ?? null; } + public string SourceResourceGroup { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).SourceResourceGroup; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobInternal)Property).SourceSubscriptionId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).SourceSubscriptionId = value ?? null; } + public string SourceSubscriptionId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).SourceSubscriptionId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobInternal)Property).StartTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).StartTime = value ?? default(global::System.DateTime); } + public global::System.DateTime? StartTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).StartTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).Status = value ?? null; } + public string Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobInternal)Property).SubscriptionId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).SubscriptionId = value ?? null; } + public string SubscriptionId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).SubscriptionId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobInternal)Property).SupportedAction; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).SupportedAction = value ?? null /* arrayOf */; } + public string[] SupportedAction { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).SupportedAction; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResourceInternal)__dppResource).SystemData; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobInternal)Property).TargetRecoverPointRecoveryPointId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).TargetRecoverPointRecoveryPointId = value ?? null; } + public string TargetRecoverPointRecoveryPointId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).TargetRecoverPointRecoveryPointId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobInternal)Property).TargetRecoverPointRecoveryPointTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).TargetRecoverPointRecoveryPointTime = value ?? default(global::System.DateTime); } + public global::System.DateTime? TargetRecoverPointRecoveryPointTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).TargetRecoverPointRecoveryPointTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResourceInternal)__dppResource).Type; } + public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobInternal)Property).VaultName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobInternal)Property).VaultName = value ?? null; } + public string VaultName { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).VaultName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobInternal)Property).VaultName = value ?? null; } /// Creates an new instance. public AzureBackupJobResource() @@ -285,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.Api20231201.IDppResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResource { /// Job Activity Id [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( @@ -381,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.Api20231201.IUserFacingError) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingError[] ErrorDetail { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError[] ErrorDetail { get; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -397,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.Api20231201.IJobExtendedInfoAdditionalDetails) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoAdditionalDetails ExtendedInfoAdditionalDetail { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoAdditionalDetails) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoAdditionalDetails ExtendedInfoAdditionalDetail { get; set; } /// State of the Backup Instance [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -429,16 +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.Api20231201.IJobSubTask) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTask[] ExtendedInfoSubTask { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTask) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IUserFacingWarningDetail) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingWarningDetail[] ExtendedInfoWarningDetail { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingWarningDetail) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingWarningDetail[] ExtendedInfoWarningDetail { get; } /// Indicated that whether the job is adhoc(true) or scheduled(false) [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -615,7 +615,7 @@ public partial interface IAzureBackupJobResource : } /// AzureBackup Job Resource Class internal partial interface IAzureBackupJobResourceInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal { /// Job Activity Id string ActivityId { get; set; } @@ -640,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.Api20231201.IUserFacingError[] ErrorDetail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError[] ErrorDetail { get; set; } string Etag { get; set; } /// Extended Information about the job - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfo ExtendedInfo { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfo ExtendedInfo { get; set; } /// Job's Additional Details - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoAdditionalDetails ExtendedInfoAdditionalDetail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoAdditionalDetails ExtendedInfoAdditionalDetail { get; set; } /// State of the Backup Instance string ExtendedInfoBackupInstanceState { get; set; } /// Number of bytes transferred @@ -654,13 +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.Api20231201.IRestoreJobRecoveryPointDetails ExtendedInfoSourceRecoverPoint { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreJobRecoveryPointDetails ExtendedInfoSourceRecoverPoint { get; set; } /// List of Sub Tasks of the job - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTask[] ExtendedInfoSubTask { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTask[] ExtendedInfoSubTask { get; set; } /// Details of the Target Recovery Point - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreJobRecoveryPointDetails ExtendedInfoTargetRecoverPoint { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreJobRecoveryPointDetails ExtendedInfoTargetRecoverPoint { get; set; } /// A List, detailing the warnings related to the job - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingWarningDetail[] ExtendedInfoWarningDetail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingWarningDetail[] ExtendedInfoWarningDetail { get; set; } /// Indicated that whether the job is adhoc(true) or scheduled(false) bool? IsUserTriggered { get; set; } /// @@ -678,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.Api20231201.IAzureBackupJob Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJob Property { get; set; } /// Priority to be used for rehydration string RehydrationPriority { get; set; } /// diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupJobResource.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupJobResource.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupJobResource.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupJobResource.json.cs index 53e15654a53e..5ba91773ecfb 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupJobResource.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.DppResource(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupJob.FromJson(__jsonProperties) : Property;} + __dppResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppResource(json); + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupJob.FromJson(__jsonProperties) : Property;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResource. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResource. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResource. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResource. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AzureBackupJobResourceList.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupJobResourceList.PowerShell.cs similarity index 85% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupJobResourceList.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupJobResourceList.PowerShell.cs index bec0841b839f..7cc78375c407 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupJobResourceList.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAzureBackupJobResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupJobResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupJobResourceTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupJobResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupJobResourceTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobResourceList DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobResourceList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureBackupJobResourceList(content); } @@ -137,7 +137,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AzureBackupJobResourceList.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupJobResourceList.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupJobResourceList.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupJobResourceList.TypeConverter.cs index cc75662ab626..a51c5d93a2fa 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupJobResourceList.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAzureBackupJobResourceList ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceList ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceList).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceList).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupJobResourceList.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupJobResourceList.cs similarity index 82% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupJobResourceList.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupJobResourceList.cs index 13c2bc204d3c..daf62fee0add 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupJobResourceList.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// List of AzureBackup Job resources public partial class AzureBackupJobResourceList : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceList, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceListInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceList, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceListInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceList __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppResourceList(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceList __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResourceListInternal)__dppResourceList).NextLink; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceListInternal)__dppResourceList).NextLink = value ?? null; } + public string NextLink { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceListInternal)__dppResourceList).NextLink; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceListInternal)__dppResourceList).NextLink = value ?? null; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResource[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobResource[] Value { get => this._value; set => this._value = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobResource) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResource[] Value { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResource) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResource[] Value { get; set; } } /// List of AzureBackup Job resources internal partial interface IAzureBackupJobResourceListInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceListInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceListInternal { /// List of resources. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResource[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResource[] Value { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupJobResourceList.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupJobResourceList.json.cs similarity index 94% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupJobResourceList.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupJobResourceList.json.cs index f01269baed06..29c68db8146e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupJobResourceList.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.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.Api20231201.IAzureBackupJobResource) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupJobResource.FromJson(__u) )) ))() : null : Value;} + __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20240401.IAzureBackupJobResource) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupJobResource.FromJson(__u) )) ))() : null : Value;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceList. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceList. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceList. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResourceList. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResourceList FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AzureBackupParams.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupParams.PowerShell.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupParams.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupParams.PowerShell.cs index 3ad0746e4a1a..3ce06c21f6c3 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupParams.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAzureBackupParamsInternal)this).BackupType = (string) content.GetValueForProperty("BackupType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupParamsInternal)this).BackupType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupParamsInternal)this).BackupType = (string) content.GetValueForProperty("BackupType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupParamsInternal)this).BackupType, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupParametersInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupParamsInternal)this).BackupType = (string) content.GetValueForProperty("BackupType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupParamsInternal)this).BackupType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupParamsInternal)this).BackupType = (string) content.GetValueForProperty("BackupType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupParamsInternal)this).BackupType, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupParametersInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupParams DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupParams DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupParams DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureBackupParams(content); } @@ -135,7 +135,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupParams FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AzureBackupParams.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupParams.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupParams.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupParams.TypeConverter.cs index 4652adbf275c..5053a833bee4 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupParams.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAzureBackupParams ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupParams ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupParams).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupParams).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupParams.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupParams.cs similarity index 87% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupParams.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupParams.cs index 07f587a7c410..c106f704e6df 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupParams.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Azure backup parameters public partial class AzureBackupParams : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupParams, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupParamsInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupParams, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupParamsInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupParameters __backupParameters = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupParameters(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupParameters __backupParameters = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupParametersInternal)__backupParameters).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupParametersInternal)__backupParameters).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupParametersInternal)__backupParameters).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupParameters + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupParametersInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupParametersInternal { /// BackupType ; Full/Incremental etc string BackupType { get; set; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupParams.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupParams.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupParams.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupParams.json.cs index 182256750ee0..5f15513bc06f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupParams.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.BackupParameters(json); + __backupParameters = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupParams. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupParams. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupParams. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupParams. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupParams FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AzureBackupRecoveryPoint.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRecoveryPoint.PowerShell.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryPoint.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRecoveryPoint.PowerShell.cs index 73dac4d45996..542550cb229e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryPoint.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAzureBackupRecoveryPointInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRecoveryPointInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRecoveryPoint DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRecoveryPoint DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPoint DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureBackupRecoveryPoint(content); } @@ -129,7 +129,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPoint FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AzureBackupRecoveryPoint.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRecoveryPoint.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryPoint.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRecoveryPoint.TypeConverter.cs index ab99b86f57b6..6595a826d1d3 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryPoint.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAzureBackupRecoveryPoint ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPoint ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPoint).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPoint).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryPoint.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRecoveryPoint.cs similarity index 94% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryPoint.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRecoveryPoint.cs index 56109b37cdda..17c92aeaa28b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryPoint.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Azure backup recoveryPoint public partial class AzureBackupRecoveryPoint : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPoint, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPoint, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryPoint.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRecoveryPoint.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryPoint.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRecoveryPoint.json.cs index ee1137b9d540..30b48525e8ea 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryPoint.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAzureBackupRecoveryPoint. - /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPoint interface is + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPoint. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRecoveryPoint. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPoint. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPoint FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AzureBackupRecoveryPointBasedRestoreRequest.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRecoveryPointBasedRestoreRequest.PowerShell.cs similarity index 76% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryPointBasedRestoreRequest.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRecoveryPointBasedRestoreRequest.PowerShell.cs index 3cd6aa88cd23..91349a6db4aa 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryPointBasedRestoreRequest.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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,45 @@ internal AzureBackupRecoveryPointBasedRestoreRequest(global::System.Collections. // actually deserialize if (content.Contains("RecoveryPointId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointBasedRestoreRequestInternal)this).RecoveryPointId = (string) content.GetValueForProperty("RecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointBasedRestoreRequestInternal)this).RecoveryPointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointBasedRestoreRequestInternal)this).RecoveryPointId = (string) content.GetValueForProperty("RecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointBasedRestoreRequestInternal)this).RecoveryPointId, global::System.Convert.ToString); } if (content.Contains("IdentityDetailUseSystemAssignedIdentity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity = (bool?) content.GetValueForProperty("IdentityDetailUseSystemAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity = (bool?) content.GetValueForProperty("IdentityDetailUseSystemAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("IdentityDetailUserAssignedIdentityArmUrl")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl = (string) content.GetValueForProperty("IdentityDetailUserAssignedIdentityArmUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl = (string) content.GetValueForProperty("IdentityDetailUserAssignedIdentityArmUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl, global::System.Convert.ToString); } if (content.Contains("IdentityDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IdentityDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IdentityDetailsTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("RestoreTargetInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBase) content.GetValueForProperty("RestoreTargetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RestoreTargetInfoBaseTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBase) content.GetValueForProperty("RestoreTargetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestoreTargetInfoBaseTypeConverter.ConvertFrom); } if (content.Contains("SourceDataStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType.CreateFrom); } if (content.Contains("SourceResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).SourceResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).SourceResourceId, global::System.Convert.ToString); + } + if (content.Contains("ResourceGuardOperationRequest")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).ResourceGuardOperationRequest = (string[]) content.GetValueForProperty("ResourceGuardOperationRequest",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).ResourceGuardOperationRequest, __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. @@ -119,63 +123,67 @@ internal AzureBackupRecoveryPointBasedRestoreRequest(global::System.Management.A // actually deserialize if (content.Contains("RecoveryPointId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointBasedRestoreRequestInternal)this).RecoveryPointId = (string) content.GetValueForProperty("RecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointBasedRestoreRequestInternal)this).RecoveryPointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointBasedRestoreRequestInternal)this).RecoveryPointId = (string) content.GetValueForProperty("RecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointBasedRestoreRequestInternal)this).RecoveryPointId, global::System.Convert.ToString); } if (content.Contains("IdentityDetailUseSystemAssignedIdentity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity = (bool?) content.GetValueForProperty("IdentityDetailUseSystemAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity = (bool?) content.GetValueForProperty("IdentityDetailUseSystemAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("IdentityDetailUserAssignedIdentityArmUrl")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl = (string) content.GetValueForProperty("IdentityDetailUserAssignedIdentityArmUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl = (string) content.GetValueForProperty("IdentityDetailUserAssignedIdentityArmUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl, global::System.Convert.ToString); } if (content.Contains("IdentityDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IdentityDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IdentityDetailsTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("RestoreTargetInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBase) content.GetValueForProperty("RestoreTargetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RestoreTargetInfoBaseTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBase) content.GetValueForProperty("RestoreTargetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestoreTargetInfoBaseTypeConverter.ConvertFrom); } if (content.Contains("SourceDataStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType.CreateFrom); } if (content.Contains("SourceResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).SourceResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).SourceResourceId, global::System.Convert.ToString); + } + if (content.Contains("ResourceGuardOperationRequest")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).ResourceGuardOperationRequest = (string[]) content.GetValueForProperty("ResourceGuardOperationRequest",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).ResourceGuardOperationRequest, __y => TypeConverterExtensions.SelectToArray(__y, 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.Api20231201.IAzureBackupRecoveryPointBasedRestoreRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRecoveryPointBasedRestoreRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointBasedRestoreRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureBackupRecoveryPointBasedRestoreRequest(content); } @@ -188,7 +196,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointBasedRestoreRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AzureBackupRecoveryPointBasedRestoreRequest.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRecoveryPointBasedRestoreRequest.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryPointBasedRestoreRequest.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRecoveryPointBasedRestoreRequest.TypeConverter.cs index 8bde910976ae..e805de490e75 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryPointBasedRestoreRequest.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAzureBackupRecoveryPointBasedRestoreRequest ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointBasedRestoreRequest ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointBasedRestoreRequest).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointBasedRestoreRequest).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryPointBasedRestoreRequest.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRecoveryPointBasedRestoreRequest.cs similarity index 75% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryPointBasedRestoreRequest.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRecoveryPointBasedRestoreRequest.cs index 36a2a90c0004..9d1c913ace45 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryPointBasedRestoreRequest.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAzureBackupRecoveryPointBasedRestoreRequest, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointBasedRestoreRequestInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointBasedRestoreRequest, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointBasedRestoreRequestInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest __azureBackupRestoreRequest = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupRestoreRequest(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest __azureBackupRestoreRequest = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IIdentityDetails IdentityDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).IdentityDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).IdentityDetail = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IIdentityDetails IdentityDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).IdentityDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).IdentityDetailUseSystemAssignedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).IdentityDetailUseSystemAssignedIdentity = value ?? default(bool); } + public bool? IdentityDetailUseSystemAssignedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).IdentityDetailUseSystemAssignedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).IdentityDetailUserAssignedIdentityArmUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).IdentityDetailUserAssignedIdentityArmUrl = value ?? null; } + public string IdentityDetailUserAssignedIdentityArmUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).IdentityDetailUserAssignedIdentityArmUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).ObjectType = value ; } /// Backing field for property. private string _recoveryPointId; @@ -43,19 +43,23 @@ public partial class AzureBackupRecoveryPointBasedRestoreRequest : [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] public string RecoveryPointId { get => this._recoveryPointId; set => this._recoveryPointId = value; } + /// ResourceGuardOperationRequests on which LAC check will be performed + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] + public string[] ResourceGuardOperationRequest { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).ResourceGuardOperationRequest; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).ResourceGuardOperationRequest = value ?? null /* arrayOf */; } + /// 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.Api20231201.IRestoreTargetInfoBase RestoreTargetInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).RestoreTargetInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).RestoreTargetInfo = value ; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBase RestoreTargetInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).RestoreTargetInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).SourceDataStoreType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).SourceDataStoreType = value ; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType SourceDataStoreType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).SourceDataStoreType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).SourceResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).SourceResourceId = value ?? null; } + public string SourceResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).SourceResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).SourceResourceId = value ?? null; } /// /// Creates an new instance. @@ -80,7 +84,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.Api20231201.IAzureBackupRestoreRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest { [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = true, @@ -93,7 +97,7 @@ public partial interface IAzureBackupRecoveryPointBasedRestoreRequest : } /// Azure backup recoveryPoint based restore request internal partial interface IAzureBackupRecoveryPointBasedRestoreRequestInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal { string RecoveryPointId { get; set; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryPointBasedRestoreRequest.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRecoveryPointBasedRestoreRequest.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryPointBasedRestoreRequest.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRecoveryPointBasedRestoreRequest.json.cs index 0ebc572307a8..2fe1de5b0c8b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryPointBasedRestoreRequest.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.AzureBackupRestoreRequest(json); + __azureBackupRestoreRequest = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRecoveryPointBasedRestoreRequest. - /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointBasedRestoreRequest + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointBasedRestoreRequest. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRecoveryPointBasedRestoreRequest. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointBasedRestoreRequest. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointBasedRestoreRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AzureBackupRecoveryPointResource.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRecoveryPointResource.PowerShell.cs similarity index 82% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryPointResource.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRecoveryPointResource.PowerShell.cs index 32eb93682272..11264c47d629 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryPointResource.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAzureBackupRecoveryPointResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPoint) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupRecoveryPointTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPoint) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupRecoveryPointTypeConverter.ConvertFrom); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointResourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointResourceInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointResourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRecoveryPointResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPoint) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupRecoveryPointTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPoint) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupRecoveryPointTypeConverter.ConvertFrom); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointResourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointResourceInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointResourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRecoveryPointResource DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRecoveryPointResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureBackupRecoveryPointResource(content); } @@ -169,7 +169,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AzureBackupRecoveryPointResource.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRecoveryPointResource.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryPointResource.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRecoveryPointResource.TypeConverter.cs index 6f8f99d21a7a..ab73d71746ba 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryPointResource.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAzureBackupRecoveryPointResource ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointResource ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointResource).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointResource).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryPointResource.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRecoveryPointResource.cs similarity index 76% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryPointResource.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRecoveryPointResource.cs index 669742ff1b5c..2f5132e8b19e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryPointResource.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Azure backup recoveryPoint resource public partial class AzureBackupRecoveryPointResource : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointResource, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointResourceInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointResource, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointResourceInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResource __dppResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppResource(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResource __dppResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResourceInternal)__dppResource).Id; } + public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)__dppResource).Id; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPoint Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupRecoveryPoint()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPoint Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupRecoveryPoint()); set { {_property = value;} } } /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).Id = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)__dppResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)__dppResource).Id = value; } /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).Name = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)__dppResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)__dppResource).Name = value; } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).SystemData = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)__dppResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)__dppResource).SystemData = value; } /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).Type = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)__dppResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResourceInternal)__dppResource).Name; } + public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRecoveryPointInternal)Property).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointInternal)Property).ObjectType = value ?? null; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointInternal)Property).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointInternal)Property).ObjectType = value ?? null; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPoint _property; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPoint _property; /// AzureBackupRecoveryPointResource properties [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPoint Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupRecoveryPoint()); set => this._property = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPoint Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResourceInternal)__dppResource).SystemData; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResourceInternal)__dppResource).Type; } + public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResourceInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal { string ObjectType { get; set; } /// AzureBackupRecoveryPointResource properties - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPoint Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPoint Property { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryPointResource.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRecoveryPointResource.json.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryPointResource.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRecoveryPointResource.json.cs index b74adc9b417d..eed04df85d22 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryPointResource.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.DppResource(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupRecoveryPoint.FromJson(__jsonProperties) : Property;} + __dppResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppResource(json); + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupRecoveryPoint.FromJson(__jsonProperties) : Property;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointResource. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointResource. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointResource. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointResource. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AzureBackupRecoveryPointResourceList.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRecoveryPointResourceList.PowerShell.cs similarity index 85% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryPointResourceList.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRecoveryPointResourceList.PowerShell.cs index 0d648a305220..c19e2d494f48 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryPointResourceList.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAzureBackupRecoveryPointResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupRecoveryPointResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupRecoveryPointResourceTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRecoveryPointResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupRecoveryPointResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupRecoveryPointResourceTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRecoveryPointResourceList DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRecoveryPointResourceList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointResourceList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureBackupRecoveryPointResourceList(content); } @@ -139,7 +139,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointResourceList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AzureBackupRecoveryPointResourceList.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRecoveryPointResourceList.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryPointResourceList.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRecoveryPointResourceList.TypeConverter.cs index fd09ed7eb3b7..e9b65db07fa6 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryPointResourceList.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAzureBackupRecoveryPointResourceList ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointResourceList ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointResourceList).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointResourceList).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryPointResourceList.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRecoveryPointResourceList.cs similarity index 82% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryPointResourceList.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRecoveryPointResourceList.cs index 843491cc5001..c87fc43c57b2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryPointResourceList.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Azure backup recoveryPoint resource list public partial class AzureBackupRecoveryPointResourceList : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointResourceList, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointResourceListInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointResourceList, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointResourceListInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceList __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppResourceList(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceList __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResourceListInternal)__dppResourceList).NextLink; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceListInternal)__dppResourceList).NextLink = value ?? null; } + public string NextLink { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceListInternal)__dppResourceList).NextLink; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceListInternal)__dppResourceList).NextLink = value ?? null; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointResource[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRecoveryPointResource[] Value { get => this._value; set => this._value = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRecoveryPointResource) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointResource[] Value { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointResource) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointResource[] Value { get; set; } } /// Azure backup recoveryPoint resource list internal partial interface IAzureBackupRecoveryPointResourceListInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceListInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceListInternal { /// List of resources. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointResource[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointResource[] Value { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryPointResourceList.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRecoveryPointResourceList.json.cs similarity index 94% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryPointResourceList.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRecoveryPointResourceList.json.cs index a630bf5c4ffd..527f3b92f38b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryPointResourceList.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.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.Api20231201.IAzureBackupRecoveryPointResource) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupRecoveryPointResource.FromJson(__u) )) ))() : null : Value;} + __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20240401.IAzureBackupRecoveryPointResource) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupRecoveryPointResource.FromJson(__u) )) ))() : null : Value;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointResourceList. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointResourceList. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointResourceList. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointResourceList. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointResourceList FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AzureBackupRecoveryTimeBasedRestoreRequest.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRecoveryTimeBasedRestoreRequest.PowerShell.cs similarity index 76% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryTimeBasedRestoreRequest.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRecoveryTimeBasedRestoreRequest.PowerShell.cs index 77d2c767f693..5bea133b99ad 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryTimeBasedRestoreRequest.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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,45 @@ internal AzureBackupRecoveryTimeBasedRestoreRequest(global::System.Collections.I // actually deserialize if (content.Contains("RecoveryPointTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryTimeBasedRestoreRequestInternal)this).RecoveryPointTime = (string) content.GetValueForProperty("RecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryTimeBasedRestoreRequestInternal)this).RecoveryPointTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryTimeBasedRestoreRequestInternal)this).RecoveryPointTime = (string) content.GetValueForProperty("RecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryTimeBasedRestoreRequestInternal)this).RecoveryPointTime, global::System.Convert.ToString); } if (content.Contains("IdentityDetailUseSystemAssignedIdentity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity = (bool?) content.GetValueForProperty("IdentityDetailUseSystemAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity = (bool?) content.GetValueForProperty("IdentityDetailUseSystemAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("IdentityDetailUserAssignedIdentityArmUrl")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl = (string) content.GetValueForProperty("IdentityDetailUserAssignedIdentityArmUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl = (string) content.GetValueForProperty("IdentityDetailUserAssignedIdentityArmUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl, global::System.Convert.ToString); } if (content.Contains("IdentityDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IdentityDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IdentityDetailsTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("RestoreTargetInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBase) content.GetValueForProperty("RestoreTargetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RestoreTargetInfoBaseTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBase) content.GetValueForProperty("RestoreTargetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestoreTargetInfoBaseTypeConverter.ConvertFrom); } if (content.Contains("SourceDataStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType.CreateFrom); } if (content.Contains("SourceResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).SourceResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).SourceResourceId, global::System.Convert.ToString); + } + if (content.Contains("ResourceGuardOperationRequest")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).ResourceGuardOperationRequest = (string[]) content.GetValueForProperty("ResourceGuardOperationRequest",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).ResourceGuardOperationRequest, __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. @@ -119,63 +123,67 @@ internal AzureBackupRecoveryTimeBasedRestoreRequest(global::System.Management.Au // actually deserialize if (content.Contains("RecoveryPointTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryTimeBasedRestoreRequestInternal)this).RecoveryPointTime = (string) content.GetValueForProperty("RecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryTimeBasedRestoreRequestInternal)this).RecoveryPointTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryTimeBasedRestoreRequestInternal)this).RecoveryPointTime = (string) content.GetValueForProperty("RecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryTimeBasedRestoreRequestInternal)this).RecoveryPointTime, global::System.Convert.ToString); } if (content.Contains("IdentityDetailUseSystemAssignedIdentity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity = (bool?) content.GetValueForProperty("IdentityDetailUseSystemAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity = (bool?) content.GetValueForProperty("IdentityDetailUseSystemAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("IdentityDetailUserAssignedIdentityArmUrl")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl = (string) content.GetValueForProperty("IdentityDetailUserAssignedIdentityArmUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl = (string) content.GetValueForProperty("IdentityDetailUserAssignedIdentityArmUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl, global::System.Convert.ToString); } if (content.Contains("IdentityDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IdentityDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IdentityDetailsTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("RestoreTargetInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBase) content.GetValueForProperty("RestoreTargetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RestoreTargetInfoBaseTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBase) content.GetValueForProperty("RestoreTargetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestoreTargetInfoBaseTypeConverter.ConvertFrom); } if (content.Contains("SourceDataStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType.CreateFrom); } if (content.Contains("SourceResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).SourceResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).SourceResourceId, global::System.Convert.ToString); + } + if (content.Contains("ResourceGuardOperationRequest")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).ResourceGuardOperationRequest = (string[]) content.GetValueForProperty("ResourceGuardOperationRequest",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).ResourceGuardOperationRequest, __y => TypeConverterExtensions.SelectToArray(__y, 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.Api20231201.IAzureBackupRecoveryTimeBasedRestoreRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRecoveryTimeBasedRestoreRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryTimeBasedRestoreRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureBackupRecoveryTimeBasedRestoreRequest(content); } @@ -188,7 +196,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryTimeBasedRestoreRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AzureBackupRecoveryTimeBasedRestoreRequest.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRecoveryTimeBasedRestoreRequest.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryTimeBasedRestoreRequest.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRecoveryTimeBasedRestoreRequest.TypeConverter.cs index 246bbdc9a91d..ad0678abb426 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryTimeBasedRestoreRequest.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAzureBackupRecoveryTimeBasedRestoreRequest ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryTimeBasedRestoreRequest ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryTimeBasedRestoreRequest).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryTimeBasedRestoreRequest).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryTimeBasedRestoreRequest.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRecoveryTimeBasedRestoreRequest.cs similarity index 76% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryTimeBasedRestoreRequest.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRecoveryTimeBasedRestoreRequest.cs index e81f0cbaf7ef..152f27723a9a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryTimeBasedRestoreRequest.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// AzureBackup RecoveryPointTime Based Restore Request public partial class AzureBackupRecoveryTimeBasedRestoreRequest : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryTimeBasedRestoreRequest, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryTimeBasedRestoreRequestInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryTimeBasedRestoreRequest, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryTimeBasedRestoreRequestInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest __azureBackupRestoreRequest = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupRestoreRequest(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest __azureBackupRestoreRequest = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IIdentityDetails IdentityDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).IdentityDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).IdentityDetail = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IIdentityDetails IdentityDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).IdentityDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).IdentityDetailUseSystemAssignedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).IdentityDetailUseSystemAssignedIdentity = value ?? default(bool); } + public bool? IdentityDetailUseSystemAssignedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).IdentityDetailUseSystemAssignedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).IdentityDetailUserAssignedIdentityArmUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).IdentityDetailUserAssignedIdentityArmUrl = value ?? null; } + public string IdentityDetailUserAssignedIdentityArmUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).IdentityDetailUserAssignedIdentityArmUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).ObjectType = value ; } /// Backing field for property. private string _recoveryPointTime; @@ -44,19 +44,23 @@ public partial class AzureBackupRecoveryTimeBasedRestoreRequest : [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] public string RecoveryPointTime { get => this._recoveryPointTime; set => this._recoveryPointTime = value; } + /// ResourceGuardOperationRequests on which LAC check will be performed + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] + public string[] ResourceGuardOperationRequest { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).ResourceGuardOperationRequest; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).ResourceGuardOperationRequest = value ?? null /* arrayOf */; } + /// 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.Api20231201.IRestoreTargetInfoBase RestoreTargetInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).RestoreTargetInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).RestoreTargetInfo = value ; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBase RestoreTargetInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).RestoreTargetInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).SourceDataStoreType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).SourceDataStoreType = value ; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType SourceDataStoreType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).SourceDataStoreType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).SourceResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).SourceResourceId = value ?? null; } + public string SourceResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).SourceResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).SourceResourceId = value ?? null; } /// /// Creates an new instance. @@ -81,7 +85,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.Api20231201.IAzureBackupRestoreRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest { /// The recovery time in ISO 8601 format example - 2020-08-14T17:30:00.0000000Z. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( @@ -95,7 +99,7 @@ public partial interface IAzureBackupRecoveryTimeBasedRestoreRequest : } /// AzureBackup RecoveryPointTime Based Restore Request internal partial interface IAzureBackupRecoveryTimeBasedRestoreRequestInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AzureBackupRecoveryTimeBasedRestoreRequest.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRecoveryTimeBasedRestoreRequest.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryTimeBasedRestoreRequest.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRecoveryTimeBasedRestoreRequest.json.cs index 0f7d437319bf..d611ba3ae4e6 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRecoveryTimeBasedRestoreRequest.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.AzureBackupRestoreRequest(json); + __azureBackupRestoreRequest = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRecoveryTimeBasedRestoreRequest. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryTimeBasedRestoreRequest. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryTimeBasedRestoreRequest. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryTimeBasedRestoreRequest. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryTimeBasedRestoreRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AzureBackupRehydrationRequest.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRehydrationRequest.PowerShell.cs similarity index 87% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRehydrationRequest.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRehydrationRequest.PowerShell.cs index 6329acb9d528..56ee117bdb43 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRehydrationRequest.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAzureBackupRehydrationRequestInternal)this).RecoveryPointId = (string) content.GetValueForProperty("RecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRehydrationRequestInternal)this).RecoveryPointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRehydrationRequestInternal)this).RecoveryPointId = (string) content.GetValueForProperty("RecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRehydrationRequestInternal)this).RecoveryPointId, global::System.Convert.ToString); } if (content.Contains("RehydrationPriority")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRehydrationRequestInternal)this).RehydrationPriority = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationPriority?) content.GetValueForProperty("RehydrationPriority",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRehydrationRequestInternal)this).RehydrationPriority, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationPriority.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRehydrationRequestInternal)this).RehydrationPriority = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationPriority?) content.GetValueForProperty("RehydrationPriority",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRehydrationRequestInternal)this).RehydrationPriority, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationPriority.CreateFrom); } if (content.Contains("RehydrationRetentionDuration")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRehydrationRequestInternal)this).RehydrationRetentionDuration = (string) content.GetValueForProperty("RehydrationRetentionDuration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRehydrationRequestInternal)this).RehydrationRetentionDuration, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRehydrationRequestInternal)this).RehydrationRetentionDuration = (string) content.GetValueForProperty("RehydrationRetentionDuration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRehydrationRequestInternal)this).RecoveryPointId = (string) content.GetValueForProperty("RecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRehydrationRequestInternal)this).RecoveryPointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRehydrationRequestInternal)this).RecoveryPointId = (string) content.GetValueForProperty("RecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRehydrationRequestInternal)this).RecoveryPointId, global::System.Convert.ToString); } if (content.Contains("RehydrationPriority")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRehydrationRequestInternal)this).RehydrationPriority = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationPriority?) content.GetValueForProperty("RehydrationPriority",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRehydrationRequestInternal)this).RehydrationPriority, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationPriority.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRehydrationRequestInternal)this).RehydrationPriority = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationPriority?) content.GetValueForProperty("RehydrationPriority",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRehydrationRequestInternal)this).RehydrationPriority, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationPriority.CreateFrom); } if (content.Contains("RehydrationRetentionDuration")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRehydrationRequestInternal)this).RehydrationRetentionDuration = (string) content.GetValueForProperty("RehydrationRetentionDuration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRehydrationRequestInternal)this).RehydrationRetentionDuration, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRehydrationRequestInternal)this).RehydrationRetentionDuration = (string) content.GetValueForProperty("RehydrationRetentionDuration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRehydrationRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRehydrationRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRehydrationRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureBackupRehydrationRequest(content); } @@ -145,7 +145,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRehydrationRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AzureBackupRehydrationRequest.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRehydrationRequest.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRehydrationRequest.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRehydrationRequest.TypeConverter.cs index 6f2dd8e88681..a13d31748bd1 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRehydrationRequest.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAzureBackupRehydrationRequest ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRehydrationRequest ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRehydrationRequest).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRehydrationRequest).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRehydrationRequest.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRehydrationRequest.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRehydrationRequest.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRehydrationRequest.cs index a92ee2b76c8a..e0ebd64110c7 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRehydrationRequest.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Azure Backup Rehydrate Request public partial class AzureBackupRehydrationRequest : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRehydrationRequest, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRehydrationRequestInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRehydrationRequest, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRehydrationRequestInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRehydrationRequest.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRehydrationRequest.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRehydrationRequest.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRehydrationRequest.json.cs index 057da8821f50..024549f96773 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRehydrationRequest.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAzureBackupRehydrationRequest. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRehydrationRequest. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRehydrationRequest. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRehydrationRequest. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRehydrationRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AzureBackupRestoreRequest.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRestoreRequest.PowerShell.cs similarity index 75% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRestoreRequest.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRestoreRequest.PowerShell.cs index 4a8918703f8d..29824b4ff7bf 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRestoreRequest.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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,41 @@ internal AzureBackupRestoreRequest(global::System.Collections.IDictionary conten // actually deserialize if (content.Contains("IdentityDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IdentityDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IdentityDetailsTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("RestoreTargetInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBase) content.GetValueForProperty("RestoreTargetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RestoreTargetInfoBaseTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBase) content.GetValueForProperty("RestoreTargetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestoreTargetInfoBaseTypeConverter.ConvertFrom); } if (content.Contains("SourceDataStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType.CreateFrom); } if (content.Contains("SourceResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).SourceResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).SourceResourceId, global::System.Convert.ToString); + } + if (content.Contains("ResourceGuardOperationRequest")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).ResourceGuardOperationRequest = (string[]) content.GetValueForProperty("ResourceGuardOperationRequest",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).ResourceGuardOperationRequest, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("IdentityDetailUseSystemAssignedIdentity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity = (bool?) content.GetValueForProperty("IdentityDetailUseSystemAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity = (bool?) content.GetValueForProperty("IdentityDetailUseSystemAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("IdentityDetailUserAssignedIdentityArmUrl")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl = (string) content.GetValueForProperty("IdentityDetailUserAssignedIdentityArmUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl = (string) content.GetValueForProperty("IdentityDetailUserAssignedIdentityArmUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 +119,63 @@ internal AzureBackupRestoreRequest(global::System.Management.Automation.PSObject // actually deserialize if (content.Contains("IdentityDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IdentityDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IdentityDetailsTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("RestoreTargetInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBase) content.GetValueForProperty("RestoreTargetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RestoreTargetInfoBaseTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBase) content.GetValueForProperty("RestoreTargetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestoreTargetInfoBaseTypeConverter.ConvertFrom); } if (content.Contains("SourceDataStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType.CreateFrom); } if (content.Contains("SourceResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).SourceResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).SourceResourceId, global::System.Convert.ToString); + } + if (content.Contains("ResourceGuardOperationRequest")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).ResourceGuardOperationRequest = (string[]) content.GetValueForProperty("ResourceGuardOperationRequest",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).ResourceGuardOperationRequest, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("IdentityDetailUseSystemAssignedIdentity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity = (bool?) content.GetValueForProperty("IdentityDetailUseSystemAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity = (bool?) content.GetValueForProperty("IdentityDetailUseSystemAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("IdentityDetailUserAssignedIdentityArmUrl")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl = (string) content.GetValueForProperty("IdentityDetailUserAssignedIdentityArmUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl = (string) content.GetValueForProperty("IdentityDetailUserAssignedIdentityArmUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRestoreRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRestoreRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureBackupRestoreRequest(content); } @@ -177,7 +185,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AzureBackupRestoreRequest.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRestoreRequest.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRestoreRequest.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRestoreRequest.TypeConverter.cs index b00173960687..634b8e457815 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRestoreRequest.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAzureBackupRestoreRequest ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRestoreRequest.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRestoreRequest.cs similarity index 78% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRestoreRequest.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRestoreRequest.cs index b83ce3560b72..237e4a9fe744 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRestoreRequest.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Azure backup restore request public partial class AzureBackupRestoreRequest : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IIdentityDetails _identityDetail; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IIdentityDetails IdentityDetail { get => (this._identityDetail = this._identityDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IdentityDetails()); set => this._identityDetail = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IIdentityDetails IdentityDetail { get => (this._identityDetail = this._identityDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IIdentityDetailsInternal)IdentityDetail).UseSystemAssignedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IIdentityDetailsInternal)IdentityDetail).UseSystemAssignedIdentity = value ?? default(bool); } + public bool? IdentityDetailUseSystemAssignedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IIdentityDetailsInternal)IdentityDetail).UseSystemAssignedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IIdentityDetailsInternal)IdentityDetail).UserAssignedIdentityArmUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IIdentityDetailsInternal)IdentityDetail).UserAssignedIdentityArmUrl = value ?? null; } + public string IdentityDetailUserAssignedIdentityArmUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IIdentityDetailsInternal)IdentityDetail).UserAssignedIdentityArmUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IIdentityDetailsInternal)IdentityDetail).UserAssignedIdentityArmUrl = value ?? null; } /// Internal Acessors for IdentityDetail - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IIdentityDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal.IdentityDetail { get => (this._identityDetail = this._identityDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IdentityDetails()); set { {_identityDetail = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IIdentityDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal.IdentityDetail { get => (this._identityDetail = this._identityDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IdentityDetails()); set { {_identityDetail = value;} } } /// Backing field for property. private string _objectType; @@ -40,12 +40,19 @@ public partial class AzureBackupRestoreRequest : [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] public string ObjectType { get => this._objectType; set => this._objectType = value; } + /// Backing field for property. + private string[] _resourceGuardOperationRequest; + + /// ResourceGuardOperationRequests on which LAC check will be performed + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public string[] ResourceGuardOperationRequest { get => this._resourceGuardOperationRequest; set => this._resourceGuardOperationRequest = value; } + /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBase _restoreTargetInfo; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRestoreTargetInfoBase RestoreTargetInfo { get => (this._restoreTargetInfo = this._restoreTargetInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RestoreTargetInfoBase()); set => this._restoreTargetInfo = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBase RestoreTargetInfo { get => (this._restoreTargetInfo = this._restoreTargetInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestoreTargetInfoBase()); set => this._restoreTargetInfo = value; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType _sourceDataStoreType; @@ -97,14 +104,22 @@ public partial interface IAzureBackupRestoreRequest : SerializedName = @"objectType", PossibleTypes = new [] { typeof(string) })] string ObjectType { get; set; } + /// ResourceGuardOperationRequests on which LAC check will be performed + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"ResourceGuardOperationRequests on which LAC check will be performed", + SerializedName = @"resourceGuardOperationRequests", + PossibleTypes = new [] { typeof(string) })] + string[] ResourceGuardOperationRequest { get; set; } /// Gets or sets the restore target information. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = true, ReadOnly = false, Description = @"Gets or sets the restore target information.", SerializedName = @"restoreTargetInfo", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBase) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBase RestoreTargetInfo { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBase) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBase RestoreTargetInfo { get; set; } /// Gets or sets the type of the source data store. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = true, @@ -133,15 +148,17 @@ 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.Api20231201.IIdentityDetails IdentityDetail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IIdentityDetails IdentityDetail { get; set; } /// Specifies if the BI is protected by System Identity. bool? IdentityDetailUseSystemAssignedIdentity { get; set; } /// ARM URL for User Assigned Identity. string IdentityDetailUserAssignedIdentityArmUrl { get; set; } string ObjectType { get; set; } + /// ResourceGuardOperationRequests on which LAC check will be performed + string[] ResourceGuardOperationRequest { get; set; } /// Gets or sets the restore target information. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBase RestoreTargetInfo { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AzureBackupRestoreRequest.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRestoreRequest.json.cs similarity index 85% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRestoreRequest.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRestoreRequest.json.cs index 5f63aaecd782..b76cfe4cccde 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRestoreRequest.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,24 +65,25 @@ internal AzureBackupRestoreRequest(Microsoft.Azure.PowerShell.Cmdlets.DataProtec { return; } - {_identityDetail = If( json?.PropertyT("identityDetails"), out var __jsonIdentityDetails) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IdentityDetails.FromJson(__jsonIdentityDetails) : IdentityDetail;} + {_identityDetail = If( json?.PropertyT("identityDetails"), out var __jsonIdentityDetails) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.RestoreTargetInfoBase.FromJson(__jsonRestoreTargetInfo) : RestoreTargetInfo;} + {_restoreTargetInfo = If( json?.PropertyT("restoreTargetInfo"), out var __jsonRestoreTargetInfo) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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;} + {_resourceGuardOperationRequest = If( json?.PropertyT("resourceGuardOperationRequests"), out var __jsonResourceGuardOperationRequests) ? If( __jsonResourceGuardOperationRequests 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 : ResourceGuardOperationRequest;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest. - /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest interface is + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRestoreRequest. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { if (!(node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json)) { @@ -132,6 +133,15 @@ public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode T AddIf( null != this._restoreTargetInfo ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) this._restoreTargetInfo.ToJson(null,serializationMode) : null, "restoreTargetInfo" ,container.Add ); AddIf( null != (((object)this._sourceDataStoreType)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString(this._sourceDataStoreType.ToString()) : null, "sourceDataStoreType" ,container.Add ); AddIf( null != (((object)this._sourceResourceId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString(this._sourceResourceId.ToString()) : null, "sourceResourceId" ,container.Add ); + if (null != this._resourceGuardOperationRequest) + { + var __w = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.XNodeArray(); + foreach( var __x in this._resourceGuardOperationRequest ) + { + 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("resourceGuardOperationRequests",__w); + } AfterToJson(ref container); return container; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRestoreWithRehydrationRequest.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRestoreWithRehydrationRequest.PowerShell.cs similarity index 76% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRestoreWithRehydrationRequest.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRestoreWithRehydrationRequest.PowerShell.cs index 80ae2aecf06f..68aba9bb6366 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRestoreWithRehydrationRequest.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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,53 @@ internal AzureBackupRestoreWithRehydrationRequest(global::System.Collections.IDi // actually deserialize if (content.Contains("RehydrationPriority")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreWithRehydrationRequestInternal)this).RehydrationPriority = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationPriority) content.GetValueForProperty("RehydrationPriority",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreWithRehydrationRequestInternal)this).RehydrationPriority, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationPriority.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreWithRehydrationRequestInternal)this).RehydrationPriority = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationPriority) content.GetValueForProperty("RehydrationPriority",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreWithRehydrationRequestInternal)this).RehydrationPriority, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationPriority.CreateFrom); } if (content.Contains("RehydrationRetentionDuration")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreWithRehydrationRequestInternal)this).RehydrationRetentionDuration = (string) content.GetValueForProperty("RehydrationRetentionDuration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreWithRehydrationRequestInternal)this).RehydrationRetentionDuration, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreWithRehydrationRequestInternal)this).RehydrationRetentionDuration = (string) content.GetValueForProperty("RehydrationRetentionDuration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreWithRehydrationRequestInternal)this).RehydrationRetentionDuration, global::System.Convert.ToString); } if (content.Contains("IdentityDetailUseSystemAssignedIdentity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity = (bool?) content.GetValueForProperty("IdentityDetailUseSystemAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity = (bool?) content.GetValueForProperty("IdentityDetailUseSystemAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("IdentityDetailUserAssignedIdentityArmUrl")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl = (string) content.GetValueForProperty("IdentityDetailUserAssignedIdentityArmUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl = (string) content.GetValueForProperty("IdentityDetailUserAssignedIdentityArmUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl, global::System.Convert.ToString); } if (content.Contains("IdentityDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IdentityDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IdentityDetailsTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("RestoreTargetInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBase) content.GetValueForProperty("RestoreTargetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RestoreTargetInfoBaseTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBase) content.GetValueForProperty("RestoreTargetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestoreTargetInfoBaseTypeConverter.ConvertFrom); } if (content.Contains("SourceDataStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType.CreateFrom); } if (content.Contains("SourceResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).SourceResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).SourceResourceId, global::System.Convert.ToString); + } + if (content.Contains("ResourceGuardOperationRequest")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).ResourceGuardOperationRequest = (string[]) content.GetValueForProperty("ResourceGuardOperationRequest",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).ResourceGuardOperationRequest, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("RecoveryPointId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointBasedRestoreRequestInternal)this).RecoveryPointId = (string) content.GetValueForProperty("RecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointBasedRestoreRequestInternal)this).RecoveryPointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointBasedRestoreRequestInternal)this).RecoveryPointId = (string) content.GetValueForProperty("RecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 +131,75 @@ internal AzureBackupRestoreWithRehydrationRequest(global::System.Management.Auto // actually deserialize if (content.Contains("RehydrationPriority")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreWithRehydrationRequestInternal)this).RehydrationPriority = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationPriority) content.GetValueForProperty("RehydrationPriority",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreWithRehydrationRequestInternal)this).RehydrationPriority, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationPriority.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreWithRehydrationRequestInternal)this).RehydrationPriority = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationPriority) content.GetValueForProperty("RehydrationPriority",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreWithRehydrationRequestInternal)this).RehydrationPriority, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationPriority.CreateFrom); } if (content.Contains("RehydrationRetentionDuration")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreWithRehydrationRequestInternal)this).RehydrationRetentionDuration = (string) content.GetValueForProperty("RehydrationRetentionDuration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreWithRehydrationRequestInternal)this).RehydrationRetentionDuration, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreWithRehydrationRequestInternal)this).RehydrationRetentionDuration = (string) content.GetValueForProperty("RehydrationRetentionDuration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreWithRehydrationRequestInternal)this).RehydrationRetentionDuration, global::System.Convert.ToString); } if (content.Contains("IdentityDetailUseSystemAssignedIdentity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity = (bool?) content.GetValueForProperty("IdentityDetailUseSystemAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity = (bool?) content.GetValueForProperty("IdentityDetailUseSystemAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("IdentityDetailUserAssignedIdentityArmUrl")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl = (string) content.GetValueForProperty("IdentityDetailUserAssignedIdentityArmUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl = (string) content.GetValueForProperty("IdentityDetailUserAssignedIdentityArmUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl, global::System.Convert.ToString); } if (content.Contains("IdentityDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IdentityDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IdentityDetailsTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("RestoreTargetInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBase) content.GetValueForProperty("RestoreTargetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RestoreTargetInfoBaseTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBase) content.GetValueForProperty("RestoreTargetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestoreTargetInfoBaseTypeConverter.ConvertFrom); } if (content.Contains("SourceDataStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType.CreateFrom); } if (content.Contains("SourceResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)this).SourceResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).SourceResourceId, global::System.Convert.ToString); + } + if (content.Contains("ResourceGuardOperationRequest")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).ResourceGuardOperationRequest = (string[]) content.GetValueForProperty("ResourceGuardOperationRequest",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)this).ResourceGuardOperationRequest, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("RecoveryPointId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointBasedRestoreRequestInternal)this).RecoveryPointId = (string) content.GetValueForProperty("RecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointBasedRestoreRequestInternal)this).RecoveryPointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointBasedRestoreRequestInternal)this).RecoveryPointId = (string) content.GetValueForProperty("RecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRestoreWithRehydrationRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRestoreWithRehydrationRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreWithRehydrationRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureBackupRestoreWithRehydrationRequest(content); } @@ -204,7 +212,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreWithRehydrationRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AzureBackupRestoreWithRehydrationRequest.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRestoreWithRehydrationRequest.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRestoreWithRehydrationRequest.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRestoreWithRehydrationRequest.TypeConverter.cs index 3c54a6afc970..9b7e3aee96a4 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRestoreWithRehydrationRequest.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAzureBackupRestoreWithRehydrationRequest ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreWithRehydrationRequest ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreWithRehydrationRequest).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreWithRehydrationRequest).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRestoreWithRehydrationRequest.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRestoreWithRehydrationRequest.cs similarity index 80% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRestoreWithRehydrationRequest.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRestoreWithRehydrationRequest.cs index 66db60df9bce..2edbf2ddf29d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRestoreWithRehydrationRequest.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// AzureBackup Restore with Rehydration Request public partial class AzureBackupRestoreWithRehydrationRequest : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreWithRehydrationRequest, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreWithRehydrationRequestInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreWithRehydrationRequest, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreWithRehydrationRequestInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointBasedRestoreRequest __azureBackupRecoveryPointBasedRestoreRequest = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupRecoveryPointBasedRestoreRequest(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointBasedRestoreRequest __azureBackupRecoveryPointBasedRestoreRequest = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IIdentityDetails IdentityDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).IdentityDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).IdentityDetail = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IIdentityDetails IdentityDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).IdentityDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).IdentityDetailUseSystemAssignedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).IdentityDetailUseSystemAssignedIdentity = value ?? default(bool); } + public bool? IdentityDetailUseSystemAssignedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).IdentityDetailUseSystemAssignedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).IdentityDetailUserAssignedIdentityArmUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).IdentityDetailUserAssignedIdentityArmUrl = value ?? null; } + public string IdentityDetailUserAssignedIdentityArmUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).IdentityDetailUserAssignedIdentityArmUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRecoveryPointBasedRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).RecoveryPointId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointBasedRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).RecoveryPointId = value ; } + public string RecoveryPointId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointBasedRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).RecoveryPointId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointBasedRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).RecoveryPointId = value ; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationPriority _rehydrationPriority; @@ -54,19 +54,23 @@ public partial class AzureBackupRestoreWithRehydrationRequest : [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] public string RehydrationRetentionDuration { get => this._rehydrationRetentionDuration; set => this._rehydrationRetentionDuration = value; } + /// ResourceGuardOperationRequests on which LAC check will be performed + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] + public string[] ResourceGuardOperationRequest { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).ResourceGuardOperationRequest; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).ResourceGuardOperationRequest = value ?? null /* arrayOf */; } + /// 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.Api20231201.IRestoreTargetInfoBase RestoreTargetInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).RestoreTargetInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).RestoreTargetInfo = value ; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBase RestoreTargetInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).RestoreTargetInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).SourceDataStoreType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).SourceDataStoreType = value ; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType SourceDataStoreType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).SourceDataStoreType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).SourceResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).SourceResourceId = value ?? null; } + public string SourceResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).SourceResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).SourceResourceId = value ?? null; } /// /// Creates an new instance. @@ -91,7 +95,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.Api20231201.IAzureBackupRecoveryPointBasedRestoreRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointBasedRestoreRequest { /// Priority to be used for rehydration. Values High or Standard [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( @@ -113,7 +117,7 @@ public partial interface IAzureBackupRestoreWithRehydrationRequest : } /// AzureBackup Restore with Rehydration Request internal partial interface IAzureBackupRestoreWithRehydrationRequestInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointBasedRestoreRequestInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AzureBackupRestoreWithRehydrationRequest.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRestoreWithRehydrationRequest.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRestoreWithRehydrationRequest.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRestoreWithRehydrationRequest.json.cs index fa6645e9f02d..66190b7fa48a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRestoreWithRehydrationRequest.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.AzureBackupRecoveryPointBasedRestoreRequest(json); + __azureBackupRecoveryPointBasedRestoreRequest = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRestoreWithRehydrationRequest. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreWithRehydrationRequest. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreWithRehydrationRequest. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreWithRehydrationRequest. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreWithRehydrationRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AzureBackupRule.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRule.PowerShell.cs similarity index 76% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRule.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRule.PowerShell.cs index bc39ff8777ef..ef43bd954cdc 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRule.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAzureBackupRuleInternal)this).BackupParameter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupParameters) content.GetValueForProperty("BackupParameter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRuleInternal)this).BackupParameter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupParametersTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRuleInternal)this).BackupParameter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupParameters) content.GetValueForProperty("BackupParameter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRuleInternal)this).BackupParameter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupParametersTypeConverter.ConvertFrom); } if (content.Contains("DataStore")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRuleInternal)this).DataStore = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreInfoBase) content.GetValueForProperty("DataStore",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRuleInternal)this).DataStore, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DataStoreInfoBaseTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRuleInternal)this).DataStore = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreInfoBase) content.GetValueForProperty("DataStore",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRuleInternal)this).DataStore, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DataStoreInfoBaseTypeConverter.ConvertFrom); } if (content.Contains("Trigger")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRuleInternal)this).Trigger = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerContext) content.GetValueForProperty("Trigger",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRuleInternal)this).Trigger, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.TriggerContextTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRuleInternal)this).Trigger = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerContext) content.GetValueForProperty("Trigger",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRuleInternal)this).Trigger, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.TriggerContextTypeConverter.ConvertFrom); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBasePolicyRuleInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBasePolicyRuleInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBasePolicyRuleInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBasePolicyRuleInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBasePolicyRuleInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBasePolicyRuleInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBasePolicyRuleInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBasePolicyRuleInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("BackupParameterObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRuleInternal)this).BackupParameterObjectType = (string) content.GetValueForProperty("BackupParameterObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRuleInternal)this).BackupParameterObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRuleInternal)this).BackupParameterObjectType = (string) content.GetValueForProperty("BackupParameterObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRuleInternal)this).BackupParameterObjectType, global::System.Convert.ToString); } if (content.Contains("DataStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRuleInternal)this).DataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("DataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRuleInternal)this).DataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRuleInternal)this).DataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("DataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRuleInternal)this).DataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes.CreateFrom); } if (content.Contains("DataStoreObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRuleInternal)this).DataStoreObjectType = (string) content.GetValueForProperty("DataStoreObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRuleInternal)this).DataStoreObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRuleInternal)this).DataStoreObjectType = (string) content.GetValueForProperty("DataStoreObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRuleInternal)this).DataStoreObjectType, global::System.Convert.ToString); } if (content.Contains("TriggerObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRuleInternal)this).TriggerObjectType = (string) content.GetValueForProperty("TriggerObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRuleInternal)this).TriggerObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRuleInternal)this).TriggerObjectType = (string) content.GetValueForProperty("TriggerObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRuleInternal)this).BackupParameter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupParameters) content.GetValueForProperty("BackupParameter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRuleInternal)this).BackupParameter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupParametersTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRuleInternal)this).BackupParameter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupParameters) content.GetValueForProperty("BackupParameter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRuleInternal)this).BackupParameter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupParametersTypeConverter.ConvertFrom); } if (content.Contains("DataStore")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRuleInternal)this).DataStore = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreInfoBase) content.GetValueForProperty("DataStore",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRuleInternal)this).DataStore, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DataStoreInfoBaseTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRuleInternal)this).DataStore = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreInfoBase) content.GetValueForProperty("DataStore",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRuleInternal)this).DataStore, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DataStoreInfoBaseTypeConverter.ConvertFrom); } if (content.Contains("Trigger")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRuleInternal)this).Trigger = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerContext) content.GetValueForProperty("Trigger",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRuleInternal)this).Trigger, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.TriggerContextTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRuleInternal)this).Trigger = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerContext) content.GetValueForProperty("Trigger",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRuleInternal)this).Trigger, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.TriggerContextTypeConverter.ConvertFrom); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBasePolicyRuleInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBasePolicyRuleInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBasePolicyRuleInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBasePolicyRuleInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBasePolicyRuleInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBasePolicyRuleInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBasePolicyRuleInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBasePolicyRuleInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("BackupParameterObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRuleInternal)this).BackupParameterObjectType = (string) content.GetValueForProperty("BackupParameterObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRuleInternal)this).BackupParameterObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRuleInternal)this).BackupParameterObjectType = (string) content.GetValueForProperty("BackupParameterObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRuleInternal)this).BackupParameterObjectType, global::System.Convert.ToString); } if (content.Contains("DataStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRuleInternal)this).DataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("DataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRuleInternal)this).DataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRuleInternal)this).DataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("DataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRuleInternal)this).DataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes.CreateFrom); } if (content.Contains("DataStoreObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRuleInternal)this).DataStoreObjectType = (string) content.GetValueForProperty("DataStoreObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRuleInternal)this).DataStoreObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRuleInternal)this).DataStoreObjectType = (string) content.GetValueForProperty("DataStoreObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRuleInternal)this).DataStoreObjectType, global::System.Convert.ToString); } if (content.Contains("TriggerObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRuleInternal)this).TriggerObjectType = (string) content.GetValueForProperty("TriggerObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRuleInternal)this).TriggerObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRuleInternal)this).TriggerObjectType = (string) content.GetValueForProperty("TriggerObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRule DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRule DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRule DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureBackupRule(content); } @@ -191,7 +191,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRule FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AzureBackupRule.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRule.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRule.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRule.TypeConverter.cs index 1d106011c901..2632375fea01 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRule.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAzureBackupRule ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRule ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRule).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRule).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRule.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRule.cs similarity index 79% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRule.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRule.cs index 493e6b51082d..17a264cf827e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRule.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Azure backup rule public partial class AzureBackupRule : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRule, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRuleInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRule, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRuleInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBasePolicyRule __basePolicyRule = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BasePolicyRule(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBasePolicyRule __basePolicyRule = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BasePolicyRule(); /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupParameters _backupParameter; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupParameters _backupParameter; /// BackupParameters base [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupParameters BackupParameter { get => (this._backupParameter = this._backupParameter ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupParameters()); set => this._backupParameter = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupParameters BackupParameter { get => (this._backupParameter = this._backupParameter ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupParametersInternal)BackupParameter).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupParametersInternal)BackupParameter).ObjectType = value ?? null; } + public string BackupParameterObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupParametersInternal)BackupParameter).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupParametersInternal)BackupParameter).ObjectType = value ?? null; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreInfoBase _dataStore; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreInfoBase _dataStore; /// DataStoreInfo base [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreInfoBase DataStore { get => (this._dataStore = this._dataStore ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DataStoreInfoBase()); set => this._dataStore = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreInfoBase DataStore { get => (this._dataStore = this._dataStore ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDataStoreInfoBaseInternal)DataStore).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreInfoBaseInternal)DataStore).ObjectType = value ; } + public string DataStoreObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreInfoBaseInternal)DataStore).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDataStoreInfoBaseInternal)DataStore).DataStoreType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreInfoBaseInternal)DataStore).DataStoreType = value ; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes DataStoreType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreInfoBaseInternal)DataStore).DataStoreType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreInfoBaseInternal)DataStore).DataStoreType = value ; } /// Internal Acessors for BackupParameter - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupParameters Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRuleInternal.BackupParameter { get => (this._backupParameter = this._backupParameter ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupParameters()); set { {_backupParameter = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupParameters Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRuleInternal.BackupParameter { get => (this._backupParameter = this._backupParameter ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupParameters()); set { {_backupParameter = value;} } } /// Internal Acessors for DataStore - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreInfoBase Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRuleInternal.DataStore { get => (this._dataStore = this._dataStore ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DataStoreInfoBase()); set { {_dataStore = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreInfoBase Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRuleInternal.DataStore { get => (this._dataStore = this._dataStore ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DataStoreInfoBase()); set { {_dataStore = value;} } } /// Internal Acessors for Trigger - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerContext Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRuleInternal.Trigger { get => (this._trigger = this._trigger ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.TriggerContext()); set { {_trigger = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerContext Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRuleInternal.Trigger { get => (this._trigger = this._trigger ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBasePolicyRuleInternal)__basePolicyRule).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBasePolicyRuleInternal)__basePolicyRule).Name = value ; } + public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBasePolicyRuleInternal)__basePolicyRule).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBasePolicyRuleInternal)__basePolicyRule).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBasePolicyRuleInternal)__basePolicyRule).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBasePolicyRuleInternal)__basePolicyRule).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBasePolicyRuleInternal)__basePolicyRule).ObjectType = value ; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerContext _trigger; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerContext _trigger; /// Trigger context [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerContext Trigger { get => (this._trigger = this._trigger ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.TriggerContext()); set => this._trigger = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerContext Trigger { get => (this._trigger = this._trigger ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ITriggerContextInternal)Trigger).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerContextInternal)Trigger).ObjectType = value ; } + public string TriggerObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerContextInternal)Trigger).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBasePolicyRule + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBasePolicyRuleInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBasePolicyRuleInternal { /// BackupParameters base - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupParameters BackupParameter { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupParameters BackupParameter { get; set; } /// Type of the specific object - used for deserializing string BackupParameterObjectType { get; set; } /// DataStoreInfo base - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreInfoBase DataStore { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ITriggerContext Trigger { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AzureBackupRule.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRule.json.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRule.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureBackupRule.json.cs index 61f0e95f02fc..330e912a19c5 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureBackupRule.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.BasePolicyRule(json); - {_backupParameter = If( json?.PropertyT("backupParameters"), out var __jsonBackupParameters) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupParameters.FromJson(__jsonBackupParameters) : BackupParameter;} - {_dataStore = If( json?.PropertyT("dataStore"), out var __jsonDataStore) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DataStoreInfoBase.FromJson(__jsonDataStore) : DataStore;} - {_trigger = If( json?.PropertyT("trigger"), out var __jsonTrigger) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.TriggerContext.FromJson(__jsonTrigger) : Trigger;} + __basePolicyRule = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BasePolicyRule(json); + {_backupParameter = If( json?.PropertyT("backupParameters"), out var __jsonBackupParameters) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupParameters.FromJson(__jsonBackupParameters) : BackupParameter;} + {_dataStore = If( json?.PropertyT("dataStore"), out var __jsonDataStore) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DataStoreInfoBase.FromJson(__jsonDataStore) : DataStore;} + {_trigger = If( json?.PropertyT("trigger"), out var __jsonTrigger) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.TriggerContext.FromJson(__jsonTrigger) : Trigger;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRule. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRule. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRule. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRule. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRule FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AzureMonitorAlertSettings.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureMonitorAlertSettings.PowerShell.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureMonitorAlertSettings.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureMonitorAlertSettings.PowerShell.cs index 510d9cd95521..a6fe2ddfa8d4 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureMonitorAlertSettings.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAzureMonitorAlertSettingsInternal)this).AlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureMonitorAlertSettingsInternal)this).AlertsForAllJobFailure, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureMonitorAlertSettingsInternal)this).AlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureMonitorAlertSettingsInternal)this).AlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureMonitorAlertSettingsInternal)this).AlertsForAllJobFailure, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureMonitorAlertSettingsInternal)this).AlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureMonitorAlertSettings DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureMonitorAlertSettings DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureMonitorAlertSettings DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureMonitorAlertSettings(content); } @@ -129,7 +129,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureMonitorAlertSettings FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AzureMonitorAlertSettings.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureMonitorAlertSettings.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureMonitorAlertSettings.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureMonitorAlertSettings.TypeConverter.cs index 2091dbd75760..e40c179bd9ce 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureMonitorAlertSettings.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAzureMonitorAlertSettings ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureMonitorAlertSettings ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureMonitorAlertSettings).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureMonitorAlertSettings).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureMonitorAlertSettings.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureMonitorAlertSettings.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureMonitorAlertSettings.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureMonitorAlertSettings.cs index f9b21047a878..6d7be82fc6db 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureMonitorAlertSettings.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAzureMonitorAlertSettings, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureMonitorAlertSettingsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureMonitorAlertSettings, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureMonitorAlertSettingsInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureMonitorAlertSettings.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureMonitorAlertSettings.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureMonitorAlertSettings.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureMonitorAlertSettings.json.cs index 2d8733b682e5..a8385ebc942f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureMonitorAlertSettings.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAzureMonitorAlertSettings. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureMonitorAlertSettings. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureMonitorAlertSettings. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureMonitorAlertSettings. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureMonitorAlertSettings FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AzureOperationalStoreParameters.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureOperationalStoreParameters.PowerShell.cs similarity index 87% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureOperationalStoreParameters.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureOperationalStoreParameters.PowerShell.cs index 0eb1eab14aa9..2ed1fc68c411 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureOperationalStoreParameters.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAzureOperationalStoreParametersInternal)this).ResourceGroupId = (string) content.GetValueForProperty("ResourceGroupId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureOperationalStoreParametersInternal)this).ResourceGroupId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureOperationalStoreParametersInternal)this).ResourceGroupId = (string) content.GetValueForProperty("ResourceGroupId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureOperationalStoreParametersInternal)this).ResourceGroupId, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreParametersInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreParametersInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("DataStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreParametersInternal)this).DataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("DataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreParametersInternal)this).DataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreParametersInternal)this).DataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("DataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureOperationalStoreParametersInternal)this).ResourceGroupId = (string) content.GetValueForProperty("ResourceGroupId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureOperationalStoreParametersInternal)this).ResourceGroupId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureOperationalStoreParametersInternal)this).ResourceGroupId = (string) content.GetValueForProperty("ResourceGroupId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureOperationalStoreParametersInternal)this).ResourceGroupId, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreParametersInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreParametersInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("DataStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreParametersInternal)this).DataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("DataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreParametersInternal)this).DataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreParametersInternal)this).DataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("DataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureOperationalStoreParameters DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureOperationalStoreParameters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureOperationalStoreParameters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureOperationalStoreParameters(content); } @@ -145,7 +145,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureOperationalStoreParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AzureOperationalStoreParameters.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureOperationalStoreParameters.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureOperationalStoreParameters.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureOperationalStoreParameters.TypeConverter.cs index 014b05e0574b..f4aaaf3e372c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureOperationalStoreParameters.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAzureOperationalStoreParameters ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureOperationalStoreParameters ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureOperationalStoreParameters).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureOperationalStoreParameters).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureOperationalStoreParameters.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureOperationalStoreParameters.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureOperationalStoreParameters.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureOperationalStoreParameters.cs index 48fdce494d77..4567b4fbecfa 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureOperationalStoreParameters.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Parameters for Operational-Tier DataStore public partial class AzureOperationalStoreParameters : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureOperationalStoreParameters, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureOperationalStoreParametersInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureOperationalStoreParameters, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureOperationalStoreParametersInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreParameters __dataStoreParameters = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DataStoreParameters(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreParameters __dataStoreParameters = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDataStoreParametersInternal)__dataStoreParameters).DataStoreType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreParametersInternal)__dataStoreParameters).DataStoreType = value ; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes DataStoreType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreParametersInternal)__dataStoreParameters).DataStoreType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDataStoreParametersInternal)__dataStoreParameters).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreParametersInternal)__dataStoreParameters).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreParametersInternal)__dataStoreParameters).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDataStoreParameters + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDataStoreParametersInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreParametersInternal { /// Gets or sets the Snapshot Resource Group Uri. string ResourceGroupId { get; set; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureOperationalStoreParameters.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureOperationalStoreParameters.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureOperationalStoreParameters.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureOperationalStoreParameters.json.cs index c2bcb110b948..c8917aa267b5 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureOperationalStoreParameters.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.DataStoreParameters(json); + __dataStoreParameters = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureOperationalStoreParameters. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureOperationalStoreParameters. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureOperationalStoreParameters. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureOperationalStoreParameters. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureOperationalStoreParameters FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AzureRetentionRule.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureRetentionRule.PowerShell.cs similarity index 82% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureRetentionRule.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureRetentionRule.PowerShell.cs index 5ad9c0d58ef0..a3789f4cd27c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureRetentionRule.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAzureRetentionRuleInternal)this).IsDefault = (bool?) content.GetValueForProperty("IsDefault",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureRetentionRuleInternal)this).IsDefault, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureRetentionRuleInternal)this).IsDefault = (bool?) content.GetValueForProperty("IsDefault",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureRetentionRuleInternal)this).IsDefault, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("Lifecycle")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureRetentionRuleInternal)this).Lifecycle = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISourceLifeCycle[]) content.GetValueForProperty("Lifecycle",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureRetentionRuleInternal)this).Lifecycle, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SourceLifeCycleTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureRetentionRuleInternal)this).Lifecycle = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycle[]) content.GetValueForProperty("Lifecycle",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureRetentionRuleInternal)this).Lifecycle, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SourceLifeCycleTypeConverter.ConvertFrom)); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBasePolicyRuleInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBasePolicyRuleInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBasePolicyRuleInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBasePolicyRuleInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBasePolicyRuleInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBasePolicyRuleInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBasePolicyRuleInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureRetentionRuleInternal)this).IsDefault = (bool?) content.GetValueForProperty("IsDefault",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureRetentionRuleInternal)this).IsDefault, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureRetentionRuleInternal)this).IsDefault = (bool?) content.GetValueForProperty("IsDefault",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureRetentionRuleInternal)this).IsDefault, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("Lifecycle")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureRetentionRuleInternal)this).Lifecycle = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISourceLifeCycle[]) content.GetValueForProperty("Lifecycle",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureRetentionRuleInternal)this).Lifecycle, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SourceLifeCycleTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureRetentionRuleInternal)this).Lifecycle = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycle[]) content.GetValueForProperty("Lifecycle",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureRetentionRuleInternal)this).Lifecycle, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SourceLifeCycleTypeConverter.ConvertFrom)); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBasePolicyRuleInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBasePolicyRuleInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBasePolicyRuleInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBasePolicyRuleInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBasePolicyRuleInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBasePolicyRuleInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBasePolicyRuleInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureRetentionRule DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureRetentionRule DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureRetentionRule DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureRetentionRule(content); } @@ -151,7 +151,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureRetentionRule FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/AzureRetentionRule.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureRetentionRule.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureRetentionRule.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureRetentionRule.TypeConverter.cs index a358c34e8dae..489fd01d76a0 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureRetentionRule.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IAzureRetentionRule ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureRetentionRule ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureRetentionRule).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureRetentionRule).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureRetentionRule.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureRetentionRule.cs similarity index 83% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureRetentionRule.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureRetentionRule.cs index 8b22d7b8a52a..ec0c3aa41604 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureRetentionRule.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Azure retention rule public partial class AzureRetentionRule : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureRetentionRule, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureRetentionRuleInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureRetentionRule, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureRetentionRuleInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBasePolicyRule __basePolicyRule = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BasePolicyRule(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBasePolicyRule __basePolicyRule = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ISourceLifeCycle[] _lifecycle; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycle[] _lifecycle; [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISourceLifeCycle[] Lifecycle { get => this._lifecycle; set => this._lifecycle = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBasePolicyRuleInternal)__basePolicyRule).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBasePolicyRuleInternal)__basePolicyRule).Name = value ; } + public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBasePolicyRuleInternal)__basePolicyRule).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBasePolicyRuleInternal)__basePolicyRule).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBasePolicyRuleInternal)__basePolicyRule).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBasePolicyRuleInternal)__basePolicyRule).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBasePolicyRule + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ISourceLifeCycle) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISourceLifeCycle[] Lifecycle { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycle) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycle[] Lifecycle { get; set; } } /// Azure retention rule internal partial interface IAzureRetentionRuleInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBasePolicyRuleInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBasePolicyRuleInternal { bool? IsDefault { get; set; } - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISourceLifeCycle[] Lifecycle { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycle[] Lifecycle { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureRetentionRule.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureRetentionRule.json.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureRetentionRule.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/AzureRetentionRule.json.cs index ba87c9c4eca1..aeaf13023ba4 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/AzureRetentionRule.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.BasePolicyRule(json); + __basePolicyRule = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ISourceLifeCycle) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.ISourceLifeCycle) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SourceLifeCycle.FromJson(__u) )) ))() : null : Lifecycle;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureRetentionRule. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureRetentionRule. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureRetentionRule. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureRetentionRule. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureRetentionRule FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/BackupCriteria.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupCriteria.PowerShell.cs similarity index 89% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupCriteria.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupCriteria.PowerShell.cs index 621360338564..2209afee5321 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupCriteria.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IBackupCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupCriteriaInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupCriteriaInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupCriteria DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupCriteria DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupCriteria DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new BackupCriteria(content); } @@ -127,7 +127,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupCriteria FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/BackupCriteria.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupCriteria.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupCriteria.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupCriteria.TypeConverter.cs index 098df30009e7..00fd70834ef0 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupCriteria.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IBackupCriteria ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupCriteria ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupCriteria).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupCriteria).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupCriteria.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupCriteria.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupCriteria.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupCriteria.cs index aebb73431c9e..a9e4f065a501 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupCriteria.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// BackupCriteria base class public partial class BackupCriteria : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupCriteria, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupCriteriaInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupCriteria, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupCriteriaInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupCriteria.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupCriteria.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupCriteria.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupCriteria.json.cs index a54e15903017..af6f069a8c3d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupCriteria.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IBackupCriteria. - /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupCriteria interface is polymorphic, + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupCriteria. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupCriteria. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupCriteria. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupCriteria FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/BackupDatasourceParameters.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupDatasourceParameters.PowerShell.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupDatasourceParameters.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupDatasourceParameters.PowerShell.cs index 1a09a0e58ab2..e4b56c6b2302 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupDatasourceParameters.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IBackupDatasourceParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupDatasourceParametersInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupDatasourceParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupDatasourceParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupDatasourceParametersInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupDatasourceParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupDatasourceParameters DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupDatasourceParameters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupDatasourceParameters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new BackupDatasourceParameters(content); } @@ -129,7 +129,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupDatasourceParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/BackupDatasourceParameters.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupDatasourceParameters.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupDatasourceParameters.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupDatasourceParameters.TypeConverter.cs index e8a2ddc0025f..ee7586131e32 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupDatasourceParameters.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IBackupDatasourceParameters ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupDatasourceParameters ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupDatasourceParameters).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupDatasourceParameters).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupDatasourceParameters.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupDatasourceParameters.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupDatasourceParameters.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupDatasourceParameters.cs index 6e0ce3f712a6..3ffcf4b8da97 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupDatasourceParameters.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Parameters for Backup Datasource public partial class BackupDatasourceParameters : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupDatasourceParameters, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupDatasourceParametersInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupDatasourceParameters, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupDatasourceParametersInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupDatasourceParameters.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupDatasourceParameters.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupDatasourceParameters.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupDatasourceParameters.json.cs index 1e87532eec80..4e58d48b20ba 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupDatasourceParameters.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IBackupDatasourceParameters. - /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupDatasourceParameters interface is + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupDatasourceParameters. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupDatasourceParameters. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupDatasourceParameters. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupDatasourceParameters FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/BackupInstance.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupInstance.PowerShell.cs similarity index 68% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupInstance.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupInstance.PowerShell.cs index e7cc2aed893e..9d05574a5c41 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupInstance.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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,61 @@ internal BackupInstance(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("FriendlyName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).FriendlyName = (string) content.GetValueForProperty("FriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).FriendlyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).FriendlyName = (string) content.GetValueForProperty("FriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).FriendlyName, global::System.Convert.ToString); } if (content.Contains("DataSourceInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).DataSourceInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasource) content.GetValueForProperty("DataSourceInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).DataSourceInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DatasourceTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).DataSourceInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasource) content.GetValueForProperty("DataSourceInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).DataSourceInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DatasourceTypeConverter.ConvertFrom); } if (content.Contains("DataSourceSetInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).DataSourceSetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSet) content.GetValueForProperty("DataSourceSetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).DataSourceSetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DatasourceSetTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).DataSourceSetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSet) content.GetValueForProperty("DataSourceSetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).DataSourceSetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DatasourceSetTypeConverter.ConvertFrom); } if (content.Contains("PolicyInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).PolicyInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPolicyInfo) content.GetValueForProperty("PolicyInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).PolicyInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.PolicyInfoTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).PolicyInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyInfo) content.GetValueForProperty("PolicyInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).PolicyInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.PolicyInfoTypeConverter.ConvertFrom); + } + if (content.Contains("ResourceGuardOperationRequest")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).ResourceGuardOperationRequest = (string[]) content.GetValueForProperty("ResourceGuardOperationRequest",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).ResourceGuardOperationRequest, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ProtectionStatus")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).ProtectionStatus = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IProtectionStatusDetails) content.GetValueForProperty("ProtectionStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).ProtectionStatus, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ProtectionStatusDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).ProtectionStatus = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IProtectionStatusDetails) content.GetValueForProperty("ProtectionStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).ProtectionStatus, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ProtectionStatusDetailsTypeConverter.ConvertFrom); } if (content.Contains("CurrentProtectionState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).CurrentProtectionState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState?) content.GetValueForProperty("CurrentProtectionState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).CurrentProtectionState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).CurrentProtectionState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState?) content.GetValueForProperty("CurrentProtectionState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).CurrentProtectionState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState.CreateFrom); } if (content.Contains("ProtectionErrorDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).ProtectionErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingError) content.GetValueForProperty("ProtectionErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).ProtectionErrorDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.UserFacingErrorTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).ProtectionErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError) content.GetValueForProperty("ProtectionErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).ProtectionErrorDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.UserFacingErrorTypeConverter.ConvertFrom); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).ProvisioningState = (string) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).ProvisioningState, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).ProvisioningState = (string) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).ProvisioningState, global::System.Convert.ToString); } if (content.Contains("DatasourceAuthCredentials")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).DatasourceAuthCredentials = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAuthCredentials) content.GetValueForProperty("DatasourceAuthCredentials",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).DatasourceAuthCredentials, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AuthCredentialsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).DatasourceAuthCredentials = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAuthCredentials) content.GetValueForProperty("DatasourceAuthCredentials",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).DatasourceAuthCredentials, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AuthCredentialsTypeConverter.ConvertFrom); } if (content.Contains("ValidationType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).ValidationType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType?) content.GetValueForProperty("ValidationType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).ValidationType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).ValidationType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType?) content.GetValueForProperty("ValidationType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).ValidationType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType.CreateFrom); } if (content.Contains("IdentityDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IdentityDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IdentityDetailsTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 +139,81 @@ internal BackupInstance(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("FriendlyName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).FriendlyName = (string) content.GetValueForProperty("FriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).FriendlyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).FriendlyName = (string) content.GetValueForProperty("FriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).FriendlyName, global::System.Convert.ToString); } if (content.Contains("DataSourceInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).DataSourceInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasource) content.GetValueForProperty("DataSourceInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).DataSourceInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DatasourceTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).DataSourceInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasource) content.GetValueForProperty("DataSourceInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).DataSourceInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DatasourceTypeConverter.ConvertFrom); } if (content.Contains("DataSourceSetInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).DataSourceSetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSet) content.GetValueForProperty("DataSourceSetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).DataSourceSetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DatasourceSetTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).DataSourceSetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSet) content.GetValueForProperty("DataSourceSetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).DataSourceSetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DatasourceSetTypeConverter.ConvertFrom); } if (content.Contains("PolicyInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).PolicyInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPolicyInfo) content.GetValueForProperty("PolicyInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).PolicyInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.PolicyInfoTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).PolicyInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyInfo) content.GetValueForProperty("PolicyInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).PolicyInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.PolicyInfoTypeConverter.ConvertFrom); + } + if (content.Contains("ResourceGuardOperationRequest")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).ResourceGuardOperationRequest = (string[]) content.GetValueForProperty("ResourceGuardOperationRequest",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).ResourceGuardOperationRequest, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ProtectionStatus")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).ProtectionStatus = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IProtectionStatusDetails) content.GetValueForProperty("ProtectionStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).ProtectionStatus, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ProtectionStatusDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).ProtectionStatus = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IProtectionStatusDetails) content.GetValueForProperty("ProtectionStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).ProtectionStatus, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ProtectionStatusDetailsTypeConverter.ConvertFrom); } if (content.Contains("CurrentProtectionState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).CurrentProtectionState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState?) content.GetValueForProperty("CurrentProtectionState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).CurrentProtectionState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).CurrentProtectionState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState?) content.GetValueForProperty("CurrentProtectionState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).CurrentProtectionState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState.CreateFrom); } if (content.Contains("ProtectionErrorDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).ProtectionErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingError) content.GetValueForProperty("ProtectionErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).ProtectionErrorDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.UserFacingErrorTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).ProtectionErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError) content.GetValueForProperty("ProtectionErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).ProtectionErrorDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.UserFacingErrorTypeConverter.ConvertFrom); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).ProvisioningState = (string) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).ProvisioningState, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).ProvisioningState = (string) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).ProvisioningState, global::System.Convert.ToString); } if (content.Contains("DatasourceAuthCredentials")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).DatasourceAuthCredentials = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAuthCredentials) content.GetValueForProperty("DatasourceAuthCredentials",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).DatasourceAuthCredentials, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AuthCredentialsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).DatasourceAuthCredentials = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAuthCredentials) content.GetValueForProperty("DatasourceAuthCredentials",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).DatasourceAuthCredentials, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AuthCredentialsTypeConverter.ConvertFrom); } if (content.Contains("ValidationType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).ValidationType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType?) content.GetValueForProperty("ValidationType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).ValidationType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).ValidationType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType?) content.GetValueForProperty("ValidationType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).ValidationType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType.CreateFrom); } if (content.Contains("IdentityDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IdentityDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IdentityDetailsTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupInstance DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupInstance DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstance DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new BackupInstance(content); } @@ -215,7 +223,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstance FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/BackupInstance.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupInstance.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupInstance.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupInstance.TypeConverter.cs index a7e8a7b2d63c..b6e5f9760046 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupInstance.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IBackupInstance ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstance ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstance).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstance).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupInstance.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupInstance.cs similarity index 79% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupInstance.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupInstance.cs index 310652a2d031..a54efbd160e9 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupInstance.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Backup Instance public partial class BackupInstance : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstance, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstance, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDatasource _dataSourceInfo; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDatasource DataSourceInfo { get => (this._dataSourceInfo = this._dataSourceInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.Datasource()); set => this._dataSourceInfo = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasource DataSourceInfo { get => (this._dataSourceInfo = this._dataSourceInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.Datasource()); set => this._dataSourceInfo = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSet _dataSourceSetInfo; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDatasourceSet DataSourceSetInfo { get => (this._dataSourceSetInfo = this._dataSourceSetInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DatasourceSet()); set => this._dataSourceSetInfo = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSet DataSourceSetInfo { get => (this._dataSourceSetInfo = this._dataSourceSetInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DatasourceSet()); set => this._dataSourceSetInfo = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAuthCredentials _datasourceAuthCredentials; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAuthCredentials DatasourceAuthCredentials { get => (this._datasourceAuthCredentials = this._datasourceAuthCredentials ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AuthCredentials()); set => this._datasourceAuthCredentials = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAuthCredentials DatasourceAuthCredentials { get => (this._datasourceAuthCredentials = this._datasourceAuthCredentials ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IIdentityDetails _identityDetail; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IIdentityDetails IdentityDetail { get => (this._identityDetail = this._identityDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IdentityDetails()); set => this._identityDetail = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IIdentityDetails IdentityDetail { get => (this._identityDetail = this._identityDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IdentityDetails()); set => this._identityDetail = value; } /// Internal Acessors for CurrentProtectionState - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal.CurrentProtectionState { get => this._currentProtectionState; set { {_currentProtectionState = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal.CurrentProtectionState { get => this._currentProtectionState; set { {_currentProtectionState = value;} } } /// Internal Acessors for ProtectionErrorDetail - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingError Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal.ProtectionErrorDetail { get => (this._protectionErrorDetail = this._protectionErrorDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.UserFacingError()); set { {_protectionErrorDetail = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal.ProtectionErrorDetail { get => (this._protectionErrorDetail = this._protectionErrorDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.UserFacingError()); set { {_protectionErrorDetail = value;} } } /// Internal Acessors for ProtectionStatus - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IProtectionStatusDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal.ProtectionStatus { get => (this._protectionStatus = this._protectionStatus ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ProtectionStatusDetails()); set { {_protectionStatus = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IProtectionStatusDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal.ProtectionStatus { get => (this._protectionStatus = this._protectionStatus ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ProtectionStatusDetails()); set { {_protectionStatus = value;} } } /// Internal Acessors for ProvisioningState - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IPolicyInfo _policyInfo; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IPolicyInfo PolicyInfo { get => (this._policyInfo = this._policyInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.PolicyInfo()); set => this._policyInfo = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyInfo PolicyInfo { get => (this._policyInfo = this._policyInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.PolicyInfo()); set => this._policyInfo = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingError _protectionErrorDetail; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IUserFacingError ProtectionErrorDetail { get => (this._protectionErrorDetail = this._protectionErrorDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.UserFacingError()); } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError ProtectionErrorDetail { get => (this._protectionErrorDetail = this._protectionErrorDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.UserFacingError()); } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IProtectionStatusDetails _protectionStatus; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IProtectionStatusDetails ProtectionStatus { get => (this._protectionStatus = this._protectionStatus ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ProtectionStatusDetails()); } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IProtectionStatusDetails ProtectionStatus { get => (this._protectionStatus = this._protectionStatus ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ProtectionStatusDetails()); } /// Backing field for property. private string _provisioningState; @@ -106,6 +106,13 @@ public partial class BackupInstance : [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] public string ProvisioningState { get => this._provisioningState; } + /// Backing field for property. + private string[] _resourceGuardOperationRequest; + + /// ResourceGuardOperationRequests on which LAC check will be performed + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public string[] ResourceGuardOperationRequest { get => this._resourceGuardOperationRequest; set => this._resourceGuardOperationRequest = value; } + /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType? _validationType; @@ -139,24 +146,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.Api20231201.IDatasource) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasource DataSourceInfo { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasource) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDatasourceSet) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSet DataSourceSetInfo { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSet) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAuthCredentials) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAuthCredentials DatasourceAuthCredentials { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAuthCredentials) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAuthCredentials DatasourceAuthCredentials { get; set; } /// Gets or sets the Backup Instance friendly name. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -175,8 +182,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.Api20231201.IIdentityDetails) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IIdentityDetails IdentityDetail { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IIdentityDetails) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IIdentityDetails IdentityDetail { get; set; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = true, @@ -191,24 +198,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.Api20231201.IPolicyInfo) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPolicyInfo PolicyInfo { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyInfo) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IUserFacingError) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingError ProtectionErrorDetail { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IProtectionStatusDetails) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IProtectionStatusDetails ProtectionStatus { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IProtectionStatusDetails) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IProtectionStatusDetails ProtectionStatus { get; } /// /// Specifies the provisioning state of the resource i.e. provisioning/updating/Succeeded/Failed /// @@ -219,6 +226,14 @@ public partial interface IBackupInstance : SerializedName = @"provisioningState", PossibleTypes = new [] { typeof(string) })] string ProvisioningState { get; } + /// ResourceGuardOperationRequests on which LAC check will be performed + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"ResourceGuardOperationRequests on which LAC check will be performed", + SerializedName = @"resourceGuardOperationRequests", + PossibleTypes = new [] { typeof(string) })] + string[] ResourceGuardOperationRequest { get; set; } /// /// Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again. /// @@ -238,30 +253,32 @@ 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.Api20231201.IDatasource DataSourceInfo { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasource DataSourceInfo { get; set; } /// Gets or sets the data source set information. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSet DataSourceSetInfo { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSet DataSourceSetInfo { get; set; } /// Credentials to use to authenticate with data source provider. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAuthCredentials DatasourceAuthCredentials { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IIdentityDetails IdentityDetail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IIdentityDetails IdentityDetail { get; set; } string ObjectType { get; set; } /// Gets or sets the policy information. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPolicyInfo PolicyInfo { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyInfo PolicyInfo { get; set; } /// Specifies the protection error of the resource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingError ProtectionErrorDetail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError ProtectionErrorDetail { get; set; } /// Specifies the protection status of the resource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IProtectionStatusDetails ProtectionStatus { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IProtectionStatusDetails ProtectionStatus { get; set; } /// /// Specifies the provisioning state of the resource i.e. provisioning/updating/Succeeded/Failed /// string ProvisioningState { get; set; } + /// ResourceGuardOperationRequests on which LAC check will be performed + string[] ResourceGuardOperationRequest { get; set; } /// /// Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again. /// diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupInstance.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupInstance.json.cs similarity index 87% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupInstance.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupInstance.json.cs index a269dd8f4b15..5e92556137e9 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupInstance.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -66,28 +66,29 @@ 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.Api20231201.Datasource.FromJson(__jsonDataSourceInfo) : DataSourceInfo;} - {_dataSourceSetInfo = If( json?.PropertyT("dataSourceSetInfo"), out var __jsonDataSourceSetInfo) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DatasourceSet.FromJson(__jsonDataSourceSetInfo) : DataSourceSetInfo;} - {_policyInfo = If( json?.PropertyT("policyInfo"), out var __jsonPolicyInfo) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.PolicyInfo.FromJson(__jsonPolicyInfo) : PolicyInfo;} - {_protectionStatus = If( json?.PropertyT("protectionStatus"), out var __jsonProtectionStatus) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ProtectionStatusDetails.FromJson(__jsonProtectionStatus) : ProtectionStatus;} + {_dataSourceInfo = If( json?.PropertyT("dataSourceInfo"), out var __jsonDataSourceInfo) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.Datasource.FromJson(__jsonDataSourceInfo) : DataSourceInfo;} + {_dataSourceSetInfo = If( json?.PropertyT("dataSourceSetInfo"), out var __jsonDataSourceSetInfo) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DatasourceSet.FromJson(__jsonDataSourceSetInfo) : DataSourceSetInfo;} + {_policyInfo = If( json?.PropertyT("policyInfo"), out var __jsonPolicyInfo) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.PolicyInfo.FromJson(__jsonPolicyInfo) : PolicyInfo;} + {_resourceGuardOperationRequest = If( json?.PropertyT("resourceGuardOperationRequests"), out var __jsonResourceGuardOperationRequests) ? If( __jsonResourceGuardOperationRequests 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 : ResourceGuardOperationRequest;} + {_protectionStatus = If( json?.PropertyT("protectionStatus"), out var __jsonProtectionStatus) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.UserFacingError.FromJson(__jsonProtectionErrorDetails) : ProtectionErrorDetail;} + {_protectionErrorDetail = If( json?.PropertyT("protectionErrorDetails"), out var __jsonProtectionErrorDetails) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.AuthCredentials.FromJson(__jsonDatasourceAuthCredentials) : DatasourceAuthCredentials;} + {_datasourceAuthCredentials = If( json?.PropertyT("datasourceAuthCredentials"), out var __jsonDatasourceAuthCredentials) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IdentityDetails.FromJson(__jsonIdentityDetails) : IdentityDetail;} + {_identityDetail = If( json?.PropertyT("identityDetails"), out var __jsonIdentityDetails) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupInstance. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstance. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstance. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstance. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstance FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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; } @@ -115,6 +116,15 @@ public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode T AddIf( null != this._dataSourceInfo ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) this._dataSourceInfo.ToJson(null,serializationMode) : null, "dataSourceInfo" ,container.Add ); AddIf( null != this._dataSourceSetInfo ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) this._dataSourceSetInfo.ToJson(null,serializationMode) : null, "dataSourceSetInfo" ,container.Add ); AddIf( null != this._policyInfo ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) this._policyInfo.ToJson(null,serializationMode) : null, "policyInfo" ,container.Add ); + if (null != this._resourceGuardOperationRequest) + { + var __w = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.XNodeArray(); + foreach( var __x in this._resourceGuardOperationRequest ) + { + 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("resourceGuardOperationRequests",__w); + } if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SerializationMode.IncludeReadOnly)) { AddIf( null != this._protectionStatus ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) this._protectionStatus.ToJson(null,serializationMode) : null, "protectionStatus" ,container.Add ); diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupInstanceResource.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupInstanceResource.PowerShell.cs similarity index 80% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupInstanceResource.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupInstanceResource.PowerShell.cs index 965e77e2b72a..d3f52a305f82 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupInstanceResource.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IBackupInstanceResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstance) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupInstanceTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstance) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupInstanceTypeConverter.ConvertFrom); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("Tag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppProxyResourceTagsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppProxyResourceTagsTypeConverter.ConvertFrom); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupInstanceResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstance) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupInstanceTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstance) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupInstanceTypeConverter.ConvertFrom); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("Tag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppProxyResourceTagsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppProxyResourceTagsTypeConverter.ConvertFrom); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupInstanceResource DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupInstanceResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new BackupInstanceResource(content); } @@ -169,7 +169,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/BackupInstanceResource.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupInstanceResource.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupInstanceResource.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupInstanceResource.TypeConverter.cs index 683a976bd61c..978aa9be8d29 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupInstanceResource.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IBackupInstanceResource ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResource).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupInstanceResource.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupInstanceResource.cs similarity index 75% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupInstanceResource.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupInstanceResource.cs index 4853a948f20b..9608f4c633ca 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupInstanceResource.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// BackupInstance Resource public partial class BackupInstanceResource : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResource, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResourceInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResourceInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResource __dppProxyResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppProxyResource(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResource __dppProxyResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppProxyResourceInternal)__dppProxyResource).Id; } + public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal)__dppProxyResource).Id; } /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)__dppProxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)__dppProxyResource).Id = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal)__dppProxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal)__dppProxyResource).Id = value; } /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)__dppProxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)__dppProxyResource).Name = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal)__dppProxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal)__dppProxyResource).Name = value; } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)__dppProxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)__dppProxyResource).SystemData = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal)__dppProxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal)__dppProxyResource).SystemData = value; } /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)__dppProxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)__dppProxyResource).Type = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal)__dppProxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppProxyResourceInternal)__dppProxyResource).Name; } + public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal)__dppProxyResource).Name; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstance _property; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstance _property; /// BackupInstanceResource properties [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstance Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupInstance()); set => this._property = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstance Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppProxyResourceInternal)__dppProxyResource).SystemData; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppProxyResourceTags Tag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)__dppProxyResource).Tag; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)__dppProxyResource).Tag = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceTags Tag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal)__dppProxyResource).Tag; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppProxyResourceInternal)__dppProxyResource).Type; } + public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppProxyResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupInstance) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstance Property { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstance) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstance Property { get; set; } } /// BackupInstance Resource internal partial interface IBackupInstanceResourceInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal { /// BackupInstanceResource properties - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstance Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstance Property { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupInstanceResource.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupInstanceResource.json.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupInstanceResource.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupInstanceResource.json.cs index 6524e9c5cdd9..ed2768c35817 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupInstanceResource.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.DppProxyResource(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupInstance.FromJson(__jsonProperties) : Property;} + __dppProxyResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppProxyResource(json); + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupInstance.FromJson(__jsonProperties) : Property;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResource. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResource. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/BackupInstanceResourceList.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupInstanceResourceList.PowerShell.cs similarity index 85% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupInstanceResourceList.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupInstanceResourceList.PowerShell.cs index 38a814948da8..1feab37a4954 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupInstanceResourceList.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IBackupInstanceResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupInstanceResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupInstanceResourceTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupInstanceResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupInstanceResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupInstanceResourceTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupInstanceResourceList DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupInstanceResourceList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResourceList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new BackupInstanceResourceList(content); } @@ -137,7 +137,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResourceList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/BackupInstanceResourceList.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupInstanceResourceList.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupInstanceResourceList.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupInstanceResourceList.TypeConverter.cs index 337f7d1b6c57..0c8d9483510a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupInstanceResourceList.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IBackupInstanceResourceList ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResourceList ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResourceList).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResourceList).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupInstanceResourceList.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupInstanceResourceList.cs similarity index 83% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupInstanceResourceList.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupInstanceResourceList.cs index f915ca648be2..d3742486861f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupInstanceResourceList.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// BackupInstance Resource list response public partial class BackupInstanceResourceList : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResourceList, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResourceListInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResourceList, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResourceListInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceList __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppResourceList(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceList __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResourceListInternal)__dppResourceList).NextLink; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceListInternal)__dppResourceList).NextLink = value ?? null; } + public string NextLink { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceListInternal)__dppResourceList).NextLink; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceListInternal)__dppResourceList).NextLink = value ?? null; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResource[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupInstanceResource[] Value { get => this._value; set => this._value = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupInstanceResource) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResource[] Value { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource[] Value { get; set; } } /// BackupInstance Resource list response internal partial interface IBackupInstanceResourceListInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceListInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceListInternal { /// List of resources. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResource[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource[] Value { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupInstanceResourceList.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupInstanceResourceList.json.cs similarity index 94% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupInstanceResourceList.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupInstanceResourceList.json.cs index 5a23df26eab6..f948f16320f9 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupInstanceResourceList.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.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.Api20231201.IBackupInstanceResource) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupInstanceResource.FromJson(__u) )) ))() : null : Value;} + __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20240401.IBackupInstanceResource) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupInstanceResource.FromJson(__u) )) ))() : null : Value;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResourceList. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResourceList. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResourceList. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResourceList. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResourceList FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/BackupParameters.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupParameters.PowerShell.cs similarity index 89% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupParameters.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupParameters.PowerShell.cs index 631d8dcadbd0..c922def58235 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupParameters.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IBackupParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupParametersInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupParametersInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupParameters DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupParameters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupParameters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new BackupParameters(content); } @@ -127,7 +127,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/BackupParameters.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupParameters.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupParameters.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupParameters.TypeConverter.cs index 18d926a2894d..3a5e8a21a193 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupParameters.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IBackupParameters ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupParameters ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupParameters).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupParameters).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupParameters.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupParameters.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupParameters.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupParameters.cs index 9b6d12a568a8..31b3c6c28348 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupParameters.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// BackupParameters base public partial class BackupParameters : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupParameters, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupParametersInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupParameters, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupParametersInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupParameters.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupParameters.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupParameters.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupParameters.json.cs index 5da0749df81e..fb3759723d48 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupParameters.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IBackupParameters. - /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupParameters interface is polymorphic, + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupParameters. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupParameters. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupParameters. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupParameters FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/BackupPolicy.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupPolicy.PowerShell.cs similarity index 83% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupPolicy.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupPolicy.PowerShell.cs index e17ee791a237..aa83c0445fa2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupPolicy.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IBackupPolicyInternal)this).PolicyRule = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBasePolicyRule[]) content.GetValueForProperty("PolicyRule",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupPolicyInternal)this).PolicyRule, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BasePolicyRuleTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicyInternal)this).PolicyRule = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBasePolicyRule[]) content.GetValueForProperty("PolicyRule",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicyInternal)this).PolicyRule, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BasePolicyRuleTypeConverter.ConvertFrom)); } if (content.Contains("DatasourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyInternal)this).DatasourceType = (string[]) content.GetValueForProperty("DatasourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyInternal)this).DatasourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyInternal)this).DatasourceType = (string[]) content.GetValueForProperty("DatasourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyInternal)this).DatasourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupPolicyInternal)this).PolicyRule = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBasePolicyRule[]) content.GetValueForProperty("PolicyRule",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupPolicyInternal)this).PolicyRule, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BasePolicyRuleTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicyInternal)this).PolicyRule = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBasePolicyRule[]) content.GetValueForProperty("PolicyRule",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicyInternal)this).PolicyRule, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BasePolicyRuleTypeConverter.ConvertFrom)); } if (content.Contains("DatasourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyInternal)this).DatasourceType = (string[]) content.GetValueForProperty("DatasourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyInternal)this).DatasourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyInternal)this).DatasourceType = (string[]) content.GetValueForProperty("DatasourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyInternal)this).DatasourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupPolicy DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupPolicy DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicy DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new BackupPolicy(content); } @@ -143,7 +143,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupPolicy FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/BackupPolicy.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupPolicy.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupPolicy.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupPolicy.TypeConverter.cs index e13b2c99fda4..9dde1f5e9a50 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupPolicy.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IBackupPolicy ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicy ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupPolicy).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicy).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupPolicy.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupPolicy.cs similarity index 81% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupPolicy.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupPolicy.cs index 3550d5344c3e..66d918d3d0a4 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupPolicy.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Rule based backup policy public partial class BackupPolicy : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupPolicy, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupPolicyInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicy, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicyInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicy __baseBackupPolicy = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BaseBackupPolicy(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicy __baseBackupPolicy = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBaseBackupPolicyInternal)__baseBackupPolicy).DatasourceType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyInternal)__baseBackupPolicy).DatasourceType = value ; } + public string[] DatasourceType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyInternal)__baseBackupPolicy).DatasourceType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBaseBackupPolicyInternal)__baseBackupPolicy).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyInternal)__baseBackupPolicy).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyInternal)__baseBackupPolicy).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyInternal)__baseBackupPolicy).ObjectType = value ; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBasePolicyRule[] _policyRule; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBasePolicyRule[] PolicyRule { get => this._policyRule; set => this._policyRule = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBaseBackupPolicy + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBasePolicyRule),typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRule),typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureRetentionRule) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBasePolicyRule[] PolicyRule { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBasePolicyRule),typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRule),typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureRetentionRule) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBasePolicyRule[] PolicyRule { get; set; } } /// Rule based backup policy internal partial interface IBackupPolicyInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyInternal { /// /// Policy rule dictionary that contains rules for each backuptype i.e Full/Incremental/Logs etc /// - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBasePolicyRule[] PolicyRule { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBasePolicyRule[] PolicyRule { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupPolicy.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupPolicy.json.cs similarity index 94% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupPolicy.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupPolicy.json.cs index df88d4c8f052..248ea51db87e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupPolicy.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.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.Api20231201.IBasePolicyRule) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BasePolicyRule.FromJson(__u) )) ))() : null : PolicyRule;} + __baseBackupPolicy = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20240401.IBasePolicyRule) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BasePolicyRule.FromJson(__u) )) ))() : null : PolicyRule;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupPolicy. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicy. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupPolicy. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicy. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupPolicy FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/BackupSchedule.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupSchedule.PowerShell.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupSchedule.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupSchedule.PowerShell.cs index 6d054dc5aea8..3974dd5458aa 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupSchedule.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IBackupScheduleInternal)this).RepeatingTimeInterval = (string[]) content.GetValueForProperty("RepeatingTimeInterval",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupScheduleInternal)this).RepeatingTimeInterval, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupScheduleInternal)this).RepeatingTimeInterval = (string[]) content.GetValueForProperty("RepeatingTimeInterval",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupScheduleInternal)this).RepeatingTimeInterval, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("TimeZone")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupScheduleInternal)this).TimeZone = (string) content.GetValueForProperty("TimeZone",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupScheduleInternal)this).TimeZone, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupScheduleInternal)this).TimeZone = (string) content.GetValueForProperty("TimeZone",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupScheduleInternal)this).RepeatingTimeInterval = (string[]) content.GetValueForProperty("RepeatingTimeInterval",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupScheduleInternal)this).RepeatingTimeInterval, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupScheduleInternal)this).RepeatingTimeInterval = (string[]) content.GetValueForProperty("RepeatingTimeInterval",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupScheduleInternal)this).RepeatingTimeInterval, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("TimeZone")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupScheduleInternal)this).TimeZone = (string) content.GetValueForProperty("TimeZone",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupScheduleInternal)this).TimeZone, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupScheduleInternal)this).TimeZone = (string) content.GetValueForProperty("TimeZone",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupSchedule DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupSchedule DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupSchedule DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new BackupSchedule(content); } @@ -135,7 +135,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupSchedule FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/BackupSchedule.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupSchedule.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupSchedule.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupSchedule.TypeConverter.cs index ef520b5ac692..caa98d2ab246 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupSchedule.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IBackupSchedule ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupSchedule ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupSchedule).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupSchedule).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupSchedule.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupSchedule.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupSchedule.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupSchedule.cs index b3016c0b18de..0c3bd0f1d739 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupSchedule.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Schedule for backup public partial class BackupSchedule : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupSchedule, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupScheduleInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupSchedule, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupScheduleInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupSchedule.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupSchedule.json.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupSchedule.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupSchedule.json.cs index da93a3d4236b..2e996e356d11 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupSchedule.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IBackupSchedule. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupSchedule. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupSchedule. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupSchedule. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupSchedule FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/BackupVault.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupVault.PowerShell.cs similarity index 67% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupVault.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupVault.PowerShell.cs index ab80e291c8b1..77c13b5340be 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupVault.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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,113 +70,125 @@ internal BackupVault(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("MonitoringSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).MonitoringSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IMonitoringSettings) content.GetValueForProperty("MonitoringSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).MonitoringSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.MonitoringSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).MonitoringSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IMonitoringSettings) content.GetValueForProperty("MonitoringSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).MonitoringSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.MonitoringSettingsTypeConverter.ConvertFrom); } if (content.Contains("ResourceMoveDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).ResourceMoveDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceMoveDetails) content.GetValueForProperty("ResourceMoveDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).ResourceMoveDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceMoveDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).ResourceMoveDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceMoveDetails) content.GetValueForProperty("ResourceMoveDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).ResourceMoveDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceMoveDetailsTypeConverter.ConvertFrom); } if (content.Contains("SecuritySetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).SecuritySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettings) content.GetValueForProperty("SecuritySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).SecuritySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SecuritySettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).SecuritySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettings) content.GetValueForProperty("SecuritySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).SecuritySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SecuritySettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).FeatureSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettings) content.GetValueForProperty("FeatureSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).FeatureSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.FeatureSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).FeatureSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettings) content.GetValueForProperty("FeatureSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).FeatureSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.FeatureSettingsTypeConverter.ConvertFrom); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState.CreateFrom); } if (content.Contains("ResourceMoveState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).ResourceMoveState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ResourceMoveState?) content.GetValueForProperty("ResourceMoveState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).ResourceMoveState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ResourceMoveState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).ResourceMoveState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ResourceMoveState?) content.GetValueForProperty("ResourceMoveState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).ResourceMoveState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ResourceMoveState.CreateFrom); } if (content.Contains("StorageSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).StorageSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IStorageSetting[]) content.GetValueForProperty("StorageSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).StorageSetting, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.StorageSettingTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).StorageSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStorageSetting[]) content.GetValueForProperty("StorageSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).StorageSetting, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.StorageSettingTypeConverter.ConvertFrom)); } if (content.Contains("IsVaultProtectedByResourceGuard")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).IsVaultProtectedByResourceGuard = (bool?) content.GetValueForProperty("IsVaultProtectedByResourceGuard",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).IsVaultProtectedByResourceGuard, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).IsVaultProtectedByResourceGuard = (bool?) content.GetValueForProperty("IsVaultProtectedByResourceGuard",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).IsVaultProtectedByResourceGuard, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("SecureScore")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).SecureScore = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecureScoreLevel?) content.GetValueForProperty("SecureScore",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).SecureScore, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecureScoreLevel.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).SecureScore = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecureScoreLevel?) content.GetValueForProperty("SecureScore",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).SecureScore, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecureScoreLevel.CreateFrom); + } + if (content.Contains("BcdrSecurityLevel")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).BcdrSecurityLevel = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.BcdrSecurityLevel?) content.GetValueForProperty("BcdrSecurityLevel",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).BcdrSecurityLevel, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.BcdrSecurityLevel.CreateFrom); + } + if (content.Contains("ResourceGuardOperationRequest")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).ResourceGuardOperationRequest = (string[]) content.GetValueForProperty("ResourceGuardOperationRequest",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).ResourceGuardOperationRequest, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ReplicatedRegion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).ReplicatedRegion = (string[]) content.GetValueForProperty("ReplicatedRegion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).ReplicatedRegion, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).ReplicatedRegion = (string[]) content.GetValueForProperty("ReplicatedRegion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).ReplicatedRegion, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ResourceMoveDetailOperationId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).ResourceMoveDetailOperationId = (string) content.GetValueForProperty("ResourceMoveDetailOperationId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).ResourceMoveDetailOperationId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).ResourceMoveDetailOperationId = (string) content.GetValueForProperty("ResourceMoveDetailOperationId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).ResourceMoveDetailOperationId, global::System.Convert.ToString); } if (content.Contains("SecuritySettingImmutabilitySetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).SecuritySettingImmutabilitySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IImmutabilitySettings) content.GetValueForProperty("SecuritySettingImmutabilitySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).SecuritySettingImmutabilitySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ImmutabilitySettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).SecuritySettingImmutabilitySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IImmutabilitySettings) content.GetValueForProperty("SecuritySettingImmutabilitySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).SecuritySettingImmutabilitySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ImmutabilitySettingsTypeConverter.ConvertFrom); + } + if (content.Contains("EncryptionSetting")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).EncryptionSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings) content.GetValueForProperty("EncryptionSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).EncryptionSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.EncryptionSettingsTypeConverter.ConvertFrom); } if (content.Contains("MonitoringSettingAzureMonitorAlertSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).MonitoringSettingAzureMonitorAlertSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureMonitorAlertSettings) content.GetValueForProperty("MonitoringSettingAzureMonitorAlertSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).MonitoringSettingAzureMonitorAlertSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureMonitorAlertSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).MonitoringSettingAzureMonitorAlertSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureMonitorAlertSettings) content.GetValueForProperty("MonitoringSettingAzureMonitorAlertSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).MonitoringSettingAzureMonitorAlertSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureMonitorAlertSettingsTypeConverter.ConvertFrom); } if (content.Contains("ResourceMoveDetailStartTimeUtc")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).ResourceMoveDetailStartTimeUtc = (string) content.GetValueForProperty("ResourceMoveDetailStartTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).ResourceMoveDetailStartTimeUtc, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).ResourceMoveDetailStartTimeUtc = (string) content.GetValueForProperty("ResourceMoveDetailStartTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).ResourceMoveDetailStartTimeUtc, global::System.Convert.ToString); } if (content.Contains("ResourceMoveDetailCompletionTimeUtc")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).ResourceMoveDetailCompletionTimeUtc = (string) content.GetValueForProperty("ResourceMoveDetailCompletionTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).ResourceMoveDetailCompletionTimeUtc, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).ResourceMoveDetailCompletionTimeUtc = (string) content.GetValueForProperty("ResourceMoveDetailCompletionTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).ResourceMoveDetailCompletionTimeUtc, global::System.Convert.ToString); } if (content.Contains("ResourceMoveDetailSourceResourcePath")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).ResourceMoveDetailSourceResourcePath = (string) content.GetValueForProperty("ResourceMoveDetailSourceResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).ResourceMoveDetailSourceResourcePath, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).ResourceMoveDetailSourceResourcePath = (string) content.GetValueForProperty("ResourceMoveDetailSourceResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).ResourceMoveDetailSourceResourcePath, global::System.Convert.ToString); } if (content.Contains("ResourceMoveDetailTargetResourcePath")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).ResourceMoveDetailTargetResourcePath = (string) content.GetValueForProperty("ResourceMoveDetailTargetResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).ResourceMoveDetailTargetResourcePath, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).ResourceMoveDetailTargetResourcePath = (string) content.GetValueForProperty("ResourceMoveDetailTargetResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).ResourceMoveDetailTargetResourcePath, global::System.Convert.ToString); } if (content.Contains("SoftDeleteSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).SoftDeleteSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISoftDeleteSettings) content.GetValueForProperty("SoftDeleteSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).SoftDeleteSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SoftDeleteSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).SoftDeleteSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISoftDeleteSettings) content.GetValueForProperty("SoftDeleteSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).SoftDeleteSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SoftDeleteSettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSettingCrossSubscriptionRestoreSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).FeatureSettingCrossSubscriptionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossSubscriptionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossSubscriptionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).FeatureSettingCrossSubscriptionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossSubscriptionRestoreSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).FeatureSettingCrossSubscriptionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossSubscriptionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossSubscriptionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).FeatureSettingCrossSubscriptionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CrossSubscriptionRestoreSettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSettingCrossRegionRestoreSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).FeatureSettingCrossRegionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossRegionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).FeatureSettingCrossRegionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossRegionRestoreSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).FeatureSettingCrossRegionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossRegionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).FeatureSettingCrossRegionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CrossRegionRestoreSettingsTypeConverter.ConvertFrom); } if (content.Contains("AzureMonitorAlertsForAllJobFailure")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).AzureMonitorAlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AzureMonitorAlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).AzureMonitorAlertsForAllJobFailure, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).AzureMonitorAlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AzureMonitorAlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).AzureMonitorAlertsForAllJobFailure, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState.CreateFrom); } if (content.Contains("SoftDeleteState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).SoftDeleteState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("SoftDeleteState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).SoftDeleteState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).SoftDeleteState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("SoftDeleteState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).SoftDeleteState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); } if (content.Contains("SoftDeleteRetentionDurationInDay")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).SoftDeleteRetentionDurationInDay = (double?) content.GetValueForProperty("SoftDeleteRetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).SoftDeleteRetentionDurationInDay, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).SoftDeleteRetentionDurationInDay = (double?) content.GetValueForProperty("SoftDeleteRetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).SoftDeleteRetentionDurationInDay, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); } if (content.Contains("ImmutabilityState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).ImmutabilityState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("ImmutabilityState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).ImmutabilityState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).ImmutabilityState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("ImmutabilityState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).ImmutabilityState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState.CreateFrom); } if (content.Contains("CrossSubscriptionRestoreState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).CrossSubscriptionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("CrossSubscriptionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).CrossSubscriptionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).CrossSubscriptionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("CrossSubscriptionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).CrossSubscriptionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState.CreateFrom); } if (content.Contains("CrossRegionRestoreState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).CrossRegionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("CrossRegionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).CrossRegionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).CrossRegionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("CrossRegionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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. @@ -191,133 +203,145 @@ internal BackupVault(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("MonitoringSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).MonitoringSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IMonitoringSettings) content.GetValueForProperty("MonitoringSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).MonitoringSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.MonitoringSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).MonitoringSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IMonitoringSettings) content.GetValueForProperty("MonitoringSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).MonitoringSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.MonitoringSettingsTypeConverter.ConvertFrom); } if (content.Contains("ResourceMoveDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).ResourceMoveDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceMoveDetails) content.GetValueForProperty("ResourceMoveDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).ResourceMoveDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceMoveDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).ResourceMoveDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceMoveDetails) content.GetValueForProperty("ResourceMoveDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).ResourceMoveDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceMoveDetailsTypeConverter.ConvertFrom); } if (content.Contains("SecuritySetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).SecuritySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettings) content.GetValueForProperty("SecuritySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).SecuritySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SecuritySettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).SecuritySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettings) content.GetValueForProperty("SecuritySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).SecuritySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SecuritySettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).FeatureSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettings) content.GetValueForProperty("FeatureSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).FeatureSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.FeatureSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).FeatureSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettings) content.GetValueForProperty("FeatureSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).FeatureSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.FeatureSettingsTypeConverter.ConvertFrom); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState.CreateFrom); } if (content.Contains("ResourceMoveState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).ResourceMoveState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ResourceMoveState?) content.GetValueForProperty("ResourceMoveState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).ResourceMoveState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ResourceMoveState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).ResourceMoveState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ResourceMoveState?) content.GetValueForProperty("ResourceMoveState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).ResourceMoveState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ResourceMoveState.CreateFrom); } if (content.Contains("StorageSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).StorageSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IStorageSetting[]) content.GetValueForProperty("StorageSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).StorageSetting, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.StorageSettingTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).StorageSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStorageSetting[]) content.GetValueForProperty("StorageSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).StorageSetting, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.StorageSettingTypeConverter.ConvertFrom)); } if (content.Contains("IsVaultProtectedByResourceGuard")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).IsVaultProtectedByResourceGuard = (bool?) content.GetValueForProperty("IsVaultProtectedByResourceGuard",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).IsVaultProtectedByResourceGuard, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).IsVaultProtectedByResourceGuard = (bool?) content.GetValueForProperty("IsVaultProtectedByResourceGuard",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).IsVaultProtectedByResourceGuard, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("SecureScore")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).SecureScore = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecureScoreLevel?) content.GetValueForProperty("SecureScore",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).SecureScore, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecureScoreLevel.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).SecureScore = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecureScoreLevel?) content.GetValueForProperty("SecureScore",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).SecureScore, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecureScoreLevel.CreateFrom); + } + if (content.Contains("BcdrSecurityLevel")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).BcdrSecurityLevel = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.BcdrSecurityLevel?) content.GetValueForProperty("BcdrSecurityLevel",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).BcdrSecurityLevel, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.BcdrSecurityLevel.CreateFrom); + } + if (content.Contains("ResourceGuardOperationRequest")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).ResourceGuardOperationRequest = (string[]) content.GetValueForProperty("ResourceGuardOperationRequest",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).ResourceGuardOperationRequest, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ReplicatedRegion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).ReplicatedRegion = (string[]) content.GetValueForProperty("ReplicatedRegion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).ReplicatedRegion, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).ReplicatedRegion = (string[]) content.GetValueForProperty("ReplicatedRegion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).ReplicatedRegion, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ResourceMoveDetailOperationId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).ResourceMoveDetailOperationId = (string) content.GetValueForProperty("ResourceMoveDetailOperationId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).ResourceMoveDetailOperationId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).ResourceMoveDetailOperationId = (string) content.GetValueForProperty("ResourceMoveDetailOperationId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).ResourceMoveDetailOperationId, global::System.Convert.ToString); } if (content.Contains("SecuritySettingImmutabilitySetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).SecuritySettingImmutabilitySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IImmutabilitySettings) content.GetValueForProperty("SecuritySettingImmutabilitySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).SecuritySettingImmutabilitySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ImmutabilitySettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).SecuritySettingImmutabilitySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IImmutabilitySettings) content.GetValueForProperty("SecuritySettingImmutabilitySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).SecuritySettingImmutabilitySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ImmutabilitySettingsTypeConverter.ConvertFrom); + } + if (content.Contains("EncryptionSetting")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).EncryptionSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings) content.GetValueForProperty("EncryptionSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).EncryptionSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.EncryptionSettingsTypeConverter.ConvertFrom); } if (content.Contains("MonitoringSettingAzureMonitorAlertSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).MonitoringSettingAzureMonitorAlertSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureMonitorAlertSettings) content.GetValueForProperty("MonitoringSettingAzureMonitorAlertSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).MonitoringSettingAzureMonitorAlertSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureMonitorAlertSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).MonitoringSettingAzureMonitorAlertSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureMonitorAlertSettings) content.GetValueForProperty("MonitoringSettingAzureMonitorAlertSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).MonitoringSettingAzureMonitorAlertSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureMonitorAlertSettingsTypeConverter.ConvertFrom); } if (content.Contains("ResourceMoveDetailStartTimeUtc")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).ResourceMoveDetailStartTimeUtc = (string) content.GetValueForProperty("ResourceMoveDetailStartTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).ResourceMoveDetailStartTimeUtc, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).ResourceMoveDetailStartTimeUtc = (string) content.GetValueForProperty("ResourceMoveDetailStartTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).ResourceMoveDetailStartTimeUtc, global::System.Convert.ToString); } if (content.Contains("ResourceMoveDetailCompletionTimeUtc")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).ResourceMoveDetailCompletionTimeUtc = (string) content.GetValueForProperty("ResourceMoveDetailCompletionTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).ResourceMoveDetailCompletionTimeUtc, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).ResourceMoveDetailCompletionTimeUtc = (string) content.GetValueForProperty("ResourceMoveDetailCompletionTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).ResourceMoveDetailCompletionTimeUtc, global::System.Convert.ToString); } if (content.Contains("ResourceMoveDetailSourceResourcePath")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).ResourceMoveDetailSourceResourcePath = (string) content.GetValueForProperty("ResourceMoveDetailSourceResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).ResourceMoveDetailSourceResourcePath, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).ResourceMoveDetailSourceResourcePath = (string) content.GetValueForProperty("ResourceMoveDetailSourceResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).ResourceMoveDetailSourceResourcePath, global::System.Convert.ToString); } if (content.Contains("ResourceMoveDetailTargetResourcePath")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).ResourceMoveDetailTargetResourcePath = (string) content.GetValueForProperty("ResourceMoveDetailTargetResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).ResourceMoveDetailTargetResourcePath, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).ResourceMoveDetailTargetResourcePath = (string) content.GetValueForProperty("ResourceMoveDetailTargetResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).ResourceMoveDetailTargetResourcePath, global::System.Convert.ToString); } if (content.Contains("SoftDeleteSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).SoftDeleteSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISoftDeleteSettings) content.GetValueForProperty("SoftDeleteSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).SoftDeleteSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SoftDeleteSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).SoftDeleteSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISoftDeleteSettings) content.GetValueForProperty("SoftDeleteSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).SoftDeleteSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SoftDeleteSettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSettingCrossSubscriptionRestoreSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).FeatureSettingCrossSubscriptionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossSubscriptionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossSubscriptionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).FeatureSettingCrossSubscriptionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossSubscriptionRestoreSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).FeatureSettingCrossSubscriptionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossSubscriptionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossSubscriptionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).FeatureSettingCrossSubscriptionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CrossSubscriptionRestoreSettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSettingCrossRegionRestoreSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).FeatureSettingCrossRegionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossRegionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).FeatureSettingCrossRegionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossRegionRestoreSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).FeatureSettingCrossRegionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossRegionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).FeatureSettingCrossRegionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CrossRegionRestoreSettingsTypeConverter.ConvertFrom); } if (content.Contains("AzureMonitorAlertsForAllJobFailure")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).AzureMonitorAlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AzureMonitorAlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).AzureMonitorAlertsForAllJobFailure, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).AzureMonitorAlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AzureMonitorAlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).AzureMonitorAlertsForAllJobFailure, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState.CreateFrom); } if (content.Contains("SoftDeleteState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).SoftDeleteState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("SoftDeleteState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).SoftDeleteState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).SoftDeleteState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("SoftDeleteState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).SoftDeleteState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); } if (content.Contains("SoftDeleteRetentionDurationInDay")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).SoftDeleteRetentionDurationInDay = (double?) content.GetValueForProperty("SoftDeleteRetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).SoftDeleteRetentionDurationInDay, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).SoftDeleteRetentionDurationInDay = (double?) content.GetValueForProperty("SoftDeleteRetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).SoftDeleteRetentionDurationInDay, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); } if (content.Contains("ImmutabilityState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).ImmutabilityState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("ImmutabilityState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).ImmutabilityState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).ImmutabilityState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("ImmutabilityState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).ImmutabilityState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState.CreateFrom); } if (content.Contains("CrossSubscriptionRestoreState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).CrossSubscriptionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("CrossSubscriptionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).CrossSubscriptionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).CrossSubscriptionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("CrossSubscriptionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).CrossSubscriptionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState.CreateFrom); } if (content.Contains("CrossRegionRestoreState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).CrossRegionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("CrossRegionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)this).CrossRegionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)this).CrossRegionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("CrossRegionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupVault DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupVault DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVault DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new BackupVault(content); } @@ -327,7 +351,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVault FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/BackupVault.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupVault.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupVault.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupVault.TypeConverter.cs index 216211859e35..2b028ee88fc6 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupVault.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IBackupVault ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVault ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVault).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVault).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupVault.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupVault.cs similarity index 73% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupVault.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupVault.cs index 521569926cc1..01df54d16dcc 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupVault.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupVault.cs @@ -3,37 +3,48 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Backup Vault public partial class BackupVault : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVault, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVault, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IMonitoringSettingsInternal)MonitoringSetting).AzureMonitorAlertsForAllJobFailure; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IMonitoringSettingsInternal)MonitoringSetting).AzureMonitorAlertsForAllJobFailure; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IMonitoringSettingsInternal)MonitoringSetting).AzureMonitorAlertsForAllJobFailure = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState)""); } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.BcdrSecurityLevel? _bcdrSecurityLevel; + + /// Security Level of Backup Vault + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.BcdrSecurityLevel? BcdrSecurityLevel { get => this._bcdrSecurityLevel; } /// 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.Api20231201.IFeatureSettingsInternal)FeatureSetting).CrossRegionRestoreState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IFeatureSettingsInternal)FeatureSetting).CrossRegionRestoreState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IFeatureSettingsInternal)FeatureSetting).CrossSubscriptionRestoreState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IFeatureSettingsInternal)FeatureSetting).CrossSubscriptionRestoreState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettingsInternal)FeatureSetting).CrossSubscriptionRestoreState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState)""); } + + /// Customer Managed Key details of the resource. + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings EncryptionSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettingsInternal)SecuritySetting).EncryptionSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettingsInternal)SecuritySetting).EncryptionSetting = value ?? null /* model class */; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettings _featureSetting; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettings _featureSetting; /// Feature Settings [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettings FeatureSetting { get => (this._featureSetting = this._featureSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.FeatureSettings()); set => this._featureSetting = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettings FeatureSetting { get => (this._featureSetting = this._featureSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ISecuritySettingsInternal)SecuritySetting).ImmutabilityState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.ISecuritySettingsInternal)SecuritySetting).ImmutabilityState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettingsInternal)SecuritySetting).ImmutabilityState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState)""); } /// Backing field for property. private bool? _isVaultProtectedByResourceGuard; @@ -42,51 +53,54 @@ public partial class BackupVault : [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] public bool? IsVaultProtectedByResourceGuard { get => this._isVaultProtectedByResourceGuard; } + /// Internal Acessors for BcdrSecurityLevel + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.BcdrSecurityLevel? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal.BcdrSecurityLevel { get => this._bcdrSecurityLevel; set { {_bcdrSecurityLevel = value;} } } + /// Internal Acessors for FeatureSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal.FeatureSetting { get => (this._featureSetting = this._featureSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.FeatureSettings()); set { {_featureSetting = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal.FeatureSetting { get => (this._featureSetting = this._featureSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.FeatureSettings()); set { {_featureSetting = value;} } } /// Internal Acessors for FeatureSettingCrossRegionRestoreSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal.FeatureSettingCrossRegionRestoreSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettingsInternal)FeatureSetting).CrossRegionRestoreSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettingsInternal)FeatureSetting).CrossRegionRestoreSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal.FeatureSettingCrossRegionRestoreSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettingsInternal)FeatureSetting).CrossRegionRestoreSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettingsInternal)FeatureSetting).CrossRegionRestoreSetting = value; } /// Internal Acessors for FeatureSettingCrossSubscriptionRestoreSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossSubscriptionRestoreSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal.FeatureSettingCrossSubscriptionRestoreSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettingsInternal)FeatureSetting).CrossSubscriptionRestoreSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettingsInternal)FeatureSetting).CrossSubscriptionRestoreSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossSubscriptionRestoreSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal.FeatureSettingCrossSubscriptionRestoreSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettingsInternal)FeatureSetting).CrossSubscriptionRestoreSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettingsInternal)FeatureSetting).CrossSubscriptionRestoreSetting = value; } /// Internal Acessors for IsVaultProtectedByResourceGuard - bool? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal.IsVaultProtectedByResourceGuard { get => this._isVaultProtectedByResourceGuard; set { {_isVaultProtectedByResourceGuard = value;} } } + bool? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal.IsVaultProtectedByResourceGuard { get => this._isVaultProtectedByResourceGuard; set { {_isVaultProtectedByResourceGuard = value;} } } /// Internal Acessors for MonitoringSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IMonitoringSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal.MonitoringSetting { get => (this._monitoringSetting = this._monitoringSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.MonitoringSettings()); set { {_monitoringSetting = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IMonitoringSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal.MonitoringSetting { get => (this._monitoringSetting = this._monitoringSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.MonitoringSettings()); set { {_monitoringSetting = value;} } } /// Internal Acessors for MonitoringSettingAzureMonitorAlertSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureMonitorAlertSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal.MonitoringSettingAzureMonitorAlertSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IMonitoringSettingsInternal)MonitoringSetting).AzureMonitorAlertSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IMonitoringSettingsInternal)MonitoringSetting).AzureMonitorAlertSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureMonitorAlertSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal.MonitoringSettingAzureMonitorAlertSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IMonitoringSettingsInternal)MonitoringSetting).AzureMonitorAlertSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IMonitoringSettingsInternal)MonitoringSetting).AzureMonitorAlertSetting = value; } /// Internal Acessors for ProvisioningState - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } /// Internal Acessors for ResourceMoveDetail - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceMoveDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal.ResourceMoveDetail { get => (this._resourceMoveDetail = this._resourceMoveDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceMoveDetails()); set { {_resourceMoveDetail = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceMoveDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal.ResourceMoveDetail { get => (this._resourceMoveDetail = this._resourceMoveDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceMoveDetails()); set { {_resourceMoveDetail = value;} } } /// Internal Acessors for ResourceMoveState - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ResourceMoveState? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal.ResourceMoveState { get => this._resourceMoveState; set { {_resourceMoveState = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ResourceMoveState? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupVaultInternal.SecureScore { get => this._secureScore; set { {_secureScore = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecureScoreLevel? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal.SecureScore { get => this._secureScore; set { {_secureScore = value;} } } /// Internal Acessors for SecuritySetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal.SecuritySetting { get => (this._securitySetting = this._securitySetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SecuritySettings()); set { {_securitySetting = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal.SecuritySetting { get => (this._securitySetting = this._securitySetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SecuritySettings()); set { {_securitySetting = value;} } } /// Internal Acessors for SecuritySettingImmutabilitySetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IImmutabilitySettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal.SecuritySettingImmutabilitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettingsInternal)SecuritySetting).ImmutabilitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettingsInternal)SecuritySetting).ImmutabilitySetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IImmutabilitySettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal.SecuritySettingImmutabilitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettingsInternal)SecuritySetting).ImmutabilitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettingsInternal)SecuritySetting).ImmutabilitySetting = value; } /// Internal Acessors for SoftDeleteSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISoftDeleteSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal.SoftDeleteSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettingsInternal)SecuritySetting).SoftDeleteSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettingsInternal)SecuritySetting).SoftDeleteSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISoftDeleteSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal.SoftDeleteSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettingsInternal)SecuritySetting).SoftDeleteSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettingsInternal)SecuritySetting).SoftDeleteSetting = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IMonitoringSettings _monitoringSetting; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IMonitoringSettings _monitoringSetting; /// Monitoring Settings [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IMonitoringSettings MonitoringSetting { get => (this._monitoringSetting = this._monitoringSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.MonitoringSettings()); set => this._monitoringSetting = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IMonitoringSettings MonitoringSetting { get => (this._monitoringSetting = this._monitoringSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.MonitoringSettings()); set => this._monitoringSetting = value; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState? _provisioningState; @@ -102,34 +116,41 @@ public partial class BackupVault : [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 string[] _resourceGuardOperationRequest; + + /// ResourceGuardOperationRequests on which LAC check will be performed + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public string[] ResourceGuardOperationRequest { get => this._resourceGuardOperationRequest; set => this._resourceGuardOperationRequest = value; } + /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceMoveDetails _resourceMoveDetail; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceMoveDetails ResourceMoveDetail { get => (this._resourceMoveDetail = this._resourceMoveDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceMoveDetails()); } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceMoveDetails ResourceMoveDetail { get => (this._resourceMoveDetail = this._resourceMoveDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceMoveDetailsInternal)ResourceMoveDetail).CompletionTimeUtc; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceMoveDetailsInternal)ResourceMoveDetail).CompletionTimeUtc = value ?? null; } + public string ResourceMoveDetailCompletionTimeUtc { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceMoveDetailsInternal)ResourceMoveDetail).CompletionTimeUtc; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceMoveDetailsInternal)ResourceMoveDetail).OperationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceMoveDetailsInternal)ResourceMoveDetail).OperationId = value ?? null; } + public string ResourceMoveDetailOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceMoveDetailsInternal)ResourceMoveDetail).OperationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceMoveDetailsInternal)ResourceMoveDetail).SourceResourcePath; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceMoveDetailsInternal)ResourceMoveDetail).SourceResourcePath = value ?? null; } + public string ResourceMoveDetailSourceResourcePath { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceMoveDetailsInternal)ResourceMoveDetail).SourceResourcePath; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceMoveDetailsInternal)ResourceMoveDetail).StartTimeUtc; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceMoveDetailsInternal)ResourceMoveDetail).StartTimeUtc = value ?? null; } + public string ResourceMoveDetailStartTimeUtc { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceMoveDetailsInternal)ResourceMoveDetail).StartTimeUtc; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceMoveDetailsInternal)ResourceMoveDetail).TargetResourcePath; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceMoveDetailsInternal)ResourceMoveDetail).TargetResourcePath = value ?? null; } + public string ResourceMoveDetailTargetResourcePath { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceMoveDetailsInternal)ResourceMoveDetail).TargetResourcePath; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceMoveDetailsInternal)ResourceMoveDetail).TargetResourcePath = value ?? null; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ResourceMoveState? _resourceMoveState; @@ -146,26 +167,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.Api20231201.ISecuritySettings _securitySetting; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettings _securitySetting; /// Security Settings [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettings SecuritySetting { get => (this._securitySetting = this._securitySetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SecuritySettings()); set => this._securitySetting = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettings SecuritySetting { get => (this._securitySetting = this._securitySetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ISecuritySettingsInternal)SecuritySetting).SoftDeleteRetentionDurationInDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettingsInternal)SecuritySetting).SoftDeleteRetentionDurationInDay = value ?? default(double); } + public double? SoftDeleteRetentionDurationInDay { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettingsInternal)SecuritySetting).SoftDeleteRetentionDurationInDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ISecuritySettingsInternal)SecuritySetting).SoftDeleteState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.ISecuritySettingsInternal)SecuritySetting).SoftDeleteState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettingsInternal)SecuritySetting).SoftDeleteState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState)""); } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IStorageSetting[] _storageSetting; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStorageSetting[] _storageSetting; /// Storage Settings [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IStorageSetting[] StorageSetting { get => this._storageSetting; set => this._storageSetting = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStorageSetting[] StorageSetting { get => this._storageSetting; set => this._storageSetting = value; } /// Creates an new instance. public BackupVault() @@ -184,6 +205,14 @@ public partial interface IBackupVault : SerializedName = @"alertsForAllJobFailures", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState) })] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState? AzureMonitorAlertsForAllJobFailure { get; set; } + /// Security Level of Backup Vault + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"Security Level of Backup Vault", + SerializedName = @"bcdrSecurityLevel", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.BcdrSecurityLevel) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.BcdrSecurityLevel? BcdrSecurityLevel { get; } /// CrossRegionRestore state [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -200,6 +229,14 @@ public partial interface IBackupVault : SerializedName = @"state", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState) })] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState? CrossSubscriptionRestoreState { get; set; } + /// Customer Managed Key details of the resource. + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Customer Managed Key details of the resource.", + SerializedName = @"encryptionSettings", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings EncryptionSetting { get; set; } /// Immutability state [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -232,6 +269,14 @@ public partial interface IBackupVault : SerializedName = @"replicatedRegions", PossibleTypes = new [] { typeof(string) })] string[] ReplicatedRegion { get; set; } + /// ResourceGuardOperationRequests on which LAC check will be performed + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"ResourceGuardOperationRequests on which LAC check will be performed", + SerializedName = @"resourceGuardOperationRequests", + PossibleTypes = new [] { typeof(string) })] + string[] ResourceGuardOperationRequest { get; set; } /// /// Completion time in UTC of latest ResourceMove operation attempted. ISO 8601 format. /// @@ -312,8 +357,8 @@ public partial interface IBackupVault : ReadOnly = false, Description = @"Storage Settings", SerializedName = @"storageSettings", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IStorageSetting) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IStorageSetting[] StorageSetting { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStorageSetting) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStorageSetting[] StorageSetting { get; set; } } /// Backup Vault @@ -321,30 +366,36 @@ internal partial interface IBackupVaultInternal { Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState? AzureMonitorAlertsForAllJobFailure { get; set; } + /// Security Level of Backup Vault + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.BcdrSecurityLevel? BcdrSecurityLevel { get; set; } /// CrossRegionRestore state Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState? CrossRegionRestoreState { get; set; } /// CrossSubscriptionRestore state Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState? CrossSubscriptionRestoreState { get; set; } + /// Customer Managed Key details of the resource. + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings EncryptionSetting { get; set; } /// Feature Settings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettings FeatureSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettings FeatureSetting { get; set; } - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreSettings FeatureSettingCrossRegionRestoreSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreSettings FeatureSettingCrossRegionRestoreSetting { get; set; } /// CrossSubscriptionRestore Settings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossSubscriptionRestoreSettings FeatureSettingCrossSubscriptionRestoreSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IMonitoringSettings MonitoringSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IMonitoringSettings MonitoringSetting { get; set; } /// Settings for Azure Monitor based alerts - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureMonitorAlertSettings MonitoringSettingAzureMonitorAlertSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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; } + /// ResourceGuardOperationRequests on which LAC check will be performed + string[] ResourceGuardOperationRequest { get; set; } /// Resource move details for backup vault - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceMoveDetails ResourceMoveDetail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceMoveDetails ResourceMoveDetail { get; set; } /// /// Completion time in UTC of latest ResourceMove operation attempted. ISO 8601 format. /// @@ -362,17 +413,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.Api20231201.ISecuritySettings SecuritySetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettings SecuritySetting { get; set; } /// Immutability Settings at vault level - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IImmutabilitySettings SecuritySettingImmutabilitySetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IImmutabilitySettings SecuritySettingImmutabilitySetting { get; set; } /// Soft delete retention duration double? SoftDeleteRetentionDurationInDay { get; set; } /// Soft delete related settings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISoftDeleteSettings SoftDeleteSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IStorageSetting[] StorageSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStorageSetting[] StorageSetting { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupVault.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupVault.json.cs similarity index 81% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupVault.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupVault.json.cs index d2d46b607a8f..79769782f8d6 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupVault.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,27 +65,29 @@ internal BackupVault(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.J { return; } - {_monitoringSetting = If( json?.PropertyT("monitoringSettings"), out var __jsonMonitoringSettings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.MonitoringSettings.FromJson(__jsonMonitoringSettings) : MonitoringSetting;} - {_resourceMoveDetail = If( json?.PropertyT("resourceMoveDetails"), out var __jsonResourceMoveDetails) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceMoveDetails.FromJson(__jsonResourceMoveDetails) : ResourceMoveDetail;} - {_securitySetting = If( json?.PropertyT("securitySettings"), out var __jsonSecuritySettings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SecuritySettings.FromJson(__jsonSecuritySettings) : SecuritySetting;} - {_featureSetting = If( json?.PropertyT("featureSettings"), out var __jsonFeatureSettings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.FeatureSettings.FromJson(__jsonFeatureSettings) : FeatureSetting;} + {_monitoringSetting = If( json?.PropertyT("monitoringSettings"), out var __jsonMonitoringSettings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.MonitoringSettings.FromJson(__jsonMonitoringSettings) : MonitoringSetting;} + {_resourceMoveDetail = If( json?.PropertyT("resourceMoveDetails"), out var __jsonResourceMoveDetails) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceMoveDetails.FromJson(__jsonResourceMoveDetails) : ResourceMoveDetail;} + {_securitySetting = If( json?.PropertyT("securitySettings"), out var __jsonSecuritySettings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SecuritySettings.FromJson(__jsonSecuritySettings) : SecuritySetting;} + {_featureSetting = If( json?.PropertyT("featureSettings"), out var __jsonFeatureSettings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IStorageSetting) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IStorageSetting) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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;} + {_bcdrSecurityLevel = If( json?.PropertyT("bcdrSecurityLevel"), out var __jsonBcdrSecurityLevel) ? (string)__jsonBcdrSecurityLevel : (string)BcdrSecurityLevel;} + {_resourceGuardOperationRequest = If( json?.PropertyT("resourceGuardOperationRequests"), out var __jsonResourceGuardOperationRequests) ? If( __jsonResourceGuardOperationRequests 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 : ResourceGuardOperationRequest;} + {_replicatedRegion = If( json?.PropertyT("replicatedRegions"), out var __jsonReplicatedRegions) ? If( __jsonReplicatedRegions 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 : ReplicatedRegion;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVault. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVault. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVault. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVault. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVault FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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; } @@ -141,14 +143,27 @@ 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) + if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SerializationMode.IncludeReadOnly)) + { + AddIf( null != (((object)this._bcdrSecurityLevel)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString(this._bcdrSecurityLevel.ToString()) : null, "bcdrSecurityLevel" ,container.Add ); + } + if (null != this._resourceGuardOperationRequest) { var __r = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.XNodeArray(); - foreach( var __s in this._replicatedRegion ) + foreach( var __s in this._resourceGuardOperationRequest ) { 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); + container.Add("resourceGuardOperationRequests",__r); + } + if (null != this._replicatedRegion) + { + var __m = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.XNodeArray(); + foreach( var __n in this._replicatedRegion ) + { + 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("replicatedRegions",__m); } AfterToJson(ref container); return container; diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupVaultResource.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupVaultResource.PowerShell.cs similarity index 67% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupVaultResource.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupVaultResource.PowerShell.cs index f9544e59cea8..cea711b2918a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupVaultResource.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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,165 +70,177 @@ internal BackupVaultResource(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVault) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupVaultTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVault) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupVaultTypeConverter.ConvertFrom); } if (content.Contains("ETag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).ETag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).ETag, global::System.Convert.ToString); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Location")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Location, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Tag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppBaseTrackedResourceTagsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppBaseTrackedResourceTagsTypeConverter.ConvertFrom); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("IdentityPrincipalId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal)this).IdentityPrincipalId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal)this).IdentityPrincipalId, global::System.Convert.ToString); } if (content.Contains("IdentityTenantId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal)this).IdentityTenantId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal)this).IdentityTenantId, global::System.Convert.ToString); } if (content.Contains("IdentityType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal)this).IdentityType = (string) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal)this).IdentityType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal)this).IdentityType = (string) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal)this).IdentityType, global::System.Convert.ToString); } if (content.Contains("IdentityUserAssignedIdentity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal)this).IdentityUserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IDppIdentityDetailsUserAssignedIdentities) content.GetValueForProperty("IdentityUserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal)this).IdentityUserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.DppIdentityDetailsUserAssignedIdentitiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal)this).IdentityUserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IDppIdentityDetailsUserAssignedIdentities) content.GetValueForProperty("IdentityUserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal)this).IdentityUserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.DppIdentityDetailsUserAssignedIdentitiesTypeConverter.ConvertFrom); } if (content.Contains("Identity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppIdentityDetails) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppIdentityDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppIdentityDetails) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppIdentityDetailsTypeConverter.ConvertFrom); } if (content.Contains("MonitoringSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).MonitoringSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IMonitoringSettings) content.GetValueForProperty("MonitoringSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).MonitoringSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.MonitoringSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).MonitoringSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IMonitoringSettings) content.GetValueForProperty("MonitoringSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).MonitoringSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.MonitoringSettingsTypeConverter.ConvertFrom); } if (content.Contains("SecuritySetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).SecuritySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettings) content.GetValueForProperty("SecuritySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).SecuritySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SecuritySettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).SecuritySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettings) content.GetValueForProperty("SecuritySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).SecuritySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SecuritySettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).FeatureSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettings) content.GetValueForProperty("FeatureSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).FeatureSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.FeatureSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).FeatureSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettings) content.GetValueForProperty("FeatureSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).FeatureSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.FeatureSettingsTypeConverter.ConvertFrom); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState.CreateFrom); } if (content.Contains("ResourceMoveDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).ResourceMoveDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceMoveDetails) content.GetValueForProperty("ResourceMoveDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).ResourceMoveDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceMoveDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).ResourceMoveDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceMoveDetails) content.GetValueForProperty("ResourceMoveDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).ResourceMoveDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceMoveDetailsTypeConverter.ConvertFrom); } if (content.Contains("ResourceMoveState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).ResourceMoveState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ResourceMoveState?) content.GetValueForProperty("ResourceMoveState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).ResourceMoveState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ResourceMoveState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).ResourceMoveState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ResourceMoveState?) content.GetValueForProperty("ResourceMoveState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).ResourceMoveState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ResourceMoveState.CreateFrom); } if (content.Contains("StorageSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).StorageSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IStorageSetting[]) content.GetValueForProperty("StorageSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).StorageSetting, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.StorageSettingTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).StorageSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStorageSetting[]) content.GetValueForProperty("StorageSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).StorageSetting, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.StorageSettingTypeConverter.ConvertFrom)); } if (content.Contains("IsVaultProtectedByResourceGuard")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).IsVaultProtectedByResourceGuard = (bool?) content.GetValueForProperty("IsVaultProtectedByResourceGuard",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).IsVaultProtectedByResourceGuard, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).IsVaultProtectedByResourceGuard = (bool?) content.GetValueForProperty("IsVaultProtectedByResourceGuard",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).IsVaultProtectedByResourceGuard, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("SecureScore")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).SecureScore = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecureScoreLevel?) content.GetValueForProperty("SecureScore",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).SecureScore, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecureScoreLevel.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).SecureScore = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecureScoreLevel?) content.GetValueForProperty("SecureScore",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).SecureScore, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecureScoreLevel.CreateFrom); + } + if (content.Contains("BcdrSecurityLevel")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).BcdrSecurityLevel = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.BcdrSecurityLevel?) content.GetValueForProperty("BcdrSecurityLevel",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).BcdrSecurityLevel, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.BcdrSecurityLevel.CreateFrom); + } + if (content.Contains("ResourceGuardOperationRequest")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).ResourceGuardOperationRequest = (string[]) content.GetValueForProperty("ResourceGuardOperationRequest",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).ResourceGuardOperationRequest, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ReplicatedRegion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).ReplicatedRegion = (string[]) content.GetValueForProperty("ReplicatedRegion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).ReplicatedRegion, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).ReplicatedRegion = (string[]) content.GetValueForProperty("ReplicatedRegion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).ReplicatedRegion, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ResourceMoveDetailOperationId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).ResourceMoveDetailOperationId = (string) content.GetValueForProperty("ResourceMoveDetailOperationId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).ResourceMoveDetailOperationId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).ResourceMoveDetailOperationId = (string) content.GetValueForProperty("ResourceMoveDetailOperationId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).ResourceMoveDetailOperationId, global::System.Convert.ToString); } if (content.Contains("SecuritySettingImmutabilitySetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).SecuritySettingImmutabilitySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IImmutabilitySettings) content.GetValueForProperty("SecuritySettingImmutabilitySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).SecuritySettingImmutabilitySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ImmutabilitySettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).SecuritySettingImmutabilitySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IImmutabilitySettings) content.GetValueForProperty("SecuritySettingImmutabilitySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).SecuritySettingImmutabilitySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ImmutabilitySettingsTypeConverter.ConvertFrom); + } + if (content.Contains("EncryptionSetting")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).EncryptionSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings) content.GetValueForProperty("EncryptionSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).EncryptionSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.EncryptionSettingsTypeConverter.ConvertFrom); } if (content.Contains("MonitoringSettingAzureMonitorAlertSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).MonitoringSettingAzureMonitorAlertSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureMonitorAlertSettings) content.GetValueForProperty("MonitoringSettingAzureMonitorAlertSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).MonitoringSettingAzureMonitorAlertSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureMonitorAlertSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).MonitoringSettingAzureMonitorAlertSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureMonitorAlertSettings) content.GetValueForProperty("MonitoringSettingAzureMonitorAlertSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).MonitoringSettingAzureMonitorAlertSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureMonitorAlertSettingsTypeConverter.ConvertFrom); } if (content.Contains("ResourceMoveDetailStartTimeUtc")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).ResourceMoveDetailStartTimeUtc = (string) content.GetValueForProperty("ResourceMoveDetailStartTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).ResourceMoveDetailStartTimeUtc, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).ResourceMoveDetailStartTimeUtc = (string) content.GetValueForProperty("ResourceMoveDetailStartTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).ResourceMoveDetailStartTimeUtc, global::System.Convert.ToString); } if (content.Contains("ResourceMoveDetailCompletionTimeUtc")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).ResourceMoveDetailCompletionTimeUtc = (string) content.GetValueForProperty("ResourceMoveDetailCompletionTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).ResourceMoveDetailCompletionTimeUtc, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).ResourceMoveDetailCompletionTimeUtc = (string) content.GetValueForProperty("ResourceMoveDetailCompletionTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).ResourceMoveDetailCompletionTimeUtc, global::System.Convert.ToString); } if (content.Contains("ResourceMoveDetailSourceResourcePath")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).ResourceMoveDetailSourceResourcePath = (string) content.GetValueForProperty("ResourceMoveDetailSourceResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).ResourceMoveDetailSourceResourcePath, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).ResourceMoveDetailSourceResourcePath = (string) content.GetValueForProperty("ResourceMoveDetailSourceResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).ResourceMoveDetailSourceResourcePath, global::System.Convert.ToString); } if (content.Contains("ResourceMoveDetailTargetResourcePath")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).ResourceMoveDetailTargetResourcePath = (string) content.GetValueForProperty("ResourceMoveDetailTargetResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).ResourceMoveDetailTargetResourcePath, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).ResourceMoveDetailTargetResourcePath = (string) content.GetValueForProperty("ResourceMoveDetailTargetResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).ResourceMoveDetailTargetResourcePath, global::System.Convert.ToString); } if (content.Contains("SoftDeleteSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).SoftDeleteSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISoftDeleteSettings) content.GetValueForProperty("SoftDeleteSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).SoftDeleteSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SoftDeleteSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).SoftDeleteSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISoftDeleteSettings) content.GetValueForProperty("SoftDeleteSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).SoftDeleteSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SoftDeleteSettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSettingCrossSubscriptionRestoreSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).FeatureSettingCrossSubscriptionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossSubscriptionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossSubscriptionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).FeatureSettingCrossSubscriptionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossSubscriptionRestoreSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).FeatureSettingCrossSubscriptionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossSubscriptionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossSubscriptionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).FeatureSettingCrossSubscriptionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CrossSubscriptionRestoreSettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSettingCrossRegionRestoreSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).FeatureSettingCrossRegionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossRegionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).FeatureSettingCrossRegionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossRegionRestoreSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).FeatureSettingCrossRegionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossRegionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).FeatureSettingCrossRegionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CrossRegionRestoreSettingsTypeConverter.ConvertFrom); } if (content.Contains("AzureMonitorAlertsForAllJobFailure")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).AzureMonitorAlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AzureMonitorAlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).AzureMonitorAlertsForAllJobFailure, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).AzureMonitorAlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AzureMonitorAlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).AzureMonitorAlertsForAllJobFailure, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState.CreateFrom); } if (content.Contains("SoftDeleteState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).SoftDeleteState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("SoftDeleteState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).SoftDeleteState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).SoftDeleteState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("SoftDeleteState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).SoftDeleteState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); } if (content.Contains("SoftDeleteRetentionDurationInDay")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).SoftDeleteRetentionDurationInDay = (double?) content.GetValueForProperty("SoftDeleteRetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).SoftDeleteRetentionDurationInDay, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).SoftDeleteRetentionDurationInDay = (double?) content.GetValueForProperty("SoftDeleteRetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).SoftDeleteRetentionDurationInDay, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); } if (content.Contains("ImmutabilityState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).ImmutabilityState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("ImmutabilityState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).ImmutabilityState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).ImmutabilityState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("ImmutabilityState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).ImmutabilityState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState.CreateFrom); } if (content.Contains("CrossSubscriptionRestoreState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).CrossSubscriptionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("CrossSubscriptionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).CrossSubscriptionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).CrossSubscriptionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("CrossSubscriptionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).CrossSubscriptionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState.CreateFrom); } if (content.Contains("CrossRegionRestoreState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).CrossRegionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("CrossRegionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).CrossRegionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).CrossRegionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("CrossRegionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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. @@ -243,185 +255,197 @@ internal BackupVaultResource(global::System.Management.Automation.PSObject conte // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVault) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupVaultTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVault) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupVaultTypeConverter.ConvertFrom); } if (content.Contains("ETag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).ETag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).ETag, global::System.Convert.ToString); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Location")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Location, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Tag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppBaseTrackedResourceTagsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppBaseTrackedResourceTagsTypeConverter.ConvertFrom); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("IdentityPrincipalId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal)this).IdentityPrincipalId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal)this).IdentityPrincipalId, global::System.Convert.ToString); } if (content.Contains("IdentityTenantId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal)this).IdentityTenantId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal)this).IdentityTenantId, global::System.Convert.ToString); } if (content.Contains("IdentityType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal)this).IdentityType = (string) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal)this).IdentityType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal)this).IdentityType = (string) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal)this).IdentityType, global::System.Convert.ToString); } if (content.Contains("IdentityUserAssignedIdentity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal)this).IdentityUserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IDppIdentityDetailsUserAssignedIdentities) content.GetValueForProperty("IdentityUserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal)this).IdentityUserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.DppIdentityDetailsUserAssignedIdentitiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal)this).IdentityUserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IDppIdentityDetailsUserAssignedIdentities) content.GetValueForProperty("IdentityUserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal)this).IdentityUserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.DppIdentityDetailsUserAssignedIdentitiesTypeConverter.ConvertFrom); } if (content.Contains("Identity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppIdentityDetails) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppIdentityDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppIdentityDetails) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppIdentityDetailsTypeConverter.ConvertFrom); } if (content.Contains("MonitoringSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).MonitoringSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IMonitoringSettings) content.GetValueForProperty("MonitoringSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).MonitoringSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.MonitoringSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).MonitoringSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IMonitoringSettings) content.GetValueForProperty("MonitoringSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).MonitoringSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.MonitoringSettingsTypeConverter.ConvertFrom); } if (content.Contains("SecuritySetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).SecuritySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettings) content.GetValueForProperty("SecuritySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).SecuritySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SecuritySettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).SecuritySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettings) content.GetValueForProperty("SecuritySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).SecuritySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SecuritySettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).FeatureSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettings) content.GetValueForProperty("FeatureSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).FeatureSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.FeatureSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).FeatureSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettings) content.GetValueForProperty("FeatureSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).FeatureSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.FeatureSettingsTypeConverter.ConvertFrom); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState.CreateFrom); } if (content.Contains("ResourceMoveDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).ResourceMoveDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceMoveDetails) content.GetValueForProperty("ResourceMoveDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).ResourceMoveDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceMoveDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).ResourceMoveDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceMoveDetails) content.GetValueForProperty("ResourceMoveDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).ResourceMoveDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceMoveDetailsTypeConverter.ConvertFrom); } if (content.Contains("ResourceMoveState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).ResourceMoveState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ResourceMoveState?) content.GetValueForProperty("ResourceMoveState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).ResourceMoveState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ResourceMoveState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).ResourceMoveState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ResourceMoveState?) content.GetValueForProperty("ResourceMoveState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).ResourceMoveState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ResourceMoveState.CreateFrom); } if (content.Contains("StorageSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).StorageSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IStorageSetting[]) content.GetValueForProperty("StorageSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).StorageSetting, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.StorageSettingTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).StorageSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStorageSetting[]) content.GetValueForProperty("StorageSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).StorageSetting, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.StorageSettingTypeConverter.ConvertFrom)); } if (content.Contains("IsVaultProtectedByResourceGuard")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).IsVaultProtectedByResourceGuard = (bool?) content.GetValueForProperty("IsVaultProtectedByResourceGuard",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).IsVaultProtectedByResourceGuard, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).IsVaultProtectedByResourceGuard = (bool?) content.GetValueForProperty("IsVaultProtectedByResourceGuard",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).IsVaultProtectedByResourceGuard, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("SecureScore")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).SecureScore = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecureScoreLevel?) content.GetValueForProperty("SecureScore",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).SecureScore, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecureScoreLevel.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).SecureScore = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecureScoreLevel?) content.GetValueForProperty("SecureScore",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).SecureScore, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecureScoreLevel.CreateFrom); + } + if (content.Contains("BcdrSecurityLevel")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).BcdrSecurityLevel = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.BcdrSecurityLevel?) content.GetValueForProperty("BcdrSecurityLevel",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).BcdrSecurityLevel, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.BcdrSecurityLevel.CreateFrom); + } + if (content.Contains("ResourceGuardOperationRequest")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).ResourceGuardOperationRequest = (string[]) content.GetValueForProperty("ResourceGuardOperationRequest",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).ResourceGuardOperationRequest, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ReplicatedRegion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).ReplicatedRegion = (string[]) content.GetValueForProperty("ReplicatedRegion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).ReplicatedRegion, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).ReplicatedRegion = (string[]) content.GetValueForProperty("ReplicatedRegion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).ReplicatedRegion, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ResourceMoveDetailOperationId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).ResourceMoveDetailOperationId = (string) content.GetValueForProperty("ResourceMoveDetailOperationId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).ResourceMoveDetailOperationId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).ResourceMoveDetailOperationId = (string) content.GetValueForProperty("ResourceMoveDetailOperationId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).ResourceMoveDetailOperationId, global::System.Convert.ToString); } if (content.Contains("SecuritySettingImmutabilitySetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).SecuritySettingImmutabilitySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IImmutabilitySettings) content.GetValueForProperty("SecuritySettingImmutabilitySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).SecuritySettingImmutabilitySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ImmutabilitySettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).SecuritySettingImmutabilitySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IImmutabilitySettings) content.GetValueForProperty("SecuritySettingImmutabilitySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).SecuritySettingImmutabilitySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ImmutabilitySettingsTypeConverter.ConvertFrom); + } + if (content.Contains("EncryptionSetting")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).EncryptionSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings) content.GetValueForProperty("EncryptionSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).EncryptionSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.EncryptionSettingsTypeConverter.ConvertFrom); } if (content.Contains("MonitoringSettingAzureMonitorAlertSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).MonitoringSettingAzureMonitorAlertSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureMonitorAlertSettings) content.GetValueForProperty("MonitoringSettingAzureMonitorAlertSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).MonitoringSettingAzureMonitorAlertSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureMonitorAlertSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).MonitoringSettingAzureMonitorAlertSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureMonitorAlertSettings) content.GetValueForProperty("MonitoringSettingAzureMonitorAlertSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).MonitoringSettingAzureMonitorAlertSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureMonitorAlertSettingsTypeConverter.ConvertFrom); } if (content.Contains("ResourceMoveDetailStartTimeUtc")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).ResourceMoveDetailStartTimeUtc = (string) content.GetValueForProperty("ResourceMoveDetailStartTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).ResourceMoveDetailStartTimeUtc, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).ResourceMoveDetailStartTimeUtc = (string) content.GetValueForProperty("ResourceMoveDetailStartTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).ResourceMoveDetailStartTimeUtc, global::System.Convert.ToString); } if (content.Contains("ResourceMoveDetailCompletionTimeUtc")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).ResourceMoveDetailCompletionTimeUtc = (string) content.GetValueForProperty("ResourceMoveDetailCompletionTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).ResourceMoveDetailCompletionTimeUtc, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).ResourceMoveDetailCompletionTimeUtc = (string) content.GetValueForProperty("ResourceMoveDetailCompletionTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).ResourceMoveDetailCompletionTimeUtc, global::System.Convert.ToString); } if (content.Contains("ResourceMoveDetailSourceResourcePath")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).ResourceMoveDetailSourceResourcePath = (string) content.GetValueForProperty("ResourceMoveDetailSourceResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).ResourceMoveDetailSourceResourcePath, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).ResourceMoveDetailSourceResourcePath = (string) content.GetValueForProperty("ResourceMoveDetailSourceResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).ResourceMoveDetailSourceResourcePath, global::System.Convert.ToString); } if (content.Contains("ResourceMoveDetailTargetResourcePath")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).ResourceMoveDetailTargetResourcePath = (string) content.GetValueForProperty("ResourceMoveDetailTargetResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).ResourceMoveDetailTargetResourcePath, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).ResourceMoveDetailTargetResourcePath = (string) content.GetValueForProperty("ResourceMoveDetailTargetResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).ResourceMoveDetailTargetResourcePath, global::System.Convert.ToString); } if (content.Contains("SoftDeleteSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).SoftDeleteSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISoftDeleteSettings) content.GetValueForProperty("SoftDeleteSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).SoftDeleteSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SoftDeleteSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).SoftDeleteSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISoftDeleteSettings) content.GetValueForProperty("SoftDeleteSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).SoftDeleteSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SoftDeleteSettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSettingCrossSubscriptionRestoreSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).FeatureSettingCrossSubscriptionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossSubscriptionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossSubscriptionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).FeatureSettingCrossSubscriptionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossSubscriptionRestoreSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).FeatureSettingCrossSubscriptionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossSubscriptionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossSubscriptionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).FeatureSettingCrossSubscriptionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CrossSubscriptionRestoreSettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSettingCrossRegionRestoreSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).FeatureSettingCrossRegionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossRegionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).FeatureSettingCrossRegionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossRegionRestoreSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).FeatureSettingCrossRegionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossRegionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).FeatureSettingCrossRegionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CrossRegionRestoreSettingsTypeConverter.ConvertFrom); } if (content.Contains("AzureMonitorAlertsForAllJobFailure")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).AzureMonitorAlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AzureMonitorAlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).AzureMonitorAlertsForAllJobFailure, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).AzureMonitorAlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AzureMonitorAlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).AzureMonitorAlertsForAllJobFailure, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState.CreateFrom); } if (content.Contains("SoftDeleteState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).SoftDeleteState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("SoftDeleteState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).SoftDeleteState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).SoftDeleteState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("SoftDeleteState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).SoftDeleteState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); } if (content.Contains("SoftDeleteRetentionDurationInDay")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).SoftDeleteRetentionDurationInDay = (double?) content.GetValueForProperty("SoftDeleteRetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).SoftDeleteRetentionDurationInDay, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).SoftDeleteRetentionDurationInDay = (double?) content.GetValueForProperty("SoftDeleteRetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).SoftDeleteRetentionDurationInDay, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); } if (content.Contains("ImmutabilityState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).ImmutabilityState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("ImmutabilityState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).ImmutabilityState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).ImmutabilityState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("ImmutabilityState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).ImmutabilityState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState.CreateFrom); } if (content.Contains("CrossSubscriptionRestoreState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).CrossSubscriptionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("CrossSubscriptionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).CrossSubscriptionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).CrossSubscriptionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("CrossSubscriptionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).CrossSubscriptionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState.CreateFrom); } if (content.Contains("CrossRegionRestoreState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).CrossRegionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("CrossRegionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal)this).CrossRegionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal)this).CrossRegionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("CrossRegionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupVaultResource DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupVaultResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new BackupVaultResource(content); } @@ -431,7 +455,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/BackupVaultResource.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupVaultResource.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupVaultResource.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupVaultResource.TypeConverter.cs index 3d3244dc3dc0..5a786baf9ad6 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupVaultResource.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IBackupVaultResource ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResource ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResource).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResource).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupVaultResource.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupVaultResource.cs similarity index 72% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupVaultResource.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupVaultResource.cs index ffaf35432753..7ed278e04382 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupVaultResource.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupVaultResource.cs @@ -3,50 +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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Backup Vault Resource public partial class BackupVaultResource : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResource, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResource, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResource __dppTrackedResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppTrackedResource(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResource __dppTrackedResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupVaultInternal)Property).AzureMonitorAlertsForAllJobFailure; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IBackupVaultInternal)Property).AzureMonitorAlertsForAllJobFailure; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)Property).AzureMonitorAlertsForAllJobFailure = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState)""); } + + /// Security Level 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.BcdrSecurityLevel? BcdrSecurityLevel { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)Property).BcdrSecurityLevel; } /// 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.Api20231201.IBackupVaultInternal)Property).CrossRegionRestoreState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IBackupVaultInternal)Property).CrossRegionRestoreState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupVaultInternal)Property).CrossSubscriptionRestoreState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IBackupVaultInternal)Property).CrossSubscriptionRestoreState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseTrackedResourceInternal)__dppTrackedResource).ETag; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)__dppTrackedResource).ETag = value ?? null; } + public string ETag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)__dppTrackedResource).ETag; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)__dppTrackedResource).ETag = value ?? null; } + + /// Customer Managed Key details of the 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.Models.Api20240401.IEncryptionSettings EncryptionSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)Property).EncryptionSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)Property).EncryptionSetting = value ?? null /* model class */; } /// 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.Api20231201.IDppBaseTrackedResourceInternal)__dppTrackedResource).Id; } + public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppIdentityDetails Identity { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal)__dppTrackedResource).Identity; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal)__dppTrackedResource).Identity = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppIdentityDetails Identity { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal)__dppTrackedResource).Identity; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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,193 +64,201 @@ 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.Api20231201.IDppTrackedResourceInternal)__dppTrackedResource).IdentityPrincipalId; } + public string IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppTrackedResourceInternal)__dppTrackedResource).IdentityTenantId; } + public string IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppTrackedResourceInternal)__dppTrackedResource).IdentityType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal)__dppTrackedResource).IdentityType = value ?? null; } + public string IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal)__dppTrackedResource).IdentityType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppTrackedResourceInternal)__dppTrackedResource).IdentityUserAssignedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal)__dppTrackedResource).IdentityUserAssignedIdentity = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IDppIdentityDetailsUserAssignedIdentities IdentityUserAssignedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal)__dppTrackedResource).IdentityUserAssignedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupVaultInternal)Property).ImmutabilityState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IBackupVaultInternal)Property).ImmutabilityState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupVaultInternal)Property).IsVaultProtectedByResourceGuard; } + public bool? IsVaultProtectedByResourceGuard { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseTrackedResourceInternal)__dppTrackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)__dppTrackedResource).Location = value ?? null; } + public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)__dppTrackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)__dppTrackedResource).Location = value ?? null; } + + /// Internal Acessors for BcdrSecurityLevel + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.BcdrSecurityLevel? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal.BcdrSecurityLevel { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)Property).BcdrSecurityLevel; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)Property).BcdrSecurityLevel = value; } /// Internal Acessors for FeatureSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal.FeatureSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)Property).FeatureSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)Property).FeatureSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal.FeatureSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)Property).FeatureSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)Property).FeatureSetting = value; } /// Internal Acessors for FeatureSettingCrossRegionRestoreSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal.FeatureSettingCrossRegionRestoreSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)Property).FeatureSettingCrossRegionRestoreSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)Property).FeatureSettingCrossRegionRestoreSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal.FeatureSettingCrossRegionRestoreSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)Property).FeatureSettingCrossRegionRestoreSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)Property).FeatureSettingCrossRegionRestoreSetting = value; } /// Internal Acessors for FeatureSettingCrossSubscriptionRestoreSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossSubscriptionRestoreSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal.FeatureSettingCrossSubscriptionRestoreSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)Property).FeatureSettingCrossSubscriptionRestoreSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)Property).FeatureSettingCrossSubscriptionRestoreSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossSubscriptionRestoreSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal.FeatureSettingCrossSubscriptionRestoreSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)Property).FeatureSettingCrossSubscriptionRestoreSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)Property).FeatureSettingCrossSubscriptionRestoreSetting = value; } /// Internal Acessors for IsVaultProtectedByResourceGuard - bool? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal.IsVaultProtectedByResourceGuard { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)Property).IsVaultProtectedByResourceGuard; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)Property).IsVaultProtectedByResourceGuard = value; } + bool? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal.IsVaultProtectedByResourceGuard { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)Property).IsVaultProtectedByResourceGuard; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)Property).IsVaultProtectedByResourceGuard = value; } /// Internal Acessors for MonitoringSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IMonitoringSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal.MonitoringSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)Property).MonitoringSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)Property).MonitoringSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IMonitoringSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal.MonitoringSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)Property).MonitoringSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)Property).MonitoringSetting = value; } /// Internal Acessors for MonitoringSettingAzureMonitorAlertSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureMonitorAlertSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal.MonitoringSettingAzureMonitorAlertSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)Property).MonitoringSettingAzureMonitorAlertSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)Property).MonitoringSettingAzureMonitorAlertSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureMonitorAlertSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal.MonitoringSettingAzureMonitorAlertSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)Property).MonitoringSettingAzureMonitorAlertSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)Property).MonitoringSettingAzureMonitorAlertSetting = value; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVault Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupVault()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVault Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupVault()); set { {_property = value;} } } /// Internal Acessors for ProvisioningState - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)Property).ProvisioningState = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)Property).ProvisioningState = value; } /// Internal Acessors for ResourceMoveDetail - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceMoveDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal.ResourceMoveDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)Property).ResourceMoveDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)Property).ResourceMoveDetail = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceMoveDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal.ResourceMoveDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)Property).ResourceMoveDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)Property).ResourceMoveDetail = value; } /// Internal Acessors for ResourceMoveState - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ResourceMoveState? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal.ResourceMoveState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)Property).ResourceMoveState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)Property).ResourceMoveState = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ResourceMoveState? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal.ResourceMoveState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)Property).ResourceMoveState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)Property).ResourceMoveState = value; } /// Internal Acessors for SecureScore - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecureScoreLevel? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal.SecureScore { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)Property).SecureScore; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)Property).SecureScore = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecureScoreLevel? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal.SecureScore { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)Property).SecureScore; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)Property).SecureScore = value; } /// Internal Acessors for SecuritySetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal.SecuritySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)Property).SecuritySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)Property).SecuritySetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal.SecuritySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)Property).SecuritySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)Property).SecuritySetting = value; } /// Internal Acessors for SecuritySettingImmutabilitySetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IImmutabilitySettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal.SecuritySettingImmutabilitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)Property).SecuritySettingImmutabilitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)Property).SecuritySettingImmutabilitySetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IImmutabilitySettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal.SecuritySettingImmutabilitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)Property).SecuritySettingImmutabilitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)Property).SecuritySettingImmutabilitySetting = value; } /// Internal Acessors for SoftDeleteSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISoftDeleteSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceInternal.SoftDeleteSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)Property).SoftDeleteSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)Property).SoftDeleteSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISoftDeleteSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceInternal.SoftDeleteSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)Property).SoftDeleteSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)Property).SoftDeleteSetting = value; } /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)__dppTrackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)__dppTrackedResource).Id = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)__dppTrackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)__dppTrackedResource).Id = value; } /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)__dppTrackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)__dppTrackedResource).Name = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)__dppTrackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)__dppTrackedResource).Name = value; } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)__dppTrackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)__dppTrackedResource).SystemData = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)__dppTrackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)__dppTrackedResource).SystemData = value; } /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)__dppTrackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)__dppTrackedResource).Type = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)__dppTrackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)__dppTrackedResource).Type = value; } /// Internal Acessors for IdentityPrincipalId - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal)__dppTrackedResource).IdentityPrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal)__dppTrackedResource).IdentityPrincipalId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal)__dppTrackedResource).IdentityPrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal)__dppTrackedResource).IdentityPrincipalId = value; } /// Internal Acessors for IdentityTenantId - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal)__dppTrackedResource).IdentityTenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal)__dppTrackedResource).IdentityTenantId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal)__dppTrackedResource).IdentityTenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseTrackedResourceInternal)__dppTrackedResource).Name; } + public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)__dppTrackedResource).Name; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVault _property; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupVault Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupVault()); set => this._property = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVault Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupVaultInternal)Property).ProvisioningState; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupVaultInternal)Property).ReplicatedRegion; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)Property).ReplicatedRegion = value ?? null /* arrayOf */; } + public string[] ReplicatedRegion { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)Property).ReplicatedRegion; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)Property).ReplicatedRegion = value ?? null /* arrayOf */; } + + /// ResourceGuardOperationRequests on which LAC check will be performed + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.DoNotFormat] + public string[] ResourceGuardOperationRequest { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)Property).ResourceGuardOperationRequest; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)Property).ResourceGuardOperationRequest = 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.Api20231201.IBackupVaultInternal)Property).ResourceMoveDetailCompletionTimeUtc; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)Property).ResourceMoveDetailCompletionTimeUtc = value ?? null; } + public string ResourceMoveDetailCompletionTimeUtc { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)Property).ResourceMoveDetailCompletionTimeUtc; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupVaultInternal)Property).ResourceMoveDetailOperationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)Property).ResourceMoveDetailOperationId = value ?? null; } + public string ResourceMoveDetailOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)Property).ResourceMoveDetailOperationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupVaultInternal)Property).ResourceMoveDetailSourceResourcePath; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)Property).ResourceMoveDetailSourceResourcePath = value ?? null; } + public string ResourceMoveDetailSourceResourcePath { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)Property).ResourceMoveDetailSourceResourcePath; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupVaultInternal)Property).ResourceMoveDetailStartTimeUtc; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)Property).ResourceMoveDetailStartTimeUtc = value ?? null; } + public string ResourceMoveDetailStartTimeUtc { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)Property).ResourceMoveDetailStartTimeUtc; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupVaultInternal)Property).ResourceMoveDetailTargetResourcePath; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)Property).ResourceMoveDetailTargetResourcePath = value ?? null; } + public string ResourceMoveDetailTargetResourcePath { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)Property).ResourceMoveDetailTargetResourcePath; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupVaultInternal)Property).ResourceMoveState; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ResourceMoveState? ResourceMoveState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupVaultInternal)Property).SecureScore; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecureScoreLevel? SecureScore { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupVaultInternal)Property).SoftDeleteRetentionDurationInDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)Property).SoftDeleteRetentionDurationInDay = value ?? default(double); } + public double? SoftDeleteRetentionDurationInDay { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)Property).SoftDeleteRetentionDurationInDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupVaultInternal)Property).SoftDeleteState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IBackupVaultInternal)Property).SoftDeleteState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IStorageSetting[] StorageSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)Property).StorageSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultInternal)Property).StorageSetting = value ; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStorageSetting[] StorageSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultInternal)Property).StorageSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseTrackedResourceInternal)__dppTrackedResource).SystemData; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseTrackedResourceTags Tag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)__dppTrackedResource).Tag; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)__dppTrackedResource).Tag = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceTags Tag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)__dppTrackedResource).Tag; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseTrackedResourceInternal)__dppTrackedResource).Type; } + public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)__dppTrackedResource).Type; } /// Creates an new instance. public BackupVaultResource() @@ -263,7 +281,7 @@ public BackupVaultResource() /// Backup Vault Resource public partial interface IBackupVaultResource : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResource { [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -272,6 +290,14 @@ public partial interface IBackupVaultResource : SerializedName = @"alertsForAllJobFailures", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState) })] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState? AzureMonitorAlertsForAllJobFailure { get; set; } + /// Security Level of Backup Vault + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"Security Level of Backup Vault", + SerializedName = @"bcdrSecurityLevel", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.BcdrSecurityLevel) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.BcdrSecurityLevel? BcdrSecurityLevel { get; } /// CrossRegionRestore state [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -288,6 +314,14 @@ public partial interface IBackupVaultResource : SerializedName = @"state", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState) })] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState? CrossSubscriptionRestoreState { get; set; } + /// Customer Managed Key details of the resource. + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Customer Managed Key details of the resource.", + SerializedName = @"encryptionSettings", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings EncryptionSetting { get; set; } /// Immutability state [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -320,6 +354,14 @@ public partial interface IBackupVaultResource : SerializedName = @"replicatedRegions", PossibleTypes = new [] { typeof(string) })] string[] ReplicatedRegion { get; set; } + /// ResourceGuardOperationRequests on which LAC check will be performed + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"ResourceGuardOperationRequests on which LAC check will be performed", + SerializedName = @"resourceGuardOperationRequests", + PossibleTypes = new [] { typeof(string) })] + string[] ResourceGuardOperationRequest { get; set; } /// /// Completion time in UTC of latest ResourceMove operation attempted. ISO 8601 format. /// @@ -400,41 +442,47 @@ public partial interface IBackupVaultResource : ReadOnly = false, Description = @"Storage Settings", SerializedName = @"storageSettings", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IStorageSetting) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IStorageSetting[] StorageSetting { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStorageSetting) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStorageSetting[] StorageSetting { get; set; } } /// Backup Vault Resource internal partial interface IBackupVaultResourceInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal { Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState? AzureMonitorAlertsForAllJobFailure { get; set; } + /// Security Level of Backup Vault + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.BcdrSecurityLevel? BcdrSecurityLevel { get; set; } /// CrossRegionRestore state Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState? CrossRegionRestoreState { get; set; } /// CrossSubscriptionRestore state Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState? CrossSubscriptionRestoreState { get; set; } + /// Customer Managed Key details of the resource. + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings EncryptionSetting { get; set; } /// Feature Settings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettings FeatureSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettings FeatureSetting { get; set; } - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreSettings FeatureSettingCrossRegionRestoreSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreSettings FeatureSettingCrossRegionRestoreSetting { get; set; } /// CrossSubscriptionRestore Settings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossSubscriptionRestoreSettings FeatureSettingCrossSubscriptionRestoreSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IMonitoringSettings MonitoringSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IMonitoringSettings MonitoringSetting { get; set; } /// Settings for Azure Monitor based alerts - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureMonitorAlertSettings MonitoringSettingAzureMonitorAlertSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureMonitorAlertSettings MonitoringSettingAzureMonitorAlertSetting { get; set; } /// BackupVaultResource properties - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVault Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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; } + /// ResourceGuardOperationRequests on which LAC check will be performed + string[] ResourceGuardOperationRequest { get; set; } /// Resource move details for backup vault - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceMoveDetails ResourceMoveDetail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceMoveDetails ResourceMoveDetail { get; set; } /// /// Completion time in UTC of latest ResourceMove operation attempted. ISO 8601 format. /// @@ -452,17 +500,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.Api20231201.ISecuritySettings SecuritySetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettings SecuritySetting { get; set; } /// Immutability Settings at vault level - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IImmutabilitySettings SecuritySettingImmutabilitySetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IImmutabilitySettings SecuritySettingImmutabilitySetting { get; set; } /// Soft delete retention duration double? SoftDeleteRetentionDurationInDay { get; set; } /// Soft delete related settings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISoftDeleteSettings SoftDeleteSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IStorageSetting[] StorageSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStorageSetting[] StorageSetting { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupVaultResource.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupVaultResource.json.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupVaultResource.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupVaultResource.json.cs index 245b64ab497a..78db46d855b2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupVaultResource.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.DppTrackedResource(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupVault.FromJson(__jsonProperties) : Property;} + __dppTrackedResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppTrackedResource(json); + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupVault.FromJson(__jsonProperties) : Property;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResource. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResource. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResource. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResource. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/BackupVaultResourceList.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupVaultResourceList.PowerShell.cs similarity index 85% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupVaultResourceList.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupVaultResourceList.PowerShell.cs index b0471bc5549b..d5cf52554138 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupVaultResourceList.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IBackupVaultResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupVaultResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupVaultResourceTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupVaultResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupVaultResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupVaultResourceTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupVaultResourceList DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupVaultResourceList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new BackupVaultResourceList(content); } @@ -137,7 +137,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/BackupVaultResourceList.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupVaultResourceList.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupVaultResourceList.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupVaultResourceList.TypeConverter.cs index ed6e538f359f..48620cc7f6dd 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupVaultResourceList.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IBackupVaultResourceList ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceList ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceList).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceList).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupVaultResourceList.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupVaultResourceList.cs similarity index 83% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupVaultResourceList.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupVaultResourceList.cs index 8c7f41eb67ee..3edcab3f7089 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupVaultResourceList.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// List of BackupVault resources public partial class BackupVaultResourceList : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceList, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceListInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceList, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceListInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceList __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppResourceList(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceList __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResourceListInternal)__dppResourceList).NextLink; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceListInternal)__dppResourceList).NextLink = value ?? null; } + public string NextLink { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceListInternal)__dppResourceList).NextLink; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceListInternal)__dppResourceList).NextLink = value ?? null; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResource[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupVaultResource[] Value { get => this._value; set => this._value = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupVaultResource) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResource[] Value { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResource) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResource[] Value { get; set; } } /// List of BackupVault resources internal partial interface IBackupVaultResourceListInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceListInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceListInternal { /// List of resources. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResource[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResource[] Value { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupVaultResourceList.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupVaultResourceList.json.cs similarity index 94% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupVaultResourceList.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BackupVaultResourceList.json.cs index ca4c6aa4fdab..c88ed2477ab5 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BackupVaultResourceList.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.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.Api20231201.IBackupVaultResource) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupVaultResource.FromJson(__u) )) ))() : null : Value;} + __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20240401.IBackupVaultResource) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupVaultResource.FromJson(__u) )) ))() : null : Value;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceList. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceList. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceList. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResourceList. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResourceList FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/BaseBackupPolicy.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BaseBackupPolicy.PowerShell.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BaseBackupPolicy.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BaseBackupPolicy.PowerShell.cs index 12d407bd788a..501079a3772c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BaseBackupPolicy.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IBaseBackupPolicyInternal)this).DatasourceType = (string[]) content.GetValueForProperty("DatasourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyInternal)this).DatasourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyInternal)this).DatasourceType = (string[]) content.GetValueForProperty("DatasourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyInternal)this).DatasourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBaseBackupPolicyInternal)this).DatasourceType = (string[]) content.GetValueForProperty("DatasourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyInternal)this).DatasourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyInternal)this).DatasourceType = (string[]) content.GetValueForProperty("DatasourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyInternal)this).DatasourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBaseBackupPolicy DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBaseBackupPolicy DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicy DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new BaseBackupPolicy(content); } @@ -135,7 +135,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicy FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/BaseBackupPolicy.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BaseBackupPolicy.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BaseBackupPolicy.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BaseBackupPolicy.TypeConverter.cs index 28efb20674fb..ec94690e25fd 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BaseBackupPolicy.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IBaseBackupPolicy ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicy ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicy).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicy).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BaseBackupPolicy.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BaseBackupPolicy.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BaseBackupPolicy.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BaseBackupPolicy.cs index 69a50e9b60da..bbb92de9da42 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BaseBackupPolicy.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// BackupPolicy base public partial class BaseBackupPolicy : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicy, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicy, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BaseBackupPolicy.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BaseBackupPolicy.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BaseBackupPolicy.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BaseBackupPolicy.json.cs index eb87f4bc7ca0..732e517ab263 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BaseBackupPolicy.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IBaseBackupPolicy. - /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicy interface is polymorphic, + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicy. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBaseBackupPolicy. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicy. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicy FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/BaseBackupPolicyResource.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BaseBackupPolicyResource.PowerShell.cs similarity index 80% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BaseBackupPolicyResource.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BaseBackupPolicyResource.PowerShell.cs index 377c1ead092c..004d401dad69 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BaseBackupPolicyResource.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IBaseBackupPolicyResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicy) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BaseBackupPolicyTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicy) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BaseBackupPolicyTypeConverter.ConvertFrom); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("DatasourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResourceInternal)this).DatasourceType = (string[]) content.GetValueForProperty("DatasourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResourceInternal)this).DatasourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResourceInternal)this).DatasourceType = (string[]) content.GetValueForProperty("DatasourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResourceInternal)this).DatasourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResourceInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBaseBackupPolicyResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicy) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BaseBackupPolicyTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicy) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BaseBackupPolicyTypeConverter.ConvertFrom); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("DatasourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResourceInternal)this).DatasourceType = (string[]) content.GetValueForProperty("DatasourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResourceInternal)this).DatasourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResourceInternal)this).DatasourceType = (string[]) content.GetValueForProperty("DatasourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResourceInternal)this).DatasourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResourceInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBaseBackupPolicyResource DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBaseBackupPolicyResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new BaseBackupPolicyResource(content); } @@ -177,7 +177,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/BaseBackupPolicyResource.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BaseBackupPolicyResource.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BaseBackupPolicyResource.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BaseBackupPolicyResource.TypeConverter.cs index 60a7e2cc2ac3..d942aaee2a74 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BaseBackupPolicyResource.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IBaseBackupPolicyResource ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResource ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResource).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResource).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BaseBackupPolicyResource.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BaseBackupPolicyResource.cs similarity index 77% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BaseBackupPolicyResource.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BaseBackupPolicyResource.cs index b1e99e1f5c8a..7e25dc04e999 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BaseBackupPolicyResource.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// BaseBackupPolicy resource public partial class BaseBackupPolicyResource : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResource, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResourceInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResource, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResourceInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResource __dppResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppResource(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResource __dppResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBaseBackupPolicyInternal)Property).DatasourceType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyInternal)Property).DatasourceType = value ?? null /* arrayOf */; } + public string[] DatasourceType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyInternal)Property).DatasourceType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResourceInternal)__dppResource).Id; } + public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)__dppResource).Id; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicy Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BaseBackupPolicy()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicy Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BaseBackupPolicy()); set { {_property = value;} } } /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).Id = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)__dppResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)__dppResource).Id = value; } /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).Name = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)__dppResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)__dppResource).Name = value; } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).SystemData = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)__dppResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)__dppResource).SystemData = value; } /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).Type = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)__dppResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResourceInternal)__dppResource).Name; } + public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBaseBackupPolicyInternal)Property).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyInternal)Property).ObjectType = value ?? null; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyInternal)Property).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyInternal)Property).ObjectType = value ?? null; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicy _property; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicy _property; /// BaseBackupPolicyResource properties [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicy Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BaseBackupPolicy()); set => this._property = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicy Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResourceInternal)__dppResource).SystemData; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResourceInternal)__dppResource).Type; } + public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResourceInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal { /// Type of datasource for the backup management string[] DatasourceType { get; set; } string ObjectType { get; set; } /// BaseBackupPolicyResource properties - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicy Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicy Property { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BaseBackupPolicyResource.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BaseBackupPolicyResource.json.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BaseBackupPolicyResource.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BaseBackupPolicyResource.json.cs index 48fdcb05f311..795a2329a095 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BaseBackupPolicyResource.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.DppResource(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BaseBackupPolicy.FromJson(__jsonProperties) : Property;} + __dppResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppResource(json); + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BaseBackupPolicy.FromJson(__jsonProperties) : Property;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResource. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResource. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResource. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResource. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/BaseBackupPolicyResourceList.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BaseBackupPolicyResourceList.PowerShell.cs similarity index 85% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BaseBackupPolicyResourceList.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BaseBackupPolicyResourceList.PowerShell.cs index 2fc7643537c8..2dc2727544e1 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BaseBackupPolicyResourceList.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IBaseBackupPolicyResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BaseBackupPolicyResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BaseBackupPolicyResourceTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBaseBackupPolicyResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BaseBackupPolicyResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BaseBackupPolicyResourceTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBaseBackupPolicyResourceList DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBaseBackupPolicyResourceList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResourceList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new BaseBackupPolicyResourceList(content); } @@ -137,7 +137,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResourceList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/BaseBackupPolicyResourceList.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BaseBackupPolicyResourceList.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BaseBackupPolicyResourceList.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BaseBackupPolicyResourceList.TypeConverter.cs index f275854acbe8..cbe7d37117f9 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BaseBackupPolicyResourceList.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IBaseBackupPolicyResourceList ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResourceList ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResourceList).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResourceList).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BaseBackupPolicyResourceList.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BaseBackupPolicyResourceList.cs similarity index 82% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BaseBackupPolicyResourceList.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BaseBackupPolicyResourceList.cs index b854be2b2cea..05555c4d32aa 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BaseBackupPolicyResourceList.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// List of BaseBackupPolicy resources public partial class BaseBackupPolicyResourceList : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResourceList, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResourceListInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResourceList, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResourceListInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceList __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppResourceList(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceList __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResourceListInternal)__dppResourceList).NextLink; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceListInternal)__dppResourceList).NextLink = value ?? null; } + public string NextLink { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceListInternal)__dppResourceList).NextLink; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceListInternal)__dppResourceList).NextLink = value ?? null; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResource[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBaseBackupPolicyResource[] Value { get => this._value; set => this._value = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBaseBackupPolicyResource) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResource[] Value { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResource) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResource[] Value { get; set; } } /// List of BaseBackupPolicy resources internal partial interface IBaseBackupPolicyResourceListInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceListInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceListInternal { /// List of resources. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResource[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResource[] Value { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BaseBackupPolicyResourceList.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BaseBackupPolicyResourceList.json.cs similarity index 94% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BaseBackupPolicyResourceList.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BaseBackupPolicyResourceList.json.cs index 10c588edb146..d5ef9b6cbf32 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BaseBackupPolicyResourceList.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.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.Api20231201.IBaseBackupPolicyResource) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BaseBackupPolicyResource.FromJson(__u) )) ))() : null : Value;} + __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20240401.IBaseBackupPolicyResource) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BaseBackupPolicyResource.FromJson(__u) )) ))() : null : Value;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResourceList. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResourceList. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResourceList. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResourceList. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResourceList FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/BasePolicyRule.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BasePolicyRule.PowerShell.cs similarity index 87% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BasePolicyRule.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BasePolicyRule.PowerShell.cs index 4bb4d966b8fe..152e36b05ac2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BasePolicyRule.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IBasePolicyRuleInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBasePolicyRuleInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBasePolicyRuleInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBasePolicyRuleInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBasePolicyRuleInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBasePolicyRuleInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBasePolicyRuleInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBasePolicyRuleInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBasePolicyRuleInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBasePolicyRuleInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBasePolicyRuleInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBasePolicyRuleInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBasePolicyRuleInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBasePolicyRuleInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBasePolicyRule DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBasePolicyRule DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBasePolicyRule DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new BasePolicyRule(content); } @@ -135,7 +135,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBasePolicyRule FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/BasePolicyRule.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BasePolicyRule.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BasePolicyRule.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BasePolicyRule.TypeConverter.cs index 0e029154dc34..16d9255e8b48 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BasePolicyRule.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IBasePolicyRule ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBasePolicyRule ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBasePolicyRule).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBasePolicyRule).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BasePolicyRule.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BasePolicyRule.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BasePolicyRule.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BasePolicyRule.cs index a06dc5a33916..1189d0b22a5c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BasePolicyRule.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// BasePolicy Rule public partial class BasePolicyRule : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBasePolicyRule, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBasePolicyRuleInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBasePolicyRule, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBasePolicyRuleInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BasePolicyRule.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BasePolicyRule.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BasePolicyRule.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BasePolicyRule.json.cs index 623d768c0d5c..e15bcb29582a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BasePolicyRule.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IBasePolicyRule. - /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBasePolicyRule interface is polymorphic, + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBasePolicyRule. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBasePolicyRule. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBasePolicyRule. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBasePolicyRule FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/BaseResourceProperties.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BaseResourceProperties.PowerShell.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BaseResourceProperties.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BaseResourceProperties.PowerShell.cs index 90fcb35c5bcf..4340e4be56c6 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BaseResourceProperties.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IBaseResourcePropertiesInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseResourcePropertiesInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseResourcePropertiesInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBaseResourcePropertiesInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseResourcePropertiesInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseResourcePropertiesInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBaseResourceProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBaseResourceProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseResourceProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new BaseResourceProperties(content); } @@ -129,7 +129,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseResourceProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/BaseResourceProperties.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BaseResourceProperties.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BaseResourceProperties.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BaseResourceProperties.TypeConverter.cs index 4e279bd9b66c..7df8e73bc271 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BaseResourceProperties.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IBaseResourceProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseResourceProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseResourceProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseResourceProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BaseResourceProperties.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BaseResourceProperties.cs similarity index 93% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BaseResourceProperties.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BaseResourceProperties.cs index e97749ee0783..1136edc581b1 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BaseResourceProperties.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IBaseResourceProperties, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseResourcePropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseResourceProperties, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseResourcePropertiesInternal { /// Internal Acessors for ObjectType - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseResourcePropertiesInternal.ObjectType { get => this._objectType; set { {_objectType = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/BaseResourceProperties.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BaseResourceProperties.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BaseResourceProperties.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BaseResourceProperties.json.cs index acbed92e0901..639264687d1d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BaseResourceProperties.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IBaseResourceProperties. - /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseResourceProperties interface is polymorphic, + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseResourceProperties. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBaseResourceProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseResourceProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseResourceProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/BlobBackupDatasourceParameters.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BlobBackupDatasourceParameters.PowerShell.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BlobBackupDatasourceParameters.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BlobBackupDatasourceParameters.PowerShell.cs index e0bbd4a0ad69..780af489160f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BlobBackupDatasourceParameters.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IBlobBackupDatasourceParametersInternal)this).ContainersList = (string[]) content.GetValueForProperty("ContainersList",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBlobBackupDatasourceParametersInternal)this).ContainersList, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBlobBackupDatasourceParametersInternal)this).ContainersList = (string[]) content.GetValueForProperty("ContainersList",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBlobBackupDatasourceParametersInternal)this).ContainersList, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupDatasourceParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupDatasourceParametersInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupDatasourceParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBlobBackupDatasourceParametersInternal)this).ContainersList = (string[]) content.GetValueForProperty("ContainersList",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBlobBackupDatasourceParametersInternal)this).ContainersList, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBlobBackupDatasourceParametersInternal)this).ContainersList = (string[]) content.GetValueForProperty("ContainersList",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBlobBackupDatasourceParametersInternal)this).ContainersList, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupDatasourceParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupDatasourceParametersInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupDatasourceParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBlobBackupDatasourceParameters DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBlobBackupDatasourceParameters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBlobBackupDatasourceParameters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new BlobBackupDatasourceParameters(content); } @@ -137,7 +137,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBlobBackupDatasourceParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/BlobBackupDatasourceParameters.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BlobBackupDatasourceParameters.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BlobBackupDatasourceParameters.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BlobBackupDatasourceParameters.TypeConverter.cs index d72c819a54f6..a2ed2fb22399 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BlobBackupDatasourceParameters.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IBlobBackupDatasourceParameters ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBlobBackupDatasourceParameters ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBlobBackupDatasourceParameters).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBlobBackupDatasourceParameters).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BlobBackupDatasourceParameters.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BlobBackupDatasourceParameters.cs similarity index 89% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BlobBackupDatasourceParameters.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BlobBackupDatasourceParameters.cs index 1868b438b94b..fe63ade98438 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BlobBackupDatasourceParameters.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IBlobBackupDatasourceParameters, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBlobBackupDatasourceParametersInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBlobBackupDatasourceParameters, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBlobBackupDatasourceParametersInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupDatasourceParameters __backupDatasourceParameters = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupDatasourceParameters(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupDatasourceParameters __backupDatasourceParameters = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupDatasourceParametersInternal)__backupDatasourceParameters).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupDatasourceParametersInternal)__backupDatasourceParameters).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupDatasourceParametersInternal)__backupDatasourceParameters).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupDatasourceParameters + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupDatasourceParametersInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/BlobBackupDatasourceParameters.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BlobBackupDatasourceParameters.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BlobBackupDatasourceParameters.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/BlobBackupDatasourceParameters.json.cs index 1bd33effc9e0..81ceaf8eb745 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/BlobBackupDatasourceParameters.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.BackupDatasourceParameters(json); + __backupDatasourceParameters = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBlobBackupDatasourceParameters. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBlobBackupDatasourceParameters. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBlobBackupDatasourceParameters. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBlobBackupDatasourceParameters. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBlobBackupDatasourceParameters FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/CheckNameAvailabilityRequest.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CheckNameAvailabilityRequest.PowerShell.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CheckNameAvailabilityRequest.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CheckNameAvailabilityRequest.PowerShell.cs index 4a9075f05159..c8d34bb32221 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CheckNameAvailabilityRequest.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ICheckNameAvailabilityRequestInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICheckNameAvailabilityRequestInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICheckNameAvailabilityRequestInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICheckNameAvailabilityRequestInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICheckNameAvailabilityRequestInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICheckNameAvailabilityRequestInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICheckNameAvailabilityRequestInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICheckNameAvailabilityRequestInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICheckNameAvailabilityRequestInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICheckNameAvailabilityRequestInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICheckNameAvailabilityRequestInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICheckNameAvailabilityRequestInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICheckNameAvailabilityRequestInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICheckNameAvailabilityRequestInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICheckNameAvailabilityRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICheckNameAvailabilityRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICheckNameAvailabilityRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new CheckNameAvailabilityRequest(content); } @@ -137,7 +137,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICheckNameAvailabilityRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/CheckNameAvailabilityRequest.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CheckNameAvailabilityRequest.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CheckNameAvailabilityRequest.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CheckNameAvailabilityRequest.TypeConverter.cs index 3b4d25fe6343..6d4b5541b5b3 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CheckNameAvailabilityRequest.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ICheckNameAvailabilityRequest ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICheckNameAvailabilityRequest ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICheckNameAvailabilityRequest).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICheckNameAvailabilityRequest).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CheckNameAvailabilityRequest.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CheckNameAvailabilityRequest.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CheckNameAvailabilityRequest.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CheckNameAvailabilityRequest.cs index 93076f3eddf1..e9c4e5b9fc4b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CheckNameAvailabilityRequest.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// CheckNameAvailability Request public partial class CheckNameAvailabilityRequest : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICheckNameAvailabilityRequest, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICheckNameAvailabilityRequestInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICheckNameAvailabilityRequest, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICheckNameAvailabilityRequestInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CheckNameAvailabilityRequest.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CheckNameAvailabilityRequest.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CheckNameAvailabilityRequest.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CheckNameAvailabilityRequest.json.cs index bc8213c09554..dc3a50e47f64 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CheckNameAvailabilityRequest.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ICheckNameAvailabilityRequest. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICheckNameAvailabilityRequest. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICheckNameAvailabilityRequest. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICheckNameAvailabilityRequest. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICheckNameAvailabilityRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/CheckNameAvailabilityResult.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CheckNameAvailabilityResult.PowerShell.cs similarity index 87% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CheckNameAvailabilityResult.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CheckNameAvailabilityResult.PowerShell.cs index 04a6dc7c6ecc..44e3dc1eb102 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CheckNameAvailabilityResult.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ICheckNameAvailabilityResultInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICheckNameAvailabilityResultInternal)this).Message, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICheckNameAvailabilityResultInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICheckNameAvailabilityResultInternal)this).Message, global::System.Convert.ToString); } if (content.Contains("NameAvailable")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICheckNameAvailabilityResultInternal)this).NameAvailable = (bool?) content.GetValueForProperty("NameAvailable",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICheckNameAvailabilityResultInternal)this).NameAvailable, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICheckNameAvailabilityResultInternal)this).NameAvailable = (bool?) content.GetValueForProperty("NameAvailable",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICheckNameAvailabilityResultInternal)this).NameAvailable, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("Reason")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICheckNameAvailabilityResultInternal)this).Reason = (string) content.GetValueForProperty("Reason",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICheckNameAvailabilityResultInternal)this).Reason, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICheckNameAvailabilityResultInternal)this).Reason = (string) content.GetValueForProperty("Reason",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICheckNameAvailabilityResultInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICheckNameAvailabilityResultInternal)this).Message, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICheckNameAvailabilityResultInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICheckNameAvailabilityResultInternal)this).Message, global::System.Convert.ToString); } if (content.Contains("NameAvailable")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICheckNameAvailabilityResultInternal)this).NameAvailable = (bool?) content.GetValueForProperty("NameAvailable",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICheckNameAvailabilityResultInternal)this).NameAvailable, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICheckNameAvailabilityResultInternal)this).NameAvailable = (bool?) content.GetValueForProperty("NameAvailable",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICheckNameAvailabilityResultInternal)this).NameAvailable, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("Reason")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICheckNameAvailabilityResultInternal)this).Reason = (string) content.GetValueForProperty("Reason",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICheckNameAvailabilityResultInternal)this).Reason, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICheckNameAvailabilityResultInternal)this).Reason = (string) content.GetValueForProperty("Reason",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICheckNameAvailabilityResult DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICheckNameAvailabilityResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICheckNameAvailabilityResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new CheckNameAvailabilityResult(content); } @@ -145,7 +145,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICheckNameAvailabilityResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/CheckNameAvailabilityResult.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CheckNameAvailabilityResult.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CheckNameAvailabilityResult.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CheckNameAvailabilityResult.TypeConverter.cs index 2aa616355bf1..09a498dc5925 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CheckNameAvailabilityResult.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ICheckNameAvailabilityResult ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICheckNameAvailabilityResult ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICheckNameAvailabilityResult).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICheckNameAvailabilityResult).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CheckNameAvailabilityResult.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CheckNameAvailabilityResult.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CheckNameAvailabilityResult.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CheckNameAvailabilityResult.cs index ba15502e17ae..b0d7eea35282 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CheckNameAvailabilityResult.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// CheckNameAvailability Result public partial class CheckNameAvailabilityResult : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICheckNameAvailabilityResult, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICheckNameAvailabilityResultInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICheckNameAvailabilityResult, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICheckNameAvailabilityResultInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CheckNameAvailabilityResult.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CheckNameAvailabilityResult.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CheckNameAvailabilityResult.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CheckNameAvailabilityResult.json.cs index 8444be18e776..619c23c09eac 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CheckNameAvailabilityResult.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ICheckNameAvailabilityResult. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICheckNameAvailabilityResult. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICheckNameAvailabilityResult. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICheckNameAvailabilityResult. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICheckNameAvailabilityResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/ClientDiscoveryDisplay.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryDisplay.PowerShell.cs similarity index 84% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryDisplay.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryDisplay.PowerShell.cs index 9aa021f889b2..fae72e05ed47 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryDisplay.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IClientDiscoveryDisplayInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryDisplayInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryDisplayInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryDisplayInternal)this).Description, global::System.Convert.ToString); } if (content.Contains("Operation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryDisplayInternal)this).Operation = (string) content.GetValueForProperty("Operation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryDisplayInternal)this).Operation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryDisplayInternal)this).Operation = (string) content.GetValueForProperty("Operation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryDisplayInternal)this).Operation, global::System.Convert.ToString); } if (content.Contains("Provider")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryDisplayInternal)this).Provider = (string) content.GetValueForProperty("Provider",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryDisplayInternal)this).Provider, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryDisplayInternal)this).Provider = (string) content.GetValueForProperty("Provider",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryDisplayInternal)this).Provider, global::System.Convert.ToString); } if (content.Contains("Resource")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryDisplayInternal)this).Resource = (string) content.GetValueForProperty("Resource",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryDisplayInternal)this).Resource, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryDisplayInternal)this).Resource = (string) content.GetValueForProperty("Resource",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IClientDiscoveryDisplayInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryDisplayInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryDisplayInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryDisplayInternal)this).Description, global::System.Convert.ToString); } if (content.Contains("Operation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryDisplayInternal)this).Operation = (string) content.GetValueForProperty("Operation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryDisplayInternal)this).Operation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryDisplayInternal)this).Operation = (string) content.GetValueForProperty("Operation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryDisplayInternal)this).Operation, global::System.Convert.ToString); } if (content.Contains("Provider")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryDisplayInternal)this).Provider = (string) content.GetValueForProperty("Provider",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryDisplayInternal)this).Provider, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryDisplayInternal)this).Provider = (string) content.GetValueForProperty("Provider",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryDisplayInternal)this).Provider, global::System.Convert.ToString); } if (content.Contains("Resource")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryDisplayInternal)this).Resource = (string) content.GetValueForProperty("Resource",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryDisplayInternal)this).Resource, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryDisplayInternal)this).Resource = (string) content.GetValueForProperty("Resource",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IClientDiscoveryDisplay DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IClientDiscoveryDisplay DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryDisplay DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ClientDiscoveryDisplay(content); } @@ -153,7 +153,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryDisplay FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/ClientDiscoveryDisplay.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryDisplay.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryDisplay.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryDisplay.TypeConverter.cs index c61116bf30c1..c6e9023b6066 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryDisplay.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IClientDiscoveryDisplay ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryDisplay ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryDisplay).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryDisplay).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryDisplay.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryDisplay.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryDisplay.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryDisplay.cs index becc70776929..ef83120323fe 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryDisplay.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IClientDiscoveryDisplay, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryDisplayInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryDisplay, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryDisplayInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryDisplay.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryDisplay.json.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryDisplay.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryDisplay.json.cs index 1cc43254e5d0..adb23958c36b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryDisplay.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IClientDiscoveryDisplay. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryDisplay. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryDisplay. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryDisplay. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryDisplay FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/ClientDiscoveryForLogSpecification.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryForLogSpecification.PowerShell.cs similarity index 87% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryForLogSpecification.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryForLogSpecification.PowerShell.cs index 9c768bf41b2b..f899a0a2abf2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryForLogSpecification.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IClientDiscoveryForLogSpecificationInternal)this).BlobDuration = (string) content.GetValueForProperty("BlobDuration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForLogSpecificationInternal)this).BlobDuration, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForLogSpecificationInternal)this).BlobDuration = (string) content.GetValueForProperty("BlobDuration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForLogSpecificationInternal)this).BlobDuration, global::System.Convert.ToString); } if (content.Contains("DisplayName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForLogSpecificationInternal)this).DisplayName = (string) content.GetValueForProperty("DisplayName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForLogSpecificationInternal)this).DisplayName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForLogSpecificationInternal)this).DisplayName = (string) content.GetValueForProperty("DisplayName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForLogSpecificationInternal)this).DisplayName, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForLogSpecificationInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForLogSpecificationInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForLogSpecificationInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IClientDiscoveryForLogSpecificationInternal)this).BlobDuration = (string) content.GetValueForProperty("BlobDuration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForLogSpecificationInternal)this).BlobDuration, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForLogSpecificationInternal)this).BlobDuration = (string) content.GetValueForProperty("BlobDuration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForLogSpecificationInternal)this).BlobDuration, global::System.Convert.ToString); } if (content.Contains("DisplayName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForLogSpecificationInternal)this).DisplayName = (string) content.GetValueForProperty("DisplayName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForLogSpecificationInternal)this).DisplayName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForLogSpecificationInternal)this).DisplayName = (string) content.GetValueForProperty("DisplayName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForLogSpecificationInternal)this).DisplayName, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForLogSpecificationInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForLogSpecificationInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForLogSpecificationInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IClientDiscoveryForLogSpecification DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IClientDiscoveryForLogSpecification DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForLogSpecification DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ClientDiscoveryForLogSpecification(content); } @@ -147,7 +147,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForLogSpecification FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/ClientDiscoveryForLogSpecification.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryForLogSpecification.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryForLogSpecification.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryForLogSpecification.TypeConverter.cs index 930c7cdca531..0e68a0044cbe 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryForLogSpecification.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IClientDiscoveryForLogSpecification ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForLogSpecification ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForLogSpecification).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForLogSpecification).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryForLogSpecification.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryForLogSpecification.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryForLogSpecification.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryForLogSpecification.cs index 883c59389e6b..a28c16cb6485 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryForLogSpecification.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IClientDiscoveryForLogSpecification, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForLogSpecificationInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForLogSpecification, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForLogSpecificationInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryForLogSpecification.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryForLogSpecification.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryForLogSpecification.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryForLogSpecification.json.cs index 826c2cbc769b..6964866bf728 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryForLogSpecification.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IClientDiscoveryForLogSpecification. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForLogSpecification. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForLogSpecification. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForLogSpecification. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForLogSpecification FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/ClientDiscoveryForProperties.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryForProperties.PowerShell.cs similarity index 84% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryForProperties.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryForProperties.PowerShell.cs index 7259a2704c38..788e2959ac3f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryForProperties.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IClientDiscoveryForPropertiesInternal)this).ServiceSpecification = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForServiceSpecification) content.GetValueForProperty("ServiceSpecification",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForPropertiesInternal)this).ServiceSpecification, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ClientDiscoveryForServiceSpecificationTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForPropertiesInternal)this).ServiceSpecification = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForServiceSpecification) content.GetValueForProperty("ServiceSpecification",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForPropertiesInternal)this).ServiceSpecification, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ClientDiscoveryForServiceSpecificationTypeConverter.ConvertFrom); } if (content.Contains("ServiceSpecificationLogSpecification")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForPropertiesInternal)this).ServiceSpecificationLogSpecification = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForLogSpecification[]) content.GetValueForProperty("ServiceSpecificationLogSpecification",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForPropertiesInternal)this).ServiceSpecificationLogSpecification, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ClientDiscoveryForLogSpecificationTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForPropertiesInternal)this).ServiceSpecificationLogSpecification = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForLogSpecification[]) content.GetValueForProperty("ServiceSpecificationLogSpecification",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForPropertiesInternal)this).ServiceSpecificationLogSpecification, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IClientDiscoveryForPropertiesInternal)this).ServiceSpecification = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForServiceSpecification) content.GetValueForProperty("ServiceSpecification",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForPropertiesInternal)this).ServiceSpecification, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ClientDiscoveryForServiceSpecificationTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForPropertiesInternal)this).ServiceSpecification = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForServiceSpecification) content.GetValueForProperty("ServiceSpecification",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForPropertiesInternal)this).ServiceSpecification, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ClientDiscoveryForServiceSpecificationTypeConverter.ConvertFrom); } if (content.Contains("ServiceSpecificationLogSpecification")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForPropertiesInternal)this).ServiceSpecificationLogSpecification = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForLogSpecification[]) content.GetValueForProperty("ServiceSpecificationLogSpecification",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForPropertiesInternal)this).ServiceSpecificationLogSpecification, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ClientDiscoveryForLogSpecificationTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForPropertiesInternal)this).ServiceSpecificationLogSpecification = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForLogSpecification[]) content.GetValueForProperty("ServiceSpecificationLogSpecification",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForPropertiesInternal)this).ServiceSpecificationLogSpecification, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IClientDiscoveryForProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IClientDiscoveryForProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ClientDiscoveryForProperties(content); } @@ -137,7 +137,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/ClientDiscoveryForProperties.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryForProperties.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryForProperties.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryForProperties.TypeConverter.cs index d6b17982f446..989c7011bacd 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryForProperties.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IClientDiscoveryForProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryForProperties.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryForProperties.cs similarity index 79% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryForProperties.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryForProperties.cs index 0d291b89138e..00e429b27972 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryForProperties.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IClientDiscoveryForProperties, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForPropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForProperties, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForPropertiesInternal { /// Internal Acessors for ServiceSpecification - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForServiceSpecification Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForPropertiesInternal.ServiceSpecification { get => (this._serviceSpecification = this._serviceSpecification ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ClientDiscoveryForServiceSpecification()); set { {_serviceSpecification = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForServiceSpecification Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForPropertiesInternal.ServiceSpecification { get => (this._serviceSpecification = this._serviceSpecification ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ClientDiscoveryForServiceSpecification()); set { {_serviceSpecification = value;} } } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForServiceSpecification _serviceSpecification; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForServiceSpecification _serviceSpecification; /// Operation properties. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForServiceSpecification ServiceSpecification { get => (this._serviceSpecification = this._serviceSpecification ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ClientDiscoveryForServiceSpecification()); set => this._serviceSpecification = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForServiceSpecification ServiceSpecification { get => (this._serviceSpecification = this._serviceSpecification ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IClientDiscoveryForLogSpecification[] ServiceSpecificationLogSpecification { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForServiceSpecificationInternal)ServiceSpecification).LogSpecification; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForServiceSpecificationInternal)ServiceSpecification).LogSpecification = value ?? null /* arrayOf */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForLogSpecification[] ServiceSpecificationLogSpecification { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForServiceSpecificationInternal)ServiceSpecification).LogSpecification; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IClientDiscoveryForLogSpecification) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForLogSpecification[] ServiceSpecificationLogSpecification { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForLogSpecification) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IClientDiscoveryForServiceSpecification ServiceSpecification { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForServiceSpecification ServiceSpecification { get; set; } /// List of log specifications of this operation. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForLogSpecification[] ServiceSpecificationLogSpecification { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForLogSpecification[] ServiceSpecificationLogSpecification { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryForProperties.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryForProperties.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryForProperties.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryForProperties.json.cs index fc837ffeecf2..feda5244bd10 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryForProperties.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ClientDiscoveryForServiceSpecification.FromJson(__jsonServiceSpecification) : ServiceSpecification;} + {_serviceSpecification = If( json?.PropertyT("serviceSpecification"), out var __jsonServiceSpecification) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ClientDiscoveryForServiceSpecification.FromJson(__jsonServiceSpecification) : ServiceSpecification;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/ClientDiscoveryForServiceSpecification.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryForServiceSpecification.PowerShell.cs similarity index 87% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryForServiceSpecification.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryForServiceSpecification.PowerShell.cs index 15676d726f4e..256e143c5b06 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryForServiceSpecification.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IClientDiscoveryForServiceSpecificationInternal)this).LogSpecification = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForLogSpecification[]) content.GetValueForProperty("LogSpecification",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForServiceSpecificationInternal)this).LogSpecification, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ClientDiscoveryForLogSpecificationTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForServiceSpecificationInternal)this).LogSpecification = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForLogSpecification[]) content.GetValueForProperty("LogSpecification",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForServiceSpecificationInternal)this).LogSpecification, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IClientDiscoveryForServiceSpecificationInternal)this).LogSpecification = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForLogSpecification[]) content.GetValueForProperty("LogSpecification",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForServiceSpecificationInternal)this).LogSpecification, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ClientDiscoveryForLogSpecificationTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForServiceSpecificationInternal)this).LogSpecification = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForLogSpecification[]) content.GetValueForProperty("LogSpecification",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForServiceSpecificationInternal)this).LogSpecification, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IClientDiscoveryForServiceSpecification DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IClientDiscoveryForServiceSpecification DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForServiceSpecification DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ClientDiscoveryForServiceSpecification(content); } @@ -132,7 +132,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForServiceSpecification FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/ClientDiscoveryForServiceSpecification.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryForServiceSpecification.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryForServiceSpecification.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryForServiceSpecification.TypeConverter.cs index cfd5999c782b..03f53701646e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryForServiceSpecification.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IClientDiscoveryForServiceSpecification ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForServiceSpecification ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForServiceSpecification).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForServiceSpecification).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryForServiceSpecification.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryForServiceSpecification.cs similarity index 85% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryForServiceSpecification.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryForServiceSpecification.cs index b79bc1c9b09a..7659c425aceb 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryForServiceSpecification.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IClientDiscoveryForServiceSpecification, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForServiceSpecificationInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForServiceSpecification, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForServiceSpecificationInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForLogSpecification[] _logSpecification; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IClientDiscoveryForLogSpecification[] LogSpecification { get => this._logSpecification; set => this._logSpecification = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IClientDiscoveryForLogSpecification) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForLogSpecification[] LogSpecification { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForLogSpecification) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IClientDiscoveryForLogSpecification[] LogSpecification { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForLogSpecification[] LogSpecification { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryForServiceSpecification.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryForServiceSpecification.json.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryForServiceSpecification.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryForServiceSpecification.json.cs index a35520f25c5d..3f65046272ea 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryForServiceSpecification.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IClientDiscoveryForLogSpecification) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IClientDiscoveryForLogSpecification) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ClientDiscoveryForLogSpecification.FromJson(__u) )) ))() : null : LogSpecification;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForServiceSpecification. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForServiceSpecification. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForServiceSpecification. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForServiceSpecification. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForServiceSpecification FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/ClientDiscoveryResponse.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryResponse.PowerShell.cs similarity index 85% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryResponse.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryResponse.PowerShell.cs index 5d96caf19f07..31449ea3b30a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryResponse.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IClientDiscoveryResponseInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryResponseInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryResponseInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryResponseInternal)this).NextLink, global::System.Convert.ToString); } if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryResponseInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApi[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryResponseInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ClientDiscoveryValueForSingleApiTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryResponseInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApi[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryResponseInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IClientDiscoveryResponseInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryResponseInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryResponseInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryResponseInternal)this).NextLink, global::System.Convert.ToString); } if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryResponseInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApi[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryResponseInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ClientDiscoveryValueForSingleApiTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryResponseInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApi[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryResponseInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IClientDiscoveryResponse DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IClientDiscoveryResponse DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryResponse DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ClientDiscoveryResponse(content); } @@ -137,7 +137,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryResponse FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/ClientDiscoveryResponse.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryResponse.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryResponse.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryResponse.TypeConverter.cs index 2c49c8998894..83088c72c0ce 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryResponse.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IClientDiscoveryResponse ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryResponse ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryResponse).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryResponse).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryResponse.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryResponse.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryResponse.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryResponse.cs index b9b84ee52d05..3eedb75d3c04 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryResponse.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IClientDiscoveryResponse, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryResponseInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryResponse, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IClientDiscoveryValueForSingleApi[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IClientDiscoveryValueForSingleApi[] Value { get => this._value; set => this._value = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IClientDiscoveryValueForSingleApi) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApi[] Value { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApi) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IClientDiscoveryValueForSingleApi[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApi[] Value { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryResponse.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryResponse.json.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryResponse.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryResponse.json.cs index df50dab58307..6fc7c91f22fa 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryResponse.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IClientDiscoveryValueForSingleApi) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IClientDiscoveryValueForSingleApi) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ClientDiscoveryValueForSingleApi.FromJson(__u) )) ))() : null : Value;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryResponse. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryResponse. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryResponse. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryResponse. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryResponse FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/ClientDiscoveryValueForSingleApi.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryValueForSingleApi.PowerShell.cs similarity index 76% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryValueForSingleApi.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryValueForSingleApi.PowerShell.cs index 62003a813384..ffc086ac5155 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryValueForSingleApi.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IClientDiscoveryValueForSingleApiInternal)this).Display = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryDisplay) content.GetValueForProperty("Display",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApiInternal)this).Display, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ClientDiscoveryDisplayTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal)this).Display = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryDisplay) content.GetValueForProperty("Display",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal)this).Display, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ClientDiscoveryDisplayTypeConverter.ConvertFrom); } if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApiInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApiInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ClientDiscoveryForPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ClientDiscoveryForPropertiesTypeConverter.ConvertFrom); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApiInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApiInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("IsDataAction")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApiInternal)this).IsDataAction = (bool?) content.GetValueForProperty("IsDataAction",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApiInternal)this).IsDataAction, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal)this).IsDataAction = (bool?) content.GetValueForProperty("IsDataAction",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal)this).IsDataAction, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("Origin")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApiInternal)this).Origin = (string) content.GetValueForProperty("Origin",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApiInternal)this).Origin, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal)this).Origin = (string) content.GetValueForProperty("Origin",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal)this).Origin, global::System.Convert.ToString); } if (content.Contains("DisplayDescription")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApiInternal)this).DisplayDescription = (string) content.GetValueForProperty("DisplayDescription",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApiInternal)this).DisplayDescription, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal)this).DisplayDescription = (string) content.GetValueForProperty("DisplayDescription",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal)this).DisplayDescription, global::System.Convert.ToString); } if (content.Contains("DisplayOperation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApiInternal)this).DisplayOperation = (string) content.GetValueForProperty("DisplayOperation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApiInternal)this).DisplayOperation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal)this).DisplayOperation = (string) content.GetValueForProperty("DisplayOperation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal)this).DisplayOperation, global::System.Convert.ToString); } if (content.Contains("DisplayProvider")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApiInternal)this).DisplayProvider = (string) content.GetValueForProperty("DisplayProvider",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApiInternal)this).DisplayProvider, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal)this).DisplayProvider = (string) content.GetValueForProperty("DisplayProvider",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal)this).DisplayProvider, global::System.Convert.ToString); } if (content.Contains("DisplayResource")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApiInternal)this).DisplayResource = (string) content.GetValueForProperty("DisplayResource",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApiInternal)this).DisplayResource, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal)this).DisplayResource = (string) content.GetValueForProperty("DisplayResource",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal)this).DisplayResource, global::System.Convert.ToString); } if (content.Contains("ServiceSpecification")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApiInternal)this).ServiceSpecification = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForServiceSpecification) content.GetValueForProperty("ServiceSpecification",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApiInternal)this).ServiceSpecification, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ClientDiscoveryForServiceSpecificationTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal)this).ServiceSpecification = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForServiceSpecification) content.GetValueForProperty("ServiceSpecification",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal)this).ServiceSpecification, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ClientDiscoveryForServiceSpecificationTypeConverter.ConvertFrom); } if (content.Contains("ServiceSpecificationLogSpecification")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApiInternal)this).ServiceSpecificationLogSpecification = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForLogSpecification[]) content.GetValueForProperty("ServiceSpecificationLogSpecification",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApiInternal)this).ServiceSpecificationLogSpecification, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ClientDiscoveryForLogSpecificationTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal)this).ServiceSpecificationLogSpecification = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForLogSpecification[]) content.GetValueForProperty("ServiceSpecificationLogSpecification",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal)this).ServiceSpecificationLogSpecification, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IClientDiscoveryValueForSingleApiInternal)this).Display = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryDisplay) content.GetValueForProperty("Display",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApiInternal)this).Display, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ClientDiscoveryDisplayTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal)this).Display = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryDisplay) content.GetValueForProperty("Display",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal)this).Display, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ClientDiscoveryDisplayTypeConverter.ConvertFrom); } if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApiInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApiInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ClientDiscoveryForPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ClientDiscoveryForPropertiesTypeConverter.ConvertFrom); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApiInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApiInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("IsDataAction")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApiInternal)this).IsDataAction = (bool?) content.GetValueForProperty("IsDataAction",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApiInternal)this).IsDataAction, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal)this).IsDataAction = (bool?) content.GetValueForProperty("IsDataAction",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal)this).IsDataAction, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("Origin")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApiInternal)this).Origin = (string) content.GetValueForProperty("Origin",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApiInternal)this).Origin, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal)this).Origin = (string) content.GetValueForProperty("Origin",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal)this).Origin, global::System.Convert.ToString); } if (content.Contains("DisplayDescription")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApiInternal)this).DisplayDescription = (string) content.GetValueForProperty("DisplayDescription",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApiInternal)this).DisplayDescription, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal)this).DisplayDescription = (string) content.GetValueForProperty("DisplayDescription",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal)this).DisplayDescription, global::System.Convert.ToString); } if (content.Contains("DisplayOperation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApiInternal)this).DisplayOperation = (string) content.GetValueForProperty("DisplayOperation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApiInternal)this).DisplayOperation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal)this).DisplayOperation = (string) content.GetValueForProperty("DisplayOperation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal)this).DisplayOperation, global::System.Convert.ToString); } if (content.Contains("DisplayProvider")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApiInternal)this).DisplayProvider = (string) content.GetValueForProperty("DisplayProvider",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApiInternal)this).DisplayProvider, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal)this).DisplayProvider = (string) content.GetValueForProperty("DisplayProvider",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal)this).DisplayProvider, global::System.Convert.ToString); } if (content.Contains("DisplayResource")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApiInternal)this).DisplayResource = (string) content.GetValueForProperty("DisplayResource",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApiInternal)this).DisplayResource, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal)this).DisplayResource = (string) content.GetValueForProperty("DisplayResource",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal)this).DisplayResource, global::System.Convert.ToString); } if (content.Contains("ServiceSpecification")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApiInternal)this).ServiceSpecification = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForServiceSpecification) content.GetValueForProperty("ServiceSpecification",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApiInternal)this).ServiceSpecification, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ClientDiscoveryForServiceSpecificationTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal)this).ServiceSpecification = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForServiceSpecification) content.GetValueForProperty("ServiceSpecification",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal)this).ServiceSpecification, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ClientDiscoveryForServiceSpecificationTypeConverter.ConvertFrom); } if (content.Contains("ServiceSpecificationLogSpecification")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApiInternal)this).ServiceSpecificationLogSpecification = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForLogSpecification[]) content.GetValueForProperty("ServiceSpecificationLogSpecification",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApiInternal)this).ServiceSpecificationLogSpecification, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ClientDiscoveryForLogSpecificationTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal)this).ServiceSpecificationLogSpecification = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForLogSpecification[]) content.GetValueForProperty("ServiceSpecificationLogSpecification",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal)this).ServiceSpecificationLogSpecification, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IClientDiscoveryValueForSingleApi DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IClientDiscoveryValueForSingleApi DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApi DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ClientDiscoveryValueForSingleApi(content); } @@ -209,7 +209,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApi FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/ClientDiscoveryValueForSingleApi.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryValueForSingleApi.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryValueForSingleApi.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryValueForSingleApi.TypeConverter.cs index 41895cf93712..d1624569bc38 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryValueForSingleApi.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IClientDiscoveryValueForSingleApi ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApi ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApi).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApi).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryValueForSingleApi.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryValueForSingleApi.cs similarity index 84% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryValueForSingleApi.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryValueForSingleApi.cs index 33382a43d05c..5480b24229f1 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryValueForSingleApi.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Available operation details. public partial class ClientDiscoveryValueForSingleApi : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApi, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApiInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApi, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryDisplay _display; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IClientDiscoveryDisplay Display { get => (this._display = this._display ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ClientDiscoveryDisplay()); set => this._display = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryDisplay Display { get => (this._display = this._display ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IClientDiscoveryDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryDisplayInternal)Display).Description = value ?? null; } + public string DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IClientDiscoveryDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryDisplayInternal)Display).Operation = value ?? null; } + public string DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IClientDiscoveryDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryDisplayInternal)Display).Provider = value ?? null; } + public string DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IClientDiscoveryDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryDisplayInternal)Display).Resource = value ?? null; } + public string DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IClientDiscoveryDisplay Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApiInternal.Display { get => (this._display = this._display ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ClientDiscoveryDisplay()); set { {_display = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryDisplay Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal.Display { get => (this._display = this._display ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ClientDiscoveryDisplay()); set { {_display = value;} } } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForProperties Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApiInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ClientDiscoveryForProperties()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForProperties Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ClientDiscoveryForProperties()); set { {_property = value;} } } /// Internal Acessors for ServiceSpecification - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForServiceSpecification Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApiInternal.ServiceSpecification { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForPropertiesInternal)Property).ServiceSpecification; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForPropertiesInternal)Property).ServiceSpecification = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForServiceSpecification Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApiInternal.ServiceSpecification { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForPropertiesInternal)Property).ServiceSpecification; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IClientDiscoveryForProperties _property; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IClientDiscoveryForProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ClientDiscoveryForProperties()); set => this._property = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IClientDiscoveryForLogSpecification[] ServiceSpecificationLogSpecification { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForPropertiesInternal)Property).ServiceSpecificationLogSpecification; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForPropertiesInternal)Property).ServiceSpecificationLogSpecification = value ?? null /* arrayOf */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForLogSpecification[] ServiceSpecificationLogSpecification { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForPropertiesInternal)Property).ServiceSpecificationLogSpecification; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IClientDiscoveryForLogSpecification) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForLogSpecification[] ServiceSpecificationLogSpecification { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForLogSpecification) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IClientDiscoveryDisplay Display { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IClientDiscoveryForProperties Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForProperties Property { get; set; } /// Operation properties. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForServiceSpecification ServiceSpecification { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForServiceSpecification ServiceSpecification { get; set; } /// List of log specifications of this operation. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryForLogSpecification[] ServiceSpecificationLogSpecification { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryForLogSpecification[] ServiceSpecificationLogSpecification { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryValueForSingleApi.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryValueForSingleApi.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryValueForSingleApi.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ClientDiscoveryValueForSingleApi.json.cs index a737e0373b88..0a67bc568c38 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ClientDiscoveryValueForSingleApi.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ClientDiscoveryDisplay.FromJson(__jsonDisplay) : Display;} - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ClientDiscoveryForProperties.FromJson(__jsonProperties) : Property;} + {_display = If( json?.PropertyT("display"), out var __jsonDisplay) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ClientDiscoveryDisplay.FromJson(__jsonDisplay) : Display;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IClientDiscoveryValueForSingleApi. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApi. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApi. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApi. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApi FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/CloudError.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CloudError.PowerShell.cs similarity index 79% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CloudError.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CloudError.PowerShell.cs index 82ed401c5d3c..eb490be3a05f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CloudError.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ICloudErrorInternal)this).Error = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IError) content.GetValueForProperty("Error",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICloudErrorInternal)this).Error, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ErrorTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICloudErrorInternal)this).Error = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IError) content.GetValueForProperty("Error",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICloudErrorInternal)this).Error, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ErrorTypeConverter.ConvertFrom); } if (content.Contains("AdditionalInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICloudErrorInternal)this).AdditionalInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[]) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICloudErrorInternal)this).AdditionalInfo, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ErrorAdditionalInfoTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICloudErrorInternal)this).AdditionalInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[]) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICloudErrorInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICloudErrorInternal)this).Code, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICloudErrorInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICloudErrorInternal)this).Code, global::System.Convert.ToString); } if (content.Contains("Detail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICloudErrorInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IError[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICloudErrorInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ErrorTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICloudErrorInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IError[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICloudErrorInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ErrorTypeConverter.ConvertFrom)); } if (content.Contains("Message")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICloudErrorInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICloudErrorInternal)this).Message, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICloudErrorInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICloudErrorInternal)this).Message, global::System.Convert.ToString); } if (content.Contains("Target")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICloudErrorInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICloudErrorInternal)this).Target, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICloudErrorInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICloudErrorInternal)this).Error = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IError) content.GetValueForProperty("Error",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICloudErrorInternal)this).Error, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ErrorTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICloudErrorInternal)this).Error = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IError) content.GetValueForProperty("Error",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICloudErrorInternal)this).Error, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ErrorTypeConverter.ConvertFrom); } if (content.Contains("AdditionalInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICloudErrorInternal)this).AdditionalInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[]) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICloudErrorInternal)this).AdditionalInfo, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ErrorAdditionalInfoTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICloudErrorInternal)this).AdditionalInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[]) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICloudErrorInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICloudErrorInternal)this).Code, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICloudErrorInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICloudErrorInternal)this).Code, global::System.Convert.ToString); } if (content.Contains("Detail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICloudErrorInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IError[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICloudErrorInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ErrorTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICloudErrorInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IError[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICloudErrorInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ErrorTypeConverter.ConvertFrom)); } if (content.Contains("Message")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICloudErrorInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICloudErrorInternal)this).Message, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICloudErrorInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICloudErrorInternal)this).Message, global::System.Convert.ToString); } if (content.Contains("Target")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICloudErrorInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICloudErrorInternal)this).Target, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICloudErrorInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICloudError DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICloudError DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICloudError DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new CloudError(content); } @@ -167,7 +167,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICloudError FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/CloudError.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CloudError.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CloudError.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CloudError.TypeConverter.cs index 94bb407c943e..b712bb3888c8 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CloudError.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ICloudError ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICloudError ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICloudError).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICloudError).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CloudError.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CloudError.cs similarity index 77% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CloudError.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CloudError.cs index 5520d18c4d4d..9dfb26c251bf 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CloudError.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ICloudError, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICloudErrorInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICloudError, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api40.IErrorAdditionalInfo[] AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IErrorInternal)Error).AdditionalInfo; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[] AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IErrorInternal)Error).Code; } + public string Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IError[] Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IErrorInternal)Error).Detail; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IError[] Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IErrorInternal)Error).Detail; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IError _error; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IError Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.Error()); set => this._error = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IError Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IErrorInternal)Error).Message; } + public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IErrorInternal)Error).Message; } /// Internal Acessors for AdditionalInfo - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICloudErrorInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IErrorInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IErrorInternal)Error).AdditionalInfo = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICloudErrorInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IErrorInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IErrorInternal)Error).AdditionalInfo = value; } /// Internal Acessors for Code - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICloudErrorInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IErrorInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IErrorInternal)Error).Code = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICloudErrorInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IErrorInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IErrorInternal)Error).Code = value; } /// Internal Acessors for Detail - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IError[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICloudErrorInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IErrorInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IErrorInternal)Error).Detail = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IError[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICloudErrorInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IErrorInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IErrorInternal)Error).Detail = value; } /// Internal Acessors for Error - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IError Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICloudErrorInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.Error()); set { {_error = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IError Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICloudErrorInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.Error()); set { {_error = value;} } } /// Internal Acessors for Message - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICloudErrorInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IErrorInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IErrorInternal)Error).Message = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICloudErrorInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IErrorInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IErrorInternal)Error).Message = value; } /// Internal Acessors for Target - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICloudErrorInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IErrorInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IErrorInternal)Error).Target = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICloudErrorInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IErrorInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IErrorInternal)Error).Target; } + public string Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IErrorInternal)Error).Target; } /// Creates an new instance. public CloudError() @@ -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.Api20231201.IError) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IError[] Detail { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IError) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IError[] Detail { get; } /// The error message. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -119,9 +119,9 @@ internal partial interface ICloudErrorInternal /// The error code. string Code { get; set; } /// The error details. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IError[] Detail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IError[] Detail { get; set; } /// The resource management error response. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IError Error { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IError Error { get; set; } /// The error message. string Message { get; set; } /// The error target. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CloudError.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CloudError.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CloudError.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CloudError.json.cs index 3ebeb7871740..1804fcd93a7f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CloudError.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.Error.FromJson(__jsonError) : Error;} + {_error = If( json?.PropertyT("error"), out var __jsonError) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.Error.FromJson(__jsonError) : Error;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICloudError. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICloudError. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICloudError. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICloudError. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICloudError FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20240401/CmkKekIdentity.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CmkKekIdentity.PowerShell.cs new file mode 100644 index 000000000000..9d41bce22ecc --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CmkKekIdentity.PowerShell.cs @@ -0,0 +1,152 @@ +// 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.Api20240401 +{ + using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; + + /// The details of the managed identity used for CMK + [System.ComponentModel.TypeConverter(typeof(CmkKekIdentityTypeConverter))] + public partial class CmkKekIdentity + { + + /// + /// 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 CmkKekIdentity(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("IdentityType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICmkKekIdentityInternal)this).IdentityType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.IdentityType?) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICmkKekIdentityInternal)this).IdentityType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.IdentityType.CreateFrom); + } + if (content.Contains("IdentityId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICmkKekIdentityInternal)this).IdentityId = (string) content.GetValueForProperty("IdentityId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICmkKekIdentityInternal)this).IdentityId, 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 CmkKekIdentity(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("IdentityType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICmkKekIdentityInternal)this).IdentityType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.IdentityType?) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICmkKekIdentityInternal)this).IdentityType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.IdentityType.CreateFrom); + } + if (content.Contains("IdentityId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICmkKekIdentityInternal)this).IdentityId = (string) content.GetValueForProperty("IdentityId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICmkKekIdentityInternal)this).IdentityId, 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.Api20240401.ICmkKekIdentity DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new CmkKekIdentity(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.Api20240401.ICmkKekIdentity DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new CmkKekIdentity(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.Api20240401.ICmkKekIdentity 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 details of the managed identity used for CMK + [System.ComponentModel.TypeConverter(typeof(CmkKekIdentityTypeConverter))] + public partial interface ICmkKekIdentity + + { + + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CmkKekIdentity.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CmkKekIdentity.TypeConverter.cs new file mode 100644 index 000000000000..c7f7b4251427 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CmkKekIdentity.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.Api20240401 +{ + using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class CmkKekIdentityTypeConverter : 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.Api20240401.ICmkKekIdentity ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICmkKekIdentity).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return CmkKekIdentity.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return CmkKekIdentity.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return CmkKekIdentity.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/Api20240401/CmkKekIdentity.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CmkKekIdentity.cs new file mode 100644 index 000000000000..9772b12c3fa9 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CmkKekIdentity.cs @@ -0,0 +1,86 @@ +// 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.Api20240401 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; + + /// The details of the managed identity used for CMK + public partial class CmkKekIdentity : + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICmkKekIdentity, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICmkKekIdentityInternal + { + + /// Backing field for property. + private string _identityId; + + /// + /// The managed identity to be used which has access permissions to the Key Vault. Provide a value here in case identity types: + /// 'UserAssigned' only. + /// + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public string IdentityId { get => this._identityId; set => this._identityId = value; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.IdentityType? _identityType; + + /// + /// The identity type. 'SystemAssigned' and 'UserAssigned' are mutually exclusive. 'SystemAssigned' will use implicitly created + /// managed identity. + /// + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.IdentityType? IdentityType { get => this._identityType; set => this._identityType = value; } + + /// Creates an new instance. + public CmkKekIdentity() + { + + } + } + /// The details of the managed identity used for CMK + public partial interface ICmkKekIdentity : + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable + { + /// + /// The managed identity to be used which has access permissions to the Key Vault. Provide a value here in case identity types: + /// 'UserAssigned' only. + /// + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The managed identity to be used which has access permissions to the Key Vault. Provide a value here in case identity types: 'UserAssigned' only.", + SerializedName = @"identityId", + PossibleTypes = new [] { typeof(string) })] + string IdentityId { get; set; } + /// + /// The identity type. 'SystemAssigned' and 'UserAssigned' are mutually exclusive. 'SystemAssigned' will use implicitly created + /// managed identity. + /// + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The identity type. 'SystemAssigned' and 'UserAssigned' are mutually exclusive. 'SystemAssigned' will use implicitly created managed identity.", + SerializedName = @"identityType", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.IdentityType) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.IdentityType? IdentityType { get; set; } + + } + /// The details of the managed identity used for CMK + internal partial interface ICmkKekIdentityInternal + + { + /// + /// The managed identity to be used which has access permissions to the Key Vault. Provide a value here in case identity types: + /// 'UserAssigned' only. + /// + string IdentityId { get; set; } + /// + /// The identity type. 'SystemAssigned' and 'UserAssigned' are mutually exclusive. 'SystemAssigned' will use implicitly created + /// managed identity. + /// + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.IdentityType? IdentityType { get; set; } + + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CmkKekIdentity.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CmkKekIdentity.json.cs new file mode 100644 index 000000000000..fad21c7b1cdc --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CmkKekIdentity.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.Api20240401 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; + + /// The details of the managed identity used for CMK + public partial class CmkKekIdentity + { + + /// + /// 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 CmkKekIdentity(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_identityType = If( json?.PropertyT("identityType"), out var __jsonIdentityType) ? (string)__jsonIdentityType : (string)IdentityType;} + {_identityId = If( json?.PropertyT("identityId"), out var __jsonIdentityId) ? (string)__jsonIdentityId : (string)IdentityId;} + AfterFromJson(json); + } + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICmkKekIdentity. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICmkKekIdentity. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICmkKekIdentity FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new CmkKekIdentity(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._identityType)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString(this._identityType.ToString()) : null, "identityType" ,container.Add ); + AddIf( null != (((object)this._identityId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString(this._identityId.ToString()) : null, "identityId" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CmkKeyVaultProperties.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CmkKeyVaultProperties.PowerShell.cs new file mode 100644 index 000000000000..ee3773e2d1cf --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CmkKeyVaultProperties.PowerShell.cs @@ -0,0 +1,146 @@ +// 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.Api20240401 +{ + using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; + + /// The properties of the Key Vault which hosts CMK + [System.ComponentModel.TypeConverter(typeof(CmkKeyVaultPropertiesTypeConverter))] + public partial class CmkKeyVaultProperties + { + + /// + /// 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 CmkKeyVaultProperties(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("KeyUri")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICmkKeyVaultPropertiesInternal)this).KeyUri = (string) content.GetValueForProperty("KeyUri",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICmkKeyVaultPropertiesInternal)this).KeyUri, 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 CmkKeyVaultProperties(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("KeyUri")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICmkKeyVaultPropertiesInternal)this).KeyUri = (string) content.GetValueForProperty("KeyUri",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICmkKeyVaultPropertiesInternal)this).KeyUri, 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.Api20240401.ICmkKeyVaultProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new CmkKeyVaultProperties(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.Api20240401.ICmkKeyVaultProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new CmkKeyVaultProperties(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.Api20240401.ICmkKeyVaultProperties 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 properties of the Key Vault which hosts CMK + [System.ComponentModel.TypeConverter(typeof(CmkKeyVaultPropertiesTypeConverter))] + public partial interface ICmkKeyVaultProperties + + { + + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CmkKeyVaultProperties.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CmkKeyVaultProperties.TypeConverter.cs new file mode 100644 index 000000000000..3c1a6163b4f4 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CmkKeyVaultProperties.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.Api20240401 +{ + using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class CmkKeyVaultPropertiesTypeConverter : 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.Api20240401.ICmkKeyVaultProperties ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICmkKeyVaultProperties).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return CmkKeyVaultProperties.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return CmkKeyVaultProperties.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return CmkKeyVaultProperties.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/Api20240401/CmkKeyVaultProperties.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CmkKeyVaultProperties.cs new file mode 100644 index 000000000000..b87e61784abe --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CmkKeyVaultProperties.cs @@ -0,0 +1,51 @@ +// 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.Api20240401 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; + + /// The properties of the Key Vault which hosts CMK + public partial class CmkKeyVaultProperties : + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICmkKeyVaultProperties, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICmkKeyVaultPropertiesInternal + { + + /// Backing field for property. + private string _keyUri; + + /// The key uri of the Customer Managed Key + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public string KeyUri { get => this._keyUri; set => this._keyUri = value; } + + /// Creates an new instance. + public CmkKeyVaultProperties() + { + + } + } + /// The properties of the Key Vault which hosts CMK + public partial interface ICmkKeyVaultProperties : + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable + { + /// The key uri of the Customer Managed Key + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The key uri of the Customer Managed Key", + SerializedName = @"keyUri", + PossibleTypes = new [] { typeof(string) })] + string KeyUri { get; set; } + + } + /// The properties of the Key Vault which hosts CMK + internal partial interface ICmkKeyVaultPropertiesInternal + + { + /// The key uri of the Customer Managed Key + string KeyUri { get; set; } + + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CmkKeyVaultProperties.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CmkKeyVaultProperties.json.cs new file mode 100644 index 000000000000..a1abaf3bbe3d --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CmkKeyVaultProperties.json.cs @@ -0,0 +1,108 @@ +// 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.Api20240401 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; + + /// The properties of the Key Vault which hosts CMK + public partial class CmkKeyVaultProperties + { + + /// + /// 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 CmkKeyVaultProperties(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_keyUri = If( json?.PropertyT("keyUri"), out var __jsonKeyUri) ? (string)__jsonKeyUri : (string)KeyUri;} + AfterFromJson(json); + } + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICmkKeyVaultProperties. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICmkKeyVaultProperties. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICmkKeyVaultProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new CmkKeyVaultProperties(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._keyUri)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString(this._keyUri.ToString()) : null, "keyUri" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CopyOnExpiryOption.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CopyOnExpiryOption.PowerShell.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CopyOnExpiryOption.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CopyOnExpiryOption.PowerShell.cs index 4e9651de93b0..5388a6569909 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CopyOnExpiryOption.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ICopyOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICopyOptionInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICopyOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICopyOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICopyOptionInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICopyOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICopyOnExpiryOption DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICopyOnExpiryOption DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICopyOnExpiryOption DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new CopyOnExpiryOption(content); } @@ -127,7 +127,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICopyOnExpiryOption FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/CopyOnExpiryOption.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CopyOnExpiryOption.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CopyOnExpiryOption.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CopyOnExpiryOption.TypeConverter.cs index 764c4273892d..551efaf67661 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CopyOnExpiryOption.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ICopyOnExpiryOption ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICopyOnExpiryOption ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICopyOnExpiryOption).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICopyOnExpiryOption).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CopyOnExpiryOption.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CopyOnExpiryOption.cs similarity index 85% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CopyOnExpiryOption.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CopyOnExpiryOption.cs index 4706e75f3963..1cd5a20e4bbd 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CopyOnExpiryOption.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Copy on Expiry Option public partial class CopyOnExpiryOption : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICopyOnExpiryOption, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICopyOnExpiryOptionInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICopyOnExpiryOption, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICopyOnExpiryOptionInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICopyOption __copyOption = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CopyOption(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICopyOption __copyOption = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICopyOptionInternal)__copyOption).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICopyOptionInternal)__copyOption).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICopyOptionInternal)__copyOption).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICopyOption + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICopyOption { } /// Copy on Expiry Option internal partial interface ICopyOnExpiryOptionInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICopyOptionInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICopyOptionInternal { } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CopyOnExpiryOption.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CopyOnExpiryOption.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CopyOnExpiryOption.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CopyOnExpiryOption.json.cs index 93c343db6ede..7cc12323e52d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CopyOnExpiryOption.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.CopyOption(json); + __copyOption = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CopyOption(json); AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICopyOnExpiryOption. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICopyOnExpiryOption. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICopyOnExpiryOption. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICopyOnExpiryOption. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICopyOnExpiryOption FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/CopyOption.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CopyOption.PowerShell.cs similarity index 89% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CopyOption.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CopyOption.PowerShell.cs index 46d22333c92d..8dfc593b4510 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CopyOption.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ICopyOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICopyOptionInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICopyOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICopyOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICopyOptionInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICopyOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICopyOption DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICopyOption DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICopyOption DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new CopyOption(content); } @@ -127,7 +127,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICopyOption FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/CopyOption.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CopyOption.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CopyOption.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CopyOption.TypeConverter.cs index 8a014afa79a9..ede703c75825 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CopyOption.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ICopyOption ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICopyOption ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICopyOption).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICopyOption).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CopyOption.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CopyOption.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CopyOption.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CopyOption.cs index c7a978f07cd0..4fc0fcca70f2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CopyOption.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Options to copy public partial class CopyOption : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICopyOption, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICopyOptionInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICopyOption, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICopyOptionInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CopyOption.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CopyOption.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CopyOption.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CopyOption.json.cs index c69ce59f7df9..b56c1c7b0404 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CopyOption.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ICopyOption. - /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICopyOption interface is polymorphic, and + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICopyOption. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICopyOption. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICopyOption. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICopyOption FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/CrossRegionRestoreDetails.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreDetails.PowerShell.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreDetails.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreDetails.PowerShell.cs index 93d47791b2fd..891c7e75eb16 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreDetails.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreDetails.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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class CrossRegionRestoreDetails 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 CrossRegionRestoreDetails(global::System.Collections.IDictionary conten // actually deserialize if (content.Contains("SourceRegion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreDetailsInternal)this).SourceRegion = (string) content.GetValueForProperty("SourceRegion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreDetailsInternal)this).SourceRegion, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreDetailsInternal)this).SourceRegion = (string) content.GetValueForProperty("SourceRegion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreDetailsInternal)this).SourceRegion, global::System.Convert.ToString); } if (content.Contains("SourceBackupInstanceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreDetailsInternal)this).SourceBackupInstanceId = (string) content.GetValueForProperty("SourceBackupInstanceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreDetailsInternal)this).SourceBackupInstanceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreDetailsInternal)this).SourceBackupInstanceId = (string) content.GetValueForProperty("SourceBackupInstanceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreDetailsInternal)this).SourceBackupInstanceId, 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 CrossRegionRestoreDetails(global::System.Management.Automation.PSObject // actually deserialize if (content.Contains("SourceRegion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreDetailsInternal)this).SourceRegion = (string) content.GetValueForProperty("SourceRegion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreDetailsInternal)this).SourceRegion, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreDetailsInternal)this).SourceRegion = (string) content.GetValueForProperty("SourceRegion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreDetailsInternal)this).SourceRegion, global::System.Convert.ToString); } if (content.Contains("SourceBackupInstanceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreDetailsInternal)this).SourceBackupInstanceId = (string) content.GetValueForProperty("SourceBackupInstanceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreDetailsInternal)this).SourceBackupInstanceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreDetailsInternal)this).SourceBackupInstanceId = (string) content.GetValueForProperty("SourceBackupInstanceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreDetailsInternal)this).SourceBackupInstanceId, 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.Api20231201.ICrossRegionRestoreDetails DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreDetails DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new CrossRegionRestoreDetails(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.Api20231201.ICrossRegionRestoreDetails DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreDetails DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new CrossRegionRestoreDetails(content); } @@ -137,7 +137,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreDetails FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreDetails 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/Api20231201/CrossRegionRestoreDetails.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreDetails.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreDetails.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreDetails.TypeConverter.cs index 77aa551a184d..4fd33bbc5a10 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreDetails.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreDetails.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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ICrossRegionRestoreDetails ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreDetails ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreDetails).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreDetails).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreDetails.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreDetails.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreDetails.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreDetails.cs index 5123faa21d58..5fa76d549245 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreDetails.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreDetails.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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Cross Region Restore details public partial class CrossRegionRestoreDetails : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreDetails, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreDetailsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreDetails, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreDetailsInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreDetails.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreDetails.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreDetails.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreDetails.json.cs index 99e942b79b51..f6dfe84ba851 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreDetails.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreDetails.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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -71,13 +71,13 @@ internal CrossRegionRestoreDetails(Microsoft.Azure.PowerShell.Cmdlets.DataProtec } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreDetails. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreDetails. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreDetails. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreDetails. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreDetails FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreJobRequest.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreJobRequest.PowerShell.cs similarity index 87% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreJobRequest.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreJobRequest.PowerShell.cs index a89017c0e481..3c8e3fa43b33 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreJobRequest.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreJobRequest.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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class CrossRegionRestoreJobRequest 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 CrossRegionRestoreJobRequest(global::System.Collections.IDictionary con // actually deserialize if (content.Contains("SourceRegion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreJobRequestInternal)this).SourceRegion = (string) content.GetValueForProperty("SourceRegion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreJobRequestInternal)this).SourceRegion, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobRequestInternal)this).SourceRegion = (string) content.GetValueForProperty("SourceRegion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobRequestInternal)this).SourceRegion, global::System.Convert.ToString); } if (content.Contains("SourceBackupVaultId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreJobRequestInternal)this).SourceBackupVaultId = (string) content.GetValueForProperty("SourceBackupVaultId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreJobRequestInternal)this).SourceBackupVaultId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobRequestInternal)this).SourceBackupVaultId = (string) content.GetValueForProperty("SourceBackupVaultId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobRequestInternal)this).SourceBackupVaultId, global::System.Convert.ToString); } if (content.Contains("JobId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreJobRequestInternal)this).JobId = (string) content.GetValueForProperty("JobId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreJobRequestInternal)this).JobId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobRequestInternal)this).JobId = (string) content.GetValueForProperty("JobId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobRequestInternal)this).JobId, 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 CrossRegionRestoreJobRequest(global::System.Management.Automation.PSObj // actually deserialize if (content.Contains("SourceRegion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreJobRequestInternal)this).SourceRegion = (string) content.GetValueForProperty("SourceRegion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreJobRequestInternal)this).SourceRegion, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobRequestInternal)this).SourceRegion = (string) content.GetValueForProperty("SourceRegion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobRequestInternal)this).SourceRegion, global::System.Convert.ToString); } if (content.Contains("SourceBackupVaultId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreJobRequestInternal)this).SourceBackupVaultId = (string) content.GetValueForProperty("SourceBackupVaultId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreJobRequestInternal)this).SourceBackupVaultId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobRequestInternal)this).SourceBackupVaultId = (string) content.GetValueForProperty("SourceBackupVaultId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobRequestInternal)this).SourceBackupVaultId, global::System.Convert.ToString); } if (content.Contains("JobId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreJobRequestInternal)this).JobId = (string) content.GetValueForProperty("JobId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreJobRequestInternal)this).JobId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobRequestInternal)this).JobId = (string) content.GetValueForProperty("JobId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobRequestInternal)this).JobId, 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.Api20231201.ICrossRegionRestoreJobRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new CrossRegionRestoreJobRequest(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.Api20231201.ICrossRegionRestoreJobRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new CrossRegionRestoreJobRequest(content); } @@ -145,7 +145,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreJobRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobRequest 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/Api20231201/CrossRegionRestoreJobRequest.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreJobRequest.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreJobRequest.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreJobRequest.TypeConverter.cs index a0346060697c..c06e5c7430fd 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreJobRequest.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreJobRequest.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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ICrossRegionRestoreJobRequest ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobRequest ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreJobRequest).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobRequest).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreJobRequest.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreJobRequest.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreJobRequest.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreJobRequest.cs index 1c0176327ec7..c0ccf083f29b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreJobRequest.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreJobRequest.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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ICrossRegionRestoreJobRequest, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreJobRequestInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobRequest, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobRequestInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreJobRequest.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreJobRequest.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreJobRequest.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreJobRequest.json.cs index f5352e318e3b..73f105cfb3b5 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreJobRequest.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreJobRequest.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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -72,13 +72,13 @@ internal CrossRegionRestoreJobRequest(Microsoft.Azure.PowerShell.Cmdlets.DataPro } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreJobRequest. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobRequest. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreJobRequest. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobRequest. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreJobRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreJobsRequest.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreJobsRequest.PowerShell.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreJobsRequest.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreJobsRequest.PowerShell.cs index df946ca849d2..f9ec23524091 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreJobsRequest.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreJobsRequest.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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class CrossRegionRestoreJobsRequest 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 CrossRegionRestoreJobsRequest(global::System.Collections.IDictionary co // actually deserialize if (content.Contains("SourceRegion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreJobsRequestInternal)this).SourceRegion = (string) content.GetValueForProperty("SourceRegion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreJobsRequestInternal)this).SourceRegion, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobsRequestInternal)this).SourceRegion = (string) content.GetValueForProperty("SourceRegion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobsRequestInternal)this).SourceRegion, global::System.Convert.ToString); } if (content.Contains("SourceBackupVaultId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreJobsRequestInternal)this).SourceBackupVaultId = (string) content.GetValueForProperty("SourceBackupVaultId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreJobsRequestInternal)this).SourceBackupVaultId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobsRequestInternal)this).SourceBackupVaultId = (string) content.GetValueForProperty("SourceBackupVaultId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobsRequestInternal)this).SourceBackupVaultId, 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 CrossRegionRestoreJobsRequest(global::System.Management.Automation.PSOb // actually deserialize if (content.Contains("SourceRegion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreJobsRequestInternal)this).SourceRegion = (string) content.GetValueForProperty("SourceRegion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreJobsRequestInternal)this).SourceRegion, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobsRequestInternal)this).SourceRegion = (string) content.GetValueForProperty("SourceRegion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobsRequestInternal)this).SourceRegion, global::System.Convert.ToString); } if (content.Contains("SourceBackupVaultId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreJobsRequestInternal)this).SourceBackupVaultId = (string) content.GetValueForProperty("SourceBackupVaultId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreJobsRequestInternal)this).SourceBackupVaultId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobsRequestInternal)this).SourceBackupVaultId = (string) content.GetValueForProperty("SourceBackupVaultId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobsRequestInternal)this).SourceBackupVaultId, 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.Api20231201.ICrossRegionRestoreJobsRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobsRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new CrossRegionRestoreJobsRequest(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.Api20231201.ICrossRegionRestoreJobsRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobsRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new CrossRegionRestoreJobsRequest(content); } @@ -137,7 +137,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreJobsRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobsRequest 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/Api20231201/CrossRegionRestoreJobsRequest.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreJobsRequest.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreJobsRequest.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreJobsRequest.TypeConverter.cs index 38ab51bc3508..041897b0e3a9 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreJobsRequest.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreJobsRequest.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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ICrossRegionRestoreJobsRequest ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobsRequest ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreJobsRequest).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobsRequest).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreJobsRequest.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreJobsRequest.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreJobsRequest.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreJobsRequest.cs index eaffc9efeba4..5d0240e5275b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreJobsRequest.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreJobsRequest.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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ICrossRegionRestoreJobsRequest, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreJobsRequestInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobsRequest, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobsRequestInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreJobsRequest.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreJobsRequest.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreJobsRequest.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreJobsRequest.json.cs index 2294a60d023e..0ec785fb9598 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreJobsRequest.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreJobsRequest.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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -71,13 +71,13 @@ internal CrossRegionRestoreJobsRequest(Microsoft.Azure.PowerShell.Cmdlets.DataPr } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreJobsRequest. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobsRequest. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreJobsRequest. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobsRequest. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreJobsRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreRequestObject.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreRequestObject.PowerShell.cs similarity index 84% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreRequestObject.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreRequestObject.PowerShell.cs index d7793c28dfc8..abae28789abb 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreRequestObject.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreRequestObject.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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class CrossRegionRestoreRequestObject 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 CrossRegionRestoreRequestObject(global::System.Collections.IDictionary // actually deserialize if (content.Contains("RestoreRequestObject")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreRequestObjectInternal)this).RestoreRequestObject = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest) content.GetValueForProperty("RestoreRequestObject",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreRequestObjectInternal)this).RestoreRequestObject, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupRestoreRequestTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreRequestObjectInternal)this).RestoreRequestObject = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest) content.GetValueForProperty("RestoreRequestObject",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreRequestObjectInternal)this).RestoreRequestObject, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupRestoreRequestTypeConverter.ConvertFrom); } if (content.Contains("CrossRegionRestoreDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreRequestObjectInternal)this).CrossRegionRestoreDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreDetails) content.GetValueForProperty("CrossRegionRestoreDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreRequestObjectInternal)this).CrossRegionRestoreDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossRegionRestoreDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreRequestObjectInternal)this).CrossRegionRestoreDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreDetails) content.GetValueForProperty("CrossRegionRestoreDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreRequestObjectInternal)this).CrossRegionRestoreDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CrossRegionRestoreDetailsTypeConverter.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 CrossRegionRestoreRequestObject(global::System.Management.Automation.PS // actually deserialize if (content.Contains("RestoreRequestObject")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreRequestObjectInternal)this).RestoreRequestObject = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest) content.GetValueForProperty("RestoreRequestObject",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreRequestObjectInternal)this).RestoreRequestObject, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupRestoreRequestTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreRequestObjectInternal)this).RestoreRequestObject = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest) content.GetValueForProperty("RestoreRequestObject",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreRequestObjectInternal)this).RestoreRequestObject, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupRestoreRequestTypeConverter.ConvertFrom); } if (content.Contains("CrossRegionRestoreDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreRequestObjectInternal)this).CrossRegionRestoreDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreDetails) content.GetValueForProperty("CrossRegionRestoreDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreRequestObjectInternal)this).CrossRegionRestoreDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossRegionRestoreDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreRequestObjectInternal)this).CrossRegionRestoreDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreDetails) content.GetValueForProperty("CrossRegionRestoreDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreRequestObjectInternal)this).CrossRegionRestoreDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CrossRegionRestoreDetailsTypeConverter.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.Api20231201.ICrossRegionRestoreRequestObject DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreRequestObject DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new CrossRegionRestoreRequestObject(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.Api20231201.ICrossRegionRestoreRequestObject DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreRequestObject DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new CrossRegionRestoreRequestObject(content); } @@ -137,7 +137,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreRequestObject FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreRequestObject 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/Api20231201/CrossRegionRestoreRequestObject.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreRequestObject.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreRequestObject.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreRequestObject.TypeConverter.cs index 973db70fcd93..82eb3c950fb3 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreRequestObject.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreRequestObject.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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ICrossRegionRestoreRequestObject ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreRequestObject ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreRequestObject).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreRequestObject).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreRequestObject.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreRequestObject.cs similarity index 80% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreRequestObject.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreRequestObject.cs index 6650bf7bc3e3..e654163d9de8 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreRequestObject.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreRequestObject.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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Cross Region Restore Request Object public partial class CrossRegionRestoreRequestObject : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreRequestObject, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreRequestObjectInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreRequestObject, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreRequestObjectInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreDetails _crossRegionRestoreDetail; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICrossRegionRestoreDetails CrossRegionRestoreDetail { get => (this._crossRegionRestoreDetail = this._crossRegionRestoreDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossRegionRestoreDetails()); set => this._crossRegionRestoreDetail = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreDetails CrossRegionRestoreDetail { get => (this._crossRegionRestoreDetail = this._crossRegionRestoreDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CrossRegionRestoreDetails()); set => this._crossRegionRestoreDetail = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest _restoreRequestObject; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRestoreRequest RestoreRequestObject { get => (this._restoreRequestObject = this._restoreRequestObject ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupRestoreRequest()); set => this._restoreRequestObject = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest RestoreRequestObject { get => (this._restoreRequestObject = this._restoreRequestObject ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupRestoreRequest()); set => this._restoreRequestObject = value; } /// Creates an new instance. public CrossRegionRestoreRequestObject() @@ -43,16 +43,16 @@ public partial interface ICrossRegionRestoreRequestObject : ReadOnly = false, Description = @"Cross region restore details.", SerializedName = @"crossRegionRestoreDetails", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreDetails) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreDetails CrossRegionRestoreDetail { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreDetails) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRestoreRequest) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest RestoreRequestObject { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest RestoreRequestObject { get; set; } } /// Cross Region Restore Request Object @@ -60,9 +60,9 @@ internal partial interface ICrossRegionRestoreRequestObjectInternal { /// Cross region restore details. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreDetails CrossRegionRestoreDetail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreDetails CrossRegionRestoreDetail { get; set; } /// Gets or sets the restore request object. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest RestoreRequestObject { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest RestoreRequestObject { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreRequestObject.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreRequestObject.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreRequestObject.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreRequestObject.json.cs index 82e71ca41054..0c7d469cc60d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreRequestObject.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreRequestObject.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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,19 +65,19 @@ internal CrossRegionRestoreRequestObject(Microsoft.Azure.PowerShell.Cmdlets.Data { return; } - {_restoreRequestObject = If( json?.PropertyT("restoreRequestObject"), out var __jsonRestoreRequestObject) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupRestoreRequest.FromJson(__jsonRestoreRequestObject) : RestoreRequestObject;} - {_crossRegionRestoreDetail = If( json?.PropertyT("crossRegionRestoreDetails"), out var __jsonCrossRegionRestoreDetails) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossRegionRestoreDetails.FromJson(__jsonCrossRegionRestoreDetails) : CrossRegionRestoreDetail;} + {_restoreRequestObject = If( json?.PropertyT("restoreRequestObject"), out var __jsonRestoreRequestObject) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupRestoreRequest.FromJson(__jsonRestoreRequestObject) : RestoreRequestObject;} + {_crossRegionRestoreDetail = If( json?.PropertyT("crossRegionRestoreDetails"), out var __jsonCrossRegionRestoreDetails) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CrossRegionRestoreDetails.FromJson(__jsonCrossRegionRestoreDetails) : CrossRegionRestoreDetail;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreRequestObject. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreRequestObject. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreRequestObject. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreRequestObject. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreRequestObject FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreSettings.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreSettings.PowerShell.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreSettings.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreSettings.PowerShell.cs index a171b5b18ac5..ad60b6cc3ca4 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreSettings.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ICrossRegionRestoreSettingsInternal)this).State = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreSettingsInternal)this).State, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreSettingsInternal)this).State = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICrossRegionRestoreSettingsInternal)this).State = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreSettingsInternal)this).State, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreSettingsInternal)this).State = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICrossRegionRestoreSettings DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICrossRegionRestoreSettings DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreSettings DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new CrossRegionRestoreSettings(content); } @@ -128,7 +128,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreSettings FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/CrossRegionRestoreSettings.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreSettings.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreSettings.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreSettings.TypeConverter.cs index faccfc7326ff..ca409ed2c275 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreSettings.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ICrossRegionRestoreSettings ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreSettings ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreSettings).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreSettings).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreSettings.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreSettings.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreSettings.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreSettings.cs index 2c95d7bfc066..f229c517f2d3 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreSettings.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; public partial class CrossRegionRestoreSettings : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreSettings, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreSettingsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreSettings, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreSettingsInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreSettings.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreSettings.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreSettings.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossRegionRestoreSettings.json.cs index a3cd639ccb32..0d3cecead268 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossRegionRestoreSettings.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ICrossRegionRestoreSettings. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreSettings. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreSettings. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreSettings. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreSettings FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/CrossSubscriptionRestoreSettings.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossSubscriptionRestoreSettings.PowerShell.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossSubscriptionRestoreSettings.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossSubscriptionRestoreSettings.PowerShell.cs index cf846af630f6..15d8116f90b8 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossSubscriptionRestoreSettings.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ICrossSubscriptionRestoreSettingsInternal)this).State = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossSubscriptionRestoreSettingsInternal)this).State, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossSubscriptionRestoreSettingsInternal)this).State = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICrossSubscriptionRestoreSettingsInternal)this).State = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossSubscriptionRestoreSettingsInternal)this).State, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossSubscriptionRestoreSettingsInternal)this).State = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICrossSubscriptionRestoreSettings DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICrossSubscriptionRestoreSettings DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossSubscriptionRestoreSettings DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new CrossSubscriptionRestoreSettings(content); } @@ -129,7 +129,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossSubscriptionRestoreSettings FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/CrossSubscriptionRestoreSettings.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossSubscriptionRestoreSettings.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossSubscriptionRestoreSettings.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossSubscriptionRestoreSettings.TypeConverter.cs index 627225579c73..f83f23cfff51 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossSubscriptionRestoreSettings.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ICrossSubscriptionRestoreSettings ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossSubscriptionRestoreSettings ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossSubscriptionRestoreSettings).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossSubscriptionRestoreSettings).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossSubscriptionRestoreSettings.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossSubscriptionRestoreSettings.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossSubscriptionRestoreSettings.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossSubscriptionRestoreSettings.cs index 2662244a8e81..316d95202e59 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossSubscriptionRestoreSettings.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// CrossSubscriptionRestore Settings public partial class CrossSubscriptionRestoreSettings : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossSubscriptionRestoreSettings, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossSubscriptionRestoreSettingsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossSubscriptionRestoreSettings, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossSubscriptionRestoreSettingsInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossSubscriptionRestoreSettings.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossSubscriptionRestoreSettings.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossSubscriptionRestoreSettings.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CrossSubscriptionRestoreSettings.json.cs index e836f519e4e7..ea477479c62f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CrossSubscriptionRestoreSettings.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ICrossSubscriptionRestoreSettings. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossSubscriptionRestoreSettings. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossSubscriptionRestoreSettings. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossSubscriptionRestoreSettings. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossSubscriptionRestoreSettings FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/CustomCopyOption.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CustomCopyOption.PowerShell.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CustomCopyOption.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CustomCopyOption.PowerShell.cs index 525cc0283a0f..5343bb59abe8 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CustomCopyOption.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ICustomCopyOptionInternal)this).Duration = (string) content.GetValueForProperty("Duration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICustomCopyOptionInternal)this).Duration, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICustomCopyOptionInternal)this).Duration = (string) content.GetValueForProperty("Duration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICustomCopyOptionInternal)this).Duration, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICopyOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICopyOptionInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICopyOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICustomCopyOptionInternal)this).Duration = (string) content.GetValueForProperty("Duration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICustomCopyOptionInternal)this).Duration, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICustomCopyOptionInternal)this).Duration = (string) content.GetValueForProperty("Duration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICustomCopyOptionInternal)this).Duration, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICopyOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICopyOptionInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICopyOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICustomCopyOption DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICustomCopyOption DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICustomCopyOption DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new CustomCopyOption(content); } @@ -135,7 +135,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICustomCopyOption FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/CustomCopyOption.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CustomCopyOption.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CustomCopyOption.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CustomCopyOption.TypeConverter.cs index bf5a02b90196..8afae866ad9f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CustomCopyOption.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ICustomCopyOption ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICustomCopyOption ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICustomCopyOption).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICustomCopyOption).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CustomCopyOption.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CustomCopyOption.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CustomCopyOption.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CustomCopyOption.cs index ebf560abb885..c608c1eebc73 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CustomCopyOption.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ICustomCopyOption, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICustomCopyOptionInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICustomCopyOption, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICustomCopyOptionInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICopyOption __copyOption = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CopyOption(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICopyOption __copyOption = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICopyOptionInternal)__copyOption).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICopyOptionInternal)__copyOption).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICopyOptionInternal)__copyOption).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICopyOption + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICopyOptionInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICopyOptionInternal { /// Data copied after given timespan string Duration { get; set; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CustomCopyOption.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CustomCopyOption.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CustomCopyOption.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/CustomCopyOption.json.cs index 0cd01884f4c5..b6d8cd7c951d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/CustomCopyOption.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.CopyOption(json); + __copyOption = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICustomCopyOption. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICustomCopyOption. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICustomCopyOption. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICustomCopyOption. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICustomCopyOption FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DataStoreInfoBase.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DataStoreInfoBase.PowerShell.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DataStoreInfoBase.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DataStoreInfoBase.PowerShell.cs index b93bdf0e4f66..89254f79aa24 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DataStoreInfoBase.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDataStoreInfoBaseInternal)this).DataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("DataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreInfoBaseInternal)this).DataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreInfoBaseInternal)this).DataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("DataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreInfoBaseInternal)this).DataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes.CreateFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreInfoBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreInfoBaseInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreInfoBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDataStoreInfoBaseInternal)this).DataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("DataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreInfoBaseInternal)this).DataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreInfoBaseInternal)this).DataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("DataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreInfoBaseInternal)this).DataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes.CreateFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreInfoBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreInfoBaseInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreInfoBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDataStoreInfoBase DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDataStoreInfoBase DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreInfoBase DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DataStoreInfoBase(content); } @@ -135,7 +135,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreInfoBase FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DataStoreInfoBase.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DataStoreInfoBase.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DataStoreInfoBase.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DataStoreInfoBase.TypeConverter.cs index e23fd6af21c1..a87b6f690476 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DataStoreInfoBase.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDataStoreInfoBase ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreInfoBase ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreInfoBase).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreInfoBase).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DataStoreInfoBase.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DataStoreInfoBase.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DataStoreInfoBase.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DataStoreInfoBase.cs index 54d665cbfd61..116af23a8c53 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DataStoreInfoBase.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// DataStoreInfo base public partial class DataStoreInfoBase : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreInfoBase, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreInfoBaseInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreInfoBase, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreInfoBaseInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DataStoreInfoBase.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DataStoreInfoBase.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DataStoreInfoBase.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DataStoreInfoBase.json.cs index 10e55d14d1cc..4cac855fc9b7 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DataStoreInfoBase.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDataStoreInfoBase. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreInfoBase. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreInfoBase. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreInfoBase. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreInfoBase FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DataStoreParameters.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DataStoreParameters.PowerShell.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DataStoreParameters.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DataStoreParameters.PowerShell.cs index 4b246ce67ffb..fa5e5e1bccee 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DataStoreParameters.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDataStoreParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreParametersInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreParametersInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("DataStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreParametersInternal)this).DataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("DataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreParametersInternal)this).DataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreParametersInternal)this).DataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("DataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDataStoreParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreParametersInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreParametersInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("DataStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreParametersInternal)this).DataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("DataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreParametersInternal)this).DataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreParametersInternal)this).DataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("DataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDataStoreParameters DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDataStoreParameters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreParameters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DataStoreParameters(content); } @@ -135,7 +135,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DataStoreParameters.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DataStoreParameters.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DataStoreParameters.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DataStoreParameters.TypeConverter.cs index 169424e16857..40bfd828f9f7 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DataStoreParameters.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDataStoreParameters ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreParameters ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreParameters).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreParameters).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DataStoreParameters.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DataStoreParameters.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DataStoreParameters.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DataStoreParameters.cs index e6ffff76eb29..54039ffe6811 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DataStoreParameters.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Parameters for DataStore public partial class DataStoreParameters : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreParameters, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreParametersInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreParameters, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreParametersInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DataStoreParameters.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DataStoreParameters.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DataStoreParameters.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DataStoreParameters.json.cs index aaf5cfc0dfd9..a78dbd38a783 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DataStoreParameters.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDataStoreParameters. - /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreParameters interface is polymorphic, + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreParameters. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDataStoreParameters. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreParameters. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreParameters FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/Datasource.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/Datasource.PowerShell.cs similarity index 79% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/Datasource.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/Datasource.PowerShell.cs index 408025402b5a..bc8788f5dd31 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/Datasource.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDatasourceInternal)this).ResourceProperty = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseResourceProperties) content.GetValueForProperty("ResourceProperty",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceInternal)this).ResourceProperty, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BaseResourcePropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceInternal)this).ResourceProperty = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseResourceProperties) content.GetValueForProperty("ResourceProperty",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceInternal)this).ResourceProperty, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BaseResourcePropertiesTypeConverter.ConvertFrom); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("ResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceInternal)this).ResourceId = (string) content.GetValueForProperty("ResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceInternal)this).ResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceInternal)this).ResourceId = (string) content.GetValueForProperty("ResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceInternal)this).ResourceId, global::System.Convert.ToString); } if (content.Contains("ResourceLocation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceInternal)this).ResourceLocation = (string) content.GetValueForProperty("ResourceLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceInternal)this).ResourceLocation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceInternal)this).ResourceLocation = (string) content.GetValueForProperty("ResourceLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceInternal)this).ResourceLocation, global::System.Convert.ToString); } if (content.Contains("ResourceName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceInternal)this).ResourceName = (string) content.GetValueForProperty("ResourceName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceInternal)this).ResourceName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceInternal)this).ResourceName = (string) content.GetValueForProperty("ResourceName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceInternal)this).ResourceName, global::System.Convert.ToString); } if (content.Contains("ResourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceInternal)this).ResourceType = (string) content.GetValueForProperty("ResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceInternal)this).ResourceType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceInternal)this).ResourceType = (string) content.GetValueForProperty("ResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceInternal)this).ResourceType, global::System.Convert.ToString); } if (content.Contains("ResourceUri")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceInternal)this).ResourceUri = (string) content.GetValueForProperty("ResourceUri",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceInternal)this).ResourceUri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceInternal)this).ResourceUri = (string) content.GetValueForProperty("ResourceUri",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceInternal)this).ResourceUri, global::System.Convert.ToString); } if (content.Contains("ResourcePropertyObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceInternal)this).ResourcePropertyObjectType = (string) content.GetValueForProperty("ResourcePropertyObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceInternal)this).ResourcePropertyObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceInternal)this).ResourcePropertyObjectType = (string) content.GetValueForProperty("ResourcePropertyObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDatasourceInternal)this).ResourceProperty = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseResourceProperties) content.GetValueForProperty("ResourceProperty",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceInternal)this).ResourceProperty, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BaseResourcePropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceInternal)this).ResourceProperty = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseResourceProperties) content.GetValueForProperty("ResourceProperty",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceInternal)this).ResourceProperty, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BaseResourcePropertiesTypeConverter.ConvertFrom); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("ResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceInternal)this).ResourceId = (string) content.GetValueForProperty("ResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceInternal)this).ResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceInternal)this).ResourceId = (string) content.GetValueForProperty("ResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceInternal)this).ResourceId, global::System.Convert.ToString); } if (content.Contains("ResourceLocation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceInternal)this).ResourceLocation = (string) content.GetValueForProperty("ResourceLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceInternal)this).ResourceLocation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceInternal)this).ResourceLocation = (string) content.GetValueForProperty("ResourceLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceInternal)this).ResourceLocation, global::System.Convert.ToString); } if (content.Contains("ResourceName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceInternal)this).ResourceName = (string) content.GetValueForProperty("ResourceName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceInternal)this).ResourceName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceInternal)this).ResourceName = (string) content.GetValueForProperty("ResourceName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceInternal)this).ResourceName, global::System.Convert.ToString); } if (content.Contains("ResourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceInternal)this).ResourceType = (string) content.GetValueForProperty("ResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceInternal)this).ResourceType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceInternal)this).ResourceType = (string) content.GetValueForProperty("ResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceInternal)this).ResourceType, global::System.Convert.ToString); } if (content.Contains("ResourceUri")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceInternal)this).ResourceUri = (string) content.GetValueForProperty("ResourceUri",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceInternal)this).ResourceUri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceInternal)this).ResourceUri = (string) content.GetValueForProperty("ResourceUri",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceInternal)this).ResourceUri, global::System.Convert.ToString); } if (content.Contains("ResourcePropertyObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceInternal)this).ResourcePropertyObjectType = (string) content.GetValueForProperty("ResourcePropertyObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceInternal)this).ResourcePropertyObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceInternal)this).ResourcePropertyObjectType = (string) content.GetValueForProperty("ResourcePropertyObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDatasource DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDatasource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new Datasource(content); } @@ -191,7 +191,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/Datasource.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/Datasource.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/Datasource.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/Datasource.TypeConverter.cs index da0a9eb219a1..0f0294207dd7 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/Datasource.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDatasource ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasource ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasource).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasource).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/Datasource.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/Datasource.cs similarity index 92% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/Datasource.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/Datasource.cs index 5c2eaf5a9e85..888e85a94981 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/Datasource.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Datasource to be backed up public partial class Datasource : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasource, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasource, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceInternal { /// Internal Acessors for ResourceProperty - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseResourceProperties Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceInternal.ResourceProperty { get => (this._resourceProperty = this._resourceProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BaseResourceProperties()); set { {_resourceProperty = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseResourceProperties Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceInternal.ResourceProperty { get => (this._resourceProperty = this._resourceProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BaseResourceProperties()); set { {_resourceProperty = value;} } } /// Internal Acessors for ResourcePropertyObjectType - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceInternal.ResourcePropertyObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseResourcePropertiesInternal)ResourceProperty).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseResourcePropertiesInternal)ResourceProperty).ObjectType = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceInternal.ResourcePropertyObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseResourcePropertiesInternal)ResourceProperty).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBaseResourceProperties _resourceProperty; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBaseResourceProperties ResourceProperty { get => (this._resourceProperty = this._resourceProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BaseResourceProperties()); set => this._resourceProperty = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseResourceProperties ResourceProperty { get => (this._resourceProperty = this._resourceProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBaseResourcePropertiesInternal)ResourceProperty).ObjectType; } + public string ResourcePropertyObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBaseResourceProperties ResourceProperty { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/Datasource.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/Datasource.json.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/Datasource.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/Datasource.json.cs index db737a8a8369..82850b364c2a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/Datasource.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.BaseResourceProperties.FromJson(__jsonResourceProperties) : ResourceProperty;} + {_resourceProperty = If( json?.PropertyT("resourceProperties"), out var __jsonResourceProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDatasource. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasource. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasource. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasource. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DatasourceSet.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DatasourceSet.PowerShell.cs similarity index 79% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DatasourceSet.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DatasourceSet.PowerShell.cs index 2c1410f37fb9..dcf2d9333072 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DatasourceSet.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDatasourceSetInternal)this).ResourceProperty = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseResourceProperties) content.GetValueForProperty("ResourceProperty",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSetInternal)this).ResourceProperty, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BaseResourcePropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSetInternal)this).ResourceProperty = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseResourceProperties) content.GetValueForProperty("ResourceProperty",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSetInternal)this).ResourceProperty, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BaseResourcePropertiesTypeConverter.ConvertFrom); } if (content.Contains("DatasourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSetInternal)this).DatasourceType = (string) content.GetValueForProperty("DatasourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSetInternal)this).DatasourceType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSetInternal)this).DatasourceType = (string) content.GetValueForProperty("DatasourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSetInternal)this).DatasourceType, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSetInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSetInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSetInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSetInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("ResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSetInternal)this).ResourceId = (string) content.GetValueForProperty("ResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSetInternal)this).ResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSetInternal)this).ResourceId = (string) content.GetValueForProperty("ResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSetInternal)this).ResourceId, global::System.Convert.ToString); } if (content.Contains("ResourceLocation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSetInternal)this).ResourceLocation = (string) content.GetValueForProperty("ResourceLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSetInternal)this).ResourceLocation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSetInternal)this).ResourceLocation = (string) content.GetValueForProperty("ResourceLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSetInternal)this).ResourceLocation, global::System.Convert.ToString); } if (content.Contains("ResourceName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSetInternal)this).ResourceName = (string) content.GetValueForProperty("ResourceName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSetInternal)this).ResourceName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSetInternal)this).ResourceName = (string) content.GetValueForProperty("ResourceName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSetInternal)this).ResourceName, global::System.Convert.ToString); } if (content.Contains("ResourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSetInternal)this).ResourceType = (string) content.GetValueForProperty("ResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSetInternal)this).ResourceType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSetInternal)this).ResourceType = (string) content.GetValueForProperty("ResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSetInternal)this).ResourceType, global::System.Convert.ToString); } if (content.Contains("ResourceUri")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSetInternal)this).ResourceUri = (string) content.GetValueForProperty("ResourceUri",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSetInternal)this).ResourceUri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSetInternal)this).ResourceUri = (string) content.GetValueForProperty("ResourceUri",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSetInternal)this).ResourceUri, global::System.Convert.ToString); } if (content.Contains("ResourcePropertyObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSetInternal)this).ResourcePropertyObjectType = (string) content.GetValueForProperty("ResourcePropertyObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSetInternal)this).ResourcePropertyObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSetInternal)this).ResourcePropertyObjectType = (string) content.GetValueForProperty("ResourcePropertyObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDatasourceSetInternal)this).ResourceProperty = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseResourceProperties) content.GetValueForProperty("ResourceProperty",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSetInternal)this).ResourceProperty, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BaseResourcePropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSetInternal)this).ResourceProperty = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseResourceProperties) content.GetValueForProperty("ResourceProperty",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSetInternal)this).ResourceProperty, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BaseResourcePropertiesTypeConverter.ConvertFrom); } if (content.Contains("DatasourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSetInternal)this).DatasourceType = (string) content.GetValueForProperty("DatasourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSetInternal)this).DatasourceType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSetInternal)this).DatasourceType = (string) content.GetValueForProperty("DatasourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSetInternal)this).DatasourceType, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSetInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSetInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSetInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSetInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("ResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSetInternal)this).ResourceId = (string) content.GetValueForProperty("ResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSetInternal)this).ResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSetInternal)this).ResourceId = (string) content.GetValueForProperty("ResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSetInternal)this).ResourceId, global::System.Convert.ToString); } if (content.Contains("ResourceLocation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSetInternal)this).ResourceLocation = (string) content.GetValueForProperty("ResourceLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSetInternal)this).ResourceLocation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSetInternal)this).ResourceLocation = (string) content.GetValueForProperty("ResourceLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSetInternal)this).ResourceLocation, global::System.Convert.ToString); } if (content.Contains("ResourceName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSetInternal)this).ResourceName = (string) content.GetValueForProperty("ResourceName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSetInternal)this).ResourceName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSetInternal)this).ResourceName = (string) content.GetValueForProperty("ResourceName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSetInternal)this).ResourceName, global::System.Convert.ToString); } if (content.Contains("ResourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSetInternal)this).ResourceType = (string) content.GetValueForProperty("ResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSetInternal)this).ResourceType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSetInternal)this).ResourceType = (string) content.GetValueForProperty("ResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSetInternal)this).ResourceType, global::System.Convert.ToString); } if (content.Contains("ResourceUri")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSetInternal)this).ResourceUri = (string) content.GetValueForProperty("ResourceUri",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSetInternal)this).ResourceUri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSetInternal)this).ResourceUri = (string) content.GetValueForProperty("ResourceUri",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSetInternal)this).ResourceUri, global::System.Convert.ToString); } if (content.Contains("ResourcePropertyObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSetInternal)this).ResourcePropertyObjectType = (string) content.GetValueForProperty("ResourcePropertyObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSetInternal)this).ResourcePropertyObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSetInternal)this).ResourcePropertyObjectType = (string) content.GetValueForProperty("ResourcePropertyObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDatasourceSet DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDatasourceSet DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSet DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DatasourceSet(content); } @@ -191,7 +191,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSet FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DatasourceSet.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DatasourceSet.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DatasourceSet.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DatasourceSet.TypeConverter.cs index 93c2d23b62d4..6995e5bef02d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DatasourceSet.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDatasourceSet ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSet ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSet).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSet).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DatasourceSet.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DatasourceSet.cs similarity index 92% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DatasourceSet.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DatasourceSet.cs index f1cf8162015a..d79a000d3b0d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DatasourceSet.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDatasourceSet, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSetInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSet, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBaseResourceProperties Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSetInternal.ResourceProperty { get => (this._resourceProperty = this._resourceProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BaseResourceProperties()); set { {_resourceProperty = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseResourceProperties Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSetInternal.ResourceProperty { get => (this._resourceProperty = this._resourceProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BaseResourceProperties()); set { {_resourceProperty = value;} } } /// Internal Acessors for ResourcePropertyObjectType - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSetInternal.ResourcePropertyObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseResourcePropertiesInternal)ResourceProperty).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseResourcePropertiesInternal)ResourceProperty).ObjectType = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSetInternal.ResourcePropertyObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseResourcePropertiesInternal)ResourceProperty).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBaseResourceProperties _resourceProperty; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBaseResourceProperties ResourceProperty { get => (this._resourceProperty = this._resourceProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BaseResourceProperties()); set => this._resourceProperty = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseResourceProperties ResourceProperty { get => (this._resourceProperty = this._resourceProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBaseResourcePropertiesInternal)ResourceProperty).ObjectType; } + public string ResourcePropertyObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBaseResourceProperties ResourceProperty { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DatasourceSet.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DatasourceSet.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DatasourceSet.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DatasourceSet.json.cs index 237b5f37787f..d198bc8f15af 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DatasourceSet.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.BaseResourceProperties.FromJson(__jsonResourceProperties) : ResourceProperty;} + {_resourceProperty = If( json?.PropertyT("resourceProperties"), out var __jsonResourceProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDatasourceSet. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSet. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSet. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSet. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSet FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/Day.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/Day.PowerShell.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/Day.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/Day.PowerShell.cs index 21b3c14f7f9a..c097ae534476 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/Day.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDayInternal)this).Date = (int?) content.GetValueForProperty("Date",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDayInternal)this).Date, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDayInternal)this).Date = (int?) content.GetValueForProperty("Date",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDayInternal)this).Date, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); } if (content.Contains("IsLast")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDayInternal)this).IsLast = (bool?) content.GetValueForProperty("IsLast",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDayInternal)this).IsLast, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDayInternal)this).IsLast = (bool?) content.GetValueForProperty("IsLast",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDayInternal)this).Date = (int?) content.GetValueForProperty("Date",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDayInternal)this).Date, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDayInternal)this).Date = (int?) content.GetValueForProperty("Date",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDayInternal)this).Date, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); } if (content.Contains("IsLast")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDayInternal)this).IsLast = (bool?) content.GetValueForProperty("IsLast",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDayInternal)this).IsLast, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDayInternal)this).IsLast = (bool?) content.GetValueForProperty("IsLast",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDay DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDay DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDay DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new Day(content); } @@ -135,7 +135,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDay FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/Day.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/Day.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/Day.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/Day.TypeConverter.cs index 46c41f579bee..b2a444e15947 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/Day.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDay ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDay ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDay).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDay).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/Day.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/Day.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/Day.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/Day.cs index eb99652af661..67a8d14642b6 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/Day.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Day of the week public partial class Day : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDay, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDayInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDay, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDayInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/Day.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/Day.json.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/Day.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/Day.json.cs index 0f7161985052..4e9b880a2636 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/Day.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDay. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDay. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDay. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDay. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDay FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DefaultResourceProperties.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DefaultResourceProperties.PowerShell.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DefaultResourceProperties.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DefaultResourceProperties.PowerShell.cs index 5566f4171202..fb1a4b0a4ad2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DefaultResourceProperties.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IBaseResourcePropertiesInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseResourcePropertiesInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseResourcePropertiesInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBaseResourcePropertiesInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseResourcePropertiesInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseResourcePropertiesInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDefaultResourceProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDefaultResourceProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDefaultResourceProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DefaultResourceProperties(content); } @@ -129,7 +129,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDefaultResourceProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DefaultResourceProperties.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DefaultResourceProperties.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DefaultResourceProperties.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DefaultResourceProperties.TypeConverter.cs index 251978e1854d..abb254c7f8c7 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DefaultResourceProperties.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDefaultResourceProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDefaultResourceProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDefaultResourceProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDefaultResourceProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DefaultResourceProperties.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DefaultResourceProperties.cs similarity index 83% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DefaultResourceProperties.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DefaultResourceProperties.cs index 50433edbe70d..ce5764fd6eec 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DefaultResourceProperties.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Default source properties public partial class DefaultResourceProperties : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDefaultResourceProperties, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDefaultResourcePropertiesInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDefaultResourceProperties, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDefaultResourcePropertiesInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseResourceProperties __baseResourceProperties = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BaseResourceProperties(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseResourceProperties __baseResourceProperties = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BaseResourceProperties(); /// Internal Acessors for ObjectType - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseResourcePropertiesInternal.ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseResourcePropertiesInternal)__baseResourceProperties).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseResourcePropertiesInternal)__baseResourceProperties).ObjectType = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseResourcePropertiesInternal.ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseResourcePropertiesInternal)__baseResourceProperties).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBaseResourcePropertiesInternal)__baseResourceProperties).ObjectType; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBaseResourceProperties + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseResourceProperties { } /// Default source properties internal partial interface IDefaultResourcePropertiesInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseResourcePropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseResourcePropertiesInternal { } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DefaultResourceProperties.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DefaultResourceProperties.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DefaultResourceProperties.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DefaultResourceProperties.json.cs index cddca03e2789..6aeba472756d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DefaultResourceProperties.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.BaseResourceProperties(json); + __baseResourceProperties = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BaseResourceProperties(json); AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDefaultResourceProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDefaultResourceProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDefaultResourceProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDefaultResourceProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDefaultResourceProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DeleteOption.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DeleteOption.PowerShell.cs similarity index 87% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeleteOption.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DeleteOption.PowerShell.cs index 3c3fb316d777..a8d8369f62bc 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeleteOption.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDeleteOptionInternal)this).Duration = (string) content.GetValueForProperty("Duration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeleteOptionInternal)this).Duration, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeleteOptionInternal)this).Duration = (string) content.GetValueForProperty("Duration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeleteOptionInternal)this).Duration, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeleteOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeleteOptionInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeleteOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDeleteOptionInternal)this).Duration = (string) content.GetValueForProperty("Duration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeleteOptionInternal)this).Duration, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeleteOptionInternal)this).Duration = (string) content.GetValueForProperty("Duration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeleteOptionInternal)this).Duration, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeleteOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeleteOptionInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeleteOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDeleteOption DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDeleteOption DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeleteOption DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DeleteOption(content); } @@ -135,7 +135,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeleteOption FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DeleteOption.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DeleteOption.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeleteOption.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DeleteOption.TypeConverter.cs index 81de41a35f5d..1b9a90b20c25 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeleteOption.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDeleteOption ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeleteOption ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeleteOption).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeleteOption).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeleteOption.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DeleteOption.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeleteOption.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DeleteOption.cs index bfe31895638e..296b666b68ac 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeleteOption.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Delete Option public partial class DeleteOption : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeleteOption, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeleteOptionInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeleteOption, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeleteOptionInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeleteOption.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DeleteOption.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeleteOption.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DeleteOption.json.cs index d5e3b7cf97d5..36016183d871 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeleteOption.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDeleteOption. - /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeleteOption interface is polymorphic, + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeleteOption. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDeleteOption. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeleteOption. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeleteOption FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DeletedBackupInstance.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DeletedBackupInstance.PowerShell.cs similarity index 68% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeletedBackupInstance.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DeletedBackupInstance.PowerShell.cs index 17fa1a7cf169..783a03aa6364 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeletedBackupInstance.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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,65 @@ internal DeletedBackupInstance(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("DeletionInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceInternal)this).DeletionInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletionInfo) content.GetValueForProperty("DeletionInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceInternal)this).DeletionInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DeletionInfoTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceInternal)this).DeletionInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletionInfo) content.GetValueForProperty("DeletionInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceInternal)this).DeletionInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DeletionInfoTypeConverter.ConvertFrom); } if (content.Contains("FriendlyName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).FriendlyName = (string) content.GetValueForProperty("FriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).FriendlyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).FriendlyName = (string) content.GetValueForProperty("FriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).FriendlyName, global::System.Convert.ToString); } if (content.Contains("DataSourceInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).DataSourceInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasource) content.GetValueForProperty("DataSourceInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).DataSourceInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DatasourceTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).DataSourceInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasource) content.GetValueForProperty("DataSourceInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).DataSourceInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DatasourceTypeConverter.ConvertFrom); } if (content.Contains("DataSourceSetInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).DataSourceSetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSet) content.GetValueForProperty("DataSourceSetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).DataSourceSetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DatasourceSetTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).DataSourceSetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSet) content.GetValueForProperty("DataSourceSetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).DataSourceSetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DatasourceSetTypeConverter.ConvertFrom); } if (content.Contains("PolicyInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).PolicyInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPolicyInfo) content.GetValueForProperty("PolicyInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).PolicyInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.PolicyInfoTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).PolicyInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyInfo) content.GetValueForProperty("PolicyInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).PolicyInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.PolicyInfoTypeConverter.ConvertFrom); + } + if (content.Contains("ResourceGuardOperationRequest")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).ResourceGuardOperationRequest = (string[]) content.GetValueForProperty("ResourceGuardOperationRequest",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).ResourceGuardOperationRequest, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ProtectionStatus")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).ProtectionStatus = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IProtectionStatusDetails) content.GetValueForProperty("ProtectionStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).ProtectionStatus, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ProtectionStatusDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).ProtectionStatus = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IProtectionStatusDetails) content.GetValueForProperty("ProtectionStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).ProtectionStatus, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ProtectionStatusDetailsTypeConverter.ConvertFrom); } if (content.Contains("CurrentProtectionState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).CurrentProtectionState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState?) content.GetValueForProperty("CurrentProtectionState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).CurrentProtectionState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).CurrentProtectionState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState?) content.GetValueForProperty("CurrentProtectionState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).CurrentProtectionState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState.CreateFrom); } if (content.Contains("ProtectionErrorDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).ProtectionErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingError) content.GetValueForProperty("ProtectionErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).ProtectionErrorDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.UserFacingErrorTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).ProtectionErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError) content.GetValueForProperty("ProtectionErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).ProtectionErrorDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.UserFacingErrorTypeConverter.ConvertFrom); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).ProvisioningState = (string) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).ProvisioningState, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).ProvisioningState = (string) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).ProvisioningState, global::System.Convert.ToString); } if (content.Contains("DatasourceAuthCredentials")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).DatasourceAuthCredentials = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAuthCredentials) content.GetValueForProperty("DatasourceAuthCredentials",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).DatasourceAuthCredentials, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AuthCredentialsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).DatasourceAuthCredentials = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAuthCredentials) content.GetValueForProperty("DatasourceAuthCredentials",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).DatasourceAuthCredentials, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AuthCredentialsTypeConverter.ConvertFrom); } if (content.Contains("ValidationType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).ValidationType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType?) content.GetValueForProperty("ValidationType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).ValidationType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).ValidationType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType?) content.GetValueForProperty("ValidationType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).ValidationType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType.CreateFrom); } if (content.Contains("IdentityDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IdentityDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IdentityDetailsTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 +143,87 @@ internal DeletedBackupInstance(global::System.Management.Automation.PSObject con // actually deserialize if (content.Contains("DeletionInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceInternal)this).DeletionInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletionInfo) content.GetValueForProperty("DeletionInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceInternal)this).DeletionInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DeletionInfoTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceInternal)this).DeletionInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletionInfo) content.GetValueForProperty("DeletionInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceInternal)this).DeletionInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DeletionInfoTypeConverter.ConvertFrom); } if (content.Contains("FriendlyName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).FriendlyName = (string) content.GetValueForProperty("FriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).FriendlyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).FriendlyName = (string) content.GetValueForProperty("FriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).FriendlyName, global::System.Convert.ToString); } if (content.Contains("DataSourceInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).DataSourceInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasource) content.GetValueForProperty("DataSourceInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).DataSourceInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DatasourceTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).DataSourceInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasource) content.GetValueForProperty("DataSourceInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).DataSourceInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DatasourceTypeConverter.ConvertFrom); } if (content.Contains("DataSourceSetInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).DataSourceSetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSet) content.GetValueForProperty("DataSourceSetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).DataSourceSetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DatasourceSetTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).DataSourceSetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSet) content.GetValueForProperty("DataSourceSetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).DataSourceSetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DatasourceSetTypeConverter.ConvertFrom); } if (content.Contains("PolicyInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).PolicyInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPolicyInfo) content.GetValueForProperty("PolicyInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).PolicyInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.PolicyInfoTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).PolicyInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyInfo) content.GetValueForProperty("PolicyInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).PolicyInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.PolicyInfoTypeConverter.ConvertFrom); + } + if (content.Contains("ResourceGuardOperationRequest")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).ResourceGuardOperationRequest = (string[]) content.GetValueForProperty("ResourceGuardOperationRequest",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).ResourceGuardOperationRequest, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ProtectionStatus")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).ProtectionStatus = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IProtectionStatusDetails) content.GetValueForProperty("ProtectionStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).ProtectionStatus, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ProtectionStatusDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).ProtectionStatus = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IProtectionStatusDetails) content.GetValueForProperty("ProtectionStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).ProtectionStatus, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ProtectionStatusDetailsTypeConverter.ConvertFrom); } if (content.Contains("CurrentProtectionState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).CurrentProtectionState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState?) content.GetValueForProperty("CurrentProtectionState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).CurrentProtectionState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).CurrentProtectionState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState?) content.GetValueForProperty("CurrentProtectionState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).CurrentProtectionState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState.CreateFrom); } if (content.Contains("ProtectionErrorDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).ProtectionErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingError) content.GetValueForProperty("ProtectionErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).ProtectionErrorDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.UserFacingErrorTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).ProtectionErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError) content.GetValueForProperty("ProtectionErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).ProtectionErrorDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.UserFacingErrorTypeConverter.ConvertFrom); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).ProvisioningState = (string) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).ProvisioningState, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).ProvisioningState = (string) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).ProvisioningState, global::System.Convert.ToString); } if (content.Contains("DatasourceAuthCredentials")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).DatasourceAuthCredentials = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAuthCredentials) content.GetValueForProperty("DatasourceAuthCredentials",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).DatasourceAuthCredentials, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AuthCredentialsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).DatasourceAuthCredentials = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAuthCredentials) content.GetValueForProperty("DatasourceAuthCredentials",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).DatasourceAuthCredentials, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AuthCredentialsTypeConverter.ConvertFrom); } if (content.Contains("ValidationType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).ValidationType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType?) content.GetValueForProperty("ValidationType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).ValidationType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).ValidationType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType?) content.GetValueForProperty("ValidationType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).ValidationType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType.CreateFrom); } if (content.Contains("IdentityDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IdentityDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IdentityDetailsTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDeletedBackupInstance DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDeletedBackupInstance DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstance DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DeletedBackupInstance(content); } @@ -225,7 +233,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstance FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DeletedBackupInstance.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DeletedBackupInstance.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeletedBackupInstance.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DeletedBackupInstance.TypeConverter.cs index d1974344ddde..ba6f0b7f1c96 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeletedBackupInstance.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDeletedBackupInstance ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstance ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstance).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstance).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeletedBackupInstance.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DeletedBackupInstance.cs similarity index 70% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeletedBackupInstance.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DeletedBackupInstance.cs index 55515463a6c5..e39278a5c9b0 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeletedBackupInstance.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DeletedBackupInstance.cs @@ -3,97 +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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Deleted Backup Instance public partial class DeletedBackupInstance : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstance, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstance, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstance __backupInstance = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupInstance(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstance __backupInstance = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupInstanceInternal)__backupInstance).CurrentProtectionState; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState? CurrentProtectionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDatasource DataSourceInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)__backupInstance).DataSourceInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)__backupInstance).DataSourceInfo = value ; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasource DataSourceInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)__backupInstance).DataSourceInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDatasourceSet DataSourceSetInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)__backupInstance).DataSourceSetInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)__backupInstance).DataSourceSetInfo = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSet DataSourceSetInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)__backupInstance).DataSourceSetInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAuthCredentials DatasourceAuthCredentials { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)__backupInstance).DatasourceAuthCredentials; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)__backupInstance).DatasourceAuthCredentials = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAuthCredentials DatasourceAuthCredentials { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)__backupInstance).DatasourceAuthCredentials; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)__backupInstance).DatasourceAuthCredentials = value ?? null /* model class */; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletionInfo _deletionInfo; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDeletionInfo DeletionInfo { get => (this._deletionInfo = this._deletionInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DeletionInfo()); } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletionInfo DeletionInfo { get => (this._deletionInfo = this._deletionInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupInstanceInternal)__backupInstance).FriendlyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)__backupInstance).FriendlyName = value ?? null; } + public string FriendlyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)__backupInstance).FriendlyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IIdentityDetails IdentityDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)__backupInstance).IdentityDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)__backupInstance).IdentityDetail = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IIdentityDetails IdentityDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)__backupInstance).IdentityDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)__backupInstance).IdentityDetail = value ?? null /* model class */; } /// Internal Acessors for CurrentProtectionState - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal.CurrentProtectionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)__backupInstance).CurrentProtectionState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)__backupInstance).CurrentProtectionState = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal.CurrentProtectionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)__backupInstance).CurrentProtectionState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)__backupInstance).CurrentProtectionState = value; } /// Internal Acessors for ProtectionErrorDetail - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingError Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal.ProtectionErrorDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)__backupInstance).ProtectionErrorDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)__backupInstance).ProtectionErrorDetail = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal.ProtectionErrorDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)__backupInstance).ProtectionErrorDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)__backupInstance).ProtectionErrorDetail = value; } /// Internal Acessors for ProtectionStatus - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IProtectionStatusDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal.ProtectionStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)__backupInstance).ProtectionStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)__backupInstance).ProtectionStatus = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IProtectionStatusDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal.ProtectionStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)__backupInstance).ProtectionStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)__backupInstance).ProtectionStatus = value; } /// Internal Acessors for ProvisioningState - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)__backupInstance).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)__backupInstance).ProvisioningState = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)__backupInstance).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)__backupInstance).ProvisioningState = value; } /// Internal Acessors for DeletionInfo - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletionInfo Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceInternal.DeletionInfo { get => (this._deletionInfo = this._deletionInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DeletionInfo()); set { {_deletionInfo = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletionInfo Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceInternal.DeletionInfo { get => (this._deletionInfo = this._deletionInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupInstanceInternal)__backupInstance).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)__backupInstance).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)__backupInstance).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IPolicyInfo PolicyInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)__backupInstance).PolicyInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)__backupInstance).PolicyInfo = value ; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyInfo PolicyInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)__backupInstance).PolicyInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IUserFacingError ProtectionErrorDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)__backupInstance).ProtectionErrorDetail; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError ProtectionErrorDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IProtectionStatusDetails ProtectionStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)__backupInstance).ProtectionStatus; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IProtectionStatusDetails ProtectionStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupInstanceInternal)__backupInstance).ProvisioningState; } + public string ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)__backupInstance).ProvisioningState; } + + /// ResourceGuardOperationRequests on which LAC check will be performed + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] + public string[] ResourceGuardOperationRequest { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)__backupInstance).ResourceGuardOperationRequest; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)__backupInstance).ResourceGuardOperationRequest = value ?? null /* arrayOf */; } /// /// 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.Api20231201.IBackupInstanceInternal)__backupInstance).ValidationType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IBackupInstanceInternal)__backupInstance).ValidationType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)__backupInstance).ValidationType = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType)""); } /// Creates an new instance. public DeletedBackupInstance() @@ -116,7 +120,7 @@ public DeletedBackupInstance() /// Deleted Backup Instance public partial interface IDeletedBackupInstance : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstance + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstance { /// Deletion info of Backup Instance [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( @@ -124,16 +128,16 @@ public partial interface IDeletedBackupInstance : ReadOnly = true, Description = @"Deletion info of Backup Instance", SerializedName = @"deletionInfo", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletionInfo) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletionInfo DeletionInfo { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletionInfo) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletionInfo DeletionInfo { get; } } /// Deleted Backup Instance internal partial interface IDeletedBackupInstanceInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal { /// Deletion info of Backup Instance - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletionInfo DeletionInfo { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletionInfo DeletionInfo { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeletedBackupInstance.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DeletedBackupInstance.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeletedBackupInstance.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DeletedBackupInstance.json.cs index 2b759ca5f498..f90dee38c623 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeletedBackupInstance.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.BackupInstance(json); - {_deletionInfo = If( json?.PropertyT("deletionInfo"), out var __jsonDeletionInfo) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DeletionInfo.FromJson(__jsonDeletionInfo) : DeletionInfo;} + __backupInstance = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupInstance(json); + {_deletionInfo = If( json?.PropertyT("deletionInfo"), out var __jsonDeletionInfo) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DeletionInfo.FromJson(__jsonDeletionInfo) : DeletionInfo;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstance. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstance. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstance. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstance. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstance FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DeletedBackupInstanceResource.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DeletedBackupInstanceResource.PowerShell.cs similarity index 69% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeletedBackupInstanceResource.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DeletedBackupInstanceResource.PowerShell.cs index 4d4a53ade63e..f1b50062d836 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeletedBackupInstanceResource.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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,85 @@ internal DeletedBackupInstanceResource(global::System.Collections.IDictionary co // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstance) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DeletedBackupInstanceTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstance) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DeletedBackupInstanceTypeConverter.ConvertFrom); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("PolicyInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).PolicyInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPolicyInfo) content.GetValueForProperty("PolicyInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).PolicyInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.PolicyInfoTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).PolicyInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyInfo) content.GetValueForProperty("PolicyInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).PolicyInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.PolicyInfoTypeConverter.ConvertFrom); } if (content.Contains("ValidationType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).ValidationType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType?) content.GetValueForProperty("ValidationType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).ValidationType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).ValidationType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType?) content.GetValueForProperty("ValidationType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).ValidationType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType.CreateFrom); } if (content.Contains("IdentityDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IdentityDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IdentityDetailsTypeConverter.ConvertFrom); } if (content.Contains("DeletionInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).DeletionInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletionInfo) content.GetValueForProperty("DeletionInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).DeletionInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DeletionInfoTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).DeletionInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletionInfo) content.GetValueForProperty("DeletionInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).DeletionInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DeletionInfoTypeConverter.ConvertFrom); } if (content.Contains("FriendlyName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).FriendlyName = (string) content.GetValueForProperty("FriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).FriendlyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).FriendlyName = (string) content.GetValueForProperty("FriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).FriendlyName, global::System.Convert.ToString); } if (content.Contains("DataSourceInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).DataSourceInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasource) content.GetValueForProperty("DataSourceInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).DataSourceInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DatasourceTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).DataSourceInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasource) content.GetValueForProperty("DataSourceInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).DataSourceInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DatasourceTypeConverter.ConvertFrom); } if (content.Contains("DataSourceSetInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).DataSourceSetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSet) content.GetValueForProperty("DataSourceSetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).DataSourceSetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DatasourceSetTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).DataSourceSetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSet) content.GetValueForProperty("DataSourceSetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).DataSourceSetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DatasourceSetTypeConverter.ConvertFrom); + } + if (content.Contains("ResourceGuardOperationRequest")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).ResourceGuardOperationRequest = (string[]) content.GetValueForProperty("ResourceGuardOperationRequest",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).ResourceGuardOperationRequest, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ProtectionStatus")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).ProtectionStatus = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IProtectionStatusDetails) content.GetValueForProperty("ProtectionStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).ProtectionStatus, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ProtectionStatusDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).ProtectionStatus = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IProtectionStatusDetails) content.GetValueForProperty("ProtectionStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).ProtectionStatus, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ProtectionStatusDetailsTypeConverter.ConvertFrom); } if (content.Contains("CurrentProtectionState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).CurrentProtectionState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState?) content.GetValueForProperty("CurrentProtectionState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).CurrentProtectionState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).CurrentProtectionState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState?) content.GetValueForProperty("CurrentProtectionState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).CurrentProtectionState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState.CreateFrom); } if (content.Contains("ProtectionErrorDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).ProtectionErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingError) content.GetValueForProperty("ProtectionErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).ProtectionErrorDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.UserFacingErrorTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).ProtectionErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError) content.GetValueForProperty("ProtectionErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).ProtectionErrorDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.UserFacingErrorTypeConverter.ConvertFrom); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).ProvisioningState = (string) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).ProvisioningState, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).ProvisioningState = (string) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).ProvisioningState, global::System.Convert.ToString); } if (content.Contains("DatasourceAuthCredentials")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).DatasourceAuthCredentials = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAuthCredentials) content.GetValueForProperty("DatasourceAuthCredentials",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).DatasourceAuthCredentials, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AuthCredentialsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).DatasourceAuthCredentials = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAuthCredentials) content.GetValueForProperty("DatasourceAuthCredentials",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).DatasourceAuthCredentials, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AuthCredentialsTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 +163,107 @@ internal DeletedBackupInstanceResource(global::System.Management.Automation.PSOb // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstance) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DeletedBackupInstanceTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstance) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DeletedBackupInstanceTypeConverter.ConvertFrom); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("PolicyInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).PolicyInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPolicyInfo) content.GetValueForProperty("PolicyInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).PolicyInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.PolicyInfoTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).PolicyInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyInfo) content.GetValueForProperty("PolicyInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).PolicyInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.PolicyInfoTypeConverter.ConvertFrom); } if (content.Contains("ValidationType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).ValidationType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType?) content.GetValueForProperty("ValidationType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).ValidationType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).ValidationType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType?) content.GetValueForProperty("ValidationType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).ValidationType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType.CreateFrom); } if (content.Contains("IdentityDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IdentityDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IdentityDetailsTypeConverter.ConvertFrom); } if (content.Contains("DeletionInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).DeletionInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletionInfo) content.GetValueForProperty("DeletionInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).DeletionInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DeletionInfoTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).DeletionInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletionInfo) content.GetValueForProperty("DeletionInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).DeletionInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DeletionInfoTypeConverter.ConvertFrom); } if (content.Contains("FriendlyName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).FriendlyName = (string) content.GetValueForProperty("FriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).FriendlyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).FriendlyName = (string) content.GetValueForProperty("FriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).FriendlyName, global::System.Convert.ToString); } if (content.Contains("DataSourceInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).DataSourceInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasource) content.GetValueForProperty("DataSourceInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).DataSourceInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DatasourceTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).DataSourceInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasource) content.GetValueForProperty("DataSourceInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).DataSourceInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DatasourceTypeConverter.ConvertFrom); } if (content.Contains("DataSourceSetInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).DataSourceSetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSet) content.GetValueForProperty("DataSourceSetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).DataSourceSetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DatasourceSetTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).DataSourceSetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSet) content.GetValueForProperty("DataSourceSetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).DataSourceSetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DatasourceSetTypeConverter.ConvertFrom); + } + if (content.Contains("ResourceGuardOperationRequest")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).ResourceGuardOperationRequest = (string[]) content.GetValueForProperty("ResourceGuardOperationRequest",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).ResourceGuardOperationRequest, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ProtectionStatus")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).ProtectionStatus = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IProtectionStatusDetails) content.GetValueForProperty("ProtectionStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).ProtectionStatus, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ProtectionStatusDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).ProtectionStatus = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IProtectionStatusDetails) content.GetValueForProperty("ProtectionStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).ProtectionStatus, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ProtectionStatusDetailsTypeConverter.ConvertFrom); } if (content.Contains("CurrentProtectionState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).CurrentProtectionState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState?) content.GetValueForProperty("CurrentProtectionState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).CurrentProtectionState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).CurrentProtectionState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState?) content.GetValueForProperty("CurrentProtectionState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).CurrentProtectionState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState.CreateFrom); } if (content.Contains("ProtectionErrorDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).ProtectionErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingError) content.GetValueForProperty("ProtectionErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).ProtectionErrorDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.UserFacingErrorTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).ProtectionErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError) content.GetValueForProperty("ProtectionErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).ProtectionErrorDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.UserFacingErrorTypeConverter.ConvertFrom); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).ProvisioningState = (string) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).ProvisioningState, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).ProvisioningState = (string) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).ProvisioningState, global::System.Convert.ToString); } if (content.Contains("DatasourceAuthCredentials")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).DatasourceAuthCredentials = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAuthCredentials) content.GetValueForProperty("DatasourceAuthCredentials",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).DatasourceAuthCredentials, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AuthCredentialsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).DatasourceAuthCredentials = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAuthCredentials) content.GetValueForProperty("DatasourceAuthCredentials",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).DatasourceAuthCredentials, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AuthCredentialsTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDeletedBackupInstanceResource DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDeletedBackupInstanceResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DeletedBackupInstanceResource(content); } @@ -265,7 +273,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DeletedBackupInstanceResource.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DeletedBackupInstanceResource.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeletedBackupInstanceResource.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DeletedBackupInstanceResource.TypeConverter.cs index 325ede655f88..e1a836fa87f1 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeletedBackupInstanceResource.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDeletedBackupInstanceResource ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResource ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResource).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResource).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeletedBackupInstanceResource.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DeletedBackupInstanceResource.cs similarity index 73% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeletedBackupInstanceResource.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DeletedBackupInstanceResource.cs index ef917b4a66e3..328d9304fe48 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeletedBackupInstanceResource.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DeletedBackupInstanceResource.cs @@ -3,134 +3,138 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Deleted Backup Instance public partial class DeletedBackupInstanceResource : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResource, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResource, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResource __dppResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppResource(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResource __dppResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupInstanceInternal)Property).CurrentProtectionState; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState? CurrentProtectionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDatasource DataSourceInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)Property).DataSourceInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)Property).DataSourceInfo = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasource DataSourceInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)Property).DataSourceInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDatasourceSet DataSourceSetInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)Property).DataSourceSetInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)Property).DataSourceSetInfo = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSet DataSourceSetInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)Property).DataSourceSetInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAuthCredentials DatasourceAuthCredentials { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)Property).DatasourceAuthCredentials; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)Property).DatasourceAuthCredentials = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAuthCredentials DatasourceAuthCredentials { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)Property).DatasourceAuthCredentials; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDeletionInfo DeletionInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceInternal)Property).DeletionInfo; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletionInfo DeletionInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupInstanceInternal)Property).FriendlyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)Property).FriendlyName = value ?? null; } + public string FriendlyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)Property).FriendlyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResourceInternal)__dppResource).Id; } + public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IIdentityDetails IdentityDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)Property).IdentityDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)Property).IdentityDetail = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IIdentityDetails IdentityDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)Property).IdentityDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)Property).IdentityDetail = value ?? null /* model class */; } /// Internal Acessors for CurrentProtectionState - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal.CurrentProtectionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)Property).CurrentProtectionState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)Property).CurrentProtectionState = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal.CurrentProtectionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)Property).CurrentProtectionState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)Property).CurrentProtectionState = value; } /// Internal Acessors for DeletionInfo - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletionInfo Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal.DeletionInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceInternal)Property).DeletionInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceInternal)Property).DeletionInfo = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletionInfo Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal.DeletionInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceInternal)Property).DeletionInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceInternal)Property).DeletionInfo = value; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstance Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DeletedBackupInstance()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstance Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DeletedBackupInstance()); set { {_property = value;} } } /// Internal Acessors for ProtectionErrorDetail - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingError Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal.ProtectionErrorDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)Property).ProtectionErrorDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)Property).ProtectionErrorDetail = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal.ProtectionErrorDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)Property).ProtectionErrorDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)Property).ProtectionErrorDetail = value; } /// Internal Acessors for ProtectionStatus - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IProtectionStatusDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal.ProtectionStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)Property).ProtectionStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)Property).ProtectionStatus = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IProtectionStatusDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal.ProtectionStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)Property).ProtectionStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)Property).ProtectionStatus = value; } /// Internal Acessors for ProvisioningState - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)Property).ProvisioningState = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)Property).ProvisioningState = value; } /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).Id = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)__dppResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)__dppResource).Id = value; } /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).Name = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)__dppResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)__dppResource).Name = value; } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).SystemData = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)__dppResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)__dppResource).SystemData = value; } /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).Type = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)__dppResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResourceInternal)__dppResource).Name; } + public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupInstanceInternal)Property).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)Property).ObjectType = value ?? null; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)Property).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IPolicyInfo PolicyInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)Property).PolicyInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)Property).PolicyInfo = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyInfo PolicyInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)Property).PolicyInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)Property).PolicyInfo = value ?? null /* model class */; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstance _property; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstance _property; /// DeletedBackupInstanceResource properties [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstance Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DeletedBackupInstance()); set => this._property = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstance Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IUserFacingError ProtectionErrorDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)Property).ProtectionErrorDetail; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError ProtectionErrorDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IProtectionStatusDetails ProtectionStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceInternal)Property).ProtectionStatus; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IProtectionStatusDetails ProtectionStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupInstanceInternal)Property).ProvisioningState; } + public string ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)Property).ProvisioningState; } + + /// ResourceGuardOperationRequests on which LAC check will be performed + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] + public string[] ResourceGuardOperationRequest { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)Property).ResourceGuardOperationRequest; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)Property).ResourceGuardOperationRequest = 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.Api20231201.IDppResourceInternal)__dppResource).SystemData; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResourceInternal)__dppResource).Type; } + public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupInstanceInternal)Property).ValidationType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IBackupInstanceInternal)Property).ValidationType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceInternal)Property).ValidationType = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType)""); } /// Creates an new instance. public DeletedBackupInstanceResource() @@ -153,7 +157,7 @@ public DeletedBackupInstanceResource() /// Deleted Backup Instance public partial interface IDeletedBackupInstanceResource : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResource { /// Specifies the current protection state of the resource [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( @@ -169,32 +173,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.Api20231201.IDatasource) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasource DataSourceInfo { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasource) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDatasourceSet) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSet DataSourceSetInfo { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSet) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAuthCredentials) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAuthCredentials DatasourceAuthCredentials { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAuthCredentials) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDeletionInfo) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletionInfo DeletionInfo { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletionInfo) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletionInfo DeletionInfo { get; } /// Gets or sets the Backup Instance friendly name. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -213,8 +217,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.Api20231201.IIdentityDetails) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IIdentityDetails IdentityDetail { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IIdentityDetails) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IIdentityDetails IdentityDetail { get; set; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -229,24 +233,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.Api20231201.IPolicyInfo) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPolicyInfo PolicyInfo { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyInfo) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IUserFacingError) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingError ProtectionErrorDetail { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IProtectionStatusDetails) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IProtectionStatusDetails ProtectionStatus { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IProtectionStatusDetails) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IProtectionStatusDetails ProtectionStatus { get; } /// /// Specifies the provisioning state of the resource i.e. provisioning/updating/Succeeded/Failed /// @@ -257,6 +261,14 @@ public partial interface IDeletedBackupInstanceResource : SerializedName = @"provisioningState", PossibleTypes = new [] { typeof(string) })] string ProvisioningState { get; } + /// ResourceGuardOperationRequests on which LAC check will be performed + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"ResourceGuardOperationRequests on which LAC check will be performed", + SerializedName = @"resourceGuardOperationRequests", + PossibleTypes = new [] { typeof(string) })] + string[] ResourceGuardOperationRequest { get; set; } /// /// Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again. /// @@ -271,39 +283,41 @@ public partial interface IDeletedBackupInstanceResource : } /// Deleted Backup Instance internal partial interface IDeletedBackupInstanceResourceInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDatasource DataSourceInfo { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasource DataSourceInfo { get; set; } /// Gets or sets the data source set information. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSet DataSourceSetInfo { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSet DataSourceSetInfo { get; set; } /// Credentials to use to authenticate with data source provider. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAuthCredentials DatasourceAuthCredentials { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAuthCredentials DatasourceAuthCredentials { get; set; } /// Deletion info of Backup Instance - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletionInfo DeletionInfo { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IIdentityDetails IdentityDetail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IIdentityDetails IdentityDetail { get; set; } string ObjectType { get; set; } /// Gets or sets the policy information. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPolicyInfo PolicyInfo { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyInfo PolicyInfo { get; set; } /// DeletedBackupInstanceResource properties - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstance Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstance Property { get; set; } /// Specifies the protection error of the resource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingError ProtectionErrorDetail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError ProtectionErrorDetail { get; set; } /// Specifies the protection status of the resource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IProtectionStatusDetails ProtectionStatus { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IProtectionStatusDetails ProtectionStatus { get; set; } /// /// Specifies the provisioning state of the resource i.e. provisioning/updating/Succeeded/Failed /// string ProvisioningState { get; set; } + /// ResourceGuardOperationRequests on which LAC check will be performed + string[] ResourceGuardOperationRequest { get; set; } /// /// Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again. /// diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeletedBackupInstanceResource.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DeletedBackupInstanceResource.json.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeletedBackupInstanceResource.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DeletedBackupInstanceResource.json.cs index f385824ad427..e270a4c7c026 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeletedBackupInstanceResource.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.DppResource(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DeletedBackupInstance.FromJson(__jsonProperties) : Property;} + __dppResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppResource(json); + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DeletedBackupInstance.FromJson(__jsonProperties) : Property;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResource. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResource. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResource. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResource. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DeletedBackupInstanceResourceList.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DeletedBackupInstanceResourceList.PowerShell.cs similarity index 85% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeletedBackupInstanceResourceList.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DeletedBackupInstanceResourceList.PowerShell.cs index f552233176da..cd2a1433ac6b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeletedBackupInstanceResourceList.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDeletedBackupInstanceResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DeletedBackupInstanceResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DeletedBackupInstanceResourceTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDeletedBackupInstanceResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DeletedBackupInstanceResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DeletedBackupInstanceResourceTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDeletedBackupInstanceResourceList DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDeletedBackupInstanceResourceList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DeletedBackupInstanceResourceList(content); } @@ -139,7 +139,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DeletedBackupInstanceResourceList.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DeletedBackupInstanceResourceList.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeletedBackupInstanceResourceList.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DeletedBackupInstanceResourceList.TypeConverter.cs index 294740210d45..f71daf50467c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeletedBackupInstanceResourceList.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDeletedBackupInstanceResourceList ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceList ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceList).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceList).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeletedBackupInstanceResourceList.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DeletedBackupInstanceResourceList.cs similarity index 82% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeletedBackupInstanceResourceList.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DeletedBackupInstanceResourceList.cs index cc4c0593c210..dee0f2d0aaf5 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeletedBackupInstanceResourceList.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// List of DeletedBackupInstance resources public partial class DeletedBackupInstanceResourceList : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceList, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceListInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceList, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceListInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceList __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppResourceList(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceList __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResourceListInternal)__dppResourceList).NextLink; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceListInternal)__dppResourceList).NextLink = value ?? null; } + public string NextLink { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceListInternal)__dppResourceList).NextLink; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceListInternal)__dppResourceList).NextLink = value ?? null; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResource[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDeletedBackupInstanceResource[] Value { get => this._value; set => this._value = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDeletedBackupInstanceResource) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResource[] Value { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResource) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResource[] Value { get; set; } } /// List of DeletedBackupInstance resources internal partial interface IDeletedBackupInstanceResourceListInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceListInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceListInternal { /// List of resources. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResource[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResource[] Value { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeletedBackupInstanceResourceList.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DeletedBackupInstanceResourceList.json.cs similarity index 94% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeletedBackupInstanceResourceList.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DeletedBackupInstanceResourceList.json.cs index 37639441dddd..8d9f2d4f3ce9 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeletedBackupInstanceResourceList.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.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.Api20231201.IDeletedBackupInstanceResource) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DeletedBackupInstanceResource.FromJson(__u) )) ))() : null : Value;} + __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20240401.IDeletedBackupInstanceResource) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DeletedBackupInstanceResource.FromJson(__u) )) ))() : null : Value;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceList. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceList. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceList. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResourceList. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResourceList FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DeletionInfo.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DeletionInfo.PowerShell.cs similarity index 84% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeletionInfo.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DeletionInfo.PowerShell.cs index bd19b509514c..3e563402b0e9 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeletionInfo.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDeletionInfoInternal)this).DeletionTime = (string) content.GetValueForProperty("DeletionTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletionInfoInternal)this).DeletionTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletionInfoInternal)this).DeletionTime = (string) content.GetValueForProperty("DeletionTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletionInfoInternal)this).DeletionTime, global::System.Convert.ToString); } if (content.Contains("BillingEndDate")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletionInfoInternal)this).BillingEndDate = (string) content.GetValueForProperty("BillingEndDate",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletionInfoInternal)this).BillingEndDate, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletionInfoInternal)this).BillingEndDate = (string) content.GetValueForProperty("BillingEndDate",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletionInfoInternal)this).BillingEndDate, global::System.Convert.ToString); } if (content.Contains("ScheduledPurgeTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletionInfoInternal)this).ScheduledPurgeTime = (string) content.GetValueForProperty("ScheduledPurgeTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletionInfoInternal)this).ScheduledPurgeTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletionInfoInternal)this).ScheduledPurgeTime = (string) content.GetValueForProperty("ScheduledPurgeTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletionInfoInternal)this).ScheduledPurgeTime, global::System.Convert.ToString); } if (content.Contains("DeleteActivityId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletionInfoInternal)this).DeleteActivityId = (string) content.GetValueForProperty("DeleteActivityId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletionInfoInternal)this).DeleteActivityId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletionInfoInternal)this).DeleteActivityId = (string) content.GetValueForProperty("DeleteActivityId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDeletionInfoInternal)this).DeletionTime = (string) content.GetValueForProperty("DeletionTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletionInfoInternal)this).DeletionTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletionInfoInternal)this).DeletionTime = (string) content.GetValueForProperty("DeletionTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletionInfoInternal)this).DeletionTime, global::System.Convert.ToString); } if (content.Contains("BillingEndDate")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletionInfoInternal)this).BillingEndDate = (string) content.GetValueForProperty("BillingEndDate",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletionInfoInternal)this).BillingEndDate, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletionInfoInternal)this).BillingEndDate = (string) content.GetValueForProperty("BillingEndDate",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletionInfoInternal)this).BillingEndDate, global::System.Convert.ToString); } if (content.Contains("ScheduledPurgeTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletionInfoInternal)this).ScheduledPurgeTime = (string) content.GetValueForProperty("ScheduledPurgeTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletionInfoInternal)this).ScheduledPurgeTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletionInfoInternal)this).ScheduledPurgeTime = (string) content.GetValueForProperty("ScheduledPurgeTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletionInfoInternal)this).ScheduledPurgeTime, global::System.Convert.ToString); } if (content.Contains("DeleteActivityId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletionInfoInternal)this).DeleteActivityId = (string) content.GetValueForProperty("DeleteActivityId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletionInfoInternal)this).DeleteActivityId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletionInfoInternal)this).DeleteActivityId = (string) content.GetValueForProperty("DeleteActivityId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDeletionInfo DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDeletionInfo DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletionInfo DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DeletionInfo(content); } @@ -151,7 +151,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletionInfo FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DeletionInfo.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DeletionInfo.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeletionInfo.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DeletionInfo.TypeConverter.cs index cf400939ddcd..ddbe1a764299 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeletionInfo.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDeletionInfo ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletionInfo ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletionInfo).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletionInfo).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeletionInfo.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DeletionInfo.cs similarity index 94% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeletionInfo.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DeletionInfo.cs index c0d2194acfca..cf672833df44 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeletionInfo.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Deletion Info public partial class DeletionInfo : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletionInfo, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletionInfoInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletionInfo, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDeletionInfoInternal.BillingEndDate { get => this._billingEndDate; set { {_billingEndDate = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletionInfoInternal.BillingEndDate { get => this._billingEndDate; set { {_billingEndDate = value;} } } /// Internal Acessors for DeleteActivityId - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletionInfoInternal.DeleteActivityId { get => this._deleteActivityId; set { {_deleteActivityId = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletionInfoInternal.DeleteActivityId { get => this._deleteActivityId; set { {_deleteActivityId = value;} } } /// Internal Acessors for DeletionTime - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletionInfoInternal.DeletionTime { get => this._deletionTime; set { {_deletionTime = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletionInfoInternal.DeletionTime { get => this._deletionTime; set { {_deletionTime = value;} } } /// Internal Acessors for ScheduledPurgeTime - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletionInfoInternal.ScheduledPurgeTime { get => this._scheduledPurgeTime; set { {_scheduledPurgeTime = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DeletionInfo.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DeletionInfo.json.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeletionInfo.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DeletionInfo.json.cs index 299bbaf7ac08..b5fd530cf109 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DeletionInfo.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDeletionInfo. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletionInfo. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletionInfo. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletionInfo. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletionInfo FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DppBaseResource.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppBaseResource.PowerShell.cs similarity index 86% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppBaseResource.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppBaseResource.PowerShell.cs index 6a6b2d952f86..b1917ff9a459 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppBaseResource.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDppBaseResource DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DppBaseResource.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppBaseResource.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppBaseResource.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppBaseResource.TypeConverter.cs index 0e38a77af1e0..acaa50cd40a2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppBaseResource.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDppBaseResource ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseResource ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseResource).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseResource).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppBaseResource.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppBaseResource.cs similarity index 94% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppBaseResource.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppBaseResource.cs index 2fa2ebd1be69..5536de11bace 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppBaseResource.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDppBaseResource, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseResourceInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseResource, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseResourceInternal.Id { get => this._id; set { {_id = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseResourceInternal.Id { get => this._id; set { {_id = value;} } } /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseResourceInternal.Name { get => this._name; set { {_name = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseResourceInternal.Name { get => this._name; set { {_name = value;} } } /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseResourceInternal.Type { get => this._type; set { {_type = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DppBaseResource.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppBaseResource.json.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppBaseResource.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppBaseResource.json.cs index 9c6610a92feb..8a1d693b6685 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppBaseResource.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDppBaseResource. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseResource. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseResource. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseResource. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DppBaseResourceList.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppBaseResourceList.PowerShell.cs similarity index 85% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppBaseResourceList.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppBaseResourceList.PowerShell.cs index 9ae010a63ed7..9e9e548e6e11 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppBaseResourceList.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDppBaseResourceList DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseResourceList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppBaseResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppBaseResourceTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseResourceListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppBaseResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppBaseResourceTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseResourceListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseResourceList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DppBaseResourceList.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppBaseResourceList.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppBaseResourceList.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppBaseResourceList.TypeConverter.cs index 72ec85291fb1..4ce48240bc04 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppBaseResourceList.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDppBaseResourceList ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseResourceList ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseResourceList).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseResourceList).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppBaseResourceList.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppBaseResourceList.cs similarity index 89% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppBaseResourceList.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppBaseResourceList.cs index d1380dbb2413..97cdc6772dfe 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppBaseResourceList.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDppBaseResourceList, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseResourceListInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseResourceList, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseResource[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseResource[] Value { get => this._value; set => this._value = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseResource) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseResource[] Value { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseResource) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseResource[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseResource[] Value { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppBaseResourceList.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppBaseResourceList.json.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppBaseResourceList.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppBaseResourceList.json.cs index 65686c42ff83..1ff001f8da86 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppBaseResourceList.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDppBaseResource) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IDppBaseResource) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseResourceList. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseResourceList. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseResourceList. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseResourceList. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseResourceList FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DppBaseTrackedResource.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppBaseTrackedResource.PowerShell.cs similarity index 81% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppBaseTrackedResource.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppBaseTrackedResource.PowerShell.cs index 56f3efc42549..fa4a8bbbe42f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppBaseTrackedResource.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDppBaseTrackedResource DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseTrackedResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseTrackedResourceInternal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).ETag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).ETag, global::System.Convert.ToString); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Location")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Location, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Tag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppBaseTrackedResourceTagsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppBaseTrackedResourceTagsTypeConverter.ConvertFrom); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseTrackedResourceInternal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).ETag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).ETag, global::System.Convert.ToString); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Location")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Location, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Tag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppBaseTrackedResourceTagsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppBaseTrackedResourceTagsTypeConverter.ConvertFrom); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseTrackedResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DppBaseTrackedResource.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppBaseTrackedResource.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppBaseTrackedResource.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppBaseTrackedResource.TypeConverter.cs index 650f3288859e..d07175d1521b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppBaseTrackedResource.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDppBaseTrackedResource ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResource ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResource).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResource).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppBaseTrackedResource.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppBaseTrackedResource.cs similarity index 92% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppBaseTrackedResource.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppBaseTrackedResource.cs index 90b5014d9c08..6c8154100dd4 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppBaseTrackedResource.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; public partial class DppBaseTrackedResource : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResource, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResource, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseTrackedResourceInternal.Id { get => this._id; set { {_id = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal.Id { get => this._id; set { {_id = value;} } } /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal.Name { get => this._name; set { {_name = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.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.Api20240401.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.Api20231201.IDppBaseTrackedResourceInternal.Type { get => this._type; set { {_type = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseTrackedResourceTags _tag; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceTags _tag; /// Resource tags. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceTags Tag { get => (this._tag = this._tag ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppBaseTrackedResourceTags()); set => this._tag = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceTags Tag { get => (this._tag = this._tag ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseTrackedResourceTags) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceTags Tag { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceTags) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseTrackedResourceTags Tag { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DppBaseTrackedResource.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppBaseTrackedResource.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppBaseTrackedResource.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppBaseTrackedResource.json.cs index d4f22b59c8bf..c4a14ec1d781 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppBaseTrackedResource.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.DppBaseTrackedResourceTags.FromJson(__jsonTags) : Tag;} + {_tag = If( json?.PropertyT("tags"), out var __jsonTags) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseTrackedResource. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResource. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResource. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResource. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DppBaseTrackedResourceTags.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppBaseTrackedResourceTags.PowerShell.cs similarity index 92% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppBaseTrackedResourceTags.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppBaseTrackedResourceTags.PowerShell.cs index 782c7c66cdf7..a9fb1470d409 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppBaseTrackedResourceTags.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDppBaseTrackedResourceTags DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseTrackedResourceTags DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseTrackedResourceTags FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DppBaseTrackedResourceTags.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppBaseTrackedResourceTags.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppBaseTrackedResourceTags.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppBaseTrackedResourceTags.TypeConverter.cs index 27563f488261..392cdf6244dd 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppBaseTrackedResourceTags.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDppBaseTrackedResourceTags ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceTags ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceTags).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceTags).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppBaseTrackedResourceTags.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppBaseTrackedResourceTags.cs similarity index 92% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppBaseTrackedResourceTags.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppBaseTrackedResourceTags.cs index 57551d0bc95d..c78e9596dedd 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppBaseTrackedResourceTags.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Resource tags. public partial class DppBaseTrackedResourceTags : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceTags, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceTagsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceTags, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceTagsInternal { /// Creates an new instance. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppBaseTrackedResourceTags.dictionary.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppBaseTrackedResourceTags.dictionary.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppBaseTrackedResourceTags.dictionary.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppBaseTrackedResourceTags.dictionary.cs index c8460875e346..42814cd121ef 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppBaseTrackedResourceTags.dictionary.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.DppBaseTrackedResourceTags source) => source.__additionalProperties; + public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppBaseTrackedResourceTags source) => source.__additionalProperties; } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppBaseTrackedResourceTags.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppBaseTrackedResourceTags.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppBaseTrackedResourceTags.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppBaseTrackedResourceTags.json.cs index 84703f73320b..8f0bf36293b0 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppBaseTrackedResourceTags.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDppBaseTrackedResourceTags. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceTags. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceTags. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceTags. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceTags FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DppIdentityDetails.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppIdentityDetails.PowerShell.cs similarity index 85% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppIdentityDetails.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppIdentityDetails.PowerShell.cs index 41ade8441b16..4488d45dcbd7 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppIdentityDetails.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDppIdentityDetails DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppIdentityDetails DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppIdentityDetailsInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppIdentityDetailsInternal)this).PrincipalId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppIdentityDetailsInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppIdentityDetailsInternal)this).PrincipalId, global::System.Convert.ToString); } if (content.Contains("TenantId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppIdentityDetailsInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppIdentityDetailsInternal)this).TenantId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppIdentityDetailsInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppIdentityDetailsInternal)this).TenantId, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppIdentityDetailsInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppIdentityDetailsInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppIdentityDetailsInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppIdentityDetailsInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("UserAssignedIdentity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppIdentityDetailsInternal)this).UserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IDppIdentityDetailsUserAssignedIdentities) content.GetValueForProperty("UserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppIdentityDetailsInternal)this).UserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.DppIdentityDetailsUserAssignedIdentitiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppIdentityDetailsInternal)this).UserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IDppIdentityDetailsUserAssignedIdentities) content.GetValueForProperty("UserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppIdentityDetailsInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppIdentityDetailsInternal)this).PrincipalId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppIdentityDetailsInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppIdentityDetailsInternal)this).PrincipalId, global::System.Convert.ToString); } if (content.Contains("TenantId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppIdentityDetailsInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppIdentityDetailsInternal)this).TenantId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppIdentityDetailsInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppIdentityDetailsInternal)this).TenantId, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppIdentityDetailsInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppIdentityDetailsInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppIdentityDetailsInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppIdentityDetailsInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("UserAssignedIdentity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppIdentityDetailsInternal)this).UserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IDppIdentityDetailsUserAssignedIdentities) content.GetValueForProperty("UserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppIdentityDetailsInternal)this).UserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.DppIdentityDetailsUserAssignedIdentitiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppIdentityDetailsInternal)this).UserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IDppIdentityDetailsUserAssignedIdentities) content.GetValueForProperty("UserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppIdentityDetails FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DppIdentityDetails.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppIdentityDetails.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppIdentityDetails.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppIdentityDetails.TypeConverter.cs index 00d58a1d5c7d..2359a254100f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppIdentityDetails.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDppIdentityDetails ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppIdentityDetails ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppIdentityDetails).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppIdentityDetails).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppIdentityDetails.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppIdentityDetails.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppIdentityDetails.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppIdentityDetails.cs index dc0901be87d1..a41a1453980e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppIdentityDetails.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Identity details public partial class DppIdentityDetails : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppIdentityDetails, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppIdentityDetailsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppIdentityDetails, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppIdentityDetailsInternal { /// Internal Acessors for PrincipalId - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppIdentityDetailsInternal.PrincipalId { get => this._principalId; set { {_principalId = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppIdentityDetailsInternal.PrincipalId { get => this._principalId; set { {_principalId = value;} } } /// Internal Acessors for TenantId - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppIdentityDetailsInternal.TenantId { get => this._tenantId; set { {_tenantId = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DppIdentityDetails.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppIdentityDetails.json.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppIdentityDetails.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppIdentityDetails.json.cs index e970bfb35583..a8fd545cb52e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppIdentityDetails.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDppIdentityDetails. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppIdentityDetails. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppIdentityDetails. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppIdentityDetails. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppIdentityDetails FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DppProxyResource.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppProxyResource.PowerShell.cs similarity index 82% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppProxyResource.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppProxyResource.PowerShell.cs index a04a5a15100d..1347b886d972 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppProxyResource.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDppProxyResource DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppProxyResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppProxyResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("Tag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppProxyResourceTagsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppProxyResourceTagsTypeConverter.ConvertFrom); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppProxyResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("Tag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppProxyResourceTagsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppProxyResourceTagsTypeConverter.ConvertFrom); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppProxyResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DppProxyResource.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppProxyResource.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppProxyResource.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppProxyResource.TypeConverter.cs index 9a30091cf98f..50e7f611c8da 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppProxyResource.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDppProxyResource ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResource ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResource).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResource).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppProxyResource.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppProxyResource.cs similarity index 91% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppProxyResource.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppProxyResource.cs index 65711e5794b6..939eff9b715e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppProxyResource.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; public partial class DppProxyResource : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResource, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResource, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppProxyResourceInternal.Id { get => this._id; set { {_id = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceInternal.Id { get => this._id; set { {_id = value;} } } /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceInternal.Name { get => this._name; set { {_name = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.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.Api20240401.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.Api20231201.IDppProxyResourceInternal.Type { get => this._type; set { {_type = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppProxyResourceTags _tag; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppProxyResourceTags Tag { get => (this._tag = this._tag ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppProxyResourceTags()); set => this._tag = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceTags Tag { get => (this._tag = this._tag ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppProxyResourceTags) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceTags Tag { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceTags) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppProxyResourceTags Tag { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DppProxyResource.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppProxyResource.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppProxyResource.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppProxyResource.json.cs index ff2af365e0a0..3fe62168ea4e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppProxyResource.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.DppProxyResourceTags.FromJson(__jsonTags) : Tag;} + {_tag = If( json?.PropertyT("tags"), out var __jsonTags) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppProxyResource. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResource. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResource. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResource. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DppProxyResourceTags.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppProxyResourceTags.PowerShell.cs similarity index 92% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppProxyResourceTags.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppProxyResourceTags.PowerShell.cs index 775e0a258f27..ba97374593cf 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppProxyResourceTags.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDppProxyResourceTags DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppProxyResourceTags DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppProxyResourceTags FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DppProxyResourceTags.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppProxyResourceTags.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppProxyResourceTags.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppProxyResourceTags.TypeConverter.cs index a4c7ffbd81c4..b1c77c399f06 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppProxyResourceTags.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDppProxyResourceTags ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceTags ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceTags).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceTags).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppProxyResourceTags.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppProxyResourceTags.cs similarity index 92% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppProxyResourceTags.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppProxyResourceTags.cs index 496da0749c33..2f3dd8301a7e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppProxyResourceTags.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Proxy Resource tags. public partial class DppProxyResourceTags : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceTags, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceTagsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceTags, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceTagsInternal { /// Creates an new instance. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppProxyResourceTags.dictionary.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppProxyResourceTags.dictionary.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppProxyResourceTags.dictionary.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppProxyResourceTags.dictionary.cs index ba948b6e495d..12dfeb9a6699 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppProxyResourceTags.dictionary.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.DppProxyResourceTags source) => source.__additionalProperties; + public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppProxyResourceTags source) => source.__additionalProperties; } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppProxyResourceTags.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppProxyResourceTags.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppProxyResourceTags.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppProxyResourceTags.json.cs index b7a7b8d3cb6a..aa9189b60807 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppProxyResourceTags.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDppProxyResourceTags. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceTags. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceTags. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceTags. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceTags FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DppResource.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppResource.PowerShell.cs similarity index 85% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppResource.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppResource.PowerShell.cs index 349f5d144748..a0787dcb98d9 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppResource.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDppResource DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DppResource.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppResource.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppResource.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppResource.TypeConverter.cs index c6f5ef80969e..f8cef5acfc7a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppResource.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDppResource ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResource ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResource).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResource).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppResource.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppResource.cs similarity index 94% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppResource.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppResource.cs index e3b4c7f75828..1eb69904e0f4 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppResource.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Resource class public partial class DppResource : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResource, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResource, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResourceInternal.Id { get => this._id; set { {_id = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal.Id { get => this._id; set { {_id = value;} } } /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal.Name { get => this._name; set { {_name = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.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.Api20240401.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.Api20231201.IDppResourceInternal.Type { get => this._type; set { {_type = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DppResource.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppResource.json.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppResource.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppResource.json.cs index 3f288156f43a..e6c5e35cf2a2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppResource.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDppResource. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResource. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResource. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResource. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DppResourceList.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppResourceList.PowerShell.cs similarity index 89% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppResourceList.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppResourceList.PowerShell.cs index 60155632ae83..1545aa8abc30 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppResourceList.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDppResourceList DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResourceList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResourceList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DppResourceList.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppResourceList.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppResourceList.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppResourceList.TypeConverter.cs index 20397e3c7cfc..2ab80344352b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppResourceList.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDppResourceList ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceList ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceList).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceList).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppResourceList.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppResourceList.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppResourceList.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppResourceList.cs index dfa8bf55da72..130d5108a823 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppResourceList.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// ListResource public partial class DppResourceList : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceList, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceListInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceList, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceListInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppResourceList.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppResourceList.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppResourceList.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppResourceList.json.cs index 83c8c0bd902c..24d492e7a9c5 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppResourceList.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDppResourceList. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceList. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceList. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceList. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceList FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DppTrackedResource.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppTrackedResource.PowerShell.cs similarity index 77% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppTrackedResource.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppTrackedResource.PowerShell.cs index 97aaac3b9891..041d1a3e0f43 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppTrackedResource.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDppTrackedResource DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppTrackedResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppTrackedResourceInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppIdentityDetails) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppIdentityDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppIdentityDetails) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppIdentityDetailsTypeConverter.ConvertFrom); } if (content.Contains("ETag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).ETag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).ETag, global::System.Convert.ToString); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Location")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Location, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Tag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppBaseTrackedResourceTagsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppBaseTrackedResourceTagsTypeConverter.ConvertFrom); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("IdentityPrincipalId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal)this).IdentityPrincipalId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal)this).IdentityPrincipalId, global::System.Convert.ToString); } if (content.Contains("IdentityTenantId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal)this).IdentityTenantId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal)this).IdentityTenantId, global::System.Convert.ToString); } if (content.Contains("IdentityType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal)this).IdentityType = (string) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal)this).IdentityType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal)this).IdentityType = (string) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal)this).IdentityType, global::System.Convert.ToString); } if (content.Contains("IdentityUserAssignedIdentity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal)this).IdentityUserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IDppIdentityDetailsUserAssignedIdentities) content.GetValueForProperty("IdentityUserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal)this).IdentityUserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.DppIdentityDetailsUserAssignedIdentitiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal)this).IdentityUserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IDppIdentityDetailsUserAssignedIdentities) content.GetValueForProperty("IdentityUserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppTrackedResourceInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppIdentityDetails) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppIdentityDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppIdentityDetails) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppIdentityDetailsTypeConverter.ConvertFrom); } if (content.Contains("ETag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).ETag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).ETag, global::System.Convert.ToString); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Location")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Location, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Tag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppBaseTrackedResourceTagsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppBaseTrackedResourceTagsTypeConverter.ConvertFrom); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("IdentityPrincipalId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal)this).IdentityPrincipalId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal)this).IdentityPrincipalId, global::System.Convert.ToString); } if (content.Contains("IdentityTenantId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal)this).IdentityTenantId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal)this).IdentityTenantId, global::System.Convert.ToString); } if (content.Contains("IdentityType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal)this).IdentityType = (string) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal)this).IdentityType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal)this).IdentityType = (string) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal)this).IdentityType, global::System.Convert.ToString); } if (content.Contains("IdentityUserAssignedIdentity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal)this).IdentityUserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IDppIdentityDetailsUserAssignedIdentities) content.GetValueForProperty("IdentityUserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal)this).IdentityUserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.DppIdentityDetailsUserAssignedIdentitiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal)this).IdentityUserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IDppIdentityDetailsUserAssignedIdentities) content.GetValueForProperty("IdentityUserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppTrackedResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DppTrackedResource.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppTrackedResource.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppTrackedResource.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppTrackedResource.TypeConverter.cs index cabd1b24986b..824afe6a81d1 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppTrackedResource.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDppTrackedResource ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResource ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResource).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResource).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppTrackedResource.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppTrackedResource.cs similarity index 80% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppTrackedResource.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppTrackedResource.cs index 7ed59feac073..64226dd1f872 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppTrackedResource.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; public partial class DppTrackedResource : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResource, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResource, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResource __dppBaseTrackedResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppBaseTrackedResource(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResource __dppBaseTrackedResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).ETag; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).ETag = value ?? null; } + public string ETag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).ETag; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Id; } + public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Id; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppIdentityDetails _identity; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppIdentityDetails Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppIdentityDetails()); set => this._identity = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppIdentityDetails Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppIdentityDetailsInternal)Identity).PrincipalId; } + public string IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppIdentityDetailsInternal)Identity).TenantId; } + public string IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppIdentityDetailsInternal)Identity).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppIdentityDetailsInternal)Identity).Type = value ?? null; } + public string IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppIdentityDetailsInternal)Identity).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppIdentityDetailsInternal)Identity).UserAssignedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppIdentityDetailsInternal)Identity).UserAssignedIdentity = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IDppIdentityDetailsUserAssignedIdentities IdentityUserAssignedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppIdentityDetailsInternal)Identity).UserAssignedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Location = value ?? null; } + public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Location = value ?? null; } /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Id = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Id = value; } /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Name = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Name = value; } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).SystemData = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).SystemData = value; } /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Type = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Type = value; } /// Internal Acessors for Identity - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppIdentityDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppIdentityDetails()); set { {_identity = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppIdentityDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppIdentityDetails()); set { {_identity = value;} } } /// Internal Acessors for IdentityPrincipalId - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppIdentityDetailsInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppIdentityDetailsInternal)Identity).PrincipalId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppIdentityDetailsInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppIdentityDetailsInternal)Identity).PrincipalId = value; } /// Internal Acessors for IdentityTenantId - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppIdentityDetailsInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppIdentityDetailsInternal)Identity).TenantId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppIdentityDetailsInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Name; } + public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).SystemData; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseTrackedResourceTags Tag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Tag; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Tag = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceTags Tag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Tag; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Type; } + public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseTrackedResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseTrackedResourceInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal { /// Input Managed Identity Details - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppIdentityDetails Identity { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DppTrackedResource.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppTrackedResource.json.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppTrackedResource.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppTrackedResource.json.cs index b24e4a8c14cc..765bb57f6b3b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppTrackedResource.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.DppBaseTrackedResource(json); - {_identity = If( json?.PropertyT("identity"), out var __jsonIdentity) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppIdentityDetails.FromJson(__jsonIdentity) : Identity;} + __dppBaseTrackedResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppBaseTrackedResource(json); + {_identity = If( json?.PropertyT("identity"), out var __jsonIdentity) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppIdentityDetails.FromJson(__jsonIdentity) : Identity;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResource. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResource. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResource. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResource. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DppTrackedResourceList.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppTrackedResourceList.PowerShell.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppTrackedResourceList.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppTrackedResourceList.PowerShell.cs index a533029a69d4..f9c432d80a6a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppTrackedResourceList.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDppTrackedResourceList DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppTrackedResourceList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppTrackedResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppTrackedResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppTrackedResourceList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DppTrackedResourceList.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppTrackedResourceList.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppTrackedResourceList.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppTrackedResourceList.TypeConverter.cs index 026a0d67dc79..06c5b5787a2b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppTrackedResourceList.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDppTrackedResourceList ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceList ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceList).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceList).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppTrackedResourceList.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppTrackedResourceList.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppTrackedResourceList.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppTrackedResourceList.cs index 6a0e170c2297..5f0bdd8dd255 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppTrackedResourceList.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; public partial class DppTrackedResourceList : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceList, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceListInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceList, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceListInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppTrackedResourceList.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppTrackedResourceList.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppTrackedResourceList.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppTrackedResourceList.json.cs index 28d81df9accb..7188caca5a54 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppTrackedResourceList.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDppTrackedResourceList. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceList. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceList. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceList. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceList FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DppWorkerRequest.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppWorkerRequest.PowerShell.cs similarity index 77% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppWorkerRequest.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppWorkerRequest.PowerShell.cs index d69d6f594774..8ab65e65e67b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppWorkerRequest.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDppWorkerRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppWorkerRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppWorkerRequestInternal)this).SubscriptionId = (string) content.GetValueForProperty("SubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).SubscriptionId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).SubscriptionId = (string) content.GetValueForProperty("SubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).SubscriptionId, global::System.Convert.ToString); } if (content.Contains("Uri")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).Uri = (string) content.GetValueForProperty("Uri",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).Uri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).Uri = (string) content.GetValueForProperty("Uri",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).Uri, global::System.Convert.ToString); } if (content.Contains("Header")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).Header = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestHeaders) content.GetValueForProperty("Header",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).Header, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppWorkerRequestHeadersTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).Header = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestHeaders) content.GetValueForProperty("Header",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).Header, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppWorkerRequestHeadersTypeConverter.ConvertFrom); } if (content.Contains("SupportedGroupVersion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).SupportedGroupVersion = (string[]) content.GetValueForProperty("SupportedGroupVersion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).SupportedGroupVersion, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).SupportedGroupVersion = (string[]) content.GetValueForProperty("SupportedGroupVersion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).SupportedGroupVersion, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("CultureInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).CultureInfo = (string) content.GetValueForProperty("CultureInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).CultureInfo, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).CultureInfo = (string) content.GetValueForProperty("CultureInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).CultureInfo, global::System.Convert.ToString); } if (content.Contains("Parameter")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).Parameter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestParameters) content.GetValueForProperty("Parameter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).Parameter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppWorkerRequestParametersTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).Parameter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestParameters) content.GetValueForProperty("Parameter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).Parameter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppWorkerRequestParametersTypeConverter.ConvertFrom); } if (content.Contains("HttpMethod")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).HttpMethod = (string) content.GetValueForProperty("HttpMethod",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).HttpMethod, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).HttpMethod = (string) content.GetValueForProperty("HttpMethod",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppWorkerRequestInternal)this).SubscriptionId = (string) content.GetValueForProperty("SubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).SubscriptionId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).SubscriptionId = (string) content.GetValueForProperty("SubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).SubscriptionId, global::System.Convert.ToString); } if (content.Contains("Uri")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).Uri = (string) content.GetValueForProperty("Uri",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).Uri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).Uri = (string) content.GetValueForProperty("Uri",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).Uri, global::System.Convert.ToString); } if (content.Contains("Header")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).Header = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestHeaders) content.GetValueForProperty("Header",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).Header, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppWorkerRequestHeadersTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).Header = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestHeaders) content.GetValueForProperty("Header",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).Header, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppWorkerRequestHeadersTypeConverter.ConvertFrom); } if (content.Contains("SupportedGroupVersion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).SupportedGroupVersion = (string[]) content.GetValueForProperty("SupportedGroupVersion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).SupportedGroupVersion, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).SupportedGroupVersion = (string[]) content.GetValueForProperty("SupportedGroupVersion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).SupportedGroupVersion, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("CultureInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).CultureInfo = (string) content.GetValueForProperty("CultureInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).CultureInfo, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).CultureInfo = (string) content.GetValueForProperty("CultureInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).CultureInfo, global::System.Convert.ToString); } if (content.Contains("Parameter")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).Parameter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestParameters) content.GetValueForProperty("Parameter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).Parameter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppWorkerRequestParametersTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).Parameter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestParameters) content.GetValueForProperty("Parameter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).Parameter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppWorkerRequestParametersTypeConverter.ConvertFrom); } if (content.Contains("HttpMethod")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).HttpMethod = (string) content.GetValueForProperty("HttpMethod",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal)this).HttpMethod, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestInternal)this).HttpMethod = (string) content.GetValueForProperty("HttpMethod",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppWorkerRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DppWorkerRequest.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppWorkerRequest.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppWorkerRequest.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppWorkerRequest.TypeConverter.cs index 398735596fa0..df1a8bb12dcc 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppWorkerRequest.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDppWorkerRequest ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequest ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequest).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequest).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppWorkerRequest.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppWorkerRequest.cs similarity index 89% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppWorkerRequest.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppWorkerRequest.cs index bd40c8b873b0..916c9cd3215a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppWorkerRequest.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; public partial class DppWorkerRequest : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequest, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequest, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppWorkerRequestHeaders _header; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestHeaders _header; /// /// Dictionary of /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestHeaders Header { get => (this._header = this._header ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppWorkerRequestHeaders()); set => this._header = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestHeaders Header { get => (this._header = this._header ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppWorkerRequestParameters _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestParameters _parameter; /// Dictionary of [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestParameters Parameter { get => (this._parameter = this._parameter ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppWorkerRequestParameters()); set => this._parameter = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestParameters Parameter { get => (this._parameter = this._parameter ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppWorkerRequestHeaders) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestHeaders Header { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestHeaders) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppWorkerRequestParameters) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestParameters Parameter { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestParameters) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppWorkerRequestHeaders Header { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestHeaders Header { get; set; } string HttpMethod { get; set; } /// Dictionary of - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestParameters Parameter { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestParameters Parameter { get; set; } string SubscriptionId { get; set; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppWorkerRequest.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppWorkerRequest.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppWorkerRequest.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppWorkerRequest.json.cs index b73d0cbe9947..9c966cb1ede4 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppWorkerRequest.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.DppWorkerRequestHeaders.FromJson(__jsonHeaders) : Header;} + {_header = If( json?.PropertyT("headers"), out var __jsonHeaders) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.DppWorkerRequestParameters.FromJson(__jsonParameters) : Parameter;} + {_parameter = If( json?.PropertyT("parameters"), out var __jsonParameters) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppWorkerRequest. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequest. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequest. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequest. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DppWorkerRequestHeaders.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppWorkerRequestHeaders.PowerShell.cs similarity index 92% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppWorkerRequestHeaders.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppWorkerRequestHeaders.PowerShell.cs index e5197d35dcb9..703bfefb9937 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppWorkerRequestHeaders.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDppWorkerRequestHeaders DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppWorkerRequestHeaders DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppWorkerRequestHeaders FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DppWorkerRequestHeaders.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppWorkerRequestHeaders.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppWorkerRequestHeaders.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppWorkerRequestHeaders.TypeConverter.cs index f2b37b1f8ef5..381d16704f24 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppWorkerRequestHeaders.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDppWorkerRequestHeaders ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestHeaders ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestHeaders).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestHeaders).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppWorkerRequestHeaders.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppWorkerRequestHeaders.cs similarity index 93% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppWorkerRequestHeaders.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppWorkerRequestHeaders.cs index f3e2e03756b5..4f59f432687e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppWorkerRequestHeaders.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -11,8 +11,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201 /// Dictionary of components·ikn5y4·schemas·dppworkerrequest·properties·headers·additionalproperties /// public partial class DppWorkerRequestHeaders : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestHeaders, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestHeadersInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestHeaders, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestHeadersInternal { /// Creates an new instance. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppWorkerRequestHeaders.dictionary.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppWorkerRequestHeaders.dictionary.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppWorkerRequestHeaders.dictionary.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppWorkerRequestHeaders.dictionary.cs index 6ae8216a9e42..0e5624763f74 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppWorkerRequestHeaders.dictionary.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.DppWorkerRequestHeaders source) => source.__additionalProperties; + public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppWorkerRequestHeaders source) => source.__additionalProperties; } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppWorkerRequestHeaders.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppWorkerRequestHeaders.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppWorkerRequestHeaders.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppWorkerRequestHeaders.json.cs index ab1f36c2be7e..986b90b87434 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppWorkerRequestHeaders.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDppWorkerRequestHeaders. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestHeaders. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestHeaders. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestHeaders. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestHeaders FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DppWorkerRequestParameters.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppWorkerRequestParameters.PowerShell.cs similarity index 92% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppWorkerRequestParameters.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppWorkerRequestParameters.PowerShell.cs index 553e0b96716a..3e72b7675995 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppWorkerRequestParameters.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDppWorkerRequestParameters DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppWorkerRequestParameters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppWorkerRequestParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/DppWorkerRequestParameters.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppWorkerRequestParameters.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppWorkerRequestParameters.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppWorkerRequestParameters.TypeConverter.cs index 9c00bf91c0e9..fe25c1ac6a61 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppWorkerRequestParameters.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDppWorkerRequestParameters ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestParameters ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestParameters).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestParameters).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppWorkerRequestParameters.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppWorkerRequestParameters.cs similarity index 92% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppWorkerRequestParameters.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppWorkerRequestParameters.cs index 04d3a020237e..95df16937ad2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppWorkerRequestParameters.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Dictionary of public partial class DppWorkerRequestParameters : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestParameters, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestParametersInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestParameters, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestParametersInternal { /// Creates an new instance. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppWorkerRequestParameters.dictionary.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppWorkerRequestParameters.dictionary.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppWorkerRequestParameters.dictionary.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppWorkerRequestParameters.dictionary.cs index c19ca741ce96..3939a3f5db97 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppWorkerRequestParameters.dictionary.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.DppWorkerRequestParameters source) => source.__additionalProperties; + public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppWorkerRequestParameters source) => source.__additionalProperties; } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppWorkerRequestParameters.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppWorkerRequestParameters.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppWorkerRequestParameters.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/DppWorkerRequestParameters.json.cs index dacd85f8cb55..7d3f6b84d1b9 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/DppWorkerRequestParameters.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IDppWorkerRequestParameters. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestParameters. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestParameters. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppWorkerRequestParameters. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppWorkerRequestParameters FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20240401/EncryptionSettings.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/EncryptionSettings.PowerShell.cs new file mode 100644 index 000000000000..314a62a3aafb --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/EncryptionSettings.PowerShell.cs @@ -0,0 +1,168 @@ +// 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.Api20240401 +{ + using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; + + /// Customer Managed Key details of the resource. + [System.ComponentModel.TypeConverter(typeof(EncryptionSettingsTypeConverter))] + public partial class EncryptionSettings + { + + /// + /// 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.Api20240401.IEncryptionSettings DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new EncryptionSettings(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.Api20240401.IEncryptionSettings DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new EncryptionSettings(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal EncryptionSettings(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("State")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettingsInternal)this).State = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.EncryptionState?) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettingsInternal)this).State, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.EncryptionState.CreateFrom); + } + if (content.Contains("CmkKeyVaultProperty")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettingsInternal)this).CmkKeyVaultProperty = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICmkKeyVaultProperties) content.GetValueForProperty("CmkKeyVaultProperty",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettingsInternal)this).CmkKeyVaultProperty, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CmkKeyVaultPropertiesTypeConverter.ConvertFrom); + } + if (content.Contains("CmkIdentity")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettingsInternal)this).CmkIdentity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICmkKekIdentity) content.GetValueForProperty("CmkIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettingsInternal)this).CmkIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CmkKekIdentityTypeConverter.ConvertFrom); + } + if (content.Contains("CmkInfrastructureEncryption")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettingsInternal)this).CmkInfrastructureEncryption = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.InfrastructureEncryptionState?) content.GetValueForProperty("CmkInfrastructureEncryption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettingsInternal)this).CmkInfrastructureEncryption, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.InfrastructureEncryptionState.CreateFrom); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal EncryptionSettings(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("State")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettingsInternal)this).State = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.EncryptionState?) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettingsInternal)this).State, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.EncryptionState.CreateFrom); + } + if (content.Contains("CmkKeyVaultProperty")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettingsInternal)this).CmkKeyVaultProperty = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICmkKeyVaultProperties) content.GetValueForProperty("CmkKeyVaultProperty",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettingsInternal)this).CmkKeyVaultProperty, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CmkKeyVaultPropertiesTypeConverter.ConvertFrom); + } + if (content.Contains("CmkIdentity")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettingsInternal)this).CmkIdentity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICmkKekIdentity) content.GetValueForProperty("CmkIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettingsInternal)this).CmkIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CmkKekIdentityTypeConverter.ConvertFrom); + } + if (content.Contains("CmkInfrastructureEncryption")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettingsInternal)this).CmkInfrastructureEncryption = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.InfrastructureEncryptionState?) content.GetValueForProperty("CmkInfrastructureEncryption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettingsInternal)this).CmkInfrastructureEncryption, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.InfrastructureEncryptionState.CreateFrom); + } + 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.Api20240401.IEncryptionSettings 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(); + } + /// Customer Managed Key details of the resource. + [System.ComponentModel.TypeConverter(typeof(EncryptionSettingsTypeConverter))] + public partial interface IEncryptionSettings + + { + + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/EncryptionSettings.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/EncryptionSettings.TypeConverter.cs new file mode 100644 index 000000000000..7bab020d868a --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/EncryptionSettings.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.Api20240401 +{ + using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class EncryptionSettingsTypeConverter : 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.Api20240401.IEncryptionSettings ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return EncryptionSettings.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return EncryptionSettings.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return EncryptionSettings.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/Api20240401/EncryptionSettings.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/EncryptionSettings.cs new file mode 100644 index 000000000000..1f15db0db2c7 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/EncryptionSettings.cs @@ -0,0 +1,102 @@ +// 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.Api20240401 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; + + /// Customer Managed Key details of the resource. + public partial class EncryptionSettings : + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettingsInternal + { + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICmkKekIdentity _cmkIdentity; + + /// The details of the managed identity used for CMK + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICmkKekIdentity CmkIdentity { get => (this._cmkIdentity = this._cmkIdentity ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CmkKekIdentity()); set => this._cmkIdentity = value; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.InfrastructureEncryptionState? _cmkInfrastructureEncryption; + + /// Enabling/Disabling the Double Encryption state + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.InfrastructureEncryptionState? CmkInfrastructureEncryption { get => this._cmkInfrastructureEncryption; set => this._cmkInfrastructureEncryption = value; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICmkKeyVaultProperties _cmkKeyVaultProperty; + + /// The properties of the Key Vault which hosts CMK + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICmkKeyVaultProperties CmkKeyVaultProperty { get => (this._cmkKeyVaultProperty = this._cmkKeyVaultProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CmkKeyVaultProperties()); set => this._cmkKeyVaultProperty = value; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.EncryptionState? _state; + + /// Encryption state of the Backup Vault. + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.EncryptionState? State { get => this._state; set => this._state = value; } + + /// Creates an new instance. + public EncryptionSettings() + { + + } + } + /// Customer Managed Key details of the resource. + public partial interface IEncryptionSettings : + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable + { + /// The details of the managed identity used for CMK + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The details of the managed identity used for CMK", + SerializedName = @"kekIdentity", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICmkKekIdentity) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICmkKekIdentity CmkIdentity { get; set; } + /// Enabling/Disabling the Double Encryption state + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Enabling/Disabling the Double Encryption state", + SerializedName = @"infrastructureEncryption", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.InfrastructureEncryptionState) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.InfrastructureEncryptionState? CmkInfrastructureEncryption { get; set; } + /// The properties of the Key Vault which hosts CMK + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The properties of the Key Vault which hosts CMK", + SerializedName = @"keyVaultProperties", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICmkKeyVaultProperties) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICmkKeyVaultProperties CmkKeyVaultProperty { get; set; } + /// Encryption state of the Backup Vault. + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Encryption state of the Backup Vault.", + SerializedName = @"state", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.EncryptionState) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.EncryptionState? State { get; set; } + + } + /// Customer Managed Key details of the resource. + internal partial interface IEncryptionSettingsInternal + + { + /// The details of the managed identity used for CMK + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICmkKekIdentity CmkIdentity { get; set; } + /// Enabling/Disabling the Double Encryption state + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.InfrastructureEncryptionState? CmkInfrastructureEncryption { get; set; } + /// The properties of the Key Vault which hosts CMK + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICmkKeyVaultProperties CmkKeyVaultProperty { get; set; } + /// Encryption state of the Backup Vault. + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.EncryptionState? State { get; set; } + + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/EncryptionSettings.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/EncryptionSettings.json.cs new file mode 100644 index 000000000000..deadb060de34 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/EncryptionSettings.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.Api20240401 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; + + /// Customer Managed Key details of the resource. + public partial class EncryptionSettings + { + + /// + /// 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 EncryptionSettings(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_state = If( json?.PropertyT("state"), out var __jsonState) ? (string)__jsonState : (string)State;} + {_cmkKeyVaultProperty = If( json?.PropertyT("keyVaultProperties"), out var __jsonKeyVaultProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CmkKeyVaultProperties.FromJson(__jsonKeyVaultProperties) : CmkKeyVaultProperty;} + {_cmkIdentity = If( json?.PropertyT("kekIdentity"), out var __jsonKekIdentity) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CmkKekIdentity.FromJson(__jsonKekIdentity) : CmkIdentity;} + {_cmkInfrastructureEncryption = If( json?.PropertyT("infrastructureEncryption"), out var __jsonInfrastructureEncryption) ? (string)__jsonInfrastructureEncryption : (string)CmkInfrastructureEncryption;} + AfterFromJson(json); + } + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new EncryptionSettings(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._state)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString(this._state.ToString()) : null, "state" ,container.Add ); + AddIf( null != this._cmkKeyVaultProperty ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) this._cmkKeyVaultProperty.ToJson(null,serializationMode) : null, "keyVaultProperties" ,container.Add ); + AddIf( null != this._cmkIdentity ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) this._cmkIdentity.ToJson(null,serializationMode) : null, "kekIdentity" ,container.Add ); + AddIf( null != (((object)this._cmkInfrastructureEncryption)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString(this._cmkInfrastructureEncryption.ToString()) : null, "infrastructureEncryption" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/Error.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/Error.PowerShell.cs similarity index 82% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/Error.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/Error.PowerShell.cs index 99b3a500a36e..a44efeb23493 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/Error.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IError DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IError DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IErrorInternal)this).AdditionalInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[]) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IErrorInternal)this).AdditionalInfo, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ErrorAdditionalInfoTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IErrorInternal)this).AdditionalInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[]) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IErrorInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IErrorInternal)this).Code, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IErrorInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IErrorInternal)this).Code, global::System.Convert.ToString); } if (content.Contains("Detail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IErrorInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IError[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IErrorInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ErrorTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IErrorInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IError[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IErrorInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ErrorTypeConverter.ConvertFrom)); } if (content.Contains("Message")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IErrorInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IErrorInternal)this).Message, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IErrorInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IErrorInternal)this).Message, global::System.Convert.ToString); } if (content.Contains("Target")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IErrorInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IErrorInternal)this).Target, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IErrorInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IErrorInternal)this).AdditionalInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[]) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IErrorInternal)this).AdditionalInfo, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ErrorAdditionalInfoTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IErrorInternal)this).AdditionalInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[]) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IErrorInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IErrorInternal)this).Code, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IErrorInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IErrorInternal)this).Code, global::System.Convert.ToString); } if (content.Contains("Detail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IErrorInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IError[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IErrorInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ErrorTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IErrorInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IError[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IErrorInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ErrorTypeConverter.ConvertFrom)); } if (content.Contains("Message")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IErrorInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IErrorInternal)this).Message, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IErrorInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IErrorInternal)this).Message, global::System.Convert.ToString); } if (content.Contains("Target")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IErrorInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IErrorInternal)this).Target, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IErrorInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IError FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/Error.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/Error.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/Error.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/Error.TypeConverter.cs index b6c68dd592b5..b75dede4427f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/Error.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IError ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IError ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IError).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IError).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/Error.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/Error.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/Error.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/Error.cs index d9ebef2f417f..e8ee79e9cb80 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/Error.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/Error.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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// The resource management error response. public partial class Error : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IError, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IErrorInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IError, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IErrorInternal { /// Backing field for property. @@ -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.Api20231201.IError[] _detail; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IError[] Detail { get => this._detail; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api40.IErrorAdditionalInfo[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IErrorInternal.AdditionalInfo { get => this._additionalInfo; set { {_additionalInfo = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IErrorInternal.AdditionalInfo { get => this._additionalInfo; set { {_additionalInfo = value;} } } /// Internal Acessors for Code - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IErrorInternal.Code { get => this._code; set { {_code = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IErrorInternal.Code { get => this._code; set { {_code = value;} } } /// Internal Acessors for Detail - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IError[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IErrorInternal.Detail { get => this._detail; set { {_detail = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IError[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IErrorInternal.Detail { get => this._detail; set { {_detail = value;} } } /// Internal Acessors for Message - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IErrorInternal.Message { get => this._message; set { {_message = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IErrorInternal.Message { get => this._message; set { {_message = value;} } } /// Internal Acessors for Target - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IErrorInternal.Target { get => this._target; set { {_target = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IErrorInternal.Target { get => this._target; set { {_target = value;} } } /// Backing field for property. private string _target; @@ -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.Api20231201.IError) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IError[] Detail { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IError) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IError[] Detail { get; } /// The error message. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -124,7 +124,7 @@ internal partial interface IErrorInternal /// The error code. string Code { get; set; } /// The error details. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IError[] Detail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IError[] Detail { get; set; } /// The error message. string Message { get; set; } /// The error target. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/Error.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/Error.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/Error.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/Error.json.cs index 205e363b5321..f19a070412e8 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/Error.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -67,20 +67,20 @@ internal Error(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.Js } {_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.Api20231201.IError) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IError) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IError. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IError. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IError. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IError. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IError FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/ExportJobsResult.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ExportJobsResult.PowerShell.cs similarity index 85% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ExportJobsResult.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ExportJobsResult.PowerShell.cs index ce18a3766c9b..0746d40f3207 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ExportJobsResult.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IExportJobsResult DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IExportJobsResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IExportJobsResultInternal)this).BlobUrl = (string) content.GetValueForProperty("BlobUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IExportJobsResultInternal)this).BlobUrl, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IExportJobsResultInternal)this).BlobUrl = (string) content.GetValueForProperty("BlobUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IExportJobsResultInternal)this).BlobUrl, global::System.Convert.ToString); } if (content.Contains("BlobSasKey")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IExportJobsResultInternal)this).BlobSasKey = (string) content.GetValueForProperty("BlobSasKey",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IExportJobsResultInternal)this).BlobSasKey, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IExportJobsResultInternal)this).BlobSasKey = (string) content.GetValueForProperty("BlobSasKey",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IExportJobsResultInternal)this).BlobSasKey, global::System.Convert.ToString); } if (content.Contains("ExcelFileBlobUrl")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IExportJobsResultInternal)this).ExcelFileBlobUrl = (string) content.GetValueForProperty("ExcelFileBlobUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IExportJobsResultInternal)this).ExcelFileBlobUrl, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IExportJobsResultInternal)this).ExcelFileBlobUrl = (string) content.GetValueForProperty("ExcelFileBlobUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IExportJobsResultInternal)this).ExcelFileBlobUrl, global::System.Convert.ToString); } if (content.Contains("ExcelFileBlobSasKey")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IExportJobsResultInternal)this).ExcelFileBlobSasKey = (string) content.GetValueForProperty("ExcelFileBlobSasKey",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IExportJobsResultInternal)this).ExcelFileBlobSasKey, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IExportJobsResultInternal)this).ExcelFileBlobSasKey = (string) content.GetValueForProperty("ExcelFileBlobSasKey",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IExportJobsResultInternal)this).BlobUrl = (string) content.GetValueForProperty("BlobUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IExportJobsResultInternal)this).BlobUrl, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IExportJobsResultInternal)this).BlobUrl = (string) content.GetValueForProperty("BlobUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IExportJobsResultInternal)this).BlobUrl, global::System.Convert.ToString); } if (content.Contains("BlobSasKey")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IExportJobsResultInternal)this).BlobSasKey = (string) content.GetValueForProperty("BlobSasKey",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IExportJobsResultInternal)this).BlobSasKey, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IExportJobsResultInternal)this).BlobSasKey = (string) content.GetValueForProperty("BlobSasKey",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IExportJobsResultInternal)this).BlobSasKey, global::System.Convert.ToString); } if (content.Contains("ExcelFileBlobUrl")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IExportJobsResultInternal)this).ExcelFileBlobUrl = (string) content.GetValueForProperty("ExcelFileBlobUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IExportJobsResultInternal)this).ExcelFileBlobUrl, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IExportJobsResultInternal)this).ExcelFileBlobUrl = (string) content.GetValueForProperty("ExcelFileBlobUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IExportJobsResultInternal)this).ExcelFileBlobUrl, global::System.Convert.ToString); } if (content.Contains("ExcelFileBlobSasKey")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IExportJobsResultInternal)this).ExcelFileBlobSasKey = (string) content.GetValueForProperty("ExcelFileBlobSasKey",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IExportJobsResultInternal)this).ExcelFileBlobSasKey, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IExportJobsResultInternal)this).ExcelFileBlobSasKey = (string) content.GetValueForProperty("ExcelFileBlobSasKey",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IExportJobsResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/ExportJobsResult.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ExportJobsResult.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ExportJobsResult.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ExportJobsResult.TypeConverter.cs index e68c19b33628..f9a8c2ac6a4f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ExportJobsResult.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IExportJobsResult ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IExportJobsResult ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IExportJobsResult).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IExportJobsResult).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ExportJobsResult.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ExportJobsResult.cs similarity index 94% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ExportJobsResult.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ExportJobsResult.cs index 368c8971b84d..3066f6323e20 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ExportJobsResult.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IExportJobsResult, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IExportJobsResultInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IExportJobsResult, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IExportJobsResultInternal.BlobSasKey { get => this._blobSasKey; set { {_blobSasKey = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IExportJobsResultInternal.BlobSasKey { get => this._blobSasKey; set { {_blobSasKey = value;} } } /// Internal Acessors for BlobUrl - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IExportJobsResultInternal.BlobUrl { get => this._blobUrl; set { {_blobUrl = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IExportJobsResultInternal.BlobUrl { get => this._blobUrl; set { {_blobUrl = value;} } } /// Internal Acessors for ExcelFileBlobSasKey - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IExportJobsResultInternal.ExcelFileBlobSasKey { get => this._excelFileBlobSasKey; set { {_excelFileBlobSasKey = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IExportJobsResultInternal.ExcelFileBlobSasKey { get => this._excelFileBlobSasKey; set { {_excelFileBlobSasKey = value;} } } /// Internal Acessors for ExcelFileBlobUrl - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IExportJobsResultInternal.ExcelFileBlobUrl { get => this._excelFileBlobUrl; set { {_excelFileBlobUrl = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IExportJobsResultInternal.ExcelFileBlobUrl { get => this._excelFileBlobUrl; set { {_excelFileBlobUrl = value;} } } /// Creates an new instance. public ExportJobsResult() diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ExportJobsResult.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ExportJobsResult.json.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ExportJobsResult.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ExportJobsResult.json.cs index 8b864e35f94e..10f1ac7e4ad6 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ExportJobsResult.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IExportJobsResult. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IExportJobsResult. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IExportJobsResult. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IExportJobsResult. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IExportJobsResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/FeatureSettings.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FeatureSettings.PowerShell.cs similarity index 83% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureSettings.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FeatureSettings.PowerShell.cs index e33ff65b67e1..15025bfe9e0b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureSettings.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IFeatureSettings DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IFeatureSettings DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IFeatureSettingsInternal)this).CrossSubscriptionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossSubscriptionRestoreSettings) content.GetValueForProperty("CrossSubscriptionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettingsInternal)this).CrossSubscriptionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossSubscriptionRestoreSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettingsInternal)this).CrossSubscriptionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossSubscriptionRestoreSettings) content.GetValueForProperty("CrossSubscriptionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettingsInternal)this).CrossSubscriptionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CrossSubscriptionRestoreSettingsTypeConverter.ConvertFrom); } if (content.Contains("CrossRegionRestoreSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettingsInternal)this).CrossRegionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreSettings) content.GetValueForProperty("CrossRegionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettingsInternal)this).CrossRegionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossRegionRestoreSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettingsInternal)this).CrossRegionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreSettings) content.GetValueForProperty("CrossRegionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettingsInternal)this).CrossRegionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CrossRegionRestoreSettingsTypeConverter.ConvertFrom); } if (content.Contains("CrossSubscriptionRestoreState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettingsInternal)this).CrossSubscriptionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("CrossSubscriptionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettingsInternal)this).CrossSubscriptionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettingsInternal)this).CrossSubscriptionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("CrossSubscriptionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettingsInternal)this).CrossSubscriptionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState.CreateFrom); } if (content.Contains("CrossRegionRestoreState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettingsInternal)this).CrossRegionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("CrossRegionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettingsInternal)this).CrossRegionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettingsInternal)this).CrossRegionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("CrossRegionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IFeatureSettingsInternal)this).CrossSubscriptionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossSubscriptionRestoreSettings) content.GetValueForProperty("CrossSubscriptionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettingsInternal)this).CrossSubscriptionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossSubscriptionRestoreSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettingsInternal)this).CrossSubscriptionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossSubscriptionRestoreSettings) content.GetValueForProperty("CrossSubscriptionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettingsInternal)this).CrossSubscriptionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CrossSubscriptionRestoreSettingsTypeConverter.ConvertFrom); } if (content.Contains("CrossRegionRestoreSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettingsInternal)this).CrossRegionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreSettings) content.GetValueForProperty("CrossRegionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettingsInternal)this).CrossRegionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossRegionRestoreSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettingsInternal)this).CrossRegionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreSettings) content.GetValueForProperty("CrossRegionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettingsInternal)this).CrossRegionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CrossRegionRestoreSettingsTypeConverter.ConvertFrom); } if (content.Contains("CrossSubscriptionRestoreState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettingsInternal)this).CrossSubscriptionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("CrossSubscriptionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettingsInternal)this).CrossSubscriptionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettingsInternal)this).CrossSubscriptionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("CrossSubscriptionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettingsInternal)this).CrossSubscriptionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState.CreateFrom); } if (content.Contains("CrossRegionRestoreState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettingsInternal)this).CrossRegionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("CrossRegionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettingsInternal)this).CrossRegionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettingsInternal)this).CrossRegionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("CrossRegionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IFeatureSettings FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/FeatureSettings.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FeatureSettings.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureSettings.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FeatureSettings.TypeConverter.cs index 8a352d42aba2..dbb1e8725328 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureSettings.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IFeatureSettings ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettings ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettings).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettings).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureSettings.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FeatureSettings.cs similarity index 83% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureSettings.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FeatureSettings.cs index 7160d9b69d58..abfa809adf3f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureSettings.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IFeatureSettings, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettingsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettings, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettingsInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreSettings _crossRegionRestoreSetting; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreSettings _crossRegionRestoreSetting; [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreSettings CrossRegionRestoreSetting { get => (this._crossRegionRestoreSetting = this._crossRegionRestoreSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossRegionRestoreSettings()); set => this._crossRegionRestoreSetting = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreSettings CrossRegionRestoreSetting { get => (this._crossRegionRestoreSetting = this._crossRegionRestoreSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICrossRegionRestoreSettingsInternal)CrossRegionRestoreSetting).State; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.ICrossRegionRestoreSettingsInternal)CrossRegionRestoreSetting).State; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreSettingsInternal)CrossRegionRestoreSetting).State = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState)""); } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossSubscriptionRestoreSettings _crossSubscriptionRestoreSetting; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossSubscriptionRestoreSettings _crossSubscriptionRestoreSetting; /// CrossSubscriptionRestore Settings [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossSubscriptionRestoreSettings CrossSubscriptionRestoreSetting { get => (this._crossSubscriptionRestoreSetting = this._crossSubscriptionRestoreSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossSubscriptionRestoreSettings()); set => this._crossSubscriptionRestoreSetting = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossSubscriptionRestoreSettings CrossSubscriptionRestoreSetting { get => (this._crossSubscriptionRestoreSetting = this._crossSubscriptionRestoreSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICrossSubscriptionRestoreSettingsInternal)CrossSubscriptionRestoreSetting).State; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.ICrossSubscriptionRestoreSettingsInternal)CrossSubscriptionRestoreSetting).State; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossSubscriptionRestoreSettingsInternal)CrossSubscriptionRestoreSetting).State = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState)""); } /// Internal Acessors for CrossRegionRestoreSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettingsInternal.CrossRegionRestoreSetting { get => (this._crossRegionRestoreSetting = this._crossRegionRestoreSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossRegionRestoreSettings()); set { {_crossRegionRestoreSetting = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettingsInternal.CrossRegionRestoreSetting { get => (this._crossRegionRestoreSetting = this._crossRegionRestoreSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CrossRegionRestoreSettings()); set { {_crossRegionRestoreSetting = value;} } } /// Internal Acessors for CrossSubscriptionRestoreSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossSubscriptionRestoreSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettingsInternal.CrossSubscriptionRestoreSetting { get => (this._crossSubscriptionRestoreSetting = this._crossSubscriptionRestoreSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossSubscriptionRestoreSettings()); set { {_crossSubscriptionRestoreSetting = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossSubscriptionRestoreSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettingsInternal.CrossSubscriptionRestoreSetting { get => (this._crossSubscriptionRestoreSetting = this._crossSubscriptionRestoreSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICrossRegionRestoreSettings CrossRegionRestoreSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreSettings CrossRegionRestoreSetting { get; set; } /// CrossRegionRestore state Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState? CrossRegionRestoreState { get; set; } /// CrossSubscriptionRestore Settings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossSubscriptionRestoreSettings CrossSubscriptionRestoreSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/FeatureSettings.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FeatureSettings.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureSettings.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FeatureSettings.json.cs index 7bf5939e2d20..1ef81f439c7a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureSettings.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.CrossSubscriptionRestoreSettings.FromJson(__jsonCrossSubscriptionRestoreSettings) : CrossSubscriptionRestoreSetting;} - {_crossRegionRestoreSetting = If( json?.PropertyT("crossRegionRestoreSettings"), out var __jsonCrossRegionRestoreSettings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossRegionRestoreSettings.FromJson(__jsonCrossRegionRestoreSettings) : CrossRegionRestoreSetting;} + {_crossSubscriptionRestoreSetting = If( json?.PropertyT("crossSubscriptionRestoreSettings"), out var __jsonCrossSubscriptionRestoreSettings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CrossSubscriptionRestoreSettings.FromJson(__jsonCrossSubscriptionRestoreSettings) : CrossSubscriptionRestoreSetting;} + {_crossRegionRestoreSetting = If( json?.PropertyT("crossRegionRestoreSettings"), out var __jsonCrossRegionRestoreSettings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CrossRegionRestoreSettings.FromJson(__jsonCrossRegionRestoreSettings) : CrossRegionRestoreSetting;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettings. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettings. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettings. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettings. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettings FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/FeatureValidationRequest.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FeatureValidationRequest.PowerShell.cs similarity index 87% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureValidationRequest.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FeatureValidationRequest.PowerShell.cs index bc6069f81196..b1076556fa3f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureValidationRequest.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IFeatureValidationRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IFeatureValidationRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IFeatureValidationRequestInternal)this).FeatureType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureType?) content.GetValueForProperty("FeatureType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationRequestInternal)this).FeatureType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationRequestInternal)this).FeatureType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureType?) content.GetValueForProperty("FeatureType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationRequestInternal)this).FeatureType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureType.CreateFrom); } if (content.Contains("FeatureName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationRequestInternal)this).FeatureName = (string) content.GetValueForProperty("FeatureName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationRequestInternal)this).FeatureName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationRequestInternal)this).FeatureName = (string) content.GetValueForProperty("FeatureName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationRequestInternal)this).FeatureName, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationRequestBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationRequestBaseInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationRequestBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IFeatureValidationRequestInternal)this).FeatureType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureType?) content.GetValueForProperty("FeatureType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationRequestInternal)this).FeatureType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationRequestInternal)this).FeatureType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureType?) content.GetValueForProperty("FeatureType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationRequestInternal)this).FeatureType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureType.CreateFrom); } if (content.Contains("FeatureName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationRequestInternal)this).FeatureName = (string) content.GetValueForProperty("FeatureName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationRequestInternal)this).FeatureName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationRequestInternal)this).FeatureName = (string) content.GetValueForProperty("FeatureName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationRequestInternal)this).FeatureName, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationRequestBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationRequestBaseInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationRequestBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IFeatureValidationRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/FeatureValidationRequest.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FeatureValidationRequest.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureValidationRequest.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FeatureValidationRequest.TypeConverter.cs index ce66dd63a2aa..15e54e4c86b1 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureValidationRequest.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IFeatureValidationRequest ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationRequest ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationRequest).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationRequest).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureValidationRequest.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FeatureValidationRequest.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureValidationRequest.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FeatureValidationRequest.cs index feb3c8cbb57c..b996a0da0d4e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureValidationRequest.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Base class for feature object public partial class FeatureValidationRequest : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationRequest, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationRequestInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationRequest, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationRequestInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationRequestBase __featureValidationRequestBase = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.FeatureValidationRequestBase(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationRequestBase __featureValidationRequestBase = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IFeatureValidationRequestBaseInternal)__featureValidationRequestBase).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationRequestBaseInternal)__featureValidationRequestBase).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationRequestBaseInternal)__featureValidationRequestBase).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IFeatureValidationRequestBase + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IFeatureValidationRequestBaseInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationRequestBaseInternal { /// backup support feature name. string FeatureName { get; set; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureValidationRequest.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FeatureValidationRequest.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureValidationRequest.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FeatureValidationRequest.json.cs index eb2f8ebaac0a..28be2452ddb8 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureValidationRequest.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.FeatureValidationRequestBase(json); + __featureValidationRequestBase = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IFeatureValidationRequest. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationRequest. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationRequest. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationRequest. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/FeatureValidationRequestBase.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FeatureValidationRequestBase.PowerShell.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureValidationRequestBase.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FeatureValidationRequestBase.PowerShell.cs index 42159dc43154..f0bcf2ae6a65 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureValidationRequestBase.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IFeatureValidationRequestBase DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IFeatureValidationRequestBase DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IFeatureValidationRequestBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationRequestBaseInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationRequestBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IFeatureValidationRequestBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationRequestBaseInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationRequestBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IFeatureValidationRequestBase FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/FeatureValidationRequestBase.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FeatureValidationRequestBase.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureValidationRequestBase.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FeatureValidationRequestBase.TypeConverter.cs index b3d4a0b8f245..09b618b9698c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureValidationRequestBase.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IFeatureValidationRequestBase ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationRequestBase ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationRequestBase).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationRequestBase).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureValidationRequestBase.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FeatureValidationRequestBase.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureValidationRequestBase.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FeatureValidationRequestBase.cs index 0457aeb7c7d2..67a31c09d9a4 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureValidationRequestBase.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IFeatureValidationRequestBase, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationRequestBaseInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationRequestBase, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationRequestBaseInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureValidationRequestBase.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FeatureValidationRequestBase.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureValidationRequestBase.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FeatureValidationRequestBase.json.cs index da4828fdb89d..5865feeaf692 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureValidationRequestBase.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IFeatureValidationRequestBase. - /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationRequestBase interface + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationRequestBase. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IFeatureValidationRequestBase. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationRequestBase. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationRequestBase FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/FeatureValidationResponse.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FeatureValidationResponse.PowerShell.cs similarity index 84% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureValidationResponse.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FeatureValidationResponse.PowerShell.cs index f6bb0ef05fe7..fbe60fee4060 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureValidationResponse.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IFeatureValidationResponse DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IFeatureValidationResponse DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IFeatureValidationResponseInternal)this).FeatureType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureType?) content.GetValueForProperty("FeatureType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationResponseInternal)this).FeatureType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationResponseInternal)this).FeatureType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureType?) content.GetValueForProperty("FeatureType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationResponseInternal)this).FeatureType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureType.CreateFrom); } if (content.Contains("Feature")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationResponseInternal)this).Feature = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISupportedFeature[]) content.GetValueForProperty("Feature",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationResponseInternal)this).Feature, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SupportedFeatureTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationResponseInternal)this).Feature = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISupportedFeature[]) content.GetValueForProperty("Feature",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationResponseInternal)this).Feature, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SupportedFeatureTypeConverter.ConvertFrom)); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationResponseBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationResponseBaseInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationResponseBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IFeatureValidationResponseInternal)this).FeatureType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureType?) content.GetValueForProperty("FeatureType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationResponseInternal)this).FeatureType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationResponseInternal)this).FeatureType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureType?) content.GetValueForProperty("FeatureType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationResponseInternal)this).FeatureType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureType.CreateFrom); } if (content.Contains("Feature")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationResponseInternal)this).Feature = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISupportedFeature[]) content.GetValueForProperty("Feature",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationResponseInternal)this).Feature, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SupportedFeatureTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationResponseInternal)this).Feature = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISupportedFeature[]) content.GetValueForProperty("Feature",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationResponseInternal)this).Feature, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SupportedFeatureTypeConverter.ConvertFrom)); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationResponseBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationResponseBaseInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationResponseBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IFeatureValidationResponse FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/FeatureValidationResponse.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FeatureValidationResponse.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureValidationResponse.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FeatureValidationResponse.TypeConverter.cs index 1d25ea4109dc..0ffadfe1697a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureValidationResponse.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IFeatureValidationResponse ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationResponse ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationResponse).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationResponse).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureValidationResponse.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FeatureValidationResponse.cs similarity index 86% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureValidationResponse.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FeatureValidationResponse.cs index b11d48f7c83f..0e48596c6451 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureValidationResponse.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Feature Validation Response public partial class FeatureValidationResponse : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationResponse, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationResponseInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationResponse, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationResponseInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationResponseBase __featureValidationResponseBase = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.FeatureValidationResponseBase(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationResponseBase __featureValidationResponseBase = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.FeatureValidationResponseBase(); /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISupportedFeature[] _feature; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISupportedFeature[] _feature; /// Response features [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISupportedFeature[] Feature { get => this._feature; set => this._feature = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IFeatureValidationResponseBaseInternal)__featureValidationResponseBase).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationResponseBaseInternal)__featureValidationResponseBase).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationResponseBaseInternal)__featureValidationResponseBase).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IFeatureValidationResponseBase + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ISupportedFeature) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISupportedFeature[] Feature { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISupportedFeature) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IFeatureValidationResponseBaseInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationResponseBaseInternal { /// Response features - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISupportedFeature[] Feature { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/FeatureValidationResponse.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FeatureValidationResponse.json.cs similarity index 94% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureValidationResponse.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FeatureValidationResponse.json.cs index 419e250864f4..4fd3257b7d11 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureValidationResponse.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.FeatureValidationResponseBase(json); + __featureValidationResponseBase = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ISupportedFeature) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.ISupportedFeature) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SupportedFeature.FromJson(__u) )) ))() : null : Feature;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationResponse. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationResponse. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationResponse. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationResponse. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationResponse FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/FeatureValidationResponseBase.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FeatureValidationResponseBase.PowerShell.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureValidationResponseBase.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FeatureValidationResponseBase.PowerShell.cs index 0f867813b60f..c1cd0c35ffe6 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureValidationResponseBase.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IFeatureValidationResponseBase DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IFeatureValidationResponseBase DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IFeatureValidationResponseBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationResponseBaseInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationResponseBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IFeatureValidationResponseBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationResponseBaseInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationResponseBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IFeatureValidationResponseBase FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/FeatureValidationResponseBase.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FeatureValidationResponseBase.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureValidationResponseBase.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FeatureValidationResponseBase.TypeConverter.cs index 972eae427f17..64f51f04b17b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureValidationResponseBase.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IFeatureValidationResponseBase ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationResponseBase ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationResponseBase).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationResponseBase).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureValidationResponseBase.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FeatureValidationResponseBase.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureValidationResponseBase.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FeatureValidationResponseBase.cs index 22a0bd106d44..4906f8d8c92d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureValidationResponseBase.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IFeatureValidationResponseBase, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationResponseBaseInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationResponseBase, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationResponseBaseInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureValidationResponseBase.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FeatureValidationResponseBase.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureValidationResponseBase.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FeatureValidationResponseBase.json.cs index c47c19639cdb..23d33f752e52 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FeatureValidationResponseBase.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IFeatureValidationResponseBase. - /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationResponseBase interface + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationResponseBase. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IFeatureValidationResponseBase. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureValidationResponseBase. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureValidationResponseBase FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/FetchSecondaryRPsRequestParameters.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FetchSecondaryRPsRequestParameters.PowerShell.cs similarity index 89% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FetchSecondaryRPsRequestParameters.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FetchSecondaryRPsRequestParameters.PowerShell.cs index 0cc17f9bcf18..66fe155168fe 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FetchSecondaryRPsRequestParameters.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FetchSecondaryRPsRequestParameters.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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -59,35 +59,35 @@ public partial class FetchSecondaryRPsRequestParameters 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.Api20231201.IFetchSecondaryRPsRequestParameters DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFetchSecondaryRPsRequestParameters DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new FetchSecondaryRPsRequestParameters(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.Api20231201.IFetchSecondaryRPsRequestParameters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFetchSecondaryRPsRequestParameters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new FetchSecondaryRPsRequestParameters(content); } /// - /// 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 FetchSecondaryRPsRequestParameters(global::System.Collections.IDictiona // actually deserialize if (content.Contains("SourceRegion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFetchSecondaryRPsRequestParametersInternal)this).SourceRegion = (string) content.GetValueForProperty("SourceRegion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFetchSecondaryRPsRequestParametersInternal)this).SourceRegion, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFetchSecondaryRPsRequestParametersInternal)this).SourceRegion = (string) content.GetValueForProperty("SourceRegion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFetchSecondaryRPsRequestParametersInternal)this).SourceRegion, global::System.Convert.ToString); } if (content.Contains("SourceBackupInstanceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFetchSecondaryRPsRequestParametersInternal)this).SourceBackupInstanceId = (string) content.GetValueForProperty("SourceBackupInstanceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFetchSecondaryRPsRequestParametersInternal)this).SourceBackupInstanceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFetchSecondaryRPsRequestParametersInternal)this).SourceBackupInstanceId = (string) content.GetValueForProperty("SourceBackupInstanceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFetchSecondaryRPsRequestParametersInternal)this).SourceBackupInstanceId, 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 FetchSecondaryRPsRequestParameters(global::System.Management.Automation // actually deserialize if (content.Contains("SourceRegion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFetchSecondaryRPsRequestParametersInternal)this).SourceRegion = (string) content.GetValueForProperty("SourceRegion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFetchSecondaryRPsRequestParametersInternal)this).SourceRegion, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFetchSecondaryRPsRequestParametersInternal)this).SourceRegion = (string) content.GetValueForProperty("SourceRegion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFetchSecondaryRPsRequestParametersInternal)this).SourceRegion, global::System.Convert.ToString); } if (content.Contains("SourceBackupInstanceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFetchSecondaryRPsRequestParametersInternal)this).SourceBackupInstanceId = (string) content.GetValueForProperty("SourceBackupInstanceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFetchSecondaryRPsRequestParametersInternal)this).SourceBackupInstanceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFetchSecondaryRPsRequestParametersInternal)this).SourceBackupInstanceId = (string) content.GetValueForProperty("SourceBackupInstanceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFetchSecondaryRPsRequestParametersInternal)this).SourceBackupInstanceId, global::System.Convert.ToString); } AfterDeserializePSObject(content); } @@ -143,7 +143,7 @@ internal FetchSecondaryRPsRequestParameters(global::System.Management.Automation /// /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFetchSecondaryRPsRequestParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFetchSecondaryRPsRequestParameters 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/Api20231201/FetchSecondaryRPsRequestParameters.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FetchSecondaryRPsRequestParameters.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FetchSecondaryRPsRequestParameters.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FetchSecondaryRPsRequestParameters.TypeConverter.cs index 5f542c075478..a9c2fb007ca2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FetchSecondaryRPsRequestParameters.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FetchSecondaryRPsRequestParameters.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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IFetchSecondaryRPsRequestParameters ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFetchSecondaryRPsRequestParameters ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFetchSecondaryRPsRequestParameters).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFetchSecondaryRPsRequestParameters).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FetchSecondaryRPsRequestParameters.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FetchSecondaryRPsRequestParameters.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FetchSecondaryRPsRequestParameters.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FetchSecondaryRPsRequestParameters.cs index 961898e7d099..2e5963124ea9 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FetchSecondaryRPsRequestParameters.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FetchSecondaryRPsRequestParameters.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -13,8 +13,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201 /// BI ARM path /// public partial class FetchSecondaryRPsRequestParameters : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFetchSecondaryRPsRequestParameters, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFetchSecondaryRPsRequestParametersInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFetchSecondaryRPsRequestParameters, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFetchSecondaryRPsRequestParametersInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FetchSecondaryRPsRequestParameters.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FetchSecondaryRPsRequestParameters.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FetchSecondaryRPsRequestParameters.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FetchSecondaryRPsRequestParameters.json.cs index 8b8c7b14b0b4..777785aae996 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/FetchSecondaryRPsRequestParameters.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/FetchSecondaryRPsRequestParameters.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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -75,13 +75,13 @@ internal FetchSecondaryRPsRequestParameters(Microsoft.Azure.PowerShell.Cmdlets.D } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFetchSecondaryRPsRequestParameters. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFetchSecondaryRPsRequestParameters. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFetchSecondaryRPsRequestParameters. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFetchSecondaryRPsRequestParameters. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFetchSecondaryRPsRequestParameters FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/IdentityDetails.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/IdentityDetails.PowerShell.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/IdentityDetails.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/IdentityDetails.PowerShell.cs index 81be8935b109..905fee4247c7 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/IdentityDetails.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IIdentityDetails DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IIdentityDetails DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IIdentityDetails DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new IdentityDetails(content); } @@ -84,10 +84,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IIdentityDetails FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IIdentityDetailsInternal)this).UseSystemAssignedIdentity = (bool?) content.GetValueForProperty("UseSystemAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IIdentityDetailsInternal)this).UseSystemAssignedIdentity, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IIdentityDetailsInternal)this).UseSystemAssignedIdentity = (bool?) content.GetValueForProperty("UseSystemAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IIdentityDetailsInternal)this).UseSystemAssignedIdentity, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("UserAssignedIdentityArmUrl")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IIdentityDetailsInternal)this).UserAssignedIdentityArmUrl = (string) content.GetValueForProperty("UserAssignedIdentityArmUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IIdentityDetailsInternal)this).UserAssignedIdentityArmUrl, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IIdentityDetailsInternal)this).UserAssignedIdentityArmUrl = (string) content.GetValueForProperty("UserAssignedIdentityArmUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IIdentityDetailsInternal)this).UseSystemAssignedIdentity = (bool?) content.GetValueForProperty("UseSystemAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IIdentityDetailsInternal)this).UseSystemAssignedIdentity, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IIdentityDetailsInternal)this).UseSystemAssignedIdentity = (bool?) content.GetValueForProperty("UseSystemAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IIdentityDetailsInternal)this).UseSystemAssignedIdentity, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("UserAssignedIdentityArmUrl")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IIdentityDetailsInternal)this).UserAssignedIdentityArmUrl = (string) content.GetValueForProperty("UserAssignedIdentityArmUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IIdentityDetailsInternal)this).UserAssignedIdentityArmUrl, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IIdentityDetailsInternal)this).UserAssignedIdentityArmUrl = (string) content.GetValueForProperty("UserAssignedIdentityArmUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IIdentityDetailsInternal)this).UserAssignedIdentityArmUrl, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/IdentityDetails.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/IdentityDetails.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/IdentityDetails.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/IdentityDetails.TypeConverter.cs index 75e20b560a98..5b1484b85296 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/IdentityDetails.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IIdentityDetails ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IIdentityDetails ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IIdentityDetails).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IIdentityDetails).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/IdentityDetails.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/IdentityDetails.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/IdentityDetails.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/IdentityDetails.cs index 0fbed9553443..37f7e7992af8 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/IdentityDetails.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; public partial class IdentityDetails : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IIdentityDetails, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IIdentityDetailsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IIdentityDetails, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IIdentityDetailsInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/IdentityDetails.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/IdentityDetails.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/IdentityDetails.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/IdentityDetails.json.cs index fa656a9e893b..3292991ee2da 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/IdentityDetails.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IIdentityDetails. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IIdentityDetails. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IIdentityDetails. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IIdentityDetails. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IIdentityDetails FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/ImmediateCopyOption.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ImmediateCopyOption.PowerShell.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ImmediateCopyOption.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ImmediateCopyOption.PowerShell.cs index c30827acc887..0b892e9da7d2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ImmediateCopyOption.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IImmediateCopyOption DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IImmediateCopyOption DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IImmediateCopyOption DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ImmediateCopyOption(content); } @@ -85,10 +85,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IImmediateCopyOption FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICopyOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICopyOptionInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICopyOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICopyOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICopyOptionInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICopyOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICopyOptionInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ImmediateCopyOption.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ImmediateCopyOption.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ImmediateCopyOption.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ImmediateCopyOption.TypeConverter.cs index 9f364ceabbab..7fd9be5f99db 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ImmediateCopyOption.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IImmediateCopyOption ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IImmediateCopyOption ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IImmediateCopyOption).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IImmediateCopyOption).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ImmediateCopyOption.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ImmediateCopyOption.cs similarity index 85% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ImmediateCopyOption.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ImmediateCopyOption.cs index 4aaa59927ef4..657bf039c1d2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ImmediateCopyOption.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Immediate copy Option public partial class ImmediateCopyOption : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IImmediateCopyOption, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IImmediateCopyOptionInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IImmediateCopyOption, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IImmediateCopyOptionInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICopyOption __copyOption = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CopyOption(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICopyOption __copyOption = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICopyOptionInternal)__copyOption).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICopyOptionInternal)__copyOption).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICopyOptionInternal)__copyOption).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICopyOption + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICopyOption { } /// Immediate copy Option internal partial interface IImmediateCopyOptionInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICopyOptionInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICopyOptionInternal { } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ImmediateCopyOption.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ImmediateCopyOption.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ImmediateCopyOption.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ImmediateCopyOption.json.cs index f08e7dc13cac..a27536e28eb2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ImmediateCopyOption.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IImmediateCopyOption. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IImmediateCopyOption. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IImmediateCopyOption. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IImmediateCopyOption. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IImmediateCopyOption FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.CopyOption(json); + __copyOption = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CopyOption(json); AfterFromJson(json); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ImmutabilitySettings.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ImmutabilitySettings.PowerShell.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ImmutabilitySettings.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ImmutabilitySettings.PowerShell.cs index da69eff15b2c..4f73b209d22d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ImmutabilitySettings.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IImmutabilitySettings DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IImmutabilitySettings DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IImmutabilitySettings DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ImmutabilitySettings(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IImmutabilitySettings FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IImmutabilitySettingsInternal)this).State = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IImmutabilitySettingsInternal)this).State, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IImmutabilitySettingsInternal)this).State = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IImmutabilitySettingsInternal)this).State = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IImmutabilitySettingsInternal)this).State, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IImmutabilitySettingsInternal)this).State = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IImmutabilitySettingsInternal)this).State, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState.CreateFrom); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ImmutabilitySettings.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ImmutabilitySettings.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ImmutabilitySettings.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ImmutabilitySettings.TypeConverter.cs index 03c0c6485753..3d26ecf5209d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ImmutabilitySettings.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IImmutabilitySettings ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IImmutabilitySettings ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IImmutabilitySettings).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IImmutabilitySettings).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ImmutabilitySettings.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ImmutabilitySettings.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ImmutabilitySettings.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ImmutabilitySettings.cs index 232f8436daef..5bed58187904 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ImmutabilitySettings.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Immutability Settings at vault level public partial class ImmutabilitySettings : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IImmutabilitySettings, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IImmutabilitySettingsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IImmutabilitySettings, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IImmutabilitySettingsInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ImmutabilitySettings.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ImmutabilitySettings.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ImmutabilitySettings.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ImmutabilitySettings.json.cs index 4c4f1e2b43df..1614b41bb0c5 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ImmutabilitySettings.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IImmutabilitySettings. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IImmutabilitySettings. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IImmutabilitySettings. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IImmutabilitySettings. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IImmutabilitySettings FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/InnerError.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/InnerError.PowerShell.cs similarity index 81% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/InnerError.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/InnerError.PowerShell.cs index e599027d8b00..cfa08641f5ad 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/InnerError.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IInnerError DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IInnerError DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IInnerError DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new InnerError(content); } @@ -85,10 +85,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IInnerError FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IInnerErrorInternal)this).AdditionalInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IInnerErrorAdditionalInfo) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IInnerErrorInternal)this).AdditionalInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.InnerErrorAdditionalInfoTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IInnerErrorInternal)this).AdditionalInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IInnerErrorAdditionalInfo) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IInnerErrorInternal)this).AdditionalInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.InnerErrorAdditionalInfoTypeConverter.ConvertFrom); } if (content.Contains("Code")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IInnerErrorInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IInnerErrorInternal)this).Code, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IInnerErrorInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IInnerErrorInternal)this).Code, global::System.Convert.ToString); } if (content.Contains("EmbeddedInnerError")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IInnerErrorInternal)this).EmbeddedInnerError = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IInnerError) content.GetValueForProperty("EmbeddedInnerError",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IInnerErrorInternal)this).EmbeddedInnerError, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.InnerErrorTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IInnerErrorInternal)this).EmbeddedInnerError = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IInnerError) content.GetValueForProperty("EmbeddedInnerError",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IInnerErrorInternal)this).EmbeddedInnerError, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IInnerErrorInternal)this).AdditionalInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IInnerErrorAdditionalInfo) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IInnerErrorInternal)this).AdditionalInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.InnerErrorAdditionalInfoTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IInnerErrorInternal)this).AdditionalInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IInnerErrorAdditionalInfo) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IInnerErrorInternal)this).AdditionalInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.InnerErrorAdditionalInfoTypeConverter.ConvertFrom); } if (content.Contains("Code")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IInnerErrorInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IInnerErrorInternal)this).Code, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IInnerErrorInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IInnerErrorInternal)this).Code, global::System.Convert.ToString); } if (content.Contains("EmbeddedInnerError")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IInnerErrorInternal)this).EmbeddedInnerError = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IInnerError) content.GetValueForProperty("EmbeddedInnerError",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IInnerErrorInternal)this).EmbeddedInnerError, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.InnerErrorTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IInnerErrorInternal)this).EmbeddedInnerError = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IInnerError) content.GetValueForProperty("EmbeddedInnerError",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IInnerErrorInternal)this).EmbeddedInnerError, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.InnerErrorTypeConverter.ConvertFrom); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/InnerError.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/InnerError.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/InnerError.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/InnerError.TypeConverter.cs index 9e19838a2691..f8354c82345d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/InnerError.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IInnerError ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IInnerError ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IInnerError).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IInnerError).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/InnerError.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/InnerError.cs similarity index 84% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/InnerError.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/InnerError.cs index 09262d136c36..545773646017 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/InnerError.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Inner Error public partial class InnerError : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IInnerError, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IInnerErrorInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IInnerError, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IInnerErrorInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IInnerErrorAdditionalInfo _additionalInfo; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IInnerErrorAdditionalInfo AdditionalInfo { get => (this._additionalInfo = this._additionalInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.InnerErrorAdditionalInfo()); set => this._additionalInfo = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IInnerErrorAdditionalInfo AdditionalInfo { get => (this._additionalInfo = this._additionalInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IInnerError _embeddedInnerError; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IInnerError EmbeddedInnerError { get => (this._embeddedInnerError = this._embeddedInnerError ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.InnerError()); set => this._embeddedInnerError = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IInnerError EmbeddedInnerError { get => (this._embeddedInnerError = this._embeddedInnerError ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IInnerErrorAdditionalInfo) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IInnerErrorAdditionalInfo AdditionalInfo { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IInnerErrorAdditionalInfo) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IInnerError) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IInnerError EmbeddedInnerError { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IInnerError) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IInnerErrorAdditionalInfo AdditionalInfo { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IInnerError EmbeddedInnerError { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IInnerError EmbeddedInnerError { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/InnerError.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/InnerError.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/InnerError.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/InnerError.json.cs index 2b4a3ecf6c8a..873c1db21fd3 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/InnerError.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IInnerError. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IInnerError. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IInnerError. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IInnerError. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IInnerError FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.InnerErrorAdditionalInfo.FromJson(__jsonAdditionalInfo) : AdditionalInfo;} + {_additionalInfo = If( json?.PropertyT("additionalInfo"), out var __jsonAdditionalInfo) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.InnerError.FromJson(__jsonEmbeddedInnerError) : EmbeddedInnerError;} + {_embeddedInnerError = If( json?.PropertyT("embeddedInnerError"), out var __jsonEmbeddedInnerError) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.InnerError.FromJson(__jsonEmbeddedInnerError) : EmbeddedInnerError;} AfterFromJson(json); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/InnerErrorAdditionalInfo.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/InnerErrorAdditionalInfo.PowerShell.cs similarity index 92% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/InnerErrorAdditionalInfo.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/InnerErrorAdditionalInfo.PowerShell.cs index c2669908bd99..8391086cfb02 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/InnerErrorAdditionalInfo.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IInnerErrorAdditionalInfo DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IInnerErrorAdditionalInfo DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IInnerErrorAdditionalInfo DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new InnerErrorAdditionalInfo(content); } @@ -89,10 +89,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IInnerErrorAdditionalInfo FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/InnerErrorAdditionalInfo.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/InnerErrorAdditionalInfo.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/InnerErrorAdditionalInfo.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/InnerErrorAdditionalInfo.TypeConverter.cs index 961069a65dd5..b34f7cbf9cb6 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/InnerErrorAdditionalInfo.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IInnerErrorAdditionalInfo ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IInnerErrorAdditionalInfo ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IInnerErrorAdditionalInfo).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IInnerErrorAdditionalInfo).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/InnerErrorAdditionalInfo.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/InnerErrorAdditionalInfo.cs similarity index 93% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/InnerErrorAdditionalInfo.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/InnerErrorAdditionalInfo.cs index 04ced35c843a..31cd48b0486e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/InnerErrorAdditionalInfo.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -11,8 +11,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201 /// 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.Api20231201.IInnerErrorAdditionalInfo, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IInnerErrorAdditionalInfoInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IInnerErrorAdditionalInfo, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IInnerErrorAdditionalInfoInternal { /// Creates an new instance. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/InnerErrorAdditionalInfo.dictionary.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/InnerErrorAdditionalInfo.dictionary.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/InnerErrorAdditionalInfo.dictionary.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/InnerErrorAdditionalInfo.dictionary.cs index ed79aabd1434..2ce0e96aed16 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/InnerErrorAdditionalInfo.dictionary.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.InnerErrorAdditionalInfo source) => source.__additionalProperties; + public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.InnerErrorAdditionalInfo source) => source.__additionalProperties; } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/InnerErrorAdditionalInfo.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/InnerErrorAdditionalInfo.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/InnerErrorAdditionalInfo.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/InnerErrorAdditionalInfo.json.cs index fa47d92370b0..a1323cff314a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/InnerErrorAdditionalInfo.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IInnerErrorAdditionalInfo. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IInnerErrorAdditionalInfo. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IInnerErrorAdditionalInfo. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IInnerErrorAdditionalInfo. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IInnerErrorAdditionalInfo FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/ItemLevelRestoreCriteria.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ItemLevelRestoreCriteria.PowerShell.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ItemLevelRestoreCriteria.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ItemLevelRestoreCriteria.PowerShell.cs index e20bf202824e..431e40922ce2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ItemLevelRestoreCriteria.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IItemLevelRestoreCriteria DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IItemLevelRestoreCriteria DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteria DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ItemLevelRestoreCriteria(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteria FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ItemLevelRestoreCriteria.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ItemLevelRestoreCriteria.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ItemLevelRestoreCriteria.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ItemLevelRestoreCriteria.TypeConverter.cs index 932a86c1251e..fed855c583d6 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ItemLevelRestoreCriteria.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IItemLevelRestoreCriteria ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteria ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteria).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteria).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ItemLevelRestoreCriteria.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ItemLevelRestoreCriteria.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ItemLevelRestoreCriteria.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ItemLevelRestoreCriteria.cs index 9adaf227a1e5..178254bb32b3 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ItemLevelRestoreCriteria.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IItemLevelRestoreCriteria, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteriaInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteria, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteriaInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ItemLevelRestoreCriteria.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ItemLevelRestoreCriteria.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ItemLevelRestoreCriteria.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ItemLevelRestoreCriteria.json.cs index 20333833287c..a2b001b6ae62 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ItemLevelRestoreCriteria.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IItemLevelRestoreCriteria. - /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteria interface is + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteria. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IItemLevelRestoreCriteria. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteria. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteria FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteria 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/Api20231201/ItemLevelRestoreTargetInfo.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ItemLevelRestoreTargetInfo.PowerShell.cs similarity index 77% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ItemLevelRestoreTargetInfo.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ItemLevelRestoreTargetInfo.PowerShell.cs index 07bd4a2c85e8..b5418b93ed86 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ItemLevelRestoreTargetInfo.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IItemLevelRestoreTargetInfo DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IItemLevelRestoreTargetInfo DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreTargetInfo DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ItemLevelRestoreTargetInfo(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreTargetInfo FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IItemLevelRestoreTargetInfoInternal)this).RestoreCriterion = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteria[]) content.GetValueForProperty("RestoreCriterion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreTargetInfoInternal)this).RestoreCriterion, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ItemLevelRestoreCriteriaTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreTargetInfoInternal)this).RestoreCriterion = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteria[]) content.GetValueForProperty("RestoreCriterion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreTargetInfoInternal)this).RestoreCriterion, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ItemLevelRestoreCriteriaTypeConverter.ConvertFrom)); } if (content.Contains("DatasourceInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreTargetInfoInternal)this).DatasourceInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasource) content.GetValueForProperty("DatasourceInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreTargetInfoInternal)this).DatasourceInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DatasourceTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreTargetInfoInternal)this).DatasourceInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasource) content.GetValueForProperty("DatasourceInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreTargetInfoInternal)this).DatasourceInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DatasourceTypeConverter.ConvertFrom); } if (content.Contains("DatasourceSetInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreTargetInfoInternal)this).DatasourceSetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSet) content.GetValueForProperty("DatasourceSetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreTargetInfoInternal)this).DatasourceSetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DatasourceSetTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreTargetInfoInternal)this).DatasourceSetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSet) content.GetValueForProperty("DatasourceSetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreTargetInfoInternal)this).DatasourceSetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DatasourceSetTypeConverter.ConvertFrom); } if (content.Contains("DatasourceAuthCredentials")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreTargetInfoInternal)this).DatasourceAuthCredentials = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAuthCredentials) content.GetValueForProperty("DatasourceAuthCredentials",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreTargetInfoInternal)this).DatasourceAuthCredentials, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AuthCredentialsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreTargetInfoInternal)this).DatasourceAuthCredentials = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAuthCredentials) content.GetValueForProperty("DatasourceAuthCredentials",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreTargetInfoInternal)this).DatasourceAuthCredentials, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AuthCredentialsTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("RecoveryOption")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)this).RecoveryOption = (string) content.GetValueForProperty("RecoveryOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)this).RecoveryOption, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)this).RecoveryOption = (string) content.GetValueForProperty("RecoveryOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)this).RecoveryOption, global::System.Convert.ToString); } if (content.Contains("RestoreLocation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)this).RestoreLocation = (string) content.GetValueForProperty("RestoreLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)this).RestoreLocation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)this).RestoreLocation = (string) content.GetValueForProperty("RestoreLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IItemLevelRestoreTargetInfoInternal)this).RestoreCriterion = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteria[]) content.GetValueForProperty("RestoreCriterion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreTargetInfoInternal)this).RestoreCriterion, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ItemLevelRestoreCriteriaTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreTargetInfoInternal)this).RestoreCriterion = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteria[]) content.GetValueForProperty("RestoreCriterion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreTargetInfoInternal)this).RestoreCriterion, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ItemLevelRestoreCriteriaTypeConverter.ConvertFrom)); } if (content.Contains("DatasourceInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreTargetInfoInternal)this).DatasourceInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasource) content.GetValueForProperty("DatasourceInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreTargetInfoInternal)this).DatasourceInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DatasourceTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreTargetInfoInternal)this).DatasourceInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasource) content.GetValueForProperty("DatasourceInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreTargetInfoInternal)this).DatasourceInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DatasourceTypeConverter.ConvertFrom); } if (content.Contains("DatasourceSetInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreTargetInfoInternal)this).DatasourceSetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSet) content.GetValueForProperty("DatasourceSetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreTargetInfoInternal)this).DatasourceSetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DatasourceSetTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreTargetInfoInternal)this).DatasourceSetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSet) content.GetValueForProperty("DatasourceSetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreTargetInfoInternal)this).DatasourceSetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DatasourceSetTypeConverter.ConvertFrom); } if (content.Contains("DatasourceAuthCredentials")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreTargetInfoInternal)this).DatasourceAuthCredentials = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAuthCredentials) content.GetValueForProperty("DatasourceAuthCredentials",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreTargetInfoInternal)this).DatasourceAuthCredentials, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AuthCredentialsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreTargetInfoInternal)this).DatasourceAuthCredentials = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAuthCredentials) content.GetValueForProperty("DatasourceAuthCredentials",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreTargetInfoInternal)this).DatasourceAuthCredentials, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AuthCredentialsTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("RecoveryOption")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)this).RecoveryOption = (string) content.GetValueForProperty("RecoveryOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)this).RecoveryOption, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)this).RecoveryOption = (string) content.GetValueForProperty("RecoveryOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)this).RecoveryOption, global::System.Convert.ToString); } if (content.Contains("RestoreLocation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)this).RestoreLocation = (string) content.GetValueForProperty("RestoreLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)this).RestoreLocation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)this).RestoreLocation = (string) content.GetValueForProperty("RestoreLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)this).RestoreLocation, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ItemLevelRestoreTargetInfo.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ItemLevelRestoreTargetInfo.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ItemLevelRestoreTargetInfo.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ItemLevelRestoreTargetInfo.TypeConverter.cs index a12f0f73900c..b59510ae4261 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ItemLevelRestoreTargetInfo.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IItemLevelRestoreTargetInfo ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreTargetInfo ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreTargetInfo).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreTargetInfo).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ItemLevelRestoreTargetInfo.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ItemLevelRestoreTargetInfo.cs similarity index 78% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ItemLevelRestoreTargetInfo.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ItemLevelRestoreTargetInfo.cs index 9db56909a9c0..637965311451 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ItemLevelRestoreTargetInfo.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IItemLevelRestoreTargetInfo, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreTargetInfoInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreTargetInfo, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreTargetInfoInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBase __restoreTargetInfoBase = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RestoreTargetInfoBase(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBase __restoreTargetInfoBase = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestoreTargetInfoBase(); /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAuthCredentials _datasourceAuthCredentials; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAuthCredentials DatasourceAuthCredentials { get => (this._datasourceAuthCredentials = this._datasourceAuthCredentials ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AuthCredentials()); set => this._datasourceAuthCredentials = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAuthCredentials DatasourceAuthCredentials { get => (this._datasourceAuthCredentials = this._datasourceAuthCredentials ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AuthCredentials()); set => this._datasourceAuthCredentials = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasource _datasourceInfo; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDatasource DatasourceInfo { get => (this._datasourceInfo = this._datasourceInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.Datasource()); set => this._datasourceInfo = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasource DatasourceInfo { get => (this._datasourceInfo = this._datasourceInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.Datasource()); set => this._datasourceInfo = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSet _datasourceSetInfo; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDatasourceSet DatasourceSetInfo { get => (this._datasourceSetInfo = this._datasourceSetInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DatasourceSet()); set => this._datasourceSetInfo = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSet DatasourceSetInfo { get => (this._datasourceSetInfo = this._datasourceSetInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DatasourceSet()); set => this._datasourceSetInfo = value; } /// Internal Acessors for RecoveryOption - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal.RecoveryOption { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RecoveryOption; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RecoveryOption = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal.RecoveryOption { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RecoveryOption; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RecoveryOption; } + public string RecoveryOption { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RecoveryOption; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteria[] _restoreCriterion; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteria[] _restoreCriterion; /// Restore Criteria [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteria[] RestoreCriterion { get => this._restoreCriterion; set => this._restoreCriterion = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RestoreLocation; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RestoreLocation = value ?? null; } + public string RestoreLocation { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RestoreLocation; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRestoreTargetInfoBase + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAuthCredentials) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAuthCredentials DatasourceAuthCredentials { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAuthCredentials) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDatasource) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasource DatasourceInfo { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasource) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDatasourceSet) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSet DatasourceSetInfo { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSet) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IItemLevelRestoreCriteria) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteria[] RestoreCriterion { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteria) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteria[] RestoreCriterion { get; set; } } /// Restore target info for Item level restore operation internal partial interface IItemLevelRestoreTargetInfoInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal { /// Credentials to use to authenticate with data source provider. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAuthCredentials DatasourceAuthCredentials { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAuthCredentials DatasourceAuthCredentials { get; set; } /// Information of target DS - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasource DatasourceInfo { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasource DatasourceInfo { get; set; } /// Information of target DS Set - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSet DatasourceSetInfo { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSet DatasourceSetInfo { get; set; } /// Restore Criteria - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteria[] RestoreCriterion { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteria[] RestoreCriterion { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ItemLevelRestoreTargetInfo.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ItemLevelRestoreTargetInfo.json.cs similarity index 93% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ItemLevelRestoreTargetInfo.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ItemLevelRestoreTargetInfo.json.cs index 060ea2dd9147..d02d25fdc32b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ItemLevelRestoreTargetInfo.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IItemLevelRestoreTargetInfo. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreTargetInfo. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreTargetInfo. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreTargetInfo. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreTargetInfo FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.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.Api20231201.IItemLevelRestoreCriteria) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ItemLevelRestoreCriteria.FromJson(__u) )) ))() : null : RestoreCriterion;} - {_datasourceInfo = If( json?.PropertyT("datasourceInfo"), out var __jsonDatasourceInfo) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.Datasource.FromJson(__jsonDatasourceInfo) : DatasourceInfo;} - {_datasourceSetInfo = If( json?.PropertyT("datasourceSetInfo"), out var __jsonDatasourceSetInfo) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DatasourceSet.FromJson(__jsonDatasourceSetInfo) : DatasourceSetInfo;} - {_datasourceAuthCredentials = If( json?.PropertyT("datasourceAuthCredentials"), out var __jsonDatasourceAuthCredentials) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AuthCredentials.FromJson(__jsonDatasourceAuthCredentials) : DatasourceAuthCredentials;} + __restoreTargetInfoBase = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20240401.IItemLevelRestoreCriteria) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ItemLevelRestoreCriteria.FromJson(__u) )) ))() : null : RestoreCriterion;} + {_datasourceInfo = If( json?.PropertyT("datasourceInfo"), out var __jsonDatasourceInfo) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.Datasource.FromJson(__jsonDatasourceInfo) : DatasourceInfo;} + {_datasourceSetInfo = If( json?.PropertyT("datasourceSetInfo"), out var __jsonDatasourceSetInfo) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DatasourceSet.FromJson(__jsonDatasourceSetInfo) : DatasourceSetInfo;} + {_datasourceAuthCredentials = If( json?.PropertyT("datasourceAuthCredentials"), out var __jsonDatasourceAuthCredentials) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AuthCredentials.FromJson(__jsonDatasourceAuthCredentials) : DatasourceAuthCredentials;} AfterFromJson(json); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ItemPathBasedRestoreCriteria.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ItemPathBasedRestoreCriteria.PowerShell.cs similarity index 84% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ItemPathBasedRestoreCriteria.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ItemPathBasedRestoreCriteria.PowerShell.cs index 4d6bc1133e2d..f93b529a3273 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ItemPathBasedRestoreCriteria.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IItemPathBasedRestoreCriteria DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IItemPathBasedRestoreCriteria DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemPathBasedRestoreCriteria DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ItemPathBasedRestoreCriteria(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemPathBasedRestoreCriteria FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IItemPathBasedRestoreCriteriaInternal)this).ItemPath = (string) content.GetValueForProperty("ItemPath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemPathBasedRestoreCriteriaInternal)this).ItemPath, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemPathBasedRestoreCriteriaInternal)this).ItemPath = (string) content.GetValueForProperty("ItemPath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemPathBasedRestoreCriteriaInternal)this).ItemPath, global::System.Convert.ToString); } if (content.Contains("IsPathRelativeToBackupItem")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemPathBasedRestoreCriteriaInternal)this).IsPathRelativeToBackupItem = (bool) content.GetValueForProperty("IsPathRelativeToBackupItem",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemPathBasedRestoreCriteriaInternal)this).IsPathRelativeToBackupItem, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemPathBasedRestoreCriteriaInternal)this).IsPathRelativeToBackupItem = (bool) content.GetValueForProperty("IsPathRelativeToBackupItem",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemPathBasedRestoreCriteriaInternal)this).IsPathRelativeToBackupItem, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("SubItemPathPrefix")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemPathBasedRestoreCriteriaInternal)this).SubItemPathPrefix = (string[]) content.GetValueForProperty("SubItemPathPrefix",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemPathBasedRestoreCriteriaInternal)this).SubItemPathPrefix, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemPathBasedRestoreCriteriaInternal)this).SubItemPathPrefix = (string[]) content.GetValueForProperty("SubItemPathPrefix",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemPathBasedRestoreCriteriaInternal)this).SubItemPathPrefix, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IItemPathBasedRestoreCriteriaInternal)this).ItemPath = (string) content.GetValueForProperty("ItemPath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemPathBasedRestoreCriteriaInternal)this).ItemPath, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemPathBasedRestoreCriteriaInternal)this).ItemPath = (string) content.GetValueForProperty("ItemPath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemPathBasedRestoreCriteriaInternal)this).ItemPath, global::System.Convert.ToString); } if (content.Contains("IsPathRelativeToBackupItem")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemPathBasedRestoreCriteriaInternal)this).IsPathRelativeToBackupItem = (bool) content.GetValueForProperty("IsPathRelativeToBackupItem",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemPathBasedRestoreCriteriaInternal)this).IsPathRelativeToBackupItem, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemPathBasedRestoreCriteriaInternal)this).IsPathRelativeToBackupItem = (bool) content.GetValueForProperty("IsPathRelativeToBackupItem",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemPathBasedRestoreCriteriaInternal)this).IsPathRelativeToBackupItem, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("SubItemPathPrefix")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemPathBasedRestoreCriteriaInternal)this).SubItemPathPrefix = (string[]) content.GetValueForProperty("SubItemPathPrefix",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemPathBasedRestoreCriteriaInternal)this).SubItemPathPrefix, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemPathBasedRestoreCriteriaInternal)this).SubItemPathPrefix = (string[]) content.GetValueForProperty("SubItemPathPrefix",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemPathBasedRestoreCriteriaInternal)this).SubItemPathPrefix, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ItemPathBasedRestoreCriteria.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ItemPathBasedRestoreCriteria.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ItemPathBasedRestoreCriteria.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ItemPathBasedRestoreCriteria.TypeConverter.cs index c96030d5967a..6ab9cfaec86c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ItemPathBasedRestoreCriteria.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IItemPathBasedRestoreCriteria ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemPathBasedRestoreCriteria ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemPathBasedRestoreCriteria).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemPathBasedRestoreCriteria).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ItemPathBasedRestoreCriteria.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ItemPathBasedRestoreCriteria.cs similarity index 93% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ItemPathBasedRestoreCriteria.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ItemPathBasedRestoreCriteria.cs index 7b1e1f01b66b..9f7f5a7ecf0b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ItemPathBasedRestoreCriteria.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IItemPathBasedRestoreCriteria, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemPathBasedRestoreCriteriaInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemPathBasedRestoreCriteria, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemPathBasedRestoreCriteriaInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteria __itemLevelRestoreCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ItemLevelRestoreCriteria(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteria __itemLevelRestoreCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IItemLevelRestoreCriteriaInternal)__itemLevelRestoreCriteria).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteriaInternal)__itemLevelRestoreCriteria).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteriaInternal)__itemLevelRestoreCriteria).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IItemLevelRestoreCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IItemLevelRestoreCriteriaInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/ItemPathBasedRestoreCriteria.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ItemPathBasedRestoreCriteria.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ItemPathBasedRestoreCriteria.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ItemPathBasedRestoreCriteria.json.cs index d302ffa47da2..1af790a6b71a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ItemPathBasedRestoreCriteria.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IItemPathBasedRestoreCriteria. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemPathBasedRestoreCriteria. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemPathBasedRestoreCriteria. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemPathBasedRestoreCriteria. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemPathBasedRestoreCriteria FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ItemLevelRestoreCriteria(json); + __itemLevelRestoreCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/JobExtendedInfo.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/JobExtendedInfo.PowerShell.cs similarity index 75% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/JobExtendedInfo.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/JobExtendedInfo.PowerShell.cs index 0cedba13c20e..420461088198 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/JobExtendedInfo.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IJobExtendedInfo DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IJobExtendedInfo DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfo DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new JobExtendedInfo(content); } @@ -85,10 +85,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfo FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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,57 +103,57 @@ internal JobExtendedInfo(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("SourceRecoverPoint")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)this).SourceRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("SourceRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)this).SourceRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)this).SourceRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("SourceRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)this).SourceRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); } if (content.Contains("TargetRecoverPoint")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)this).TargetRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("TargetRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)this).TargetRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)this).TargetRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("TargetRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)this).TargetRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); } if (content.Contains("AdditionalDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)this).AdditionalDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoAdditionalDetails) content.GetValueForProperty("AdditionalDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)this).AdditionalDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.JobExtendedInfoAdditionalDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)this).AdditionalDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoAdditionalDetails) content.GetValueForProperty("AdditionalDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)this).AdditionalDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.JobExtendedInfoAdditionalDetailsTypeConverter.ConvertFrom); } if (content.Contains("BackupInstanceState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)this).BackupInstanceState = (string) content.GetValueForProperty("BackupInstanceState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)this).BackupInstanceState, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)this).BackupInstanceState = (string) content.GetValueForProperty("BackupInstanceState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)this).BackupInstanceState, global::System.Convert.ToString); } if (content.Contains("DataTransferredInByte")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)this).DataTransferredInByte = (double?) content.GetValueForProperty("DataTransferredInByte",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)this).DataTransferredInByte, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)this).DataTransferredInByte = (double?) content.GetValueForProperty("DataTransferredInByte",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)this).DataTransferredInByte, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); } if (content.Contains("RecoveryDestination")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)this).RecoveryDestination = (string) content.GetValueForProperty("RecoveryDestination",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)this).RecoveryDestination, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)this).RecoveryDestination = (string) content.GetValueForProperty("RecoveryDestination",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)this).RecoveryDestination, global::System.Convert.ToString); } if (content.Contains("SubTask")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)this).SubTask = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTask[]) content.GetValueForProperty("SubTask",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)this).SubTask, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.JobSubTaskTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)this).SubTask = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTask[]) content.GetValueForProperty("SubTask",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)this).SubTask, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.JobSubTaskTypeConverter.ConvertFrom)); } if (content.Contains("WarningDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)this).WarningDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingWarningDetail[]) content.GetValueForProperty("WarningDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)this).WarningDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.UserFacingWarningDetailTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)this).WarningDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingWarningDetail[]) content.GetValueForProperty("WarningDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)this).WarningDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.UserFacingWarningDetailTypeConverter.ConvertFrom)); } if (content.Contains("SourceRecoverPointRecoveryPointId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)this).SourceRecoverPointRecoveryPointId = (string) content.GetValueForProperty("SourceRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)this).SourceRecoverPointRecoveryPointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)this).SourceRecoverPointRecoveryPointId = (string) content.GetValueForProperty("SourceRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)this).SourceRecoverPointRecoveryPointId, global::System.Convert.ToString); } if (content.Contains("SourceRecoverPointRecoveryPointTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)this).SourceRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("SourceRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IJobExtendedInfoInternal)this).SourceRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("SourceRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IJobExtendedInfoInternal)this).TargetRecoverPointRecoveryPointId = (string) content.GetValueForProperty("TargetRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)this).TargetRecoverPointRecoveryPointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)this).TargetRecoverPointRecoveryPointId = (string) content.GetValueForProperty("TargetRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)this).TargetRecoverPointRecoveryPointId, global::System.Convert.ToString); } if (content.Contains("TargetRecoverPointRecoveryPointTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)this).TargetRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("TargetRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IJobExtendedInfoInternal)this).TargetRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("TargetRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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. @@ -168,51 +168,51 @@ internal JobExtendedInfo(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("SourceRecoverPoint")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)this).SourceRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("SourceRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)this).SourceRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)this).SourceRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("SourceRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)this).SourceRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); } if (content.Contains("TargetRecoverPoint")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)this).TargetRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("TargetRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)this).TargetRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)this).TargetRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("TargetRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)this).TargetRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); } if (content.Contains("AdditionalDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)this).AdditionalDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoAdditionalDetails) content.GetValueForProperty("AdditionalDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)this).AdditionalDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.JobExtendedInfoAdditionalDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)this).AdditionalDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoAdditionalDetails) content.GetValueForProperty("AdditionalDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)this).AdditionalDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.JobExtendedInfoAdditionalDetailsTypeConverter.ConvertFrom); } if (content.Contains("BackupInstanceState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)this).BackupInstanceState = (string) content.GetValueForProperty("BackupInstanceState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)this).BackupInstanceState, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)this).BackupInstanceState = (string) content.GetValueForProperty("BackupInstanceState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)this).BackupInstanceState, global::System.Convert.ToString); } if (content.Contains("DataTransferredInByte")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)this).DataTransferredInByte = (double?) content.GetValueForProperty("DataTransferredInByte",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)this).DataTransferredInByte, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)this).DataTransferredInByte = (double?) content.GetValueForProperty("DataTransferredInByte",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)this).DataTransferredInByte, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); } if (content.Contains("RecoveryDestination")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)this).RecoveryDestination = (string) content.GetValueForProperty("RecoveryDestination",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)this).RecoveryDestination, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)this).RecoveryDestination = (string) content.GetValueForProperty("RecoveryDestination",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)this).RecoveryDestination, global::System.Convert.ToString); } if (content.Contains("SubTask")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)this).SubTask = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTask[]) content.GetValueForProperty("SubTask",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)this).SubTask, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.JobSubTaskTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)this).SubTask = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTask[]) content.GetValueForProperty("SubTask",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)this).SubTask, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.JobSubTaskTypeConverter.ConvertFrom)); } if (content.Contains("WarningDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)this).WarningDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingWarningDetail[]) content.GetValueForProperty("WarningDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)this).WarningDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.UserFacingWarningDetailTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)this).WarningDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingWarningDetail[]) content.GetValueForProperty("WarningDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)this).WarningDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.UserFacingWarningDetailTypeConverter.ConvertFrom)); } if (content.Contains("SourceRecoverPointRecoveryPointId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)this).SourceRecoverPointRecoveryPointId = (string) content.GetValueForProperty("SourceRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)this).SourceRecoverPointRecoveryPointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)this).SourceRecoverPointRecoveryPointId = (string) content.GetValueForProperty("SourceRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)this).SourceRecoverPointRecoveryPointId, global::System.Convert.ToString); } if (content.Contains("SourceRecoverPointRecoveryPointTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)this).SourceRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("SourceRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IJobExtendedInfoInternal)this).SourceRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("SourceRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IJobExtendedInfoInternal)this).TargetRecoverPointRecoveryPointId = (string) content.GetValueForProperty("TargetRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)this).TargetRecoverPointRecoveryPointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)this).TargetRecoverPointRecoveryPointId = (string) content.GetValueForProperty("TargetRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal)this).TargetRecoverPointRecoveryPointId, global::System.Convert.ToString); } if (content.Contains("TargetRecoverPointRecoveryPointTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal)this).TargetRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("TargetRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IJobExtendedInfoInternal)this).TargetRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("TargetRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/JobExtendedInfo.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/JobExtendedInfo.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/JobExtendedInfo.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/JobExtendedInfo.TypeConverter.cs index a9899534955a..b9bb0cdf4e65 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/JobExtendedInfo.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IJobExtendedInfo ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfo ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfo).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfo).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/JobExtendedInfo.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/JobExtendedInfo.cs similarity index 82% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/JobExtendedInfo.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/JobExtendedInfo.cs index abb35f748740..80a07ceda036 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/JobExtendedInfo.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Extended Information about the job public partial class JobExtendedInfo : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfo, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfo, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoAdditionalDetails _additionalDetail; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IJobExtendedInfoAdditionalDetails AdditionalDetail { get => (this._additionalDetail = this._additionalDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.JobExtendedInfoAdditionalDetails()); set => this._additionalDetail = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoAdditionalDetails AdditionalDetail { get => (this._additionalDetail = this._additionalDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.JobExtendedInfoAdditionalDetails()); set => this._additionalDetail = value; } /// Backing field for property. private string _backupInstanceState; @@ -35,25 +35,25 @@ public partial class JobExtendedInfo : public double? DataTransferredInByte { get => this._dataTransferredInByte; } /// Internal Acessors for BackupInstanceState - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal.BackupInstanceState { get => this._backupInstanceState; set { {_backupInstanceState = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal.BackupInstanceState { get => this._backupInstanceState; set { {_backupInstanceState = value;} } } /// Internal Acessors for DataTransferredInByte - double? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal.DataTransferredInByte { get => this._dataTransferredInByte; set { {_dataTransferredInByte = value;} } } + double? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal.DataTransferredInByte { get => this._dataTransferredInByte; set { {_dataTransferredInByte = value;} } } /// Internal Acessors for RecoveryDestination - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal.RecoveryDestination { get => this._recoveryDestination; set { {_recoveryDestination = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal.RecoveryDestination { get => this._recoveryDestination; set { {_recoveryDestination = value;} } } /// Internal Acessors for SourceRecoverPoint - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreJobRecoveryPointDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal.SourceRecoverPoint { get => (this._sourceRecoverPoint = this._sourceRecoverPoint ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RestoreJobRecoveryPointDetails()); set { {_sourceRecoverPoint = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreJobRecoveryPointDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal.SourceRecoverPoint { get => (this._sourceRecoverPoint = this._sourceRecoverPoint ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestoreJobRecoveryPointDetails()); set { {_sourceRecoverPoint = value;} } } /// Internal Acessors for SubTask - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTask[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal.SubTask { get => this._subTask; set { {_subTask = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTask[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal.SubTask { get => this._subTask; set { {_subTask = value;} } } /// Internal Acessors for TargetRecoverPoint - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreJobRecoveryPointDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal.TargetRecoverPoint { get => (this._targetRecoverPoint = this._targetRecoverPoint ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RestoreJobRecoveryPointDetails()); set { {_targetRecoverPoint = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreJobRecoveryPointDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal.TargetRecoverPoint { get => (this._targetRecoverPoint = this._targetRecoverPoint ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestoreJobRecoveryPointDetails()); set { {_targetRecoverPoint = value;} } } /// Internal Acessors for WarningDetail - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingWarningDetail[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoInternal.WarningDetail { get => this._warningDetail; set { {_warningDetail = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingWarningDetail[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoInternal.WarningDetail { get => this._warningDetail; set { {_warningDetail = value;} } } /// Backing field for property. private string _recoveryDestination; @@ -63,44 +63,44 @@ public partial class JobExtendedInfo : public string RecoveryDestination { get => this._recoveryDestination; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreJobRecoveryPointDetails _sourceRecoverPoint; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRestoreJobRecoveryPointDetails SourceRecoverPoint { get => (this._sourceRecoverPoint = this._sourceRecoverPoint ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RestoreJobRecoveryPointDetails()); } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreJobRecoveryPointDetails SourceRecoverPoint { get => (this._sourceRecoverPoint = this._sourceRecoverPoint ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestoreJobRecoveryPointDetails()); } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string SourceRecoverPointRecoveryPointId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreJobRecoveryPointDetailsInternal)SourceRecoverPoint).RecoveryPointId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreJobRecoveryPointDetailsInternal)SourceRecoverPoint).RecoveryPointId = value ?? null; } + public string SourceRecoverPointRecoveryPointId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreJobRecoveryPointDetailsInternal)SourceRecoverPoint).RecoveryPointId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRestoreJobRecoveryPointDetailsInternal)SourceRecoverPoint).RecoveryPointTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreJobRecoveryPointDetailsInternal)SourceRecoverPoint).RecoveryPointTime = value ?? default(global::System.DateTime); } + public global::System.DateTime? SourceRecoverPointRecoveryPointTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreJobRecoveryPointDetailsInternal)SourceRecoverPoint).RecoveryPointTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreJobRecoveryPointDetailsInternal)SourceRecoverPoint).RecoveryPointTime = value ?? default(global::System.DateTime); } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTask[] _subTask; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IJobSubTask[] SubTask { get => this._subTask; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTask[] SubTask { get => this._subTask; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreJobRecoveryPointDetails _targetRecoverPoint; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRestoreJobRecoveryPointDetails TargetRecoverPoint { get => (this._targetRecoverPoint = this._targetRecoverPoint ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RestoreJobRecoveryPointDetails()); } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreJobRecoveryPointDetails TargetRecoverPoint { get => (this._targetRecoverPoint = this._targetRecoverPoint ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestoreJobRecoveryPointDetails()); } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string TargetRecoverPointRecoveryPointId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreJobRecoveryPointDetailsInternal)TargetRecoverPoint).RecoveryPointId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreJobRecoveryPointDetailsInternal)TargetRecoverPoint).RecoveryPointId = value ?? null; } + public string TargetRecoverPointRecoveryPointId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreJobRecoveryPointDetailsInternal)TargetRecoverPoint).RecoveryPointId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRestoreJobRecoveryPointDetailsInternal)TargetRecoverPoint).RecoveryPointTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreJobRecoveryPointDetailsInternal)TargetRecoverPoint).RecoveryPointTime = value ?? default(global::System.DateTime); } + public global::System.DateTime? TargetRecoverPointRecoveryPointTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreJobRecoveryPointDetailsInternal)TargetRecoverPoint).RecoveryPointTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreJobRecoveryPointDetailsInternal)TargetRecoverPoint).RecoveryPointTime = value ?? default(global::System.DateTime); } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingWarningDetail[] _warningDetail; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IUserFacingWarningDetail[] WarningDetail { get => this._warningDetail; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingWarningDetail[] WarningDetail { get => this._warningDetail; } /// Creates an new instance. public JobExtendedInfo() @@ -118,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.Api20231201.IJobExtendedInfoAdditionalDetails) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoAdditionalDetails AdditionalDetail { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoAdditionalDetails) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoAdditionalDetails AdditionalDetail { get; set; } /// State of the Backup Instance [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -166,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.Api20231201.IJobSubTask) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTask[] SubTask { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTask) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTask[] SubTask { get; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -190,8 +190,8 @@ public partial interface IJobExtendedInfo : ReadOnly = true, Description = @"A List, detailing the warnings related to the job", SerializedName = @"warningDetails", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingWarningDetail) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingWarningDetail[] WarningDetail { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingWarningDetail) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingWarningDetail[] WarningDetail { get; } } /// Extended Information about the job @@ -199,7 +199,7 @@ internal partial interface IJobExtendedInfoInternal { /// Job's Additional Details - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoAdditionalDetails AdditionalDetail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoAdditionalDetails AdditionalDetail { get; set; } /// State of the Backup Instance string BackupInstanceState { get; set; } /// Number of bytes transferred @@ -207,21 +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.Api20231201.IRestoreJobRecoveryPointDetails SourceRecoverPoint { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IJobSubTask[] SubTask { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTask[] SubTask { get; set; } /// Details of the Target Recovery Point - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreJobRecoveryPointDetails TargetRecoverPoint { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IUserFacingWarningDetail[] WarningDetail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingWarningDetail[] WarningDetail { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/JobExtendedInfo.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/JobExtendedInfo.json.cs similarity index 94% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/JobExtendedInfo.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/JobExtendedInfo.json.cs index a414084a92dd..cedf1344ff38 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/JobExtendedInfo.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IJobExtendedInfo. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfo. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfo. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfo. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfo FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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,14 +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.Api20231201.RestoreJobRecoveryPointDetails.FromJson(__jsonSourceRecoverPoint) : SourceRecoverPoint;} - {_targetRecoverPoint = If( json?.PropertyT("targetRecoverPoint"), out var __jsonTargetRecoverPoint) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RestoreJobRecoveryPointDetails.FromJson(__jsonTargetRecoverPoint) : TargetRecoverPoint;} - {_additionalDetail = If( json?.PropertyT("additionalDetails"), out var __jsonAdditionalDetails) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.JobExtendedInfoAdditionalDetails.FromJson(__jsonAdditionalDetails) : AdditionalDetail;} + {_sourceRecoverPoint = If( json?.PropertyT("sourceRecoverPoint"), out var __jsonSourceRecoverPoint) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestoreJobRecoveryPointDetails.FromJson(__jsonSourceRecoverPoint) : SourceRecoverPoint;} + {_targetRecoverPoint = If( json?.PropertyT("targetRecoverPoint"), out var __jsonTargetRecoverPoint) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestoreJobRecoveryPointDetails.FromJson(__jsonTargetRecoverPoint) : TargetRecoverPoint;} + {_additionalDetail = If( json?.PropertyT("additionalDetails"), out var __jsonAdditionalDetails) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IJobSubTask) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20231201.IUserFacingWarningDetail) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.UserFacingWarningDetail.FromJson(__p) )) ))() : null : WarningDetail;} + {_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.Api20240401.IJobSubTask) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20240401.IUserFacingWarningDetail) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.UserFacingWarningDetail.FromJson(__p) )) ))() : null : WarningDetail;} AfterFromJson(json); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/JobExtendedInfoAdditionalDetails.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/JobExtendedInfoAdditionalDetails.PowerShell.cs similarity index 92% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/JobExtendedInfoAdditionalDetails.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/JobExtendedInfoAdditionalDetails.PowerShell.cs index 248ccaabbe9c..62354f1ecfb7 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/JobExtendedInfoAdditionalDetails.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IJobExtendedInfoAdditionalDetails DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IJobExtendedInfoAdditionalDetails DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoAdditionalDetails DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new JobExtendedInfoAdditionalDetails(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoAdditionalDetails FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/JobExtendedInfoAdditionalDetails.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/JobExtendedInfoAdditionalDetails.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/JobExtendedInfoAdditionalDetails.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/JobExtendedInfoAdditionalDetails.TypeConverter.cs index eb9ad23a6767..df4b6da1c4d3 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/JobExtendedInfoAdditionalDetails.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IJobExtendedInfoAdditionalDetails ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoAdditionalDetails ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoAdditionalDetails).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoAdditionalDetails).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/JobExtendedInfoAdditionalDetails.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/JobExtendedInfoAdditionalDetails.cs similarity index 91% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/JobExtendedInfoAdditionalDetails.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/JobExtendedInfoAdditionalDetails.cs index 0089a9570f83..d2ab3024a5c5 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/JobExtendedInfoAdditionalDetails.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Job's Additional Details public partial class JobExtendedInfoAdditionalDetails : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoAdditionalDetails, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoAdditionalDetailsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoAdditionalDetails, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoAdditionalDetailsInternal { /// Creates an new instance. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/JobExtendedInfoAdditionalDetails.dictionary.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/JobExtendedInfoAdditionalDetails.dictionary.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/JobExtendedInfoAdditionalDetails.dictionary.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/JobExtendedInfoAdditionalDetails.dictionary.cs index 5cdb5509490d..4d8b37b2c5ba 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/JobExtendedInfoAdditionalDetails.dictionary.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.JobExtendedInfoAdditionalDetails source) => source.__additionalProperties; + public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.JobExtendedInfoAdditionalDetails source) => source.__additionalProperties; } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/JobExtendedInfoAdditionalDetails.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/JobExtendedInfoAdditionalDetails.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/JobExtendedInfoAdditionalDetails.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/JobExtendedInfoAdditionalDetails.json.cs index 9f4fbc41bdda..532cab708ae5 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/JobExtendedInfoAdditionalDetails.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IJobExtendedInfoAdditionalDetails. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoAdditionalDetails. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoAdditionalDetails. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobExtendedInfoAdditionalDetails. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobExtendedInfoAdditionalDetails FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/JobSubTask.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/JobSubTask.PowerShell.cs similarity index 82% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/JobSubTask.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/JobSubTask.PowerShell.cs index d2a3b959b1db..4396256fe40f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/JobSubTask.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IJobSubTask DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IJobSubTask DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTask DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new JobSubTask(content); } @@ -85,10 +85,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTask FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IJobSubTaskInternal)this).AdditionalDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTaskAdditionalDetails) content.GetValueForProperty("AdditionalDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTaskInternal)this).AdditionalDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.JobSubTaskAdditionalDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTaskInternal)this).AdditionalDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTaskAdditionalDetails) content.GetValueForProperty("AdditionalDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTaskInternal)this).AdditionalDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.JobSubTaskAdditionalDetailsTypeConverter.ConvertFrom); } if (content.Contains("TaskId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTaskInternal)this).TaskId = (int) content.GetValueForProperty("TaskId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTaskInternal)this).TaskId, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTaskInternal)this).TaskId = (int) content.GetValueForProperty("TaskId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTaskInternal)this).TaskId, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); } if (content.Contains("TaskName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTaskInternal)this).TaskName = (string) content.GetValueForProperty("TaskName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTaskInternal)this).TaskName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTaskInternal)this).TaskName = (string) content.GetValueForProperty("TaskName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTaskInternal)this).TaskName, global::System.Convert.ToString); } if (content.Contains("TaskProgress")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTaskInternal)this).TaskProgress = (string) content.GetValueForProperty("TaskProgress",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTaskInternal)this).TaskProgress, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTaskInternal)this).TaskProgress = (string) content.GetValueForProperty("TaskProgress",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTaskInternal)this).TaskProgress, global::System.Convert.ToString); } if (content.Contains("TaskStatus")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTaskInternal)this).TaskStatus = (string) content.GetValueForProperty("TaskStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTaskInternal)this).TaskStatus, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTaskInternal)this).TaskStatus = (string) content.GetValueForProperty("TaskStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IJobSubTaskInternal)this).AdditionalDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTaskAdditionalDetails) content.GetValueForProperty("AdditionalDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTaskInternal)this).AdditionalDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.JobSubTaskAdditionalDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTaskInternal)this).AdditionalDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTaskAdditionalDetails) content.GetValueForProperty("AdditionalDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTaskInternal)this).AdditionalDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.JobSubTaskAdditionalDetailsTypeConverter.ConvertFrom); } if (content.Contains("TaskId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTaskInternal)this).TaskId = (int) content.GetValueForProperty("TaskId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTaskInternal)this).TaskId, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTaskInternal)this).TaskId = (int) content.GetValueForProperty("TaskId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTaskInternal)this).TaskId, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); } if (content.Contains("TaskName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTaskInternal)this).TaskName = (string) content.GetValueForProperty("TaskName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTaskInternal)this).TaskName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTaskInternal)this).TaskName = (string) content.GetValueForProperty("TaskName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTaskInternal)this).TaskName, global::System.Convert.ToString); } if (content.Contains("TaskProgress")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTaskInternal)this).TaskProgress = (string) content.GetValueForProperty("TaskProgress",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTaskInternal)this).TaskProgress, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTaskInternal)this).TaskProgress = (string) content.GetValueForProperty("TaskProgress",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTaskInternal)this).TaskProgress, global::System.Convert.ToString); } if (content.Contains("TaskStatus")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTaskInternal)this).TaskStatus = (string) content.GetValueForProperty("TaskStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTaskInternal)this).TaskStatus, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTaskInternal)this).TaskStatus = (string) content.GetValueForProperty("TaskStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTaskInternal)this).TaskStatus, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/JobSubTask.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/JobSubTask.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/JobSubTask.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/JobSubTask.TypeConverter.cs index a310aecaf301..ef9b9370585e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/JobSubTask.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IJobSubTask ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTask ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTask).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTask).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/JobSubTask.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/JobSubTask.cs similarity index 91% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/JobSubTask.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/JobSubTask.cs index 56196cf60eb5..4e871ce0ca90 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/JobSubTask.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IJobSubTask, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTaskInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTask, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTaskInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTaskAdditionalDetails _additionalDetail; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IJobSubTaskAdditionalDetails AdditionalDetail { get => (this._additionalDetail = this._additionalDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.JobSubTaskAdditionalDetails()); set => this._additionalDetail = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTaskAdditionalDetails AdditionalDetail { get => (this._additionalDetail = this._additionalDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.JobSubTaskAdditionalDetails()); set => this._additionalDetail = value; } /// Internal Acessors for TaskProgress - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTaskInternal.TaskProgress { get => this._taskProgress; set { {_taskProgress = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IJobSubTaskAdditionalDetails) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTaskAdditionalDetails AdditionalDetail { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTaskAdditionalDetails) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IJobSubTaskAdditionalDetails AdditionalDetail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/JobSubTask.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/JobSubTask.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/JobSubTask.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/JobSubTask.json.cs index 4d357da77cf3..946dfd335d5e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/JobSubTask.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IJobSubTask. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTask. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTask. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTask. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTask FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.JobSubTaskAdditionalDetails.FromJson(__jsonAdditionalDetails) : AdditionalDetail;} + {_additionalDetail = If( json?.PropertyT("additionalDetails"), out var __jsonAdditionalDetails) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/JobSubTaskAdditionalDetails.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/JobSubTaskAdditionalDetails.PowerShell.cs similarity index 92% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/JobSubTaskAdditionalDetails.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/JobSubTaskAdditionalDetails.PowerShell.cs index d694a37a4acf..22e199b9013b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/JobSubTaskAdditionalDetails.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IJobSubTaskAdditionalDetails DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IJobSubTaskAdditionalDetails DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTaskAdditionalDetails DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new JobSubTaskAdditionalDetails(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTaskAdditionalDetails FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/JobSubTaskAdditionalDetails.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/JobSubTaskAdditionalDetails.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/JobSubTaskAdditionalDetails.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/JobSubTaskAdditionalDetails.TypeConverter.cs index 90c1db4e66c2..4d40ff90a140 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/JobSubTaskAdditionalDetails.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IJobSubTaskAdditionalDetails ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTaskAdditionalDetails ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTaskAdditionalDetails).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTaskAdditionalDetails).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/JobSubTaskAdditionalDetails.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/JobSubTaskAdditionalDetails.cs similarity index 92% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/JobSubTaskAdditionalDetails.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/JobSubTaskAdditionalDetails.cs index cf88977ef303..08d20bec2d48 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/JobSubTaskAdditionalDetails.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Additional details of Sub Tasks public partial class JobSubTaskAdditionalDetails : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTaskAdditionalDetails, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTaskAdditionalDetailsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTaskAdditionalDetails, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTaskAdditionalDetailsInternal { /// Creates an new instance. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/JobSubTaskAdditionalDetails.dictionary.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/JobSubTaskAdditionalDetails.dictionary.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/JobSubTaskAdditionalDetails.dictionary.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/JobSubTaskAdditionalDetails.dictionary.cs index 12959e81abed..f9cf2a5f3883 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/JobSubTaskAdditionalDetails.dictionary.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.JobSubTaskAdditionalDetails source) => source.__additionalProperties; + public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.JobSubTaskAdditionalDetails source) => source.__additionalProperties; } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/JobSubTaskAdditionalDetails.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/JobSubTaskAdditionalDetails.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/JobSubTaskAdditionalDetails.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/JobSubTaskAdditionalDetails.json.cs index 03419400f021..76badbfc2dc4 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/JobSubTaskAdditionalDetails.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IJobSubTaskAdditionalDetails. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTaskAdditionalDetails. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTaskAdditionalDetails. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IJobSubTaskAdditionalDetails. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IJobSubTaskAdditionalDetails FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/KubernetesClusterBackupDatasourceParameters.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterBackupDatasourceParameters.PowerShell.cs similarity index 81% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterBackupDatasourceParameters.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterBackupDatasourceParameters.PowerShell.cs index 9c5165df01d6..97e333c6326c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterBackupDatasourceParameters.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IKubernetesClusterBackupDatasourceParameters DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IKubernetesClusterBackupDatasourceParameters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterBackupDatasourceParameters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new KubernetesClusterBackupDatasourceParameters(content); } @@ -90,10 +90,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterBackupDatasourceParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IKubernetesClusterBackupDatasourceParametersInternal)this).SnapshotVolume = (bool) content.GetValueForProperty("SnapshotVolume",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterBackupDatasourceParametersInternal)this).SnapshotVolume, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterBackupDatasourceParametersInternal)this).SnapshotVolume = (bool) content.GetValueForProperty("SnapshotVolume",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterBackupDatasourceParametersInternal)this).SnapshotVolume, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("IncludeClusterScopeResource")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludeClusterScopeResource = (bool) content.GetValueForProperty("IncludeClusterScopeResource",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludeClusterScopeResource, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludeClusterScopeResource = (bool) content.GetValueForProperty("IncludeClusterScopeResource",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludeClusterScopeResource, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("IncludedNamespace")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludedNamespace = (string[]) content.GetValueForProperty("IncludedNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludedNamespace, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludedNamespace = (string[]) content.GetValueForProperty("IncludedNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludedNamespace, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ExcludedNamespace")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterBackupDatasourceParametersInternal)this).ExcludedNamespace = (string[]) content.GetValueForProperty("ExcludedNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterBackupDatasourceParametersInternal)this).ExcludedNamespace, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterBackupDatasourceParametersInternal)this).ExcludedNamespace = (string[]) content.GetValueForProperty("ExcludedNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterBackupDatasourceParametersInternal)this).ExcludedNamespace, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("IncludedResourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludedResourceType = (string[]) content.GetValueForProperty("IncludedResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludedResourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludedResourceType = (string[]) content.GetValueForProperty("IncludedResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludedResourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ExcludedResourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterBackupDatasourceParametersInternal)this).ExcludedResourceType = (string[]) content.GetValueForProperty("ExcludedResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterBackupDatasourceParametersInternal)this).ExcludedResourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterBackupDatasourceParametersInternal)this).ExcludedResourceType = (string[]) content.GetValueForProperty("ExcludedResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterBackupDatasourceParametersInternal)this).ExcludedResourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("LabelSelector")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterBackupDatasourceParametersInternal)this).LabelSelector = (string[]) content.GetValueForProperty("LabelSelector",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterBackupDatasourceParametersInternal)this).LabelSelector, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterBackupDatasourceParametersInternal)this).LabelSelector = (string[]) content.GetValueForProperty("LabelSelector",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterBackupDatasourceParametersInternal)this).LabelSelector, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("BackupHookReference")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterBackupDatasourceParametersInternal)this).BackupHookReference = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.INamespacedNameResource[]) content.GetValueForProperty("BackupHookReference",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterBackupDatasourceParametersInternal)this).BackupHookReference, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.NamespacedNameResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterBackupDatasourceParametersInternal)this).BackupHookReference = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResource[]) content.GetValueForProperty("BackupHookReference",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterBackupDatasourceParametersInternal)this).BackupHookReference, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.NamespacedNameResourceTypeConverter.ConvertFrom)); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupDatasourceParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupDatasourceParametersInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupDatasourceParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IKubernetesClusterBackupDatasourceParametersInternal)this).SnapshotVolume = (bool) content.GetValueForProperty("SnapshotVolume",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterBackupDatasourceParametersInternal)this).SnapshotVolume, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterBackupDatasourceParametersInternal)this).SnapshotVolume = (bool) content.GetValueForProperty("SnapshotVolume",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterBackupDatasourceParametersInternal)this).SnapshotVolume, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("IncludeClusterScopeResource")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludeClusterScopeResource = (bool) content.GetValueForProperty("IncludeClusterScopeResource",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludeClusterScopeResource, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludeClusterScopeResource = (bool) content.GetValueForProperty("IncludeClusterScopeResource",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludeClusterScopeResource, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("IncludedNamespace")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludedNamespace = (string[]) content.GetValueForProperty("IncludedNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludedNamespace, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludedNamespace = (string[]) content.GetValueForProperty("IncludedNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludedNamespace, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ExcludedNamespace")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterBackupDatasourceParametersInternal)this).ExcludedNamespace = (string[]) content.GetValueForProperty("ExcludedNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterBackupDatasourceParametersInternal)this).ExcludedNamespace, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterBackupDatasourceParametersInternal)this).ExcludedNamespace = (string[]) content.GetValueForProperty("ExcludedNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterBackupDatasourceParametersInternal)this).ExcludedNamespace, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("IncludedResourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludedResourceType = (string[]) content.GetValueForProperty("IncludedResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludedResourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludedResourceType = (string[]) content.GetValueForProperty("IncludedResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludedResourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ExcludedResourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterBackupDatasourceParametersInternal)this).ExcludedResourceType = (string[]) content.GetValueForProperty("ExcludedResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterBackupDatasourceParametersInternal)this).ExcludedResourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterBackupDatasourceParametersInternal)this).ExcludedResourceType = (string[]) content.GetValueForProperty("ExcludedResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterBackupDatasourceParametersInternal)this).ExcludedResourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("LabelSelector")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterBackupDatasourceParametersInternal)this).LabelSelector = (string[]) content.GetValueForProperty("LabelSelector",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterBackupDatasourceParametersInternal)this).LabelSelector, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterBackupDatasourceParametersInternal)this).LabelSelector = (string[]) content.GetValueForProperty("LabelSelector",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterBackupDatasourceParametersInternal)this).LabelSelector, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("BackupHookReference")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterBackupDatasourceParametersInternal)this).BackupHookReference = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.INamespacedNameResource[]) content.GetValueForProperty("BackupHookReference",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterBackupDatasourceParametersInternal)this).BackupHookReference, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.NamespacedNameResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterBackupDatasourceParametersInternal)this).BackupHookReference = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResource[]) content.GetValueForProperty("BackupHookReference",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterBackupDatasourceParametersInternal)this).BackupHookReference, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.NamespacedNameResourceTypeConverter.ConvertFrom)); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupDatasourceParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupDatasourceParametersInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupDatasourceParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupDatasourceParametersInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterBackupDatasourceParameters.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterBackupDatasourceParameters.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterBackupDatasourceParameters.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterBackupDatasourceParameters.TypeConverter.cs index b9a7f7101952..82e90758bb66 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterBackupDatasourceParameters.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IKubernetesClusterBackupDatasourceParameters ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterBackupDatasourceParameters ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterBackupDatasourceParameters).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterBackupDatasourceParameters).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterBackupDatasourceParameters.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterBackupDatasourceParameters.cs similarity index 94% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterBackupDatasourceParameters.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterBackupDatasourceParameters.cs index 32275413981a..011de261cc77 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterBackupDatasourceParameters.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IKubernetesClusterBackupDatasourceParameters, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterBackupDatasourceParametersInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterBackupDatasourceParameters, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterBackupDatasourceParametersInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupDatasourceParameters __backupDatasourceParameters = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupDatasourceParameters(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupDatasourceParameters __backupDatasourceParameters = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupDatasourceParameters(); /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.INamespacedNameResource[] _backupHookReference; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.INamespacedNameResource[] BackupHookReference { get => this._backupHookReference; set => this._backupHookReference = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupDatasourceParametersInternal)__backupDatasourceParameters).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupDatasourceParametersInternal)__backupDatasourceParameters).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupDatasourceParametersInternal)__backupDatasourceParameters).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupDatasourceParameters + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.INamespacedNameResource) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.INamespacedNameResource[] BackupHookReference { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResource) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupDatasourceParametersInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.INamespacedNameResource[] BackupHookReference { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/KubernetesClusterBackupDatasourceParameters.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterBackupDatasourceParameters.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterBackupDatasourceParameters.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterBackupDatasourceParameters.json.cs index a9960852913e..41af7e40c914 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterBackupDatasourceParameters.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IKubernetesClusterBackupDatasourceParameters. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterBackupDatasourceParameters. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterBackupDatasourceParameters. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterBackupDatasourceParameters. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterBackupDatasourceParameters FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.BackupDatasourceParameters(json); + __backupDatasourceParameters = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.INamespacedNameResource) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.INamespacedNameResource) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.NamespacedNameResource.FromJson(___v) )) ))() : null : BackupHookReference;} AfterFromJson(json); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterRestoreCriteria.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterRestoreCriteria.PowerShell.cs similarity index 78% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterRestoreCriteria.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterRestoreCriteria.PowerShell.cs index 3173e5f63dd2..87c070bc08f9 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterRestoreCriteria.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IKubernetesClusterRestoreCriteria DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IKubernetesClusterRestoreCriteria DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteria DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new KubernetesClusterRestoreCriteria(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteria FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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,65 +105,65 @@ internal KubernetesClusterRestoreCriteria(global::System.Collections.IDictionary // actually deserialize if (content.Contains("ResourceModifierReference")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).ResourceModifierReference = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.INamespacedNameResource) content.GetValueForProperty("ResourceModifierReference",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).ResourceModifierReference, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.NamespacedNameResourceTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).ResourceModifierReference = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResource) content.GetValueForProperty("ResourceModifierReference",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).ResourceModifierReference, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.NamespacedNameResourceTypeConverter.ConvertFrom); } if (content.Contains("IncludeClusterScopeResource")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).IncludeClusterScopeResource = (bool) content.GetValueForProperty("IncludeClusterScopeResource",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).IncludeClusterScopeResource, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).IncludeClusterScopeResource = (bool) content.GetValueForProperty("IncludeClusterScopeResource",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).IncludeClusterScopeResource, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("IncludedNamespace")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).IncludedNamespace = (string[]) content.GetValueForProperty("IncludedNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).IncludedNamespace, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).IncludedNamespace = (string[]) content.GetValueForProperty("IncludedNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).IncludedNamespace, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ExcludedNamespace")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).ExcludedNamespace = (string[]) content.GetValueForProperty("ExcludedNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).ExcludedNamespace, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).ExcludedNamespace = (string[]) content.GetValueForProperty("ExcludedNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).ExcludedNamespace, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("IncludedResourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).IncludedResourceType = (string[]) content.GetValueForProperty("IncludedResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).IncludedResourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).IncludedResourceType = (string[]) content.GetValueForProperty("IncludedResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).IncludedResourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ExcludedResourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).ExcludedResourceType = (string[]) content.GetValueForProperty("ExcludedResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).ExcludedResourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).ExcludedResourceType = (string[]) content.GetValueForProperty("ExcludedResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).ExcludedResourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("LabelSelector")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).LabelSelector = (string[]) content.GetValueForProperty("LabelSelector",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).LabelSelector, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).LabelSelector = (string[]) content.GetValueForProperty("LabelSelector",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).LabelSelector, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("PersistentVolumeRestoreMode")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).PersistentVolumeRestoreMode = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.PersistentVolumeRestoreMode?) content.GetValueForProperty("PersistentVolumeRestoreMode",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).PersistentVolumeRestoreMode, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.PersistentVolumeRestoreMode.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).PersistentVolumeRestoreMode = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.PersistentVolumeRestoreMode?) content.GetValueForProperty("PersistentVolumeRestoreMode",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).PersistentVolumeRestoreMode, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.PersistentVolumeRestoreMode.CreateFrom); } if (content.Contains("ConflictPolicy")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).ConflictPolicy = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ExistingResourcePolicy?) content.GetValueForProperty("ConflictPolicy",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).ConflictPolicy, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ExistingResourcePolicy.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).ConflictPolicy = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ExistingResourcePolicy?) content.GetValueForProperty("ConflictPolicy",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).ConflictPolicy, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ExistingResourcePolicy.CreateFrom); } if (content.Contains("NamespaceMapping")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).NamespaceMapping = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaNamespaceMappings) content.GetValueForProperty("NamespaceMapping",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).NamespaceMapping, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.KubernetesClusterRestoreCriteriaNamespaceMappingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).NamespaceMapping = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaNamespaceMappings) content.GetValueForProperty("NamespaceMapping",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).NamespaceMapping, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.KubernetesClusterRestoreCriteriaNamespaceMappingsTypeConverter.ConvertFrom); } if (content.Contains("RestoreHookReference")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).RestoreHookReference = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.INamespacedNameResource[]) content.GetValueForProperty("RestoreHookReference",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).RestoreHookReference, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.NamespacedNameResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).RestoreHookReference = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResource[]) content.GetValueForProperty("RestoreHookReference",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).RestoreHookReference, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.NamespacedNameResourceTypeConverter.ConvertFrom)); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("ResourceModifierReferenceName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).ResourceModifierReferenceName = (string) content.GetValueForProperty("ResourceModifierReferenceName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).ResourceModifierReferenceName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).ResourceModifierReferenceName = (string) content.GetValueForProperty("ResourceModifierReferenceName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).ResourceModifierReferenceName, global::System.Convert.ToString); } if (content.Contains("ResourceModifierReferenceNamespace")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).ResourceModifierReferenceNamespace = (string) content.GetValueForProperty("ResourceModifierReferenceNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).ResourceModifierReferenceNamespace, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).ResourceModifierReferenceNamespace = (string) content.GetValueForProperty("ResourceModifierReferenceNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).ResourceModifierReferenceNamespace, 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. @@ -178,59 +178,59 @@ internal KubernetesClusterRestoreCriteria(global::System.Management.Automation.P // actually deserialize if (content.Contains("ResourceModifierReference")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).ResourceModifierReference = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.INamespacedNameResource) content.GetValueForProperty("ResourceModifierReference",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).ResourceModifierReference, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.NamespacedNameResourceTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).ResourceModifierReference = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResource) content.GetValueForProperty("ResourceModifierReference",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).ResourceModifierReference, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.NamespacedNameResourceTypeConverter.ConvertFrom); } if (content.Contains("IncludeClusterScopeResource")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).IncludeClusterScopeResource = (bool) content.GetValueForProperty("IncludeClusterScopeResource",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).IncludeClusterScopeResource, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).IncludeClusterScopeResource = (bool) content.GetValueForProperty("IncludeClusterScopeResource",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).IncludeClusterScopeResource, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("IncludedNamespace")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).IncludedNamespace = (string[]) content.GetValueForProperty("IncludedNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).IncludedNamespace, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).IncludedNamespace = (string[]) content.GetValueForProperty("IncludedNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).IncludedNamespace, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ExcludedNamespace")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).ExcludedNamespace = (string[]) content.GetValueForProperty("ExcludedNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).ExcludedNamespace, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).ExcludedNamespace = (string[]) content.GetValueForProperty("ExcludedNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).ExcludedNamespace, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("IncludedResourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).IncludedResourceType = (string[]) content.GetValueForProperty("IncludedResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).IncludedResourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).IncludedResourceType = (string[]) content.GetValueForProperty("IncludedResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).IncludedResourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ExcludedResourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).ExcludedResourceType = (string[]) content.GetValueForProperty("ExcludedResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).ExcludedResourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).ExcludedResourceType = (string[]) content.GetValueForProperty("ExcludedResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).ExcludedResourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("LabelSelector")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).LabelSelector = (string[]) content.GetValueForProperty("LabelSelector",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).LabelSelector, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).LabelSelector = (string[]) content.GetValueForProperty("LabelSelector",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).LabelSelector, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("PersistentVolumeRestoreMode")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).PersistentVolumeRestoreMode = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.PersistentVolumeRestoreMode?) content.GetValueForProperty("PersistentVolumeRestoreMode",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).PersistentVolumeRestoreMode, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.PersistentVolumeRestoreMode.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).PersistentVolumeRestoreMode = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.PersistentVolumeRestoreMode?) content.GetValueForProperty("PersistentVolumeRestoreMode",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).PersistentVolumeRestoreMode, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.PersistentVolumeRestoreMode.CreateFrom); } if (content.Contains("ConflictPolicy")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).ConflictPolicy = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ExistingResourcePolicy?) content.GetValueForProperty("ConflictPolicy",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).ConflictPolicy, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ExistingResourcePolicy.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).ConflictPolicy = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ExistingResourcePolicy?) content.GetValueForProperty("ConflictPolicy",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).ConflictPolicy, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ExistingResourcePolicy.CreateFrom); } if (content.Contains("NamespaceMapping")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).NamespaceMapping = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaNamespaceMappings) content.GetValueForProperty("NamespaceMapping",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).NamespaceMapping, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.KubernetesClusterRestoreCriteriaNamespaceMappingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).NamespaceMapping = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaNamespaceMappings) content.GetValueForProperty("NamespaceMapping",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).NamespaceMapping, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.KubernetesClusterRestoreCriteriaNamespaceMappingsTypeConverter.ConvertFrom); } if (content.Contains("RestoreHookReference")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).RestoreHookReference = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.INamespacedNameResource[]) content.GetValueForProperty("RestoreHookReference",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).RestoreHookReference, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.NamespacedNameResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).RestoreHookReference = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResource[]) content.GetValueForProperty("RestoreHookReference",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).RestoreHookReference, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.NamespacedNameResourceTypeConverter.ConvertFrom)); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("ResourceModifierReferenceName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).ResourceModifierReferenceName = (string) content.GetValueForProperty("ResourceModifierReferenceName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).ResourceModifierReferenceName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).ResourceModifierReferenceName = (string) content.GetValueForProperty("ResourceModifierReferenceName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).ResourceModifierReferenceName, global::System.Convert.ToString); } if (content.Contains("ResourceModifierReferenceNamespace")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).ResourceModifierReferenceNamespace = (string) content.GetValueForProperty("ResourceModifierReferenceNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal)this).ResourceModifierReferenceNamespace, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).ResourceModifierReferenceNamespace = (string) content.GetValueForProperty("ResourceModifierReferenceNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal)this).ResourceModifierReferenceNamespace, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterRestoreCriteria.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterRestoreCriteria.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterRestoreCriteria.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterRestoreCriteria.TypeConverter.cs index 6447d858f782..e4f609b057c2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterRestoreCriteria.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IKubernetesClusterRestoreCriteria ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteria ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteria).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteria).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterRestoreCriteria.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterRestoreCriteria.cs similarity index 91% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterRestoreCriteria.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterRestoreCriteria.cs index b97bb203b84a..e1320a856a9f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterRestoreCriteria.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IKubernetesClusterRestoreCriteria, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteria, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteria __itemLevelRestoreCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ItemLevelRestoreCriteria(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteria __itemLevelRestoreCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ItemLevelRestoreCriteria(); /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ExistingResourcePolicy? _conflictPolicy; @@ -85,20 +85,20 @@ public partial class KubernetesClusterRestoreCriteria : public string[] LabelSelector { get => this._labelSelector; set => this._labelSelector = value; } /// Internal Acessors for ResourceModifierReference - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.INamespacedNameResource Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaInternal.ResourceModifierReference { get => (this._resourceModifierReference = this._resourceModifierReference ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.NamespacedNameResource()); set { {_resourceModifierReference = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResource Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaInternal.ResourceModifierReference { get => (this._resourceModifierReference = this._resourceModifierReference ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.NamespacedNameResource()); set { {_resourceModifierReference = value;} } } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaNamespaceMappings _namespaceMapping; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IKubernetesClusterRestoreCriteriaNamespaceMappings NamespaceMapping { get => (this._namespaceMapping = this._namespaceMapping ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.KubernetesClusterRestoreCriteriaNamespaceMappings()); set => this._namespaceMapping = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaNamespaceMappings NamespaceMapping { get => (this._namespaceMapping = this._namespaceMapping ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IItemLevelRestoreCriteriaInternal)__itemLevelRestoreCriteria).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteriaInternal)__itemLevelRestoreCriteria).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteriaInternal)__itemLevelRestoreCriteria).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteriaInternal)__itemLevelRestoreCriteria).ObjectType = value ; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.PersistentVolumeRestoreMode? _persistentVolumeRestoreMode; @@ -110,30 +110,30 @@ 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.Api20231201.INamespacedNameResource _resourceModifierReference; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResource _resourceModifierReference; /// /// Gets or sets the resource modifier reference. This property sets the reference for resource modifier during restore. /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.INamespacedNameResource ResourceModifierReference { get => (this._resourceModifierReference = this._resourceModifierReference ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.NamespacedNameResource()); set => this._resourceModifierReference = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResource ResourceModifierReference { get => (this._resourceModifierReference = this._resourceModifierReference ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.NamespacedNameResource()); set => this._resourceModifierReference = value; } /// Name of the resource [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string ResourceModifierReferenceName { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.INamespacedNameResourceInternal)ResourceModifierReference).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.INamespacedNameResourceInternal)ResourceModifierReference).Name = value ?? null; } + public string ResourceModifierReferenceName { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResourceInternal)ResourceModifierReference).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResourceInternal)ResourceModifierReference).Name = value ?? null; } /// Namespace in which the resource exists [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string ResourceModifierReferenceNamespace { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.INamespacedNameResourceInternal)ResourceModifierReference).Namespace; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.INamespacedNameResourceInternal)ResourceModifierReference).Namespace = value ?? null; } + public string ResourceModifierReferenceNamespace { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResourceInternal)ResourceModifierReference).Namespace; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResourceInternal)ResourceModifierReference).Namespace = value ?? null; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.INamespacedNameResource[] _restoreHookReference; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.INamespacedNameResource[] RestoreHookReference { get => this._restoreHookReference; set => this._restoreHookReference = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResource[] RestoreHookReference { get => this._restoreHookReference; set => this._restoreHookReference = value; } /// Creates an new instance. public KubernetesClusterRestoreCriteria() @@ -156,7 +156,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.Api20231201.IItemLevelRestoreCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteria { /// /// Gets or sets the Conflict Policy property. This property sets policy during conflict of resources during restore. @@ -238,8 +238,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.Api20231201.IKubernetesClusterRestoreCriteriaNamespaceMappings) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaNamespaceMappings NamespaceMapping { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaNamespaceMappings) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaNamespaceMappings NamespaceMapping { get; set; } /// /// Gets or sets the PV (Persistent Volume) Restore Mode property. This property sets whether volumes needs to be restored. /// @@ -274,13 +274,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.Api20231201.INamespacedNameResource) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.INamespacedNameResource[] RestoreHookReference { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResource) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResource[] RestoreHookReference { get; set; } } /// kubernetes Cluster Backup target info for restore operation internal partial interface IKubernetesClusterRestoreCriteriaInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteriaInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteriaInternal { /// /// Gets or sets the Conflict Policy property. This property sets policy during conflict of resources during restore. @@ -315,7 +315,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.Api20231201.IKubernetesClusterRestoreCriteriaNamespaceMappings NamespaceMapping { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaNamespaceMappings NamespaceMapping { get; set; } /// /// Gets or sets the PV (Persistent Volume) Restore Mode property. This property sets whether volumes needs to be restored. /// @@ -323,7 +323,7 @@ internal partial interface IKubernetesClusterRestoreCriteriaInternal : /// /// Gets or sets the resource modifier reference. This property sets the reference for resource modifier during restore. /// - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.INamespacedNameResource ResourceModifierReference { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResource ResourceModifierReference { get; set; } /// Name of the resource string ResourceModifierReferenceName { get; set; } /// Namespace in which the resource exists @@ -331,7 +331,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.Api20231201.INamespacedNameResource[] RestoreHookReference { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResource[] RestoreHookReference { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterRestoreCriteria.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterRestoreCriteria.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterRestoreCriteria.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterRestoreCriteria.json.cs index 1828a20fb44e..2948cfd85dbb 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterRestoreCriteria.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IKubernetesClusterRestoreCriteria. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteria. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteria. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteria. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteria FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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,8 +77,8 @@ internal KubernetesClusterRestoreCriteria(Microsoft.Azure.PowerShell.Cmdlets.Dat { return; } - __itemLevelRestoreCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ItemLevelRestoreCriteria(json); - {_resourceModifierReference = If( json?.PropertyT("resourceModifierReference"), out var __jsonResourceModifierReference) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.NamespacedNameResource.FromJson(__jsonResourceModifierReference) : ResourceModifierReference;} + __itemLevelRestoreCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ItemLevelRestoreCriteria(json); + {_resourceModifierReference = If( json?.PropertyT("resourceModifierReference"), out var __jsonResourceModifierReference) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.NamespacedNameResource.FromJson(__jsonResourceModifierReference) : ResourceModifierReference;} {_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;} @@ -87,8 +87,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.Api20231201.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.Api20231201.INamespacedNameResource) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.NamespacedNameResource.FromJson(___v) )) ))() : null : RestoreHookReference;} + {_namespaceMapping = If( json?.PropertyT("namespaceMappings"), out var __jsonNamespaceMappings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20240401.INamespacedNameResource) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.NamespacedNameResource.FromJson(___v) )) ))() : null : RestoreHookReference;} AfterFromJson(json); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterRestoreCriteriaNamespaceMappings.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterRestoreCriteriaNamespaceMappings.PowerShell.cs similarity index 93% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterRestoreCriteriaNamespaceMappings.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterRestoreCriteriaNamespaceMappings.PowerShell.cs index 51418827ecb2..745798887e6c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterRestoreCriteriaNamespaceMappings.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IKubernetesClusterRestoreCriteriaNamespaceMappings DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IKubernetesClusterRestoreCriteriaNamespaceMappings DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaNamespaceMappings DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new KubernetesClusterRestoreCriteriaNamespaceMappings(content); } @@ -92,10 +92,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaNamespaceMappings FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/KubernetesClusterRestoreCriteriaNamespaceMappings.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterRestoreCriteriaNamespaceMappings.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterRestoreCriteriaNamespaceMappings.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterRestoreCriteriaNamespaceMappings.TypeConverter.cs index f569dc11d775..bb1fef7860dd 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterRestoreCriteriaNamespaceMappings.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IKubernetesClusterRestoreCriteriaNamespaceMappings ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaNamespaceMappings ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaNamespaceMappings).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaNamespaceMappings).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterRestoreCriteriaNamespaceMappings.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterRestoreCriteriaNamespaceMappings.cs similarity index 92% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterRestoreCriteriaNamespaceMappings.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterRestoreCriteriaNamespaceMappings.cs index cfb94b7c814c..6cd938140fa7 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterRestoreCriteriaNamespaceMappings.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -11,8 +11,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201 /// 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.Api20231201.IKubernetesClusterRestoreCriteriaNamespaceMappings, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaNamespaceMappingsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaNamespaceMappings, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaNamespaceMappingsInternal { /// diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterRestoreCriteriaNamespaceMappings.dictionary.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterRestoreCriteriaNamespaceMappings.dictionary.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterRestoreCriteriaNamespaceMappings.dictionary.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterRestoreCriteriaNamespaceMappings.dictionary.cs index 1d2a576abf6a..b597fe78b2ab 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterRestoreCriteriaNamespaceMappings.dictionary.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.KubernetesClusterRestoreCriteriaNamespaceMappings source) => source.__additionalProperties; + public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.KubernetesClusterRestoreCriteriaNamespaceMappings source) => source.__additionalProperties; } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterRestoreCriteriaNamespaceMappings.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterRestoreCriteriaNamespaceMappings.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterRestoreCriteriaNamespaceMappings.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterRestoreCriteriaNamespaceMappings.json.cs index 616eb271c9e4..1391a1c6eb41 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterRestoreCriteriaNamespaceMappings.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IKubernetesClusterRestoreCriteriaNamespaceMappings. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaNamespaceMappings. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaNamespaceMappings. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterRestoreCriteriaNamespaceMappings. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterRestoreCriteriaNamespaceMappings FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/KubernetesClusterVaultTierRestoreCriteria.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterVaultTierRestoreCriteria.PowerShell.cs similarity index 78% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterVaultTierRestoreCriteria.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterVaultTierRestoreCriteria.PowerShell.cs index 3bdf57d69073..0ca69d115bde 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterVaultTierRestoreCriteria.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterVaultTierRestoreCriteria.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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,29 +55,29 @@ public partial class KubernetesClusterVaultTierRestoreCriteria 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.Api20231201.IKubernetesClusterVaultTierRestoreCriteria DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteria DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new KubernetesClusterVaultTierRestoreCriteria(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.Api20231201.IKubernetesClusterVaultTierRestoreCriteria DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteria DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new KubernetesClusterVaultTierRestoreCriteria(content); } @@ -90,10 +90,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteria FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteria 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,73 +108,73 @@ internal KubernetesClusterVaultTierRestoreCriteria(global::System.Collections.ID // actually deserialize if (content.Contains("ResourceModifierReference")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ResourceModifierReference = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.INamespacedNameResource) content.GetValueForProperty("ResourceModifierReference",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ResourceModifierReference, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.NamespacedNameResourceTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ResourceModifierReference = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResource) content.GetValueForProperty("ResourceModifierReference",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ResourceModifierReference, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.NamespacedNameResourceTypeConverter.ConvertFrom); } if (content.Contains("IncludeClusterScopeResource")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).IncludeClusterScopeResource = (bool) content.GetValueForProperty("IncludeClusterScopeResource",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).IncludeClusterScopeResource, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).IncludeClusterScopeResource = (bool) content.GetValueForProperty("IncludeClusterScopeResource",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).IncludeClusterScopeResource, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("IncludedNamespace")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).IncludedNamespace = (string[]) content.GetValueForProperty("IncludedNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).IncludedNamespace, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).IncludedNamespace = (string[]) content.GetValueForProperty("IncludedNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).IncludedNamespace, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ExcludedNamespace")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ExcludedNamespace = (string[]) content.GetValueForProperty("ExcludedNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ExcludedNamespace, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ExcludedNamespace = (string[]) content.GetValueForProperty("ExcludedNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ExcludedNamespace, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("IncludedResourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).IncludedResourceType = (string[]) content.GetValueForProperty("IncludedResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).IncludedResourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).IncludedResourceType = (string[]) content.GetValueForProperty("IncludedResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).IncludedResourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ExcludedResourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ExcludedResourceType = (string[]) content.GetValueForProperty("ExcludedResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ExcludedResourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ExcludedResourceType = (string[]) content.GetValueForProperty("ExcludedResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ExcludedResourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("LabelSelector")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).LabelSelector = (string[]) content.GetValueForProperty("LabelSelector",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).LabelSelector, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).LabelSelector = (string[]) content.GetValueForProperty("LabelSelector",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).LabelSelector, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("PersistentVolumeRestoreMode")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).PersistentVolumeRestoreMode = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.PersistentVolumeRestoreMode?) content.GetValueForProperty("PersistentVolumeRestoreMode",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).PersistentVolumeRestoreMode, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.PersistentVolumeRestoreMode.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).PersistentVolumeRestoreMode = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.PersistentVolumeRestoreMode?) content.GetValueForProperty("PersistentVolumeRestoreMode",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).PersistentVolumeRestoreMode, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.PersistentVolumeRestoreMode.CreateFrom); } if (content.Contains("ConflictPolicy")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ConflictPolicy = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ExistingResourcePolicy?) content.GetValueForProperty("ConflictPolicy",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ConflictPolicy, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ExistingResourcePolicy.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ConflictPolicy = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ExistingResourcePolicy?) content.GetValueForProperty("ConflictPolicy",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ConflictPolicy, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ExistingResourcePolicy.CreateFrom); } if (content.Contains("NamespaceMapping")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).NamespaceMapping = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappings) content.GetValueForProperty("NamespaceMapping",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).NamespaceMapping, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.KubernetesClusterVaultTierRestoreCriteriaNamespaceMappingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).NamespaceMapping = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappings) content.GetValueForProperty("NamespaceMapping",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).NamespaceMapping, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.KubernetesClusterVaultTierRestoreCriteriaNamespaceMappingsTypeConverter.ConvertFrom); } if (content.Contains("RestoreHookReference")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).RestoreHookReference = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.INamespacedNameResource[]) content.GetValueForProperty("RestoreHookReference",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).RestoreHookReference, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.NamespacedNameResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).RestoreHookReference = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResource[]) content.GetValueForProperty("RestoreHookReference",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).RestoreHookReference, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.NamespacedNameResourceTypeConverter.ConvertFrom)); } if (content.Contains("StagingResourceGroupId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).StagingResourceGroupId = (string) content.GetValueForProperty("StagingResourceGroupId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).StagingResourceGroupId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).StagingResourceGroupId = (string) content.GetValueForProperty("StagingResourceGroupId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).StagingResourceGroupId, global::System.Convert.ToString); } if (content.Contains("StagingStorageAccountId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).StagingStorageAccountId = (string) content.GetValueForProperty("StagingStorageAccountId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).StagingStorageAccountId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).StagingStorageAccountId = (string) content.GetValueForProperty("StagingStorageAccountId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).StagingStorageAccountId, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("ResourceModifierReferenceName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ResourceModifierReferenceName = (string) content.GetValueForProperty("ResourceModifierReferenceName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ResourceModifierReferenceName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ResourceModifierReferenceName = (string) content.GetValueForProperty("ResourceModifierReferenceName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ResourceModifierReferenceName, global::System.Convert.ToString); } if (content.Contains("ResourceModifierReferenceNamespace")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ResourceModifierReferenceNamespace = (string) content.GetValueForProperty("ResourceModifierReferenceNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ResourceModifierReferenceNamespace, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ResourceModifierReferenceNamespace = (string) content.GetValueForProperty("ResourceModifierReferenceNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ResourceModifierReferenceNamespace, 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. @@ -189,67 +189,67 @@ internal KubernetesClusterVaultTierRestoreCriteria(global::System.Management.Aut // actually deserialize if (content.Contains("ResourceModifierReference")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ResourceModifierReference = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.INamespacedNameResource) content.GetValueForProperty("ResourceModifierReference",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ResourceModifierReference, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.NamespacedNameResourceTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ResourceModifierReference = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResource) content.GetValueForProperty("ResourceModifierReference",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ResourceModifierReference, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.NamespacedNameResourceTypeConverter.ConvertFrom); } if (content.Contains("IncludeClusterScopeResource")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).IncludeClusterScopeResource = (bool) content.GetValueForProperty("IncludeClusterScopeResource",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).IncludeClusterScopeResource, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).IncludeClusterScopeResource = (bool) content.GetValueForProperty("IncludeClusterScopeResource",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).IncludeClusterScopeResource, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("IncludedNamespace")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).IncludedNamespace = (string[]) content.GetValueForProperty("IncludedNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).IncludedNamespace, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).IncludedNamespace = (string[]) content.GetValueForProperty("IncludedNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).IncludedNamespace, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ExcludedNamespace")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ExcludedNamespace = (string[]) content.GetValueForProperty("ExcludedNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ExcludedNamespace, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ExcludedNamespace = (string[]) content.GetValueForProperty("ExcludedNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ExcludedNamespace, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("IncludedResourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).IncludedResourceType = (string[]) content.GetValueForProperty("IncludedResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).IncludedResourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).IncludedResourceType = (string[]) content.GetValueForProperty("IncludedResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).IncludedResourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ExcludedResourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ExcludedResourceType = (string[]) content.GetValueForProperty("ExcludedResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ExcludedResourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ExcludedResourceType = (string[]) content.GetValueForProperty("ExcludedResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ExcludedResourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("LabelSelector")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).LabelSelector = (string[]) content.GetValueForProperty("LabelSelector",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).LabelSelector, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).LabelSelector = (string[]) content.GetValueForProperty("LabelSelector",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).LabelSelector, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("PersistentVolumeRestoreMode")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).PersistentVolumeRestoreMode = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.PersistentVolumeRestoreMode?) content.GetValueForProperty("PersistentVolumeRestoreMode",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).PersistentVolumeRestoreMode, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.PersistentVolumeRestoreMode.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).PersistentVolumeRestoreMode = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.PersistentVolumeRestoreMode?) content.GetValueForProperty("PersistentVolumeRestoreMode",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).PersistentVolumeRestoreMode, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.PersistentVolumeRestoreMode.CreateFrom); } if (content.Contains("ConflictPolicy")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ConflictPolicy = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ExistingResourcePolicy?) content.GetValueForProperty("ConflictPolicy",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ConflictPolicy, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ExistingResourcePolicy.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ConflictPolicy = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ExistingResourcePolicy?) content.GetValueForProperty("ConflictPolicy",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ConflictPolicy, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ExistingResourcePolicy.CreateFrom); } if (content.Contains("NamespaceMapping")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).NamespaceMapping = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappings) content.GetValueForProperty("NamespaceMapping",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).NamespaceMapping, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.KubernetesClusterVaultTierRestoreCriteriaNamespaceMappingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).NamespaceMapping = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappings) content.GetValueForProperty("NamespaceMapping",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).NamespaceMapping, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.KubernetesClusterVaultTierRestoreCriteriaNamespaceMappingsTypeConverter.ConvertFrom); } if (content.Contains("RestoreHookReference")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).RestoreHookReference = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.INamespacedNameResource[]) content.GetValueForProperty("RestoreHookReference",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).RestoreHookReference, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.NamespacedNameResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).RestoreHookReference = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResource[]) content.GetValueForProperty("RestoreHookReference",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).RestoreHookReference, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.NamespacedNameResourceTypeConverter.ConvertFrom)); } if (content.Contains("StagingResourceGroupId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).StagingResourceGroupId = (string) content.GetValueForProperty("StagingResourceGroupId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).StagingResourceGroupId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).StagingResourceGroupId = (string) content.GetValueForProperty("StagingResourceGroupId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).StagingResourceGroupId, global::System.Convert.ToString); } if (content.Contains("StagingStorageAccountId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).StagingStorageAccountId = (string) content.GetValueForProperty("StagingStorageAccountId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).StagingStorageAccountId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).StagingStorageAccountId = (string) content.GetValueForProperty("StagingStorageAccountId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).StagingStorageAccountId, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("ResourceModifierReferenceName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ResourceModifierReferenceName = (string) content.GetValueForProperty("ResourceModifierReferenceName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ResourceModifierReferenceName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ResourceModifierReferenceName = (string) content.GetValueForProperty("ResourceModifierReferenceName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ResourceModifierReferenceName, global::System.Convert.ToString); } if (content.Contains("ResourceModifierReferenceNamespace")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ResourceModifierReferenceNamespace = (string) content.GetValueForProperty("ResourceModifierReferenceNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ResourceModifierReferenceNamespace, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ResourceModifierReferenceNamespace = (string) content.GetValueForProperty("ResourceModifierReferenceNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ResourceModifierReferenceNamespace, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterVaultTierRestoreCriteria.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterVaultTierRestoreCriteria.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterVaultTierRestoreCriteria.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterVaultTierRestoreCriteria.TypeConverter.cs index 253ef7130d25..8ae5019c2aa7 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterVaultTierRestoreCriteria.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterVaultTierRestoreCriteria.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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IKubernetesClusterVaultTierRestoreCriteria ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteria ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteria).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteria).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterVaultTierRestoreCriteria.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterVaultTierRestoreCriteria.cs similarity index 92% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterVaultTierRestoreCriteria.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterVaultTierRestoreCriteria.cs index 433037f2af5e..5653db6eede6 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterVaultTierRestoreCriteria.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterVaultTierRestoreCriteria.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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IKubernetesClusterVaultTierRestoreCriteria, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteria, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteria __itemLevelRestoreCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ItemLevelRestoreCriteria(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteria __itemLevelRestoreCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ItemLevelRestoreCriteria(); /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ExistingResourcePolicy? _conflictPolicy; @@ -88,20 +88,20 @@ public partial class KubernetesClusterVaultTierRestoreCriteria : public string[] LabelSelector { get => this._labelSelector; set => this._labelSelector = value; } /// Internal Acessors for ResourceModifierReference - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.INamespacedNameResource Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaInternal.ResourceModifierReference { get => (this._resourceModifierReference = this._resourceModifierReference ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.NamespacedNameResource()); set { {_resourceModifierReference = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResource Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaInternal.ResourceModifierReference { get => (this._resourceModifierReference = this._resourceModifierReference ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.NamespacedNameResource()); set { {_resourceModifierReference = value;} } } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappings _namespaceMapping; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappings NamespaceMapping { get => (this._namespaceMapping = this._namespaceMapping ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings()); set => this._namespaceMapping = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappings NamespaceMapping { get => (this._namespaceMapping = this._namespaceMapping ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IItemLevelRestoreCriteriaInternal)__itemLevelRestoreCriteria).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteriaInternal)__itemLevelRestoreCriteria).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteriaInternal)__itemLevelRestoreCriteria).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteriaInternal)__itemLevelRestoreCriteria).ObjectType = value ; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.PersistentVolumeRestoreMode? _persistentVolumeRestoreMode; @@ -114,30 +114,30 @@ public partial class KubernetesClusterVaultTierRestoreCriteria : 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.Api20231201.INamespacedNameResource _resourceModifierReference; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResource _resourceModifierReference; /// /// Gets or sets the resource modifier reference. This property sets the reference for resource modifier during restore. /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.INamespacedNameResource ResourceModifierReference { get => (this._resourceModifierReference = this._resourceModifierReference ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.NamespacedNameResource()); set => this._resourceModifierReference = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResource ResourceModifierReference { get => (this._resourceModifierReference = this._resourceModifierReference ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.NamespacedNameResource()); set => this._resourceModifierReference = value; } /// Name of the resource [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string ResourceModifierReferenceName { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.INamespacedNameResourceInternal)ResourceModifierReference).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.INamespacedNameResourceInternal)ResourceModifierReference).Name = value ?? null; } + public string ResourceModifierReferenceName { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResourceInternal)ResourceModifierReference).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResourceInternal)ResourceModifierReference).Name = value ?? null; } /// Namespace in which the resource exists [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string ResourceModifierReferenceNamespace { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.INamespacedNameResourceInternal)ResourceModifierReference).Namespace; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.INamespacedNameResourceInternal)ResourceModifierReference).Namespace = value ?? null; } + public string ResourceModifierReferenceNamespace { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResourceInternal)ResourceModifierReference).Namespace; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResourceInternal)ResourceModifierReference).Namespace = value ?? null; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.INamespacedNameResource[] _restoreHookReference; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.INamespacedNameResource[] RestoreHookReference { get => this._restoreHookReference; set => this._restoreHookReference = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResource[] RestoreHookReference { get => this._restoreHookReference; set => this._restoreHookReference = value; } /// Backing field for property. private string _stagingResourceGroupId; @@ -180,7 +180,7 @@ public KubernetesClusterVaultTierRestoreCriteria() /// 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.Api20231201.IItemLevelRestoreCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteria { /// /// Gets or sets the Conflict Policy property. This property sets policy during conflict of resources during restore from @@ -265,8 +265,8 @@ public partial interface IKubernetesClusterVaultTierRestoreCriteria : 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.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappings) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappings NamespaceMapping { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappings) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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. @@ -302,8 +302,8 @@ public partial interface IKubernetesClusterVaultTierRestoreCriteria : 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.Api20231201.INamespacedNameResource) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.INamespacedNameResource[] RestoreHookReference { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResource) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResource[] RestoreHookReference { get; set; } /// /// Gets or sets the staging RG Id for creating staging disks and snapshots during restore from vault. /// @@ -328,7 +328,7 @@ public partial interface IKubernetesClusterVaultTierRestoreCriteria : } /// kubernetes Cluster Backup target info for restore operation from vault internal partial interface IKubernetesClusterVaultTierRestoreCriteriaInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteriaInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteriaInternal { /// /// Gets or sets the Conflict Policy property. This property sets policy during conflict of resources during restore from @@ -366,7 +366,7 @@ internal partial interface IKubernetesClusterVaultTierRestoreCriteriaInternal : /// /// 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.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappings NamespaceMapping { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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. @@ -375,7 +375,7 @@ internal partial interface IKubernetesClusterVaultTierRestoreCriteriaInternal : /// /// Gets or sets the resource modifier reference. This property sets the reference for resource modifier during restore. /// - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.INamespacedNameResource ResourceModifierReference { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResource ResourceModifierReference { get; set; } /// Name of the resource string ResourceModifierReferenceName { get; set; } /// Namespace in which the resource exists @@ -383,7 +383,7 @@ internal partial interface IKubernetesClusterVaultTierRestoreCriteriaInternal : /// /// 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.Api20231201.INamespacedNameResource[] RestoreHookReference { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResource[] RestoreHookReference { get; set; } /// /// Gets or sets the staging RG Id for creating staging disks and snapshots during restore from vault. /// diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterVaultTierRestoreCriteria.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterVaultTierRestoreCriteria.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterVaultTierRestoreCriteria.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterVaultTierRestoreCriteria.json.cs index 29d13c14d2a0..80ad229f96ca 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterVaultTierRestoreCriteria.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterVaultTierRestoreCriteria.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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class KubernetesClusterVaultTierRestoreCriteria 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.Api20231201.IKubernetesClusterVaultTierRestoreCriteria. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteria. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteria. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteria. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteria FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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; } @@ -77,8 +77,8 @@ internal KubernetesClusterVaultTierRestoreCriteria(Microsoft.Azure.PowerShell.Cm { return; } - __itemLevelRestoreCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ItemLevelRestoreCriteria(json); - {_resourceModifierReference = If( json?.PropertyT("resourceModifierReference"), out var __jsonResourceModifierReference) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.NamespacedNameResource.FromJson(__jsonResourceModifierReference) : ResourceModifierReference;} + __itemLevelRestoreCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ItemLevelRestoreCriteria(json); + {_resourceModifierReference = If( json?.PropertyT("resourceModifierReference"), out var __jsonResourceModifierReference) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.NamespacedNameResource.FromJson(__jsonResourceModifierReference) : ResourceModifierReference;} {_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;} @@ -87,8 +87,8 @@ internal KubernetesClusterVaultTierRestoreCriteria(Microsoft.Azure.PowerShell.Cm {_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.Api20231201.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.Api20231201.INamespacedNameResource) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.NamespacedNameResource.FromJson(___v) )) ))() : null : RestoreHookReference;} + {_namespaceMapping = If( json?.PropertyT("namespaceMappings"), out var __jsonNamespaceMappings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20240401.INamespacedNameResource) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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); diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.PowerShell.cs similarity index 93% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.PowerShell.cs index cfec371cc045..504a687005d2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -57,29 +57,29 @@ public partial class KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings 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.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappings DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappings DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings(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.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappings DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappings DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings(content); } @@ -92,10 +92,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappings FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappings 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 KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings(global::Syst } /// - /// 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/Api20231201/KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.TypeConverter.cs index a4181fb43817..a6a068a9e063 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappings ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappings ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappings).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappings).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.cs similarity index 92% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.cs index 14e601f7cf88..fc98b461c59c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -11,8 +11,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201 /// 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.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappings, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappingsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappings, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappingsInternal { /// diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.dictionary.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.dictionary.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.dictionary.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.dictionary.cs index 7bb08fea8a23..b5e689253277 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.dictionary.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings source) => source.__additionalProperties; + public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings source) => source.__additionalProperties; } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.json.cs index f58fa3d41fc0..233b8f97a03b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -56,13 +56,13 @@ public partial class KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings 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.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappings. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappings. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappings. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappings. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappings FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesPvRestoreCriteria.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesPvRestoreCriteria.PowerShell.cs similarity index 85% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesPvRestoreCriteria.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesPvRestoreCriteria.PowerShell.cs index 2886329f9117..745e2248ede2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesPvRestoreCriteria.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IKubernetesPvRestoreCriteria DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IKubernetesPvRestoreCriteria DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesPvRestoreCriteria DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new KubernetesPvRestoreCriteria(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesPvRestoreCriteria FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IKubernetesPvRestoreCriteriaInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesPvRestoreCriteriaInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesPvRestoreCriteriaInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesPvRestoreCriteriaInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("StorageClassName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesPvRestoreCriteriaInternal)this).StorageClassName = (string) content.GetValueForProperty("StorageClassName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesPvRestoreCriteriaInternal)this).StorageClassName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesPvRestoreCriteriaInternal)this).StorageClassName = (string) content.GetValueForProperty("StorageClassName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesPvRestoreCriteriaInternal)this).StorageClassName, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IKubernetesPvRestoreCriteriaInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesPvRestoreCriteriaInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesPvRestoreCriteriaInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesPvRestoreCriteriaInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("StorageClassName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesPvRestoreCriteriaInternal)this).StorageClassName = (string) content.GetValueForProperty("StorageClassName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesPvRestoreCriteriaInternal)this).StorageClassName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesPvRestoreCriteriaInternal)this).StorageClassName = (string) content.GetValueForProperty("StorageClassName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesPvRestoreCriteriaInternal)this).StorageClassName, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesPvRestoreCriteria.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesPvRestoreCriteria.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesPvRestoreCriteria.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesPvRestoreCriteria.TypeConverter.cs index e80c9d74a8e0..cdf8f4d246b7 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesPvRestoreCriteria.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IKubernetesPvRestoreCriteria ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesPvRestoreCriteria ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesPvRestoreCriteria).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesPvRestoreCriteria).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesPvRestoreCriteria.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesPvRestoreCriteria.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesPvRestoreCriteria.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesPvRestoreCriteria.cs index e70dc5a1bc67..6f8fd28631c0 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesPvRestoreCriteria.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IKubernetesPvRestoreCriteria, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesPvRestoreCriteriaInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesPvRestoreCriteria, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesPvRestoreCriteriaInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteria __itemLevelRestoreCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ItemLevelRestoreCriteria(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteria __itemLevelRestoreCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IItemLevelRestoreCriteriaInternal)__itemLevelRestoreCriteria).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteriaInternal)__itemLevelRestoreCriteria).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteriaInternal)__itemLevelRestoreCriteria).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IItemLevelRestoreCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IItemLevelRestoreCriteriaInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteriaInternal { /// Selected persistent volume claim name string Name { get; set; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesPvRestoreCriteria.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesPvRestoreCriteria.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesPvRestoreCriteria.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesPvRestoreCriteria.json.cs index 8c88da3178bf..82cdb5feff6c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesPvRestoreCriteria.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IKubernetesPvRestoreCriteria. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesPvRestoreCriteria. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesPvRestoreCriteria. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesPvRestoreCriteria. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesPvRestoreCriteria FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ItemLevelRestoreCriteria(json); + __itemLevelRestoreCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/KubernetesStorageClassRestoreCriteria.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesStorageClassRestoreCriteria.PowerShell.cs similarity index 86% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesStorageClassRestoreCriteria.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesStorageClassRestoreCriteria.PowerShell.cs index 39fc2c27e5f8..0dcf649bf1a7 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesStorageClassRestoreCriteria.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IKubernetesStorageClassRestoreCriteria DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IKubernetesStorageClassRestoreCriteria DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesStorageClassRestoreCriteria DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new KubernetesStorageClassRestoreCriteria(content); } @@ -90,10 +90,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesStorageClassRestoreCriteria FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IKubernetesStorageClassRestoreCriteriaInternal)this).SelectedStorageClassName = (string) content.GetValueForProperty("SelectedStorageClassName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesStorageClassRestoreCriteriaInternal)this).SelectedStorageClassName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesStorageClassRestoreCriteriaInternal)this).SelectedStorageClassName = (string) content.GetValueForProperty("SelectedStorageClassName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesStorageClassRestoreCriteriaInternal)this).SelectedStorageClassName, global::System.Convert.ToString); } if (content.Contains("Provisioner")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesStorageClassRestoreCriteriaInternal)this).Provisioner = (string) content.GetValueForProperty("Provisioner",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesStorageClassRestoreCriteriaInternal)this).Provisioner, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesStorageClassRestoreCriteriaInternal)this).Provisioner = (string) content.GetValueForProperty("Provisioner",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesStorageClassRestoreCriteriaInternal)this).Provisioner, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IKubernetesStorageClassRestoreCriteriaInternal)this).SelectedStorageClassName = (string) content.GetValueForProperty("SelectedStorageClassName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesStorageClassRestoreCriteriaInternal)this).SelectedStorageClassName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesStorageClassRestoreCriteriaInternal)this).SelectedStorageClassName = (string) content.GetValueForProperty("SelectedStorageClassName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesStorageClassRestoreCriteriaInternal)this).SelectedStorageClassName, global::System.Convert.ToString); } if (content.Contains("Provisioner")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesStorageClassRestoreCriteriaInternal)this).Provisioner = (string) content.GetValueForProperty("Provisioner",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesStorageClassRestoreCriteriaInternal)this).Provisioner, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesStorageClassRestoreCriteriaInternal)this).Provisioner = (string) content.GetValueForProperty("Provisioner",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesStorageClassRestoreCriteriaInternal)this).Provisioner, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesStorageClassRestoreCriteria.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesStorageClassRestoreCriteria.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesStorageClassRestoreCriteria.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesStorageClassRestoreCriteria.TypeConverter.cs index 6b93171aae59..760a875f7571 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesStorageClassRestoreCriteria.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IKubernetesStorageClassRestoreCriteria ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesStorageClassRestoreCriteria ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesStorageClassRestoreCriteria).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesStorageClassRestoreCriteria).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesStorageClassRestoreCriteria.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesStorageClassRestoreCriteria.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesStorageClassRestoreCriteria.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesStorageClassRestoreCriteria.cs index 584fe926606b..a89ff2b664ab 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesStorageClassRestoreCriteria.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IKubernetesStorageClassRestoreCriteria, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesStorageClassRestoreCriteriaInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesStorageClassRestoreCriteria, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesStorageClassRestoreCriteriaInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteria __itemLevelRestoreCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ItemLevelRestoreCriteria(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteria __itemLevelRestoreCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IItemLevelRestoreCriteriaInternal)__itemLevelRestoreCriteria).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteriaInternal)__itemLevelRestoreCriteria).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteriaInternal)__itemLevelRestoreCriteria).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IItemLevelRestoreCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IItemLevelRestoreCriteriaInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteriaInternal { /// Provisioner of the storage class string Provisioner { get; set; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesStorageClassRestoreCriteria.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesStorageClassRestoreCriteria.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesStorageClassRestoreCriteria.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/KubernetesStorageClassRestoreCriteria.json.cs index 9b84cc5e9d97..1542e488ec9e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/KubernetesStorageClassRestoreCriteria.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IKubernetesStorageClassRestoreCriteria. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesStorageClassRestoreCriteria. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesStorageClassRestoreCriteria. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IKubernetesStorageClassRestoreCriteria. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IKubernetesStorageClassRestoreCriteria FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ItemLevelRestoreCriteria(json); + __itemLevelRestoreCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/MonitoringSettings.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/MonitoringSettings.PowerShell.cs similarity index 86% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/MonitoringSettings.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/MonitoringSettings.PowerShell.cs index 2007fbc14808..7fc1769129c1 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/MonitoringSettings.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IMonitoringSettings DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IMonitoringSettings DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IMonitoringSettings DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new MonitoringSettings(content); } @@ -85,10 +85,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IMonitoringSettings FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IMonitoringSettingsInternal)this).AzureMonitorAlertSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureMonitorAlertSettings) content.GetValueForProperty("AzureMonitorAlertSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IMonitoringSettingsInternal)this).AzureMonitorAlertSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureMonitorAlertSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IMonitoringSettingsInternal)this).AzureMonitorAlertSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureMonitorAlertSettings) content.GetValueForProperty("AzureMonitorAlertSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IMonitoringSettingsInternal)this).AzureMonitorAlertSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureMonitorAlertSettingsTypeConverter.ConvertFrom); } if (content.Contains("AzureMonitorAlertsForAllJobFailure")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IMonitoringSettingsInternal)this).AzureMonitorAlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AzureMonitorAlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IMonitoringSettingsInternal)this).AzureMonitorAlertsForAllJobFailure, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IMonitoringSettingsInternal)this).AzureMonitorAlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AzureMonitorAlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IMonitoringSettingsInternal)this).AzureMonitorAlertSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureMonitorAlertSettings) content.GetValueForProperty("AzureMonitorAlertSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IMonitoringSettingsInternal)this).AzureMonitorAlertSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureMonitorAlertSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IMonitoringSettingsInternal)this).AzureMonitorAlertSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureMonitorAlertSettings) content.GetValueForProperty("AzureMonitorAlertSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IMonitoringSettingsInternal)this).AzureMonitorAlertSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureMonitorAlertSettingsTypeConverter.ConvertFrom); } if (content.Contains("AzureMonitorAlertsForAllJobFailure")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IMonitoringSettingsInternal)this).AzureMonitorAlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AzureMonitorAlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IMonitoringSettingsInternal)this).AzureMonitorAlertsForAllJobFailure, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IMonitoringSettingsInternal)this).AzureMonitorAlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AzureMonitorAlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IMonitoringSettingsInternal)this).AzureMonitorAlertsForAllJobFailure, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState.CreateFrom); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/MonitoringSettings.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/MonitoringSettings.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/MonitoringSettings.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/MonitoringSettings.TypeConverter.cs index 6e3f57e55155..328f72525e67 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/MonitoringSettings.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IMonitoringSettings ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IMonitoringSettings ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IMonitoringSettings).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IMonitoringSettings).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/MonitoringSettings.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/MonitoringSettings.cs similarity index 83% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/MonitoringSettings.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/MonitoringSettings.cs index e9f512b5e6c3..b531b2d2ad0f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/MonitoringSettings.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Monitoring Settings public partial class MonitoringSettings : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IMonitoringSettings, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IMonitoringSettingsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IMonitoringSettings, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IMonitoringSettingsInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureMonitorAlertSettings _azureMonitorAlertSetting; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureMonitorAlertSettings AzureMonitorAlertSetting { get => (this._azureMonitorAlertSetting = this._azureMonitorAlertSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureMonitorAlertSettings()); set => this._azureMonitorAlertSetting = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureMonitorAlertSettings AzureMonitorAlertSetting { get => (this._azureMonitorAlertSetting = this._azureMonitorAlertSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureMonitorAlertSettingsInternal)AzureMonitorAlertSetting).AlertsForAllJobFailure; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IAzureMonitorAlertSettingsInternal)AzureMonitorAlertSetting).AlertsForAllJobFailure; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureMonitorAlertSettingsInternal)AzureMonitorAlertSetting).AlertsForAllJobFailure = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState)""); } /// Internal Acessors for AzureMonitorAlertSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureMonitorAlertSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IMonitoringSettingsInternal.AzureMonitorAlertSetting { get => (this._azureMonitorAlertSetting = this._azureMonitorAlertSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureMonitorAlertSettings()); set { {_azureMonitorAlertSetting = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureMonitorAlertSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IMonitoringSettingsInternal.AzureMonitorAlertSetting { get => (this._azureMonitorAlertSetting = this._azureMonitorAlertSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureMonitorAlertSettings AzureMonitorAlertSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureMonitorAlertSettings AzureMonitorAlertSetting { get; set; } Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState? AzureMonitorAlertsForAllJobFailure { get; set; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/MonitoringSettings.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/MonitoringSettings.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/MonitoringSettings.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/MonitoringSettings.json.cs index 98706d85cc44..adf0e133bba2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/MonitoringSettings.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IMonitoringSettings. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IMonitoringSettings. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IMonitoringSettings. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IMonitoringSettings. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IMonitoringSettings FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.AzureMonitorAlertSettings.FromJson(__jsonAzureMonitorAlertSettings) : AzureMonitorAlertSetting;} + {_azureMonitorAlertSetting = If( json?.PropertyT("azureMonitorAlertSettings"), out var __jsonAzureMonitorAlertSettings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureMonitorAlertSettings.FromJson(__jsonAzureMonitorAlertSettings) : AzureMonitorAlertSetting;} AfterFromJson(json); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/NamespacedNameResource.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/NamespacedNameResource.PowerShell.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/NamespacedNameResource.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/NamespacedNameResource.PowerShell.cs index 20efaee64b2e..d1247f097716 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/NamespacedNameResource.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.INamespacedNameResource DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.INamespacedNameResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new NamespacedNameResource(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.INamespacedNameResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.INamespacedNameResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.INamespacedNameResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Namespace")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.INamespacedNameResourceInternal)this).Namespace = (string) content.GetValueForProperty("Namespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.INamespacedNameResourceInternal)this).Namespace, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResourceInternal)this).Namespace = (string) content.GetValueForProperty("Namespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.INamespacedNameResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.INamespacedNameResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Namespace")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.INamespacedNameResourceInternal)this).Namespace = (string) content.GetValueForProperty("Namespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.INamespacedNameResourceInternal)this).Namespace, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResourceInternal)this).Namespace = (string) content.GetValueForProperty("Namespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResourceInternal)this).Namespace, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/NamespacedNameResource.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/NamespacedNameResource.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/NamespacedNameResource.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/NamespacedNameResource.TypeConverter.cs index 379407c9f58e..492c9933a905 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/NamespacedNameResource.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.INamespacedNameResource ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResource ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.INamespacedNameResource).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResource).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/NamespacedNameResource.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/NamespacedNameResource.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/NamespacedNameResource.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/NamespacedNameResource.cs index a9a902d74e10..7d589668e017 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/NamespacedNameResource.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.INamespacedNameResource, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.INamespacedNameResourceInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResource, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResourceInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/NamespacedNameResource.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/NamespacedNameResource.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/NamespacedNameResource.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/NamespacedNameResource.json.cs index dffcc0cf3528..09f9c143649e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/NamespacedNameResource.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.INamespacedNameResource. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResource. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.INamespacedNameResource. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.INamespacedNameResource. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.INamespacedNameResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/OperationExtendedInfo.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/OperationExtendedInfo.PowerShell.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/OperationExtendedInfo.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/OperationExtendedInfo.PowerShell.cs index 3edd6032a923..1da2508972d4 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/OperationExtendedInfo.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IOperationExtendedInfo DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IOperationExtendedInfo DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationExtendedInfo DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new OperationExtendedInfo(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationExtendedInfo FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IOperationExtendedInfoInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationExtendedInfoInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationExtendedInfoInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IOperationExtendedInfoInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationExtendedInfoInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationExtendedInfoInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationExtendedInfoInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/OperationExtendedInfo.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/OperationExtendedInfo.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/OperationExtendedInfo.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/OperationExtendedInfo.TypeConverter.cs index 6b5ac9335ea9..ef778ecf6cd9 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/OperationExtendedInfo.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IOperationExtendedInfo ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationExtendedInfo ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationExtendedInfo).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationExtendedInfo).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/OperationExtendedInfo.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/OperationExtendedInfo.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/OperationExtendedInfo.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/OperationExtendedInfo.cs index ffede9a93998..c68d23b5bc9a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/OperationExtendedInfo.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Operation Extended Info public partial class OperationExtendedInfo : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationExtendedInfo, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationExtendedInfoInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationExtendedInfo, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationExtendedInfoInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/OperationExtendedInfo.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/OperationExtendedInfo.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/OperationExtendedInfo.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/OperationExtendedInfo.json.cs index 04e97b81aeef..bf537869f8bd 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/OperationExtendedInfo.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IOperationExtendedInfo. - /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationExtendedInfo interface is polymorphic, + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationExtendedInfo. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IOperationExtendedInfo. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationExtendedInfo. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationExtendedInfo FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/OperationJobExtendedInfo.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/OperationJobExtendedInfo.PowerShell.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/OperationJobExtendedInfo.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/OperationJobExtendedInfo.PowerShell.cs index d63be1733765..0fd841d14ef3 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/OperationJobExtendedInfo.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IOperationJobExtendedInfo DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IOperationJobExtendedInfo DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new OperationJobExtendedInfo(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IOperationJobExtendedInfoInternal)this).JobId = (string) content.GetValueForProperty("JobId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfoInternal)this).JobId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfoInternal)this).JobId = (string) content.GetValueForProperty("JobId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfoInternal)this).JobId, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationExtendedInfoInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationExtendedInfoInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationExtendedInfoInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IOperationJobExtendedInfoInternal)this).JobId = (string) content.GetValueForProperty("JobId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfoInternal)this).JobId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfoInternal)this).JobId = (string) content.GetValueForProperty("JobId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfoInternal)this).JobId, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationExtendedInfoInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationExtendedInfoInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationExtendedInfoInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationExtendedInfoInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/OperationJobExtendedInfo.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/OperationJobExtendedInfo.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/OperationJobExtendedInfo.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/OperationJobExtendedInfo.TypeConverter.cs index 56302f21e9db..475f1a3d76b8 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/OperationJobExtendedInfo.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IOperationJobExtendedInfo ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/OperationJobExtendedInfo.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/OperationJobExtendedInfo.cs similarity index 89% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/OperationJobExtendedInfo.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/OperationJobExtendedInfo.cs index 0ae73d808328..9df9047ddc4b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/OperationJobExtendedInfo.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/OperationJobExtendedInfo.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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Operation Job Extended Info public partial class OperationJobExtendedInfo : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfoInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfoInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationExtendedInfo __operationExtendedInfo = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.OperationExtendedInfo(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationExtendedInfo __operationExtendedInfo = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.OperationExtendedInfo(); /// Backing field for property. private string _jobId; @@ -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.Api20231201.IOperationExtendedInfoInternal)__operationExtendedInfo).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationExtendedInfoInternal)__operationExtendedInfo).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationExtendedInfoInternal)__operationExtendedInfo).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationExtendedInfoInternal)__operationExtendedInfo).ObjectType = value ; } /// Creates an new instance. public OperationJobExtendedInfo() @@ -53,7 +53,7 @@ public OperationJobExtendedInfo() /// Operation Job Extended Info public partial interface IOperationJobExtendedInfo : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationExtendedInfo + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationExtendedInfo { /// Name or Arm Id of the job created for this operation. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( @@ -67,7 +67,7 @@ public partial interface IOperationJobExtendedInfo : } /// Operation Job Extended Info internal partial interface IOperationJobExtendedInfoInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationExtendedInfoInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationExtendedInfoInternal { /// 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/Api20231201/OperationJobExtendedInfo.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/OperationJobExtendedInfo.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/OperationJobExtendedInfo.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/OperationJobExtendedInfo.json.cs index 54cf6b2ba457..1d828d663356 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/OperationJobExtendedInfo.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IOperationJobExtendedInfo. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.OperationExtendedInfo(json); + __operationExtendedInfo = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/OperationResource.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/OperationResource.PowerShell.cs similarity index 76% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/OperationResource.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/OperationResource.PowerShell.cs index d875b67c246d..d94b12e10ce2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/OperationResource.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IOperationResource DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IOperationResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new OperationResource(content); } @@ -85,10 +85,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IOperationResourceInternal)this).Error = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IError) content.GetValueForProperty("Error",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal)this).Error, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ErrorTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal)this).Error = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IError) content.GetValueForProperty("Error",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal)this).Error, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ErrorTypeConverter.ConvertFrom); } if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationExtendedInfo) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.OperationExtendedInfoTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationExtendedInfo) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.OperationExtendedInfoTypeConverter.ConvertFrom); } if (content.Contains("EndTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal)this).EndTime = (global::System.DateTime?) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IOperationResourceInternal)this).EndTime = (global::System.DateTime?) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IOperationResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("StartTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal)this).StartTime = (global::System.DateTime?) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IOperationResourceInternal)this).StartTime = (global::System.DateTime?) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IOperationResourceInternal)this).Status = (string) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal)this).Status, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal)this).Status = (string) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal)this).Status, global::System.Convert.ToString); } if (content.Contains("AdditionalInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal)this).AdditionalInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[]) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal)this).AdditionalInfo, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ErrorAdditionalInfoTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal)this).AdditionalInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[]) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IOperationResourceInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal)this).Code, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal)this).Code, global::System.Convert.ToString); } if (content.Contains("Detail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IError[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ErrorTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IError[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ErrorTypeConverter.ConvertFrom)); } if (content.Contains("Message")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal)this).Message, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal)this).Message, global::System.Convert.ToString); } if (content.Contains("Target")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal)this).Target, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal)this).Target, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IOperationResourceInternal)this).Error = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IError) content.GetValueForProperty("Error",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal)this).Error, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ErrorTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal)this).Error = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IError) content.GetValueForProperty("Error",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal)this).Error, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ErrorTypeConverter.ConvertFrom); } if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationExtendedInfo) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.OperationExtendedInfoTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationExtendedInfo) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.OperationExtendedInfoTypeConverter.ConvertFrom); } if (content.Contains("EndTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal)this).EndTime = (global::System.DateTime?) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IOperationResourceInternal)this).EndTime = (global::System.DateTime?) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IOperationResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("StartTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal)this).StartTime = (global::System.DateTime?) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IOperationResourceInternal)this).StartTime = (global::System.DateTime?) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IOperationResourceInternal)this).Status = (string) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal)this).Status, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal)this).Status = (string) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal)this).Status, global::System.Convert.ToString); } if (content.Contains("AdditionalInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal)this).AdditionalInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[]) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal)this).AdditionalInfo, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ErrorAdditionalInfoTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal)this).AdditionalInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[]) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IOperationResourceInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal)this).Code, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal)this).Code, global::System.Convert.ToString); } if (content.Contains("Detail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IError[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ErrorTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IError[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ErrorTypeConverter.ConvertFrom)); } if (content.Contains("Message")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal)this).Message, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal)this).Message, global::System.Convert.ToString); } if (content.Contains("Target")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal)this).Target, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal)this).Target, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/OperationResource.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/OperationResource.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/OperationResource.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/OperationResource.TypeConverter.cs index 4bd63f255e86..f89738a00613 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/OperationResource.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IOperationResource ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResource ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResource).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResource).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/OperationResource.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/OperationResource.cs similarity index 84% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/OperationResource.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/OperationResource.cs index ff676ac97113..d8ca787d4f4e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/OperationResource.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Operation Resource public partial class OperationResource : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResource, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResource, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api40.IErrorAdditionalInfo[] AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IErrorInternal)Error).AdditionalInfo; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[] AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IErrorInternal)Error).Code; } + public string Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IError[] Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IErrorInternal)Error).Detail; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IError[] Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IError _error; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IError Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.Error()); set => this._error = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IError Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IErrorInternal)Error).Message; } + public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IErrorInternal)Error).Message; } /// Internal Acessors for AdditionalInfo - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IErrorInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IErrorInternal)Error).AdditionalInfo = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IErrorInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IErrorInternal)Error).AdditionalInfo = value; } /// Internal Acessors for Code - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IErrorInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IErrorInternal)Error).Code = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IErrorInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IErrorInternal)Error).Code = value; } /// Internal Acessors for Detail - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IError[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IErrorInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IErrorInternal)Error).Detail = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IError[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IErrorInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IErrorInternal)Error).Detail = value; } /// Internal Acessors for Error - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IError Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.Error()); set { {_error = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IError Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.Error()); set { {_error = value;} } } /// Internal Acessors for Message - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IErrorInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IErrorInternal)Error).Message = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IErrorInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IErrorInternal)Error).Message = value; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationExtendedInfo Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.OperationExtendedInfo()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationExtendedInfo Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.OperationExtendedInfo()); set { {_property = value;} } } /// Internal Acessors for Target - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResourceInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IErrorInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IErrorInternal)Error).Target = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResourceInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IErrorInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IOperationExtendedInfoInternal)Property).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationExtendedInfoInternal)Property).ObjectType = value ?? null; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationExtendedInfoInternal)Property).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationExtendedInfoInternal)Property).ObjectType = value ?? null; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationExtendedInfo _property; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IOperationExtendedInfo Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.OperationExtendedInfo()); set => this._property = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationExtendedInfo Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IErrorInternal)Error).Target; } + public string Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IErrorInternal)Error).Target; } /// Creates an new instance. public OperationResource() @@ -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.Api20231201.IError) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IError[] Detail { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IError) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IError[] Detail { get; } /// End time of the operation [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -227,7 +227,7 @@ internal partial interface IOperationResourceInternal /// The error code. string Code { get; set; } /// The error details. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IError[] Detail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IError Error { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IOperationExtendedInfo Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/OperationResource.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/OperationResource.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/OperationResource.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/OperationResource.json.cs index 4a5b6984f0af..1ea7c80faaa2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/OperationResource.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IOperationResource. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResource. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResource. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResource. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.Error.FromJson(__jsonError) : Error;} - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.OperationExtendedInfo.FromJson(__jsonProperties) : Property;} + {_error = If( json?.PropertyT("error"), out var __jsonError) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.Error.FromJson(__jsonError) : Error;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/PatchBackupVaultInput.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PatchBackupVaultInput.PowerShell.cs similarity index 69% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchBackupVaultInput.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PatchBackupVaultInput.PowerShell.cs index 40e628d3bbd8..cb76f13fa9e9 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchBackupVaultInput.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IPatchBackupVaultInput DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IPatchBackupVaultInput DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInput DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new PatchBackupVaultInput(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInput FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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,73 @@ internal PatchBackupVaultInput(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("MonitoringSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).MonitoringSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IMonitoringSettings) content.GetValueForProperty("MonitoringSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).MonitoringSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.MonitoringSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).MonitoringSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IMonitoringSettings) content.GetValueForProperty("MonitoringSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).MonitoringSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.MonitoringSettingsTypeConverter.ConvertFrom); } if (content.Contains("SecuritySetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).SecuritySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettings) content.GetValueForProperty("SecuritySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).SecuritySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SecuritySettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).SecuritySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettings) content.GetValueForProperty("SecuritySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).SecuritySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SecuritySettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).FeatureSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettings) content.GetValueForProperty("FeatureSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).FeatureSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.FeatureSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).FeatureSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettings) content.GetValueForProperty("FeatureSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).FeatureSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.FeatureSettingsTypeConverter.ConvertFrom); + } + if (content.Contains("ResourceGuardOperationRequest")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).ResourceGuardOperationRequest = (string[]) content.GetValueForProperty("ResourceGuardOperationRequest",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).ResourceGuardOperationRequest, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("SecuritySettingImmutabilitySetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).SecuritySettingImmutabilitySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IImmutabilitySettings) content.GetValueForProperty("SecuritySettingImmutabilitySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).SecuritySettingImmutabilitySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ImmutabilitySettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).SecuritySettingImmutabilitySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IImmutabilitySettings) content.GetValueForProperty("SecuritySettingImmutabilitySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).SecuritySettingImmutabilitySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ImmutabilitySettingsTypeConverter.ConvertFrom); + } + if (content.Contains("EncryptionSetting")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).EncryptionSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings) content.GetValueForProperty("EncryptionSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).EncryptionSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.EncryptionSettingsTypeConverter.ConvertFrom); } if (content.Contains("MonitoringSettingAzureMonitorAlertSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).MonitoringSettingAzureMonitorAlertSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureMonitorAlertSettings) content.GetValueForProperty("MonitoringSettingAzureMonitorAlertSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).MonitoringSettingAzureMonitorAlertSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureMonitorAlertSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).MonitoringSettingAzureMonitorAlertSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureMonitorAlertSettings) content.GetValueForProperty("MonitoringSettingAzureMonitorAlertSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).MonitoringSettingAzureMonitorAlertSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureMonitorAlertSettingsTypeConverter.ConvertFrom); } if (content.Contains("SoftDeleteSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).SoftDeleteSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISoftDeleteSettings) content.GetValueForProperty("SoftDeleteSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).SoftDeleteSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SoftDeleteSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).SoftDeleteSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISoftDeleteSettings) content.GetValueForProperty("SoftDeleteSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).SoftDeleteSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SoftDeleteSettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSettingCrossSubscriptionRestoreSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).FeatureSettingCrossSubscriptionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossSubscriptionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossSubscriptionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).FeatureSettingCrossSubscriptionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossSubscriptionRestoreSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).FeatureSettingCrossSubscriptionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossSubscriptionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossSubscriptionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).FeatureSettingCrossSubscriptionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CrossSubscriptionRestoreSettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSettingCrossRegionRestoreSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).FeatureSettingCrossRegionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossRegionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).FeatureSettingCrossRegionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossRegionRestoreSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).FeatureSettingCrossRegionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossRegionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).FeatureSettingCrossRegionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CrossRegionRestoreSettingsTypeConverter.ConvertFrom); } if (content.Contains("AzureMonitorAlertsForAllJobFailure")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).AzureMonitorAlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AzureMonitorAlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).AzureMonitorAlertsForAllJobFailure, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).AzureMonitorAlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AzureMonitorAlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).AzureMonitorAlertsForAllJobFailure, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState.CreateFrom); } if (content.Contains("SoftDeleteState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).SoftDeleteState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("SoftDeleteState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).SoftDeleteState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).SoftDeleteState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("SoftDeleteState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).SoftDeleteState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); } if (content.Contains("SoftDeleteRetentionDurationInDay")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).SoftDeleteRetentionDurationInDay = (double?) content.GetValueForProperty("SoftDeleteRetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).SoftDeleteRetentionDurationInDay, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).SoftDeleteRetentionDurationInDay = (double?) content.GetValueForProperty("SoftDeleteRetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).SoftDeleteRetentionDurationInDay, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); } if (content.Contains("ImmutabilityState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).ImmutabilityState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("ImmutabilityState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).ImmutabilityState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).ImmutabilityState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("ImmutabilityState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).ImmutabilityState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState.CreateFrom); } if (content.Contains("CrossSubscriptionRestoreState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).CrossSubscriptionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("CrossSubscriptionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).CrossSubscriptionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).CrossSubscriptionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("CrossSubscriptionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).CrossSubscriptionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState.CreateFrom); } if (content.Contains("CrossRegionRestoreState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).CrossRegionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("CrossRegionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).CrossRegionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).CrossRegionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("CrossRegionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 +186,67 @@ internal PatchBackupVaultInput(global::System.Management.Automation.PSObject con // actually deserialize if (content.Contains("MonitoringSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).MonitoringSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IMonitoringSettings) content.GetValueForProperty("MonitoringSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).MonitoringSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.MonitoringSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).MonitoringSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IMonitoringSettings) content.GetValueForProperty("MonitoringSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).MonitoringSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.MonitoringSettingsTypeConverter.ConvertFrom); } if (content.Contains("SecuritySetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).SecuritySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettings) content.GetValueForProperty("SecuritySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).SecuritySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SecuritySettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).SecuritySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettings) content.GetValueForProperty("SecuritySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).SecuritySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SecuritySettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).FeatureSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettings) content.GetValueForProperty("FeatureSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).FeatureSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.FeatureSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).FeatureSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettings) content.GetValueForProperty("FeatureSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).FeatureSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.FeatureSettingsTypeConverter.ConvertFrom); + } + if (content.Contains("ResourceGuardOperationRequest")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).ResourceGuardOperationRequest = (string[]) content.GetValueForProperty("ResourceGuardOperationRequest",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).ResourceGuardOperationRequest, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("SecuritySettingImmutabilitySetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).SecuritySettingImmutabilitySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IImmutabilitySettings) content.GetValueForProperty("SecuritySettingImmutabilitySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).SecuritySettingImmutabilitySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ImmutabilitySettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).SecuritySettingImmutabilitySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IImmutabilitySettings) content.GetValueForProperty("SecuritySettingImmutabilitySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).SecuritySettingImmutabilitySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ImmutabilitySettingsTypeConverter.ConvertFrom); + } + if (content.Contains("EncryptionSetting")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).EncryptionSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings) content.GetValueForProperty("EncryptionSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).EncryptionSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.EncryptionSettingsTypeConverter.ConvertFrom); } if (content.Contains("MonitoringSettingAzureMonitorAlertSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).MonitoringSettingAzureMonitorAlertSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureMonitorAlertSettings) content.GetValueForProperty("MonitoringSettingAzureMonitorAlertSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).MonitoringSettingAzureMonitorAlertSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureMonitorAlertSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).MonitoringSettingAzureMonitorAlertSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureMonitorAlertSettings) content.GetValueForProperty("MonitoringSettingAzureMonitorAlertSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).MonitoringSettingAzureMonitorAlertSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureMonitorAlertSettingsTypeConverter.ConvertFrom); } if (content.Contains("SoftDeleteSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).SoftDeleteSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISoftDeleteSettings) content.GetValueForProperty("SoftDeleteSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).SoftDeleteSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SoftDeleteSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).SoftDeleteSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISoftDeleteSettings) content.GetValueForProperty("SoftDeleteSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).SoftDeleteSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SoftDeleteSettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSettingCrossSubscriptionRestoreSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).FeatureSettingCrossSubscriptionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossSubscriptionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossSubscriptionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).FeatureSettingCrossSubscriptionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossSubscriptionRestoreSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).FeatureSettingCrossSubscriptionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossSubscriptionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossSubscriptionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).FeatureSettingCrossSubscriptionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CrossSubscriptionRestoreSettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSettingCrossRegionRestoreSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).FeatureSettingCrossRegionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossRegionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).FeatureSettingCrossRegionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossRegionRestoreSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).FeatureSettingCrossRegionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossRegionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).FeatureSettingCrossRegionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CrossRegionRestoreSettingsTypeConverter.ConvertFrom); } if (content.Contains("AzureMonitorAlertsForAllJobFailure")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).AzureMonitorAlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AzureMonitorAlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).AzureMonitorAlertsForAllJobFailure, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).AzureMonitorAlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AzureMonitorAlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).AzureMonitorAlertsForAllJobFailure, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState.CreateFrom); } if (content.Contains("SoftDeleteState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).SoftDeleteState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("SoftDeleteState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).SoftDeleteState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).SoftDeleteState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("SoftDeleteState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).SoftDeleteState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); } if (content.Contains("SoftDeleteRetentionDurationInDay")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).SoftDeleteRetentionDurationInDay = (double?) content.GetValueForProperty("SoftDeleteRetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).SoftDeleteRetentionDurationInDay, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).SoftDeleteRetentionDurationInDay = (double?) content.GetValueForProperty("SoftDeleteRetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).SoftDeleteRetentionDurationInDay, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); } if (content.Contains("ImmutabilityState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).ImmutabilityState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("ImmutabilityState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).ImmutabilityState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).ImmutabilityState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("ImmutabilityState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).ImmutabilityState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState.CreateFrom); } if (content.Contains("CrossSubscriptionRestoreState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).CrossSubscriptionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("CrossSubscriptionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).CrossSubscriptionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).CrossSubscriptionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("CrossSubscriptionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).CrossSubscriptionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState.CreateFrom); } if (content.Contains("CrossRegionRestoreState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).CrossRegionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("CrossRegionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)this).CrossRegionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).CrossRegionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("CrossRegionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)this).CrossRegionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState.CreateFrom); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchBackupVaultInput.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PatchBackupVaultInput.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchBackupVaultInput.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PatchBackupVaultInput.TypeConverter.cs index 68cf60c239d8..205487be20be 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchBackupVaultInput.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IPatchBackupVaultInput ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInput ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInput).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInput).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchBackupVaultInput.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PatchBackupVaultInput.cs similarity index 67% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchBackupVaultInput.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PatchBackupVaultInput.cs index b8a67b69b2da..4f8751b28f29 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchBackupVaultInput.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PatchBackupVaultInput.cs @@ -3,83 +3,94 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IPatchBackupVaultInput, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInput, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IMonitoringSettingsInternal)MonitoringSetting).AzureMonitorAlertsForAllJobFailure; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IMonitoringSettingsInternal)MonitoringSetting).AzureMonitorAlertsForAllJobFailure; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IFeatureSettingsInternal)FeatureSetting).CrossRegionRestoreState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IFeatureSettingsInternal)FeatureSetting).CrossRegionRestoreState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IFeatureSettingsInternal)FeatureSetting).CrossSubscriptionRestoreState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IFeatureSettingsInternal)FeatureSetting).CrossSubscriptionRestoreState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettingsInternal)FeatureSetting).CrossSubscriptionRestoreState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState)""); } + + /// Customer Managed Key details of the resource. + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings EncryptionSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettingsInternal)SecuritySetting).EncryptionSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettingsInternal)SecuritySetting).EncryptionSetting = value ?? null /* model class */; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettings _featureSetting; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettings _featureSetting; /// Feature Settings [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettings FeatureSetting { get => (this._featureSetting = this._featureSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.FeatureSettings()); set => this._featureSetting = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettings FeatureSetting { get => (this._featureSetting = this._featureSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ISecuritySettingsInternal)SecuritySetting).ImmutabilityState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.ISecuritySettingsInternal)SecuritySetting).ImmutabilityState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettingsInternal)SecuritySetting).ImmutabilityState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState)""); } /// Internal Acessors for FeatureSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal.FeatureSetting { get => (this._featureSetting = this._featureSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.FeatureSettings()); set { {_featureSetting = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal.FeatureSetting { get => (this._featureSetting = this._featureSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.FeatureSettings()); set { {_featureSetting = value;} } } /// Internal Acessors for FeatureSettingCrossRegionRestoreSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal.FeatureSettingCrossRegionRestoreSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettingsInternal)FeatureSetting).CrossRegionRestoreSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettingsInternal)FeatureSetting).CrossRegionRestoreSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal.FeatureSettingCrossRegionRestoreSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettingsInternal)FeatureSetting).CrossRegionRestoreSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettingsInternal)FeatureSetting).CrossRegionRestoreSetting = value; } /// Internal Acessors for FeatureSettingCrossSubscriptionRestoreSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossSubscriptionRestoreSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal.FeatureSettingCrossSubscriptionRestoreSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettingsInternal)FeatureSetting).CrossSubscriptionRestoreSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettingsInternal)FeatureSetting).CrossSubscriptionRestoreSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossSubscriptionRestoreSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal.FeatureSettingCrossSubscriptionRestoreSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettingsInternal)FeatureSetting).CrossSubscriptionRestoreSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettingsInternal)FeatureSetting).CrossSubscriptionRestoreSetting = value; } /// Internal Acessors for MonitoringSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IMonitoringSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal.MonitoringSetting { get => (this._monitoringSetting = this._monitoringSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.MonitoringSettings()); set { {_monitoringSetting = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IMonitoringSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal.MonitoringSetting { get => (this._monitoringSetting = this._monitoringSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.MonitoringSettings()); set { {_monitoringSetting = value;} } } /// Internal Acessors for MonitoringSettingAzureMonitorAlertSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureMonitorAlertSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal.MonitoringSettingAzureMonitorAlertSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IMonitoringSettingsInternal)MonitoringSetting).AzureMonitorAlertSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IMonitoringSettingsInternal)MonitoringSetting).AzureMonitorAlertSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureMonitorAlertSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal.MonitoringSettingAzureMonitorAlertSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IMonitoringSettingsInternal)MonitoringSetting).AzureMonitorAlertSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IMonitoringSettingsInternal)MonitoringSetting).AzureMonitorAlertSetting = value; } /// Internal Acessors for SecuritySetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal.SecuritySetting { get => (this._securitySetting = this._securitySetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SecuritySettings()); set { {_securitySetting = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal.SecuritySetting { get => (this._securitySetting = this._securitySetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SecuritySettings()); set { {_securitySetting = value;} } } /// Internal Acessors for SecuritySettingImmutabilitySetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IImmutabilitySettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal.SecuritySettingImmutabilitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettingsInternal)SecuritySetting).ImmutabilitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettingsInternal)SecuritySetting).ImmutabilitySetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IImmutabilitySettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal.SecuritySettingImmutabilitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettingsInternal)SecuritySetting).ImmutabilitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettingsInternal)SecuritySetting).ImmutabilitySetting = value; } /// Internal Acessors for SoftDeleteSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISoftDeleteSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal.SoftDeleteSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettingsInternal)SecuritySetting).SoftDeleteSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettingsInternal)SecuritySetting).SoftDeleteSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISoftDeleteSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal.SoftDeleteSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettingsInternal)SecuritySetting).SoftDeleteSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettingsInternal)SecuritySetting).SoftDeleteSetting = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IMonitoringSettings _monitoringSetting; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IMonitoringSettings _monitoringSetting; /// Monitoring Settings [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IMonitoringSettings MonitoringSetting { get => (this._monitoringSetting = this._monitoringSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.MonitoringSettings()); set => this._monitoringSetting = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IMonitoringSettings MonitoringSetting { get => (this._monitoringSetting = this._monitoringSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.MonitoringSettings()); set => this._monitoringSetting = value; } + + /// Backing field for property. + private string[] _resourceGuardOperationRequest; + + /// ResourceGuardOperationRequests on which LAC check will be performed + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public string[] ResourceGuardOperationRequest { get => this._resourceGuardOperationRequest; set => this._resourceGuardOperationRequest = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettings _securitySetting; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettings _securitySetting; /// Security Settings [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettings SecuritySetting { get => (this._securitySetting = this._securitySetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SecuritySettings()); set => this._securitySetting = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettings SecuritySetting { get => (this._securitySetting = this._securitySetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ISecuritySettingsInternal)SecuritySetting).SoftDeleteRetentionDurationInDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettingsInternal)SecuritySetting).SoftDeleteRetentionDurationInDay = value ?? default(double); } + public double? SoftDeleteRetentionDurationInDay { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettingsInternal)SecuritySetting).SoftDeleteRetentionDurationInDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ISecuritySettingsInternal)SecuritySetting).SoftDeleteState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.ISecuritySettingsInternal)SecuritySetting).SoftDeleteState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettingsInternal)SecuritySetting).SoftDeleteState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState)""); } /// Creates an new instance. public PatchBackupVaultInput() @@ -114,6 +125,14 @@ public partial interface IPatchBackupVaultInput : SerializedName = @"state", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState) })] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState? CrossSubscriptionRestoreState { get; set; } + /// Customer Managed Key details of the resource. + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Customer Managed Key details of the resource.", + SerializedName = @"encryptionSettings", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings EncryptionSetting { get; set; } /// Immutability state [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -122,6 +141,14 @@ public partial interface IPatchBackupVaultInput : SerializedName = @"state", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState) })] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState? ImmutabilityState { get; set; } + /// ResourceGuardOperationRequests on which LAC check will be performed + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"ResourceGuardOperationRequests on which LAC check will be performed", + SerializedName = @"resourceGuardOperationRequests", + PossibleTypes = new [] { typeof(string) })] + string[] ResourceGuardOperationRequest { get; set; } /// Soft delete retention duration [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -149,26 +176,30 @@ internal partial interface IPatchBackupVaultInputInternal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState? CrossRegionRestoreState { get; set; } /// CrossSubscriptionRestore state Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState? CrossSubscriptionRestoreState { get; set; } + /// Customer Managed Key details of the resource. + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings EncryptionSetting { get; set; } /// Feature Settings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettings FeatureSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettings FeatureSetting { get; set; } - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreSettings FeatureSettingCrossRegionRestoreSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreSettings FeatureSettingCrossRegionRestoreSetting { get; set; } /// CrossSubscriptionRestore Settings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossSubscriptionRestoreSettings FeatureSettingCrossSubscriptionRestoreSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossSubscriptionRestoreSettings FeatureSettingCrossSubscriptionRestoreSetting { get; set; } /// Immutability state Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState? ImmutabilityState { get; set; } /// Monitoring Settings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IMonitoringSettings MonitoringSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IMonitoringSettings MonitoringSetting { get; set; } /// Settings for Azure Monitor based alerts - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureMonitorAlertSettings MonitoringSettingAzureMonitorAlertSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureMonitorAlertSettings MonitoringSettingAzureMonitorAlertSetting { get; set; } + /// ResourceGuardOperationRequests on which LAC check will be performed + string[] ResourceGuardOperationRequest { get; set; } /// Security Settings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettings SecuritySetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettings SecuritySetting { get; set; } /// Immutability Settings at vault level - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IImmutabilitySettings SecuritySettingImmutabilitySetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IImmutabilitySettings SecuritySettingImmutabilitySetting { get; set; } /// Soft delete retention duration double? SoftDeleteRetentionDurationInDay { get; set; } /// Soft delete related settings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISoftDeleteSettings SoftDeleteSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/PatchBackupVaultInput.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PatchBackupVaultInput.json.cs similarity index 82% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchBackupVaultInput.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PatchBackupVaultInput.json.cs index a3ed13e15152..f3652ed6c489 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchBackupVaultInput.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IPatchBackupVaultInput. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInput. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInput. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInput. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInput FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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,10 @@ internal PatchBackupVaultInput(Microsoft.Azure.PowerShell.Cmdlets.DataProtection { return; } - {_monitoringSetting = If( json?.PropertyT("monitoringSettings"), out var __jsonMonitoringSettings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.MonitoringSettings.FromJson(__jsonMonitoringSettings) : MonitoringSetting;} - {_securitySetting = If( json?.PropertyT("securitySettings"), out var __jsonSecuritySettings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SecuritySettings.FromJson(__jsonSecuritySettings) : SecuritySetting;} - {_featureSetting = If( json?.PropertyT("featureSettings"), out var __jsonFeatureSettings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.FeatureSettings.FromJson(__jsonFeatureSettings) : FeatureSetting;} + {_monitoringSetting = If( json?.PropertyT("monitoringSettings"), out var __jsonMonitoringSettings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.MonitoringSettings.FromJson(__jsonMonitoringSettings) : MonitoringSetting;} + {_securitySetting = If( json?.PropertyT("securitySettings"), out var __jsonSecuritySettings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SecuritySettings.FromJson(__jsonSecuritySettings) : SecuritySetting;} + {_featureSetting = If( json?.PropertyT("featureSettings"), out var __jsonFeatureSettings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.FeatureSettings.FromJson(__jsonFeatureSettings) : FeatureSetting;} + {_resourceGuardOperationRequest = If( json?.PropertyT("resourceGuardOperationRequests"), out var __jsonResourceGuardOperationRequests) ? If( __jsonResourceGuardOperationRequests 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 : ResourceGuardOperationRequest;} AfterFromJson(json); } @@ -105,6 +106,15 @@ public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode T AddIf( null != this._monitoringSetting ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) this._monitoringSetting.ToJson(null,serializationMode) : null, "monitoringSettings" ,container.Add ); AddIf( null != this._securitySetting ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) this._securitySetting.ToJson(null,serializationMode) : null, "securitySettings" ,container.Add ); AddIf( null != this._featureSetting ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) this._featureSetting.ToJson(null,serializationMode) : null, "featureSettings" ,container.Add ); + if (null != this._resourceGuardOperationRequest) + { + var __w = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.XNodeArray(); + foreach( var __x in this._resourceGuardOperationRequest ) + { + 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("resourceGuardOperationRequests",__w); + } AfterToJson(ref container); return container; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceGuardInput.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PatchResourceGuardInput.PowerShell.cs similarity index 87% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceGuardInput.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PatchResourceGuardInput.PowerShell.cs index 4a67ee181cfa..88cdee2638ae 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceGuardInput.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IPatchResourceGuardInput DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IPatchResourceGuardInput DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceGuardInput DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new PatchResourceGuardInput(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceGuardInput FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IPatchResourceGuardInputInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceGuardInputTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceGuardInputInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.PatchResourceGuardInputTagsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceGuardInputInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceGuardInputTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceGuardInputInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IPatchResourceGuardInputInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceGuardInputTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceGuardInputInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.PatchResourceGuardInputTagsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceGuardInputInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceGuardInputTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceGuardInputInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.PatchResourceGuardInputTagsTypeConverter.ConvertFrom); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceGuardInput.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PatchResourceGuardInput.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceGuardInput.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PatchResourceGuardInput.TypeConverter.cs index fa63a179b652..1a51509ce364 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceGuardInput.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IPatchResourceGuardInput ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceGuardInput ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceGuardInput).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceGuardInput).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceGuardInput.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PatchResourceGuardInput.cs similarity index 83% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceGuardInput.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PatchResourceGuardInput.cs index 81e773efe971..16e358939e01 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceGuardInput.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IPatchResourceGuardInput, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceGuardInputInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceGuardInput, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceGuardInputInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceGuardInputTags _tag; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IPatchResourceGuardInputTags Tag { get => (this._tag = this._tag ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.PatchResourceGuardInputTags()); set => this._tag = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceGuardInputTags Tag { get => (this._tag = this._tag ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IPatchResourceGuardInputTags) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceGuardInputTags Tag { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceGuardInputTags) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IPatchResourceGuardInputTags Tag { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceGuardInputTags Tag { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceGuardInput.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PatchResourceGuardInput.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceGuardInput.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PatchResourceGuardInput.json.cs index 5e3021e17457..d21834ff6b26 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceGuardInput.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IPatchResourceGuardInput. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceGuardInput. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceGuardInput. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceGuardInput. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceGuardInput FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.PatchResourceGuardInputTags.FromJson(__jsonTags) : Tag;} + {_tag = If( json?.PropertyT("tags"), out var __jsonTags) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.PatchResourceGuardInputTags.FromJson(__jsonTags) : Tag;} AfterFromJson(json); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceGuardInputTags.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PatchResourceGuardInputTags.PowerShell.cs similarity index 92% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceGuardInputTags.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PatchResourceGuardInputTags.PowerShell.cs index 34a44650e396..ede2a89cc7d8 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceGuardInputTags.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IPatchResourceGuardInputTags DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IPatchResourceGuardInputTags DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceGuardInputTags DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new PatchResourceGuardInputTags(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceGuardInputTags FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/PatchResourceGuardInputTags.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PatchResourceGuardInputTags.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceGuardInputTags.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PatchResourceGuardInputTags.TypeConverter.cs index f9b627d6a1d4..6a7955b41a11 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceGuardInputTags.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IPatchResourceGuardInputTags ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceGuardInputTags ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceGuardInputTags).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceGuardInputTags).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceGuardInputTags.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PatchResourceGuardInputTags.cs similarity index 92% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceGuardInputTags.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PatchResourceGuardInputTags.cs index a0d5b8dcdb73..4cdfbe61b5de 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceGuardInputTags.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Resource Guard tags. public partial class PatchResourceGuardInputTags : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceGuardInputTags, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceGuardInputTagsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceGuardInputTags, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceGuardInputTagsInternal { /// Creates an new instance. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceGuardInputTags.dictionary.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PatchResourceGuardInputTags.dictionary.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceGuardInputTags.dictionary.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PatchResourceGuardInputTags.dictionary.cs index 04889b73553a..e00b652386bc 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceGuardInputTags.dictionary.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.PatchResourceGuardInputTags source) => source.__additionalProperties; + public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.PatchResourceGuardInputTags source) => source.__additionalProperties; } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceGuardInputTags.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PatchResourceGuardInputTags.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceGuardInputTags.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PatchResourceGuardInputTags.json.cs index d95c32b201dd..cfa1890c29c4 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceGuardInputTags.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IPatchResourceGuardInputTags. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceGuardInputTags. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceGuardInputTags. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceGuardInputTags. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceGuardInputTags FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/PatchResourceRequestInput.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PatchResourceRequestInput.PowerShell.cs similarity index 68% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceRequestInput.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PatchResourceRequestInput.PowerShell.cs index 0c83c7a5d24a..53bebb5689b1 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceRequestInput.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IPatchResourceRequestInput DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IPatchResourceRequestInput DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInput DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new PatchResourceRequestInput(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInput FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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,101 @@ internal PatchResourceRequestInput(global::System.Collections.IDictionary conten // actually deserialize if (content.Contains("Identity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppIdentityDetails) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppIdentityDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppIdentityDetails) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppIdentityDetailsTypeConverter.ConvertFrom); } if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInput) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.PatchBackupVaultInputTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInput) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.PatchBackupVaultInputTypeConverter.ConvertFrom); } if (content.Contains("Tag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.PatchResourceRequestInputTagsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.PatchResourceRequestInputTagsTypeConverter.ConvertFrom); } if (content.Contains("MonitoringSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).MonitoringSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IMonitoringSettings) content.GetValueForProperty("MonitoringSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).MonitoringSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.MonitoringSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).MonitoringSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IMonitoringSettings) content.GetValueForProperty("MonitoringSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).MonitoringSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.MonitoringSettingsTypeConverter.ConvertFrom); } if (content.Contains("SecuritySetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).SecuritySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettings) content.GetValueForProperty("SecuritySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).SecuritySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SecuritySettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).SecuritySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettings) content.GetValueForProperty("SecuritySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).SecuritySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SecuritySettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).FeatureSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettings) content.GetValueForProperty("FeatureSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).FeatureSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.FeatureSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).FeatureSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettings) content.GetValueForProperty("FeatureSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).FeatureSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.FeatureSettingsTypeConverter.ConvertFrom); } if (content.Contains("IdentityPrincipalId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).IdentityPrincipalId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).IdentityPrincipalId, global::System.Convert.ToString); } if (content.Contains("IdentityTenantId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).IdentityTenantId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).IdentityTenantId, global::System.Convert.ToString); } if (content.Contains("IdentityType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).IdentityType = (string) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).IdentityType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).IdentityType = (string) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).IdentityType, global::System.Convert.ToString); } if (content.Contains("IdentityUserAssignedIdentity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).IdentityUserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IDppIdentityDetailsUserAssignedIdentities) content.GetValueForProperty("IdentityUserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).IdentityUserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.DppIdentityDetailsUserAssignedIdentitiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).IdentityUserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IDppIdentityDetailsUserAssignedIdentities) content.GetValueForProperty("IdentityUserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).IdentityUserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.DppIdentityDetailsUserAssignedIdentitiesTypeConverter.ConvertFrom); + } + if (content.Contains("ResourceGuardOperationRequest")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).ResourceGuardOperationRequest = (string[]) content.GetValueForProperty("ResourceGuardOperationRequest",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).ResourceGuardOperationRequest, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("SecuritySettingImmutabilitySetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).SecuritySettingImmutabilitySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IImmutabilitySettings) content.GetValueForProperty("SecuritySettingImmutabilitySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).SecuritySettingImmutabilitySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ImmutabilitySettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).SecuritySettingImmutabilitySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IImmutabilitySettings) content.GetValueForProperty("SecuritySettingImmutabilitySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).SecuritySettingImmutabilitySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ImmutabilitySettingsTypeConverter.ConvertFrom); + } + if (content.Contains("EncryptionSetting")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).EncryptionSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings) content.GetValueForProperty("EncryptionSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).EncryptionSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.EncryptionSettingsTypeConverter.ConvertFrom); } if (content.Contains("MonitoringSettingAzureMonitorAlertSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).MonitoringSettingAzureMonitorAlertSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureMonitorAlertSettings) content.GetValueForProperty("MonitoringSettingAzureMonitorAlertSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).MonitoringSettingAzureMonitorAlertSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureMonitorAlertSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).MonitoringSettingAzureMonitorAlertSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureMonitorAlertSettings) content.GetValueForProperty("MonitoringSettingAzureMonitorAlertSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).MonitoringSettingAzureMonitorAlertSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureMonitorAlertSettingsTypeConverter.ConvertFrom); } if (content.Contains("SoftDeleteSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).SoftDeleteSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISoftDeleteSettings) content.GetValueForProperty("SoftDeleteSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).SoftDeleteSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SoftDeleteSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).SoftDeleteSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISoftDeleteSettings) content.GetValueForProperty("SoftDeleteSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).SoftDeleteSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SoftDeleteSettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSettingCrossSubscriptionRestoreSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).FeatureSettingCrossSubscriptionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossSubscriptionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossSubscriptionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).FeatureSettingCrossSubscriptionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossSubscriptionRestoreSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).FeatureSettingCrossSubscriptionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossSubscriptionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossSubscriptionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).FeatureSettingCrossSubscriptionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CrossSubscriptionRestoreSettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSettingCrossRegionRestoreSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).FeatureSettingCrossRegionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossRegionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).FeatureSettingCrossRegionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossRegionRestoreSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).FeatureSettingCrossRegionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossRegionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).FeatureSettingCrossRegionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CrossRegionRestoreSettingsTypeConverter.ConvertFrom); } if (content.Contains("AzureMonitorAlertsForAllJobFailure")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).AzureMonitorAlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AzureMonitorAlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).AzureMonitorAlertsForAllJobFailure, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).AzureMonitorAlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AzureMonitorAlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).AzureMonitorAlertsForAllJobFailure, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState.CreateFrom); } if (content.Contains("SoftDeleteState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).SoftDeleteState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("SoftDeleteState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).SoftDeleteState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).SoftDeleteState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("SoftDeleteState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).SoftDeleteState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); } if (content.Contains("SoftDeleteRetentionDurationInDay")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).SoftDeleteRetentionDurationInDay = (double?) content.GetValueForProperty("SoftDeleteRetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).SoftDeleteRetentionDurationInDay, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).SoftDeleteRetentionDurationInDay = (double?) content.GetValueForProperty("SoftDeleteRetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).SoftDeleteRetentionDurationInDay, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); } if (content.Contains("ImmutabilityState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).ImmutabilityState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("ImmutabilityState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).ImmutabilityState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).ImmutabilityState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("ImmutabilityState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).ImmutabilityState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState.CreateFrom); } if (content.Contains("CrossSubscriptionRestoreState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).CrossSubscriptionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("CrossSubscriptionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).CrossSubscriptionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).CrossSubscriptionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("CrossSubscriptionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).CrossSubscriptionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState.CreateFrom); } if (content.Contains("CrossRegionRestoreState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).CrossRegionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("CrossRegionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).CrossRegionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).CrossRegionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("CrossRegionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 +214,95 @@ internal PatchResourceRequestInput(global::System.Management.Automation.PSObject // actually deserialize if (content.Contains("Identity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppIdentityDetails) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppIdentityDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppIdentityDetails) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppIdentityDetailsTypeConverter.ConvertFrom); } if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInput) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.PatchBackupVaultInputTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInput) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.PatchBackupVaultInputTypeConverter.ConvertFrom); } if (content.Contains("Tag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.PatchResourceRequestInputTagsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.PatchResourceRequestInputTagsTypeConverter.ConvertFrom); } if (content.Contains("MonitoringSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).MonitoringSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IMonitoringSettings) content.GetValueForProperty("MonitoringSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).MonitoringSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.MonitoringSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).MonitoringSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IMonitoringSettings) content.GetValueForProperty("MonitoringSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).MonitoringSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.MonitoringSettingsTypeConverter.ConvertFrom); } if (content.Contains("SecuritySetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).SecuritySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettings) content.GetValueForProperty("SecuritySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).SecuritySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SecuritySettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).SecuritySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettings) content.GetValueForProperty("SecuritySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).SecuritySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SecuritySettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).FeatureSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettings) content.GetValueForProperty("FeatureSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).FeatureSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.FeatureSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).FeatureSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettings) content.GetValueForProperty("FeatureSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).FeatureSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.FeatureSettingsTypeConverter.ConvertFrom); } if (content.Contains("IdentityPrincipalId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).IdentityPrincipalId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).IdentityPrincipalId, global::System.Convert.ToString); } if (content.Contains("IdentityTenantId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).IdentityTenantId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).IdentityTenantId, global::System.Convert.ToString); } if (content.Contains("IdentityType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).IdentityType = (string) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).IdentityType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).IdentityType = (string) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).IdentityType, global::System.Convert.ToString); } if (content.Contains("IdentityUserAssignedIdentity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).IdentityUserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IDppIdentityDetailsUserAssignedIdentities) content.GetValueForProperty("IdentityUserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).IdentityUserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.DppIdentityDetailsUserAssignedIdentitiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).IdentityUserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IDppIdentityDetailsUserAssignedIdentities) content.GetValueForProperty("IdentityUserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).IdentityUserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.DppIdentityDetailsUserAssignedIdentitiesTypeConverter.ConvertFrom); + } + if (content.Contains("ResourceGuardOperationRequest")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).ResourceGuardOperationRequest = (string[]) content.GetValueForProperty("ResourceGuardOperationRequest",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).ResourceGuardOperationRequest, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("SecuritySettingImmutabilitySetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).SecuritySettingImmutabilitySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IImmutabilitySettings) content.GetValueForProperty("SecuritySettingImmutabilitySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).SecuritySettingImmutabilitySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ImmutabilitySettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).SecuritySettingImmutabilitySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IImmutabilitySettings) content.GetValueForProperty("SecuritySettingImmutabilitySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).SecuritySettingImmutabilitySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ImmutabilitySettingsTypeConverter.ConvertFrom); + } + if (content.Contains("EncryptionSetting")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).EncryptionSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings) content.GetValueForProperty("EncryptionSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).EncryptionSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.EncryptionSettingsTypeConverter.ConvertFrom); } if (content.Contains("MonitoringSettingAzureMonitorAlertSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).MonitoringSettingAzureMonitorAlertSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureMonitorAlertSettings) content.GetValueForProperty("MonitoringSettingAzureMonitorAlertSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).MonitoringSettingAzureMonitorAlertSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureMonitorAlertSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).MonitoringSettingAzureMonitorAlertSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureMonitorAlertSettings) content.GetValueForProperty("MonitoringSettingAzureMonitorAlertSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).MonitoringSettingAzureMonitorAlertSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureMonitorAlertSettingsTypeConverter.ConvertFrom); } if (content.Contains("SoftDeleteSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).SoftDeleteSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISoftDeleteSettings) content.GetValueForProperty("SoftDeleteSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).SoftDeleteSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SoftDeleteSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).SoftDeleteSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISoftDeleteSettings) content.GetValueForProperty("SoftDeleteSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).SoftDeleteSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SoftDeleteSettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSettingCrossSubscriptionRestoreSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).FeatureSettingCrossSubscriptionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossSubscriptionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossSubscriptionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).FeatureSettingCrossSubscriptionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossSubscriptionRestoreSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).FeatureSettingCrossSubscriptionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossSubscriptionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossSubscriptionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).FeatureSettingCrossSubscriptionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CrossSubscriptionRestoreSettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSettingCrossRegionRestoreSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).FeatureSettingCrossRegionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossRegionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).FeatureSettingCrossRegionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossRegionRestoreSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).FeatureSettingCrossRegionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossRegionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).FeatureSettingCrossRegionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CrossRegionRestoreSettingsTypeConverter.ConvertFrom); } if (content.Contains("AzureMonitorAlertsForAllJobFailure")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).AzureMonitorAlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AzureMonitorAlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).AzureMonitorAlertsForAllJobFailure, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).AzureMonitorAlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AzureMonitorAlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).AzureMonitorAlertsForAllJobFailure, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState.CreateFrom); } if (content.Contains("SoftDeleteState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).SoftDeleteState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("SoftDeleteState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).SoftDeleteState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).SoftDeleteState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("SoftDeleteState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).SoftDeleteState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); } if (content.Contains("SoftDeleteRetentionDurationInDay")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).SoftDeleteRetentionDurationInDay = (double?) content.GetValueForProperty("SoftDeleteRetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).SoftDeleteRetentionDurationInDay, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).SoftDeleteRetentionDurationInDay = (double?) content.GetValueForProperty("SoftDeleteRetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).SoftDeleteRetentionDurationInDay, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); } if (content.Contains("ImmutabilityState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).ImmutabilityState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("ImmutabilityState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).ImmutabilityState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).ImmutabilityState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("ImmutabilityState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).ImmutabilityState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState.CreateFrom); } if (content.Contains("CrossSubscriptionRestoreState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).CrossSubscriptionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("CrossSubscriptionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).CrossSubscriptionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).CrossSubscriptionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("CrossSubscriptionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).CrossSubscriptionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState.CreateFrom); } if (content.Contains("CrossRegionRestoreState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).CrossRegionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("CrossRegionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal)this).CrossRegionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).CrossRegionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("CrossRegionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal)this).CrossRegionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState.CreateFrom); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceRequestInput.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PatchResourceRequestInput.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceRequestInput.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PatchResourceRequestInput.TypeConverter.cs index b0535d5d8c5a..af9e1192fc3e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceRequestInput.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IPatchResourceRequestInput ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInput ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInput).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInput).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceRequestInput.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PatchResourceRequestInput.cs similarity index 71% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceRequestInput.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PatchResourceRequestInput.cs index d4bcae11b059..15b5978f635f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceRequestInput.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PatchResourceRequestInput.cs @@ -3,118 +3,126 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IPatchResourceRequestInput, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInput, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IPatchBackupVaultInputInternal)Property).AzureMonitorAlertsForAllJobFailure; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IPatchBackupVaultInputInternal)Property).AzureMonitorAlertsForAllJobFailure; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IPatchBackupVaultInputInternal)Property).CrossRegionRestoreState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IPatchBackupVaultInputInternal)Property).CrossRegionRestoreState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IPatchBackupVaultInputInternal)Property).CrossSubscriptionRestoreState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IPatchBackupVaultInputInternal)Property).CrossSubscriptionRestoreState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)Property).CrossSubscriptionRestoreState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState)""); } + + /// Customer Managed Key details of the resource. + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings EncryptionSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)Property).EncryptionSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)Property).EncryptionSetting = value ?? null /* model class */; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppIdentityDetails _identity; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppIdentityDetails Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppIdentityDetails()); set => this._identity = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppIdentityDetails Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppIdentityDetailsInternal)Identity).PrincipalId; } + public string IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppIdentityDetailsInternal)Identity).TenantId; } + public string IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppIdentityDetailsInternal)Identity).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppIdentityDetailsInternal)Identity).Type = value ?? null; } + public string IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppIdentityDetailsInternal)Identity).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppIdentityDetailsInternal)Identity).UserAssignedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppIdentityDetailsInternal)Identity).UserAssignedIdentity = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IDppIdentityDetailsUserAssignedIdentities IdentityUserAssignedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppIdentityDetailsInternal)Identity).UserAssignedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IPatchBackupVaultInputInternal)Property).ImmutabilityState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IPatchBackupVaultInputInternal)Property).ImmutabilityState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)Property).ImmutabilityState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState)""); } /// Internal Acessors for FeatureSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal.FeatureSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)Property).FeatureSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)Property).FeatureSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal.FeatureSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)Property).FeatureSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)Property).FeatureSetting = value; } /// Internal Acessors for FeatureSettingCrossRegionRestoreSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal.FeatureSettingCrossRegionRestoreSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)Property).FeatureSettingCrossRegionRestoreSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)Property).FeatureSettingCrossRegionRestoreSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal.FeatureSettingCrossRegionRestoreSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)Property).FeatureSettingCrossRegionRestoreSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)Property).FeatureSettingCrossRegionRestoreSetting = value; } /// Internal Acessors for FeatureSettingCrossSubscriptionRestoreSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossSubscriptionRestoreSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal.FeatureSettingCrossSubscriptionRestoreSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)Property).FeatureSettingCrossSubscriptionRestoreSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)Property).FeatureSettingCrossSubscriptionRestoreSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossSubscriptionRestoreSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal.FeatureSettingCrossSubscriptionRestoreSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)Property).FeatureSettingCrossSubscriptionRestoreSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)Property).FeatureSettingCrossSubscriptionRestoreSetting = value; } /// Internal Acessors for Identity - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppIdentityDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppIdentityDetails()); set { {_identity = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppIdentityDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppIdentityDetails()); set { {_identity = value;} } } /// Internal Acessors for IdentityPrincipalId - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppIdentityDetailsInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppIdentityDetailsInternal)Identity).PrincipalId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppIdentityDetailsInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppIdentityDetailsInternal)Identity).PrincipalId = value; } /// Internal Acessors for IdentityTenantId - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppIdentityDetailsInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppIdentityDetailsInternal)Identity).TenantId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppIdentityDetailsInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppIdentityDetailsInternal)Identity).TenantId = value; } /// Internal Acessors for MonitoringSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IMonitoringSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal.MonitoringSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)Property).MonitoringSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)Property).MonitoringSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IMonitoringSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal.MonitoringSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)Property).MonitoringSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)Property).MonitoringSetting = value; } /// Internal Acessors for MonitoringSettingAzureMonitorAlertSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureMonitorAlertSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal.MonitoringSettingAzureMonitorAlertSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)Property).MonitoringSettingAzureMonitorAlertSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)Property).MonitoringSettingAzureMonitorAlertSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureMonitorAlertSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal.MonitoringSettingAzureMonitorAlertSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)Property).MonitoringSettingAzureMonitorAlertSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)Property).MonitoringSettingAzureMonitorAlertSetting = value; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInput Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.PatchBackupVaultInput()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInput Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.PatchBackupVaultInput()); set { {_property = value;} } } /// Internal Acessors for SecuritySetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal.SecuritySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)Property).SecuritySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)Property).SecuritySetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal.SecuritySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)Property).SecuritySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)Property).SecuritySetting = value; } /// Internal Acessors for SecuritySettingImmutabilitySetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IImmutabilitySettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal.SecuritySettingImmutabilitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)Property).SecuritySettingImmutabilitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)Property).SecuritySettingImmutabilitySetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IImmutabilitySettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal.SecuritySettingImmutabilitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)Property).SecuritySettingImmutabilitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)Property).SecuritySettingImmutabilitySetting = value; } /// Internal Acessors for SoftDeleteSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISoftDeleteSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputInternal.SoftDeleteSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)Property).SoftDeleteSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)Property).SoftDeleteSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISoftDeleteSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputInternal.SoftDeleteSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)Property).SoftDeleteSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)Property).SoftDeleteSetting = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInput _property; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInput _property; /// Resource properties. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInput Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.PatchBackupVaultInput()); set => this._property = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInput Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.PatchBackupVaultInput()); set => this._property = value; } + + /// ResourceGuardOperationRequests on which LAC check will be performed + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] + public string[] ResourceGuardOperationRequest { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)Property).ResourceGuardOperationRequest; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)Property).ResourceGuardOperationRequest = value ?? null /* arrayOf */; } /// 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.Api20231201.IPatchBackupVaultInputInternal)Property).SoftDeleteRetentionDurationInDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInputInternal)Property).SoftDeleteRetentionDurationInDay = value ?? default(double); } + public double? SoftDeleteRetentionDurationInDay { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)Property).SoftDeleteRetentionDurationInDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IPatchBackupVaultInputInternal)Property).SoftDeleteState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IPatchBackupVaultInputInternal)Property).SoftDeleteState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInputInternal)Property).SoftDeleteState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState)""); } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputTags _tag; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputTags _tag; /// Resource tags. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputTags Tag { get => (this._tag = this._tag ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.PatchResourceRequestInputTags()); set => this._tag = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputTags Tag { get => (this._tag = this._tag ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.PatchResourceRequestInputTags()); set => this._tag = value; } /// Creates an new instance. public PatchResourceRequestInput() @@ -149,6 +157,14 @@ public partial interface IPatchResourceRequestInput : SerializedName = @"state", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState) })] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState? CrossSubscriptionRestoreState { get; set; } + /// Customer Managed Key details of the resource. + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Customer Managed Key details of the resource.", + SerializedName = @"encryptionSettings", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings EncryptionSetting { 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. @@ -196,6 +212,14 @@ public partial interface IPatchResourceRequestInput : SerializedName = @"state", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState) })] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState? ImmutabilityState { get; set; } + /// ResourceGuardOperationRequests on which LAC check will be performed + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"ResourceGuardOperationRequests on which LAC check will be performed", + SerializedName = @"resourceGuardOperationRequests", + PossibleTypes = new [] { typeof(string) })] + string[] ResourceGuardOperationRequest { get; set; } /// Soft delete retention duration [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -218,8 +242,8 @@ public partial interface IPatchResourceRequestInput : ReadOnly = false, Description = @"Resource tags.", SerializedName = @"tags", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputTags) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputTags Tag { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputTags) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputTags Tag { get; set; } } /// Patch Request content for Microsoft.DataProtection resources @@ -231,14 +255,16 @@ internal partial interface IPatchResourceRequestInputInternal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState? CrossRegionRestoreState { get; set; } /// CrossSubscriptionRestore state Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState? CrossSubscriptionRestoreState { get; set; } + /// Customer Managed Key details of the resource. + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings EncryptionSetting { get; set; } /// Feature Settings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFeatureSettings FeatureSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFeatureSettings FeatureSetting { get; set; } - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreSettings FeatureSettingCrossRegionRestoreSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreSettings FeatureSettingCrossRegionRestoreSetting { get; set; } /// CrossSubscriptionRestore Settings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossSubscriptionRestoreSettings FeatureSettingCrossSubscriptionRestoreSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossSubscriptionRestoreSettings FeatureSettingCrossSubscriptionRestoreSetting { get; set; } /// Input Managed Identity Details - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppIdentityDetails Identity { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 +283,25 @@ internal partial interface IPatchResourceRequestInputInternal /// Immutability state Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState? ImmutabilityState { get; set; } /// Monitoring Settings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IMonitoringSettings MonitoringSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IMonitoringSettings MonitoringSetting { get; set; } /// Settings for Azure Monitor based alerts - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureMonitorAlertSettings MonitoringSettingAzureMonitorAlertSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureMonitorAlertSettings MonitoringSettingAzureMonitorAlertSetting { get; set; } /// Resource properties. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchBackupVaultInput Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchBackupVaultInput Property { get; set; } + /// ResourceGuardOperationRequests on which LAC check will be performed + string[] ResourceGuardOperationRequest { get; set; } /// Security Settings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettings SecuritySetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettings SecuritySetting { get; set; } /// Immutability Settings at vault level - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IImmutabilitySettings SecuritySettingImmutabilitySetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IImmutabilitySettings SecuritySettingImmutabilitySetting { get; set; } /// Soft delete retention duration double? SoftDeleteRetentionDurationInDay { get; set; } /// Soft delete related settings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISoftDeleteSettings SoftDeleteSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IPatchResourceRequestInputTags Tag { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputTags Tag { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceRequestInput.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PatchResourceRequestInput.json.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceRequestInput.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PatchResourceRequestInput.json.cs index a0d50ba8c6c2..a6ed8f11d2e6 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceRequestInput.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IPatchResourceRequestInput. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInput. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInput. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInput. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInput FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.DppIdentityDetails.FromJson(__jsonIdentity) : Identity;} - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.PatchBackupVaultInput.FromJson(__jsonProperties) : Property;} - {_tag = If( json?.PropertyT("tags"), out var __jsonTags) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.PatchResourceRequestInputTags.FromJson(__jsonTags) : Tag;} + {_identity = If( json?.PropertyT("identity"), out var __jsonIdentity) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppIdentityDetails.FromJson(__jsonIdentity) : Identity;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.PatchBackupVaultInput.FromJson(__jsonProperties) : Property;} + {_tag = If( json?.PropertyT("tags"), out var __jsonTags) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.PatchResourceRequestInputTags.FromJson(__jsonTags) : Tag;} AfterFromJson(json); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceRequestInputTags.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PatchResourceRequestInputTags.PowerShell.cs similarity index 92% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceRequestInputTags.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PatchResourceRequestInputTags.PowerShell.cs index 1bffbd508352..ef133473d244 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceRequestInputTags.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IPatchResourceRequestInputTags DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IPatchResourceRequestInputTags DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputTags DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new PatchResourceRequestInputTags(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputTags FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/PatchResourceRequestInputTags.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PatchResourceRequestInputTags.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceRequestInputTags.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PatchResourceRequestInputTags.TypeConverter.cs index f9a5eabfc7a3..c8bef91467a2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceRequestInputTags.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IPatchResourceRequestInputTags ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputTags ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputTags).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputTags).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceRequestInputTags.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PatchResourceRequestInputTags.cs similarity index 91% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceRequestInputTags.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PatchResourceRequestInputTags.cs index d354e78deaef..148f489732dc 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceRequestInputTags.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Resource tags. public partial class PatchResourceRequestInputTags : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputTags, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputTagsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputTags, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputTagsInternal { /// Creates an new instance. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceRequestInputTags.dictionary.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PatchResourceRequestInputTags.dictionary.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceRequestInputTags.dictionary.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PatchResourceRequestInputTags.dictionary.cs index 5ab763abdcf7..eddd87ae11e2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceRequestInputTags.dictionary.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.PatchResourceRequestInputTags source) => source.__additionalProperties; + public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.PatchResourceRequestInputTags source) => source.__additionalProperties; } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceRequestInputTags.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PatchResourceRequestInputTags.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceRequestInputTags.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PatchResourceRequestInputTags.json.cs index 5b8b3ea7486f..31e0260cfbd3 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PatchResourceRequestInputTags.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IPatchResourceRequestInputTags. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputTags. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputTags. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputTags. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputTags FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/PolicyInfo.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PolicyInfo.PowerShell.cs similarity index 84% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PolicyInfo.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PolicyInfo.PowerShell.cs index bc9fa3addbde..902f2c8e7fea 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PolicyInfo.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IPolicyInfo DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IPolicyInfo DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyInfo DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new PolicyInfo(content); } @@ -85,10 +85,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPolicyInfo FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IPolicyInfoInternal)this).PolicyId = (string) content.GetValueForProperty("PolicyId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPolicyInfoInternal)this).PolicyId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyInfoInternal)this).PolicyId = (string) content.GetValueForProperty("PolicyId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyInfoInternal)this).PolicyId, global::System.Convert.ToString); } if (content.Contains("PolicyVersion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPolicyInfoInternal)this).PolicyVersion = (string) content.GetValueForProperty("PolicyVersion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPolicyInfoInternal)this).PolicyVersion, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyInfoInternal)this).PolicyVersion = (string) content.GetValueForProperty("PolicyVersion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyInfoInternal)this).PolicyVersion, global::System.Convert.ToString); } if (content.Contains("PolicyParameter")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPolicyInfoInternal)this).PolicyParameter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPolicyParameters) content.GetValueForProperty("PolicyParameter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPolicyInfoInternal)this).PolicyParameter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.PolicyParametersTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyInfoInternal)this).PolicyParameter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyParameters) content.GetValueForProperty("PolicyParameter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyInfoInternal)this).PolicyParameter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IPolicyInfoInternal)this).PolicyId = (string) content.GetValueForProperty("PolicyId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPolicyInfoInternal)this).PolicyId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyInfoInternal)this).PolicyId = (string) content.GetValueForProperty("PolicyId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyInfoInternal)this).PolicyId, global::System.Convert.ToString); } if (content.Contains("PolicyVersion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPolicyInfoInternal)this).PolicyVersion = (string) content.GetValueForProperty("PolicyVersion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPolicyInfoInternal)this).PolicyVersion, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyInfoInternal)this).PolicyVersion = (string) content.GetValueForProperty("PolicyVersion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyInfoInternal)this).PolicyVersion, global::System.Convert.ToString); } if (content.Contains("PolicyParameter")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPolicyInfoInternal)this).PolicyParameter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPolicyParameters) content.GetValueForProperty("PolicyParameter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPolicyInfoInternal)this).PolicyParameter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.PolicyParametersTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyInfoInternal)this).PolicyParameter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyParameters) content.GetValueForProperty("PolicyParameter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyInfoInternal)this).PolicyParameter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.PolicyParametersTypeConverter.ConvertFrom); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PolicyInfo.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PolicyInfo.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PolicyInfo.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PolicyInfo.TypeConverter.cs index b32ecfaf68ed..3fc1baf4a8ae 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PolicyInfo.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IPolicyInfo ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyInfo ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPolicyInfo).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyInfo).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PolicyInfo.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PolicyInfo.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PolicyInfo.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PolicyInfo.cs index 498df89ba8ce..88be2bf395ea 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PolicyInfo.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Policy Info in backupInstance public partial class PolicyInfo : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPolicyInfo, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPolicyInfoInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyInfo, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyInfoInternal { /// Internal Acessors for PolicyVersion - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPolicyInfoInternal.PolicyVersion { get => this._policyVersion; set { {_policyVersion = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IPolicyParameters _policyParameter; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IPolicyParameters PolicyParameter { get => (this._policyParameter = this._policyParameter ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.PolicyParameters()); set => this._policyParameter = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyParameters PolicyParameter { get => (this._policyParameter = this._policyParameter ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IPolicyParameters) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPolicyParameters PolicyParameter { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyParameters) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IPolicyParameters PolicyParameter { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyParameters PolicyParameter { get; set; } string PolicyVersion { get; set; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PolicyInfo.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PolicyInfo.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PolicyInfo.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PolicyInfo.json.cs index bbc542af3273..89cf193209d2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PolicyInfo.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IPolicyInfo. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyInfo. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPolicyInfo. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyInfo. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPolicyInfo FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.PolicyParameters.FromJson(__jsonPolicyParameters) : PolicyParameter;} + {_policyParameter = If( json?.PropertyT("policyParameters"), out var __jsonPolicyParameters) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.PolicyParameters.FromJson(__jsonPolicyParameters) : PolicyParameter;} AfterFromJson(json); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PolicyParameters.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PolicyParameters.PowerShell.cs similarity index 82% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PolicyParameters.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PolicyParameters.PowerShell.cs index 9d258fd67d67..d7e8610905b4 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PolicyParameters.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IPolicyParameters DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IPolicyParameters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyParameters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new PolicyParameters(content); } @@ -85,10 +85,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPolicyParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IPolicyParametersInternal)this).DataStoreParametersList = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreParameters[]) content.GetValueForProperty("DataStoreParametersList",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPolicyParametersInternal)this).DataStoreParametersList, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DataStoreParametersTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyParametersInternal)this).DataStoreParametersList = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreParameters[]) content.GetValueForProperty("DataStoreParametersList",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyParametersInternal)this).DataStoreParametersList, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DataStoreParametersTypeConverter.ConvertFrom)); } if (content.Contains("BackupDatasourceParametersList")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPolicyParametersInternal)this).BackupDatasourceParametersList = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupDatasourceParameters[]) content.GetValueForProperty("BackupDatasourceParametersList",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPolicyParametersInternal)this).BackupDatasourceParametersList, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupDatasourceParametersTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyParametersInternal)this).BackupDatasourceParametersList = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupDatasourceParameters[]) content.GetValueForProperty("BackupDatasourceParametersList",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyParametersInternal)this).BackupDatasourceParametersList, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IPolicyParametersInternal)this).DataStoreParametersList = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreParameters[]) content.GetValueForProperty("DataStoreParametersList",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPolicyParametersInternal)this).DataStoreParametersList, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DataStoreParametersTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyParametersInternal)this).DataStoreParametersList = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreParameters[]) content.GetValueForProperty("DataStoreParametersList",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyParametersInternal)this).DataStoreParametersList, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DataStoreParametersTypeConverter.ConvertFrom)); } if (content.Contains("BackupDatasourceParametersList")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPolicyParametersInternal)this).BackupDatasourceParametersList = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupDatasourceParameters[]) content.GetValueForProperty("BackupDatasourceParametersList",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPolicyParametersInternal)this).BackupDatasourceParametersList, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupDatasourceParametersTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyParametersInternal)this).BackupDatasourceParametersList = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupDatasourceParameters[]) content.GetValueForProperty("BackupDatasourceParametersList",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyParametersInternal)this).BackupDatasourceParametersList, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupDatasourceParametersTypeConverter.ConvertFrom)); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PolicyParameters.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PolicyParameters.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PolicyParameters.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PolicyParameters.TypeConverter.cs index 91362e1ebc15..7bc84b190009 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PolicyParameters.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IPolicyParameters ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyParameters ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPolicyParameters).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyParameters).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PolicyParameters.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PolicyParameters.cs similarity index 82% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PolicyParameters.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PolicyParameters.cs index 8f1aba5833a3..fd3595b59be9 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PolicyParameters.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Parameters in Policy public partial class PolicyParameters : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPolicyParameters, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPolicyParametersInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyParameters, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyParametersInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupDatasourceParameters[] _backupDatasourceParametersList; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupDatasourceParameters[] BackupDatasourceParametersList { get => this._backupDatasourceParametersList; set => this._backupDatasourceParametersList = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupDatasourceParameters[] BackupDatasourceParametersList { get => this._backupDatasourceParametersList; set => this._backupDatasourceParametersList = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreParameters[] _dataStoreParametersList; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDataStoreParameters[] DataStoreParametersList { get => this._dataStoreParametersList; set => this._dataStoreParametersList = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupDatasourceParameters) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupDatasourceParameters[] BackupDatasourceParametersList { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupDatasourceParameters) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDataStoreParameters) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreParameters[] DataStoreParametersList { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreParameters) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupDatasourceParameters[] BackupDatasourceParametersList { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupDatasourceParameters[] BackupDatasourceParametersList { get; set; } /// Gets or sets the DataStore Parameters - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreParameters[] DataStoreParametersList { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreParameters[] DataStoreParametersList { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PolicyParameters.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PolicyParameters.json.cs similarity index 93% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PolicyParameters.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/PolicyParameters.json.cs index d46f084141a9..6f36d470f308 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/PolicyParameters.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IPolicyParameters. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyParameters. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPolicyParameters. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPolicyParameters. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPolicyParameters FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDataStoreParameters) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20231201.IBackupDatasourceParameters) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IDataStoreParameters) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20240401.IBackupDatasourceParameters) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupDatasourceParameters.FromJson(__p) )) ))() : null : BackupDatasourceParametersList;} AfterFromJson(json); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ProtectionStatusDetails.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ProtectionStatusDetails.PowerShell.cs similarity index 86% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ProtectionStatusDetails.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ProtectionStatusDetails.PowerShell.cs index 5011dbdc4e12..9421d03b37e1 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ProtectionStatusDetails.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IProtectionStatusDetails DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IProtectionStatusDetails DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IProtectionStatusDetails DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ProtectionStatusDetails(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IProtectionStatusDetails FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IProtectionStatusDetailsInternal)this).ErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingError) content.GetValueForProperty("ErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IProtectionStatusDetailsInternal)this).ErrorDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.UserFacingErrorTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IProtectionStatusDetailsInternal)this).ErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError) content.GetValueForProperty("ErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IProtectionStatusDetailsInternal)this).ErrorDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.UserFacingErrorTypeConverter.ConvertFrom); } if (content.Contains("Status")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IProtectionStatusDetailsInternal)this).Status = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.Status?) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IProtectionStatusDetailsInternal)this).Status, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.Status.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IProtectionStatusDetailsInternal)this).Status = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.Status?) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IProtectionStatusDetailsInternal)this).ErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingError) content.GetValueForProperty("ErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IProtectionStatusDetailsInternal)this).ErrorDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.UserFacingErrorTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IProtectionStatusDetailsInternal)this).ErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError) content.GetValueForProperty("ErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IProtectionStatusDetailsInternal)this).ErrorDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.UserFacingErrorTypeConverter.ConvertFrom); } if (content.Contains("Status")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IProtectionStatusDetailsInternal)this).Status = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.Status?) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IProtectionStatusDetailsInternal)this).Status, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.Status.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IProtectionStatusDetailsInternal)this).Status = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.Status?) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IProtectionStatusDetailsInternal)this).Status, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.Status.CreateFrom); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ProtectionStatusDetails.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ProtectionStatusDetails.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ProtectionStatusDetails.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ProtectionStatusDetails.TypeConverter.cs index 5faf16e671fb..4654fd7674ee 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ProtectionStatusDetails.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IProtectionStatusDetails ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IProtectionStatusDetails ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IProtectionStatusDetails).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IProtectionStatusDetails).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ProtectionStatusDetails.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ProtectionStatusDetails.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ProtectionStatusDetails.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ProtectionStatusDetails.cs index e4d03b807746..3472295af3a9 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ProtectionStatusDetails.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Protection status details public partial class ProtectionStatusDetails : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IProtectionStatusDetails, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IProtectionStatusDetailsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IProtectionStatusDetails, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IProtectionStatusDetailsInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingError _errorDetail; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IUserFacingError ErrorDetail { get => (this._errorDetail = this._errorDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.UserFacingError()); set => this._errorDetail = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError ErrorDetail { get => (this._errorDetail = this._errorDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IUserFacingError) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingError ErrorDetail { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IUserFacingError ErrorDetail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/ProtectionStatusDetails.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ProtectionStatusDetails.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ProtectionStatusDetails.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ProtectionStatusDetails.json.cs index f6fdc0b2f436..0e3362ff1c7f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ProtectionStatusDetails.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IProtectionStatusDetails. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IProtectionStatusDetails. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IProtectionStatusDetails. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IProtectionStatusDetails. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IProtectionStatusDetails FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.UserFacingError.FromJson(__jsonErrorDetails) : ErrorDetail;} + {_errorDetail = If( json?.PropertyT("errorDetails"), out var __jsonErrorDetails) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/RangeBasedItemLevelRestoreCriteria.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RangeBasedItemLevelRestoreCriteria.PowerShell.cs similarity index 86% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RangeBasedItemLevelRestoreCriteria.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RangeBasedItemLevelRestoreCriteria.PowerShell.cs index 5766bf2c5722..92651f9098a4 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RangeBasedItemLevelRestoreCriteria.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IRangeBasedItemLevelRestoreCriteria DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRangeBasedItemLevelRestoreCriteria DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRangeBasedItemLevelRestoreCriteria DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new RangeBasedItemLevelRestoreCriteria(content); } @@ -89,10 +89,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRangeBasedItemLevelRestoreCriteria FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRangeBasedItemLevelRestoreCriteriaInternal)this).MinMatchingValue = (string) content.GetValueForProperty("MinMatchingValue",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRangeBasedItemLevelRestoreCriteriaInternal)this).MinMatchingValue, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRangeBasedItemLevelRestoreCriteriaInternal)this).MinMatchingValue = (string) content.GetValueForProperty("MinMatchingValue",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRangeBasedItemLevelRestoreCriteriaInternal)this).MinMatchingValue, global::System.Convert.ToString); } if (content.Contains("MaxMatchingValue")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRangeBasedItemLevelRestoreCriteriaInternal)this).MaxMatchingValue = (string) content.GetValueForProperty("MaxMatchingValue",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRangeBasedItemLevelRestoreCriteriaInternal)this).MaxMatchingValue, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRangeBasedItemLevelRestoreCriteriaInternal)this).MaxMatchingValue = (string) content.GetValueForProperty("MaxMatchingValue",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRangeBasedItemLevelRestoreCriteriaInternal)this).MaxMatchingValue, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRangeBasedItemLevelRestoreCriteriaInternal)this).MinMatchingValue = (string) content.GetValueForProperty("MinMatchingValue",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRangeBasedItemLevelRestoreCriteriaInternal)this).MinMatchingValue, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRangeBasedItemLevelRestoreCriteriaInternal)this).MinMatchingValue = (string) content.GetValueForProperty("MinMatchingValue",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRangeBasedItemLevelRestoreCriteriaInternal)this).MinMatchingValue, global::System.Convert.ToString); } if (content.Contains("MaxMatchingValue")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRangeBasedItemLevelRestoreCriteriaInternal)this).MaxMatchingValue = (string) content.GetValueForProperty("MaxMatchingValue",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRangeBasedItemLevelRestoreCriteriaInternal)this).MaxMatchingValue, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRangeBasedItemLevelRestoreCriteriaInternal)this).MaxMatchingValue = (string) content.GetValueForProperty("MaxMatchingValue",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRangeBasedItemLevelRestoreCriteriaInternal)this).MaxMatchingValue, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RangeBasedItemLevelRestoreCriteria.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RangeBasedItemLevelRestoreCriteria.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RangeBasedItemLevelRestoreCriteria.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RangeBasedItemLevelRestoreCriteria.TypeConverter.cs index e56a85416b7a..c8960912d71a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RangeBasedItemLevelRestoreCriteria.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IRangeBasedItemLevelRestoreCriteria ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRangeBasedItemLevelRestoreCriteria ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRangeBasedItemLevelRestoreCriteria).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRangeBasedItemLevelRestoreCriteria).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RangeBasedItemLevelRestoreCriteria.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RangeBasedItemLevelRestoreCriteria.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RangeBasedItemLevelRestoreCriteria.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RangeBasedItemLevelRestoreCriteria.cs index 23c9d6a7c058..7ed722749aee 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RangeBasedItemLevelRestoreCriteria.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IRangeBasedItemLevelRestoreCriteria, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRangeBasedItemLevelRestoreCriteriaInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRangeBasedItemLevelRestoreCriteria, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRangeBasedItemLevelRestoreCriteriaInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteria __itemLevelRestoreCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ItemLevelRestoreCriteria(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteria __itemLevelRestoreCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IItemLevelRestoreCriteriaInternal)__itemLevelRestoreCriteria).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IItemLevelRestoreCriteriaInternal)__itemLevelRestoreCriteria).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteriaInternal)__itemLevelRestoreCriteria).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IItemLevelRestoreCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IItemLevelRestoreCriteriaInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IItemLevelRestoreCriteriaInternal { /// maximum value for range prefix match string MaxMatchingValue { get; set; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RangeBasedItemLevelRestoreCriteria.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RangeBasedItemLevelRestoreCriteria.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RangeBasedItemLevelRestoreCriteria.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RangeBasedItemLevelRestoreCriteria.json.cs index e01b8dd16a88..ceb8844fab8a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RangeBasedItemLevelRestoreCriteria.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IRangeBasedItemLevelRestoreCriteria. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRangeBasedItemLevelRestoreCriteria. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRangeBasedItemLevelRestoreCriteria. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRangeBasedItemLevelRestoreCriteria. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRangeBasedItemLevelRestoreCriteria FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ItemLevelRestoreCriteria(json); + __itemLevelRestoreCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/RecoveryPointDataStoreDetails.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RecoveryPointDataStoreDetails.PowerShell.cs similarity index 82% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RecoveryPointDataStoreDetails.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RecoveryPointDataStoreDetails.PowerShell.cs index e7e02e37da40..32e05bc600dd 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RecoveryPointDataStoreDetails.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IRecoveryPointDataStoreDetails DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRecoveryPointDataStoreDetails DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointDataStoreDetails DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new RecoveryPointDataStoreDetails(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointDataStoreDetails FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRecoveryPointDataStoreDetailsInternal)this).CreationTime = (global::System.DateTime?) content.GetValueForProperty("CreationTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IRecoveryPointDataStoreDetailsInternal)this).CreationTime = (global::System.DateTime?) content.GetValueForProperty("CreationTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRecoveryPointDataStoreDetailsInternal)this).ExpiryTime = (global::System.DateTime?) content.GetValueForProperty("ExpiryTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IRecoveryPointDataStoreDetailsInternal)this).ExpiryTime = (global::System.DateTime?) content.GetValueForProperty("ExpiryTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRecoveryPointDataStoreDetailsInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointDataStoreDetailsInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointDataStoreDetailsInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointDataStoreDetailsInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("MetaData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointDataStoreDetailsInternal)this).MetaData = (string) content.GetValueForProperty("MetaData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointDataStoreDetailsInternal)this).MetaData, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointDataStoreDetailsInternal)this).MetaData = (string) content.GetValueForProperty("MetaData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointDataStoreDetailsInternal)this).MetaData, global::System.Convert.ToString); } if (content.Contains("State")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointDataStoreDetailsInternal)this).State = (string) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointDataStoreDetailsInternal)this).State, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointDataStoreDetailsInternal)this).State = (string) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointDataStoreDetailsInternal)this).State, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointDataStoreDetailsInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointDataStoreDetailsInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointDataStoreDetailsInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointDataStoreDetailsInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("Visible")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointDataStoreDetailsInternal)this).Visible = (bool?) content.GetValueForProperty("Visible",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointDataStoreDetailsInternal)this).Visible, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointDataStoreDetailsInternal)this).Visible = (bool?) content.GetValueForProperty("Visible",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointDataStoreDetailsInternal)this).Visible, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("RehydrationExpiryTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointDataStoreDetailsInternal)this).RehydrationExpiryTime = (global::System.DateTime?) content.GetValueForProperty("RehydrationExpiryTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IRecoveryPointDataStoreDetailsInternal)this).RehydrationExpiryTime = (global::System.DateTime?) content.GetValueForProperty("RehydrationExpiryTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRecoveryPointDataStoreDetailsInternal)this).RehydrationStatus = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationStatus?) content.GetValueForProperty("RehydrationStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointDataStoreDetailsInternal)this).RehydrationStatus, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationStatus.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointDataStoreDetailsInternal)this).RehydrationStatus = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationStatus?) content.GetValueForProperty("RehydrationStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRecoveryPointDataStoreDetailsInternal)this).CreationTime = (global::System.DateTime?) content.GetValueForProperty("CreationTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IRecoveryPointDataStoreDetailsInternal)this).CreationTime = (global::System.DateTime?) content.GetValueForProperty("CreationTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRecoveryPointDataStoreDetailsInternal)this).ExpiryTime = (global::System.DateTime?) content.GetValueForProperty("ExpiryTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IRecoveryPointDataStoreDetailsInternal)this).ExpiryTime = (global::System.DateTime?) content.GetValueForProperty("ExpiryTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRecoveryPointDataStoreDetailsInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointDataStoreDetailsInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointDataStoreDetailsInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointDataStoreDetailsInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("MetaData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointDataStoreDetailsInternal)this).MetaData = (string) content.GetValueForProperty("MetaData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointDataStoreDetailsInternal)this).MetaData, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointDataStoreDetailsInternal)this).MetaData = (string) content.GetValueForProperty("MetaData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointDataStoreDetailsInternal)this).MetaData, global::System.Convert.ToString); } if (content.Contains("State")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointDataStoreDetailsInternal)this).State = (string) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointDataStoreDetailsInternal)this).State, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointDataStoreDetailsInternal)this).State = (string) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointDataStoreDetailsInternal)this).State, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointDataStoreDetailsInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointDataStoreDetailsInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointDataStoreDetailsInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointDataStoreDetailsInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("Visible")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointDataStoreDetailsInternal)this).Visible = (bool?) content.GetValueForProperty("Visible",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointDataStoreDetailsInternal)this).Visible, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointDataStoreDetailsInternal)this).Visible = (bool?) content.GetValueForProperty("Visible",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointDataStoreDetailsInternal)this).Visible, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("RehydrationExpiryTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointDataStoreDetailsInternal)this).RehydrationExpiryTime = (global::System.DateTime?) content.GetValueForProperty("RehydrationExpiryTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IRecoveryPointDataStoreDetailsInternal)this).RehydrationExpiryTime = (global::System.DateTime?) content.GetValueForProperty("RehydrationExpiryTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRecoveryPointDataStoreDetailsInternal)this).RehydrationStatus = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationStatus?) content.GetValueForProperty("RehydrationStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointDataStoreDetailsInternal)this).RehydrationStatus, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationStatus.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointDataStoreDetailsInternal)this).RehydrationStatus = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationStatus?) content.GetValueForProperty("RehydrationStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointDataStoreDetailsInternal)this).RehydrationStatus, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationStatus.CreateFrom); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RecoveryPointDataStoreDetails.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RecoveryPointDataStoreDetails.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RecoveryPointDataStoreDetails.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RecoveryPointDataStoreDetails.TypeConverter.cs index b20771297183..7d1b8c9d7995 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RecoveryPointDataStoreDetails.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IRecoveryPointDataStoreDetails ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointDataStoreDetails ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointDataStoreDetails).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointDataStoreDetails).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RecoveryPointDataStoreDetails.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RecoveryPointDataStoreDetails.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RecoveryPointDataStoreDetails.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RecoveryPointDataStoreDetails.cs index 7ece7b74b2a9..3f11350f50e9 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RecoveryPointDataStoreDetails.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// RecoveryPoint datastore details public partial class RecoveryPointDataStoreDetails : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointDataStoreDetails, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointDataStoreDetailsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointDataStoreDetails, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRecoveryPointDataStoreDetailsInternal.RehydrationExpiryTime { get => this._rehydrationExpiryTime; set { {_rehydrationExpiryTime = value;} } } + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRecoveryPointDataStoreDetailsInternal.RehydrationStatus { get => this._rehydrationStatus; set { {_rehydrationStatus = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationStatus? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/RecoveryPointDataStoreDetails.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RecoveryPointDataStoreDetails.json.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RecoveryPointDataStoreDetails.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RecoveryPointDataStoreDetails.json.cs index afef0b3bb81f..502157eb6b5b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RecoveryPointDataStoreDetails.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IRecoveryPointDataStoreDetails. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointDataStoreDetails. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointDataStoreDetails. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointDataStoreDetails. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointDataStoreDetails FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/RecoveryPointsFilters.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RecoveryPointsFilters.PowerShell.cs similarity index 82% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RecoveryPointsFilters.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RecoveryPointsFilters.PowerShell.cs index d12f3f32f8a8..fc5753582dd7 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RecoveryPointsFilters.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IRecoveryPointsFilters DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRecoveryPointsFilters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointsFilters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new RecoveryPointsFilters(content); } @@ -86,10 +86,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointsFilters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRecoveryPointsFiltersInternal)this).RestorePointDataStoreId = (string) content.GetValueForProperty("RestorePointDataStoreId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointsFiltersInternal)this).RestorePointDataStoreId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointsFiltersInternal)this).RestorePointDataStoreId = (string) content.GetValueForProperty("RestorePointDataStoreId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointsFiltersInternal)this).RestorePointDataStoreId, global::System.Convert.ToString); } if (content.Contains("IsVisible")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointsFiltersInternal)this).IsVisible = (bool?) content.GetValueForProperty("IsVisible",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointsFiltersInternal)this).IsVisible, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointsFiltersInternal)this).IsVisible = (bool?) content.GetValueForProperty("IsVisible",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointsFiltersInternal)this).IsVisible, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("StartDate")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointsFiltersInternal)this).StartDate = (string) content.GetValueForProperty("StartDate",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointsFiltersInternal)this).StartDate, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointsFiltersInternal)this).StartDate = (string) content.GetValueForProperty("StartDate",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointsFiltersInternal)this).StartDate, global::System.Convert.ToString); } if (content.Contains("EndDate")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointsFiltersInternal)this).EndDate = (string) content.GetValueForProperty("EndDate",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointsFiltersInternal)this).EndDate, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointsFiltersInternal)this).EndDate = (string) content.GetValueForProperty("EndDate",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointsFiltersInternal)this).EndDate, global::System.Convert.ToString); } if (content.Contains("ExtendedInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointsFiltersInternal)this).ExtendedInfo = (bool?) content.GetValueForProperty("ExtendedInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointsFiltersInternal)this).ExtendedInfo, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointsFiltersInternal)this).ExtendedInfo = (bool?) content.GetValueForProperty("ExtendedInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointsFiltersInternal)this).ExtendedInfo, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("RestorePointState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointsFiltersInternal)this).RestorePointState = (string) content.GetValueForProperty("RestorePointState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointsFiltersInternal)this).RestorePointState, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointsFiltersInternal)this).RestorePointState = (string) content.GetValueForProperty("RestorePointState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRecoveryPointsFiltersInternal)this).RestorePointDataStoreId = (string) content.GetValueForProperty("RestorePointDataStoreId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointsFiltersInternal)this).RestorePointDataStoreId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointsFiltersInternal)this).RestorePointDataStoreId = (string) content.GetValueForProperty("RestorePointDataStoreId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointsFiltersInternal)this).RestorePointDataStoreId, global::System.Convert.ToString); } if (content.Contains("IsVisible")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointsFiltersInternal)this).IsVisible = (bool?) content.GetValueForProperty("IsVisible",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointsFiltersInternal)this).IsVisible, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointsFiltersInternal)this).IsVisible = (bool?) content.GetValueForProperty("IsVisible",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointsFiltersInternal)this).IsVisible, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("StartDate")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointsFiltersInternal)this).StartDate = (string) content.GetValueForProperty("StartDate",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointsFiltersInternal)this).StartDate, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointsFiltersInternal)this).StartDate = (string) content.GetValueForProperty("StartDate",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointsFiltersInternal)this).StartDate, global::System.Convert.ToString); } if (content.Contains("EndDate")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointsFiltersInternal)this).EndDate = (string) content.GetValueForProperty("EndDate",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointsFiltersInternal)this).EndDate, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointsFiltersInternal)this).EndDate = (string) content.GetValueForProperty("EndDate",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointsFiltersInternal)this).EndDate, global::System.Convert.ToString); } if (content.Contains("ExtendedInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointsFiltersInternal)this).ExtendedInfo = (bool?) content.GetValueForProperty("ExtendedInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointsFiltersInternal)this).ExtendedInfo, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointsFiltersInternal)this).ExtendedInfo = (bool?) content.GetValueForProperty("ExtendedInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointsFiltersInternal)this).ExtendedInfo, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("RestorePointState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointsFiltersInternal)this).RestorePointState = (string) content.GetValueForProperty("RestorePointState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointsFiltersInternal)this).RestorePointState, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointsFiltersInternal)this).RestorePointState = (string) content.GetValueForProperty("RestorePointState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointsFiltersInternal)this).RestorePointState, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RecoveryPointsFilters.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RecoveryPointsFilters.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RecoveryPointsFilters.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RecoveryPointsFilters.TypeConverter.cs index bb5a75c289b0..626a7c71458c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RecoveryPointsFilters.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IRecoveryPointsFilters ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointsFilters ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointsFilters).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointsFilters).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RecoveryPointsFilters.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RecoveryPointsFilters.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RecoveryPointsFilters.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RecoveryPointsFilters.cs index 73521cc79b82..8e5d6618de3c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RecoveryPointsFilters.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; public partial class RecoveryPointsFilters : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointsFilters, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointsFiltersInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointsFilters, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointsFiltersInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RecoveryPointsFilters.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RecoveryPointsFilters.json.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RecoveryPointsFilters.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RecoveryPointsFilters.json.cs index fa5bd43039c3..d6fa0505f728 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RecoveryPointsFilters.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IRecoveryPointsFilters. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointsFilters. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointsFilters. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRecoveryPointsFilters. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRecoveryPointsFilters FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/ResourceGuard.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuard.PowerShell.cs similarity index 82% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuard.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuard.PowerShell.cs index 811a7ad182b6..8ee40039f3d5 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuard.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IResourceGuard DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuard DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuard DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ResourceGuard(content); } @@ -84,10 +84,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuard FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState.CreateFrom); } if (content.Contains("AllowAutoApproval")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardInternal)this).AllowAutoApproval = (bool?) content.GetValueForProperty("AllowAutoApproval",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardInternal)this).AllowAutoApproval, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardInternal)this).AllowAutoApproval = (bool?) content.GetValueForProperty("AllowAutoApproval",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardInternal)this).AllowAutoApproval, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("Operation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardInternal)this).Operation = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardOperation[]) content.GetValueForProperty("Operation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardInternal)this).Operation, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuardOperationTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardInternal)this).Operation = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperation[]) content.GetValueForProperty("Operation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardInternal)this).Operation, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardOperationTypeConverter.ConvertFrom)); } if (content.Contains("CriticalOperationExclusionList")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardInternal)this).CriticalOperationExclusionList = (string[]) content.GetValueForProperty("CriticalOperationExclusionList",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardInternal)this).CriticalOperationExclusionList, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardInternal)this).CriticalOperationExclusionList = (string[]) content.GetValueForProperty("CriticalOperationExclusionList",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardInternal)this).CriticalOperationExclusionList, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState.CreateFrom); } if (content.Contains("AllowAutoApproval")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardInternal)this).AllowAutoApproval = (bool?) content.GetValueForProperty("AllowAutoApproval",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardInternal)this).AllowAutoApproval, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardInternal)this).AllowAutoApproval = (bool?) content.GetValueForProperty("AllowAutoApproval",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardInternal)this).AllowAutoApproval, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("Operation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardInternal)this).Operation = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardOperation[]) content.GetValueForProperty("Operation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardInternal)this).Operation, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuardOperationTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardInternal)this).Operation = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperation[]) content.GetValueForProperty("Operation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardInternal)this).Operation, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardOperationTypeConverter.ConvertFrom)); } if (content.Contains("CriticalOperationExclusionList")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardInternal)this).CriticalOperationExclusionList = (string[]) content.GetValueForProperty("CriticalOperationExclusionList",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardInternal)this).CriticalOperationExclusionList, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardInternal)this).CriticalOperationExclusionList = (string[]) content.GetValueForProperty("CriticalOperationExclusionList",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardInternal)this).CriticalOperationExclusionList, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardInternal)this).Description, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuard.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuard.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuard.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuard.TypeConverter.cs index 3203d7b73ca6..4629cac1e41f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuard.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IResourceGuard ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuard ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuard).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuard).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuard.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuard.cs similarity index 91% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuard.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuard.cs index 037ddd67225a..c8ed11eb0337 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuard.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; public partial class ResourceGuard : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuard, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuard, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardInternal.AllowAutoApproval { get => this._allowAutoApproval; set { {_allowAutoApproval = value;} } } + bool? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardInternal.AllowAutoApproval { get => this._allowAutoApproval; set { {_allowAutoApproval = value;} } } /// Internal Acessors for Description - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardInternal.Description { get => this._description; set { {_description = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardInternal.Description { get => this._description; set { {_description = value;} } } /// Internal Acessors for Operation - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardOperation[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardInternal.Operation { get => this._operation; set { {_operation = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperation[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardOperation[] _operation; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardOperation[] Operation { get => this._operation; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardOperation) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardOperation[] Operation { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperation) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardOperation[] Operation { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/ResourceGuard.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuard.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuard.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuard.json.cs index c27445aa37db..8c5b35ea8ba4 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuard.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IResourceGuard. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuard. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuard. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuard. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuard FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardOperation) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IResourceGuardOperation) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/ResourceGuardOperation.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardOperation.PowerShell.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardOperation.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardOperation.PowerShell.cs index 9a3c49c631b2..65218fd20d77 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardOperation.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IResourceGuardOperation DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardOperation DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperation DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ResourceGuardOperation(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardOperation FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardOperationInternal)this).VaultCriticalOperation = (string) content.GetValueForProperty("VaultCriticalOperation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardOperationInternal)this).VaultCriticalOperation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperationInternal)this).VaultCriticalOperation = (string) content.GetValueForProperty("VaultCriticalOperation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperationInternal)this).VaultCriticalOperation, global::System.Convert.ToString); } if (content.Contains("RequestResourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardOperationInternal)this).RequestResourceType = (string) content.GetValueForProperty("RequestResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardOperationInternal)this).RequestResourceType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperationInternal)this).RequestResourceType = (string) content.GetValueForProperty("RequestResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardOperationInternal)this).VaultCriticalOperation = (string) content.GetValueForProperty("VaultCriticalOperation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardOperationInternal)this).VaultCriticalOperation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperationInternal)this).VaultCriticalOperation = (string) content.GetValueForProperty("VaultCriticalOperation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperationInternal)this).VaultCriticalOperation, global::System.Convert.ToString); } if (content.Contains("RequestResourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardOperationInternal)this).RequestResourceType = (string) content.GetValueForProperty("RequestResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardOperationInternal)this).RequestResourceType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperationInternal)this).RequestResourceType = (string) content.GetValueForProperty("RequestResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperationInternal)this).RequestResourceType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardOperation.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardOperation.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardOperation.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardOperation.TypeConverter.cs index 759c269e94f3..5aedb0172fcb 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardOperation.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IResourceGuardOperation ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperation ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardOperation).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperation).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardOperation.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardOperation.cs similarity index 94% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardOperation.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardOperation.cs index 0c7c55f4ef12..426221d0423b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardOperation.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IResourceGuardOperation, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardOperationInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperation, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperationInternal { /// Internal Acessors for RequestResourceType - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardOperationInternal.RequestResourceType { get => this._requestResourceType; set { {_requestResourceType = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperationInternal.RequestResourceType { get => this._requestResourceType; set { {_requestResourceType = value;} } } /// Internal Acessors for VaultCriticalOperation - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardOperationInternal.VaultCriticalOperation { get => this._vaultCriticalOperation; set { {_vaultCriticalOperation = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/ResourceGuardOperation.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardOperation.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardOperation.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardOperation.json.cs index ed6b65676806..e873df6613d7 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardOperation.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IResourceGuardOperation. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperation. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardOperation. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperation. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardOperation FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/ResourceGuardOperationDetail.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardOperationDetail.PowerShell.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardOperationDetail.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardOperationDetail.PowerShell.cs index e64ca048e19d..9c1b903563e9 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardOperationDetail.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IResourceGuardOperationDetail DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardOperationDetail DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperationDetail DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ResourceGuardOperationDetail(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardOperationDetail FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardOperationDetailInternal)this).VaultCriticalOperation = (string) content.GetValueForProperty("VaultCriticalOperation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardOperationDetailInternal)this).VaultCriticalOperation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperationDetailInternal)this).VaultCriticalOperation = (string) content.GetValueForProperty("VaultCriticalOperation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperationDetailInternal)this).VaultCriticalOperation, global::System.Convert.ToString); } if (content.Contains("DefaultResourceRequest")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardOperationDetailInternal)this).DefaultResourceRequest = (string) content.GetValueForProperty("DefaultResourceRequest",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardOperationDetailInternal)this).DefaultResourceRequest, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperationDetailInternal)this).DefaultResourceRequest = (string) content.GetValueForProperty("DefaultResourceRequest",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardOperationDetailInternal)this).VaultCriticalOperation = (string) content.GetValueForProperty("VaultCriticalOperation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardOperationDetailInternal)this).VaultCriticalOperation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperationDetailInternal)this).VaultCriticalOperation = (string) content.GetValueForProperty("VaultCriticalOperation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperationDetailInternal)this).VaultCriticalOperation, global::System.Convert.ToString); } if (content.Contains("DefaultResourceRequest")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardOperationDetailInternal)this).DefaultResourceRequest = (string) content.GetValueForProperty("DefaultResourceRequest",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardOperationDetailInternal)this).DefaultResourceRequest, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperationDetailInternal)this).DefaultResourceRequest = (string) content.GetValueForProperty("DefaultResourceRequest",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperationDetailInternal)this).DefaultResourceRequest, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardOperationDetail.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardOperationDetail.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardOperationDetail.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardOperationDetail.TypeConverter.cs index 83beeab6c11c..a8df60b72ea2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardOperationDetail.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IResourceGuardOperationDetail ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperationDetail ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardOperationDetail).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperationDetail).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardOperationDetail.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardOperationDetail.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardOperationDetail.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardOperationDetail.cs index 3f6bb7efe8fc..640f1a56b81f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardOperationDetail.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IResourceGuardOperationDetail, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardOperationDetailInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperationDetail, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperationDetailInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardOperationDetail.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardOperationDetail.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardOperationDetail.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardOperationDetail.json.cs index 07578e2c6390..7ba72ba85975 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardOperationDetail.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IResourceGuardOperationDetail. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperationDetail. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardOperationDetail. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperationDetail. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardOperationDetail FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/ResourceGuardProxyBase.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardProxyBase.PowerShell.cs similarity index 81% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardProxyBase.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardProxyBase.PowerShell.cs index 45db86f77f62..e9c714c77b8b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardProxyBase.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IResourceGuardProxyBase DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardProxyBase DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBase DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ResourceGuardProxyBase(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBase FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardProxyBaseInternal)this).ResourceGuardId = (string) content.GetValueForProperty("ResourceGuardId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseInternal)this).ResourceGuardId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseInternal)this).ResourceGuardId = (string) content.GetValueForProperty("ResourceGuardId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseInternal)this).ResourceGuardId, global::System.Convert.ToString); } if (content.Contains("ResourceGuardOperationDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseInternal)this).ResourceGuardOperationDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardOperationDetail[]) content.GetValueForProperty("ResourceGuardOperationDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseInternal)this).ResourceGuardOperationDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuardOperationDetailTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseInternal)this).ResourceGuardOperationDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperationDetail[]) content.GetValueForProperty("ResourceGuardOperationDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseInternal)this).ResourceGuardOperationDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardOperationDetailTypeConverter.ConvertFrom)); } if (content.Contains("LastUpdatedTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseInternal)this).LastUpdatedTime = (string) content.GetValueForProperty("LastUpdatedTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseInternal)this).LastUpdatedTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseInternal)this).LastUpdatedTime = (string) content.GetValueForProperty("LastUpdatedTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseInternal)this).LastUpdatedTime, global::System.Convert.ToString); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardProxyBaseInternal)this).ResourceGuardId = (string) content.GetValueForProperty("ResourceGuardId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseInternal)this).ResourceGuardId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseInternal)this).ResourceGuardId = (string) content.GetValueForProperty("ResourceGuardId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseInternal)this).ResourceGuardId, global::System.Convert.ToString); } if (content.Contains("ResourceGuardOperationDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseInternal)this).ResourceGuardOperationDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardOperationDetail[]) content.GetValueForProperty("ResourceGuardOperationDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseInternal)this).ResourceGuardOperationDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuardOperationDetailTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseInternal)this).ResourceGuardOperationDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperationDetail[]) content.GetValueForProperty("ResourceGuardOperationDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseInternal)this).ResourceGuardOperationDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardOperationDetailTypeConverter.ConvertFrom)); } if (content.Contains("LastUpdatedTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseInternal)this).LastUpdatedTime = (string) content.GetValueForProperty("LastUpdatedTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseInternal)this).LastUpdatedTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseInternal)this).LastUpdatedTime = (string) content.GetValueForProperty("LastUpdatedTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseInternal)this).LastUpdatedTime, global::System.Convert.ToString); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseInternal)this).Description, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardProxyBase.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardProxyBase.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardProxyBase.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardProxyBase.TypeConverter.cs index d07684abf02b..4e5b6811d39b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardProxyBase.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IResourceGuardProxyBase ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBase ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBase).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBase).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardProxyBase.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardProxyBase.cs similarity index 91% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardProxyBase.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardProxyBase.cs index e0b8eccea9a0..df8a86203122 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardProxyBase.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// ResourceGuardProxyBase object, used in ResourceGuardProxyBaseResource public partial class ResourceGuardProxyBase : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBase, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBase, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardOperationDetail[] _resourceGuardOperationDetail; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperationDetail[] _resourceGuardOperationDetail; [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardOperationDetail[] ResourceGuardOperationDetail { get => this._resourceGuardOperationDetail; set => this._resourceGuardOperationDetail = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardOperationDetail) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardOperationDetail[] ResourceGuardOperationDetail { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperationDetail) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardOperationDetail[] ResourceGuardOperationDetail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperationDetail[] ResourceGuardOperationDetail { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardProxyBase.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardProxyBase.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardProxyBase.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardProxyBase.json.cs index dccdbeba561f..66650dab215c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardProxyBase.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IResourceGuardProxyBase. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBase. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBase. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBase. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBase FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardOperationDetail) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IResourceGuardOperationDetail) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/ResourceGuardProxyBaseResource.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardProxyBaseResource.PowerShell.cs similarity index 79% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardProxyBaseResource.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardProxyBaseResource.PowerShell.cs index 8b2520245d39..5f9d9ae0f68b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardProxyBaseResource.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IResourceGuardProxyBaseResource DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardProxyBaseResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ResourceGuardProxyBaseResource(content); } @@ -89,10 +89,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardProxyBaseResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBase) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuardProxyBaseTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBase) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardProxyBaseTypeConverter.ConvertFrom); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("ResourceGuardId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResourceInternal)this).ResourceGuardId = (string) content.GetValueForProperty("ResourceGuardId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResourceInternal)this).ResourceGuardId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResourceInternal)this).ResourceGuardId = (string) content.GetValueForProperty("ResourceGuardId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResourceInternal)this).ResourceGuardId, global::System.Convert.ToString); } if (content.Contains("ResourceGuardOperationDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResourceInternal)this).ResourceGuardOperationDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardOperationDetail[]) content.GetValueForProperty("ResourceGuardOperationDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResourceInternal)this).ResourceGuardOperationDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuardOperationDetailTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResourceInternal)this).ResourceGuardOperationDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperationDetail[]) content.GetValueForProperty("ResourceGuardOperationDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResourceInternal)this).ResourceGuardOperationDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardOperationDetailTypeConverter.ConvertFrom)); } if (content.Contains("LastUpdatedTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResourceInternal)this).LastUpdatedTime = (string) content.GetValueForProperty("LastUpdatedTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResourceInternal)this).LastUpdatedTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResourceInternal)this).LastUpdatedTime = (string) content.GetValueForProperty("LastUpdatedTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResourceInternal)this).LastUpdatedTime, global::System.Convert.ToString); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResourceInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResourceInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResourceInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardProxyBaseResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBase) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuardProxyBaseTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBase) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardProxyBaseTypeConverter.ConvertFrom); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("ResourceGuardId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResourceInternal)this).ResourceGuardId = (string) content.GetValueForProperty("ResourceGuardId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResourceInternal)this).ResourceGuardId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResourceInternal)this).ResourceGuardId = (string) content.GetValueForProperty("ResourceGuardId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResourceInternal)this).ResourceGuardId, global::System.Convert.ToString); } if (content.Contains("ResourceGuardOperationDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResourceInternal)this).ResourceGuardOperationDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardOperationDetail[]) content.GetValueForProperty("ResourceGuardOperationDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResourceInternal)this).ResourceGuardOperationDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuardOperationDetailTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResourceInternal)this).ResourceGuardOperationDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperationDetail[]) content.GetValueForProperty("ResourceGuardOperationDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResourceInternal)this).ResourceGuardOperationDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardOperationDetailTypeConverter.ConvertFrom)); } if (content.Contains("LastUpdatedTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResourceInternal)this).LastUpdatedTime = (string) content.GetValueForProperty("LastUpdatedTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResourceInternal)this).LastUpdatedTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResourceInternal)this).LastUpdatedTime = (string) content.GetValueForProperty("LastUpdatedTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResourceInternal)this).LastUpdatedTime, global::System.Convert.ToString); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResourceInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResourceInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResourceInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResourceInternal)this).Description, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardProxyBaseResource.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardProxyBaseResource.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardProxyBaseResource.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardProxyBaseResource.TypeConverter.cs index 1f4d87f6e4cc..f479dcb81f0b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardProxyBaseResource.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IResourceGuardProxyBaseResource ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResource ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResource).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResource).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardProxyBaseResource.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardProxyBaseResource.cs similarity index 77% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardProxyBaseResource.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardProxyBaseResource.cs index f1bbab4feb53..f0bfa66735be 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardProxyBaseResource.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -11,67 +11,67 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201 /// ResourceGuardProxyBaseResource object, used for response and request bodies for ResourceGuardProxy APIs /// public partial class ResourceGuardProxyBaseResource : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResource, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResourceInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResource, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResourceInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResource __dppResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppResource(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResource __dppResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppResource(); [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseInternal)Property).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseInternal)Property).Description = value ?? null; } + public string Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseInternal)Property).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResourceInternal)__dppResource).Id; } + public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardProxyBaseInternal)Property).LastUpdatedTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseInternal)Property).LastUpdatedTime = value ?? null; } + public string LastUpdatedTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseInternal)Property).LastUpdatedTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseInternal)Property).LastUpdatedTime = value ?? null; } /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).Id = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)__dppResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)__dppResource).Id = value; } /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).Name = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)__dppResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)__dppResource).Name = value; } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).SystemData = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)__dppResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)__dppResource).SystemData = value; } /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceInternal)__dppResource).Type = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)__dppResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)__dppResource).Type = value; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBase Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuardProxyBase()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBase Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResourceInternal)__dppResource).Name; } + public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal)__dppResource).Name; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBase _property; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBase _property; /// ResourceGuardProxyBaseResource properties [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBase Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuardProxyBase()); set => this._property = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBase Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardProxyBaseInternal)Property).ResourceGuardId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseInternal)Property).ResourceGuardId = value ?? null; } + public string ResourceGuardId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseInternal)Property).ResourceGuardId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardOperationDetail[] ResourceGuardOperationDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseInternal)Property).ResourceGuardOperationDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseInternal)Property).ResourceGuardOperationDetail = value ?? null /* arrayOf */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperationDetail[] ResourceGuardOperationDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseInternal)Property).ResourceGuardOperationDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResourceInternal)__dppResource).SystemData; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResourceInternal)__dppResource).Type; } + public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardOperationDetail) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardOperationDetail[] ResourceGuardOperationDetail { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperationDetail) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResourceInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceInternal { string Description { get; set; } string LastUpdatedTime { get; set; } /// ResourceGuardProxyBaseResource properties - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBase Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBase Property { get; set; } string ResourceGuardId { get; set; } - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardOperationDetail[] ResourceGuardOperationDetail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperationDetail[] ResourceGuardOperationDetail { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardProxyBaseResource.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardProxyBaseResource.json.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardProxyBaseResource.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardProxyBaseResource.json.cs index b6c683946a13..777df914493b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardProxyBaseResource.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IResourceGuardProxyBaseResource. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResource. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResource. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResource. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.DppResource(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuardProxyBase.FromJson(__jsonProperties) : Property;} + __dppResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppResource(json); + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardProxyBase.FromJson(__jsonProperties) : Property;} AfterFromJson(json); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardProxyBaseResourceList.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardProxyBaseResourceList.PowerShell.cs similarity index 85% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardProxyBaseResourceList.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardProxyBaseResourceList.PowerShell.cs index 0155f38274bb..dfbeea3f1c04 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardProxyBaseResourceList.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IResourceGuardProxyBaseResourceList DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardProxyBaseResourceList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResourceList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ResourceGuardProxyBaseResourceList(content); } @@ -89,10 +89,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResourceList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardProxyBaseResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuardProxyBaseResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardProxyBaseResourceTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardProxyBaseResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuardProxyBaseResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardProxyBaseResourceTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardProxyBaseResourceList.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardProxyBaseResourceList.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardProxyBaseResourceList.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardProxyBaseResourceList.TypeConverter.cs index ed1fc2f51998..f4bef6be7b00 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardProxyBaseResourceList.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IResourceGuardProxyBaseResourceList ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResourceList ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResourceList).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResourceList).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardProxyBaseResourceList.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardProxyBaseResourceList.cs similarity index 82% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardProxyBaseResourceList.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardProxyBaseResourceList.cs index 2fce40e79271..57009b7c2037 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardProxyBaseResourceList.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// List of ResourceGuardProxyBase resources public partial class ResourceGuardProxyBaseResourceList : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResourceList, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResourceListInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResourceList, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResourceListInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceList __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppResourceList(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceList __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResourceListInternal)__dppResourceList).NextLink; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceListInternal)__dppResourceList).NextLink = value ?? null; } + public string NextLink { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceListInternal)__dppResourceList).NextLink; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceListInternal)__dppResourceList).NextLink = value ?? null; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResource[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardProxyBaseResource[] Value { get => this._value; set => this._value = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardProxyBaseResource) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResource[] Value { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResource) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResource[] Value { get; set; } } /// List of ResourceGuardProxyBase resources internal partial interface IResourceGuardProxyBaseResourceListInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppResourceListInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppResourceListInternal { /// List of resources. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResource[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResource[] Value { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardProxyBaseResourceList.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardProxyBaseResourceList.json.cs similarity index 94% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardProxyBaseResourceList.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardProxyBaseResourceList.json.cs index 28ab8803b98d..5e5a0496a704 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardProxyBaseResourceList.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IResourceGuardProxyBaseResourceList. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResourceList. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResourceList. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResourceList. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResourceList FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.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.Api20231201.IResourceGuardProxyBaseResource) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuardProxyBaseResource.FromJson(__u) )) ))() : null : Value;} + __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20240401.IResourceGuardProxyBaseResource) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardProxyBaseResource.FromJson(__u) )) ))() : null : Value;} AfterFromJson(json); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardResource.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardResource.PowerShell.cs similarity index 75% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardResource.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardResource.PowerShell.cs index 88c1310236fd..5ad711c17e74 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardResource.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IResourceGuardResource DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ResourceGuardResource(content); } @@ -86,10 +86,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuard) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuardTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuard) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardTypeConverter.ConvertFrom); } if (content.Contains("ETag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).ETag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).ETag, global::System.Convert.ToString); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Location")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Location, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Tag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppBaseTrackedResourceTagsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppBaseTrackedResourceTagsTypeConverter.ConvertFrom); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResourceInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResourceInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResourceInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResourceInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState.CreateFrom); } if (content.Contains("AllowAutoApproval")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResourceInternal)this).AllowAutoApproval = (bool?) content.GetValueForProperty("AllowAutoApproval",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResourceInternal)this).AllowAutoApproval, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResourceInternal)this).AllowAutoApproval = (bool?) content.GetValueForProperty("AllowAutoApproval",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResourceInternal)this).AllowAutoApproval, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("ResourceGuardOperation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResourceInternal)this).ResourceGuardOperation = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardOperation[]) content.GetValueForProperty("ResourceGuardOperation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResourceInternal)this).ResourceGuardOperation, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuardOperationTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResourceInternal)this).ResourceGuardOperation = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperation[]) content.GetValueForProperty("ResourceGuardOperation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResourceInternal)this).ResourceGuardOperation, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardOperationTypeConverter.ConvertFrom)); } if (content.Contains("CriticalOperationExclusionList")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResourceInternal)this).CriticalOperationExclusionList = (string[]) content.GetValueForProperty("CriticalOperationExclusionList",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResourceInternal)this).CriticalOperationExclusionList, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResourceInternal)this).CriticalOperationExclusionList = (string[]) content.GetValueForProperty("CriticalOperationExclusionList",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResourceInternal)this).CriticalOperationExclusionList, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResourceInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResourceInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResourceInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuard) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuardTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuard) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardTypeConverter.ConvertFrom); } if (content.Contains("ETag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).ETag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).ETag, global::System.Convert.ToString); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Location")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Location, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Tag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppBaseTrackedResourceTagsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppBaseTrackedResourceTagsTypeConverter.ConvertFrom); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResourceInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResourceInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResourceInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResourceInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState.CreateFrom); } if (content.Contains("AllowAutoApproval")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResourceInternal)this).AllowAutoApproval = (bool?) content.GetValueForProperty("AllowAutoApproval",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResourceInternal)this).AllowAutoApproval, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResourceInternal)this).AllowAutoApproval = (bool?) content.GetValueForProperty("AllowAutoApproval",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResourceInternal)this).AllowAutoApproval, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("ResourceGuardOperation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResourceInternal)this).ResourceGuardOperation = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardOperation[]) content.GetValueForProperty("ResourceGuardOperation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResourceInternal)this).ResourceGuardOperation, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuardOperationTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResourceInternal)this).ResourceGuardOperation = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperation[]) content.GetValueForProperty("ResourceGuardOperation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResourceInternal)this).ResourceGuardOperation, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardOperationTypeConverter.ConvertFrom)); } if (content.Contains("CriticalOperationExclusionList")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResourceInternal)this).CriticalOperationExclusionList = (string[]) content.GetValueForProperty("CriticalOperationExclusionList",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResourceInternal)this).CriticalOperationExclusionList, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResourceInternal)this).CriticalOperationExclusionList = (string[]) content.GetValueForProperty("CriticalOperationExclusionList",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResourceInternal)this).CriticalOperationExclusionList, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResourceInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResourceInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResourceInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResourceInternal)this).Description, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardResource.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardResource.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardResource.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardResource.TypeConverter.cs index ac831c150945..2646aa1b6dbf 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardResource.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IResourceGuardResource ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResource).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardResource.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardResource.cs similarity index 78% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardResource.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardResource.cs index d2a98a7ac8f2..86ee6f8ad465 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardResource.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; public partial class ResourceGuardResource : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResource, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResourceInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResourceInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResource __dppBaseTrackedResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppBaseTrackedResource(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResource __dppBaseTrackedResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardInternal)Property).AllowAutoApproval; } + public bool? AllowAutoApproval { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardInternal)Property).CriticalOperationExclusionList; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardInternal)Property).CriticalOperationExclusionList = value ?? null /* arrayOf */; } + public string[] CriticalOperationExclusionList { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardInternal)Property).CriticalOperationExclusionList; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardInternal)Property).Description; } + public string Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).ETag; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).ETag = value ?? null; } + public string ETag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).ETag; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Id; } + public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Location = value ?? null; } + public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Location = value ?? null; } /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Id = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Id = value; } /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Name = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Name = value; } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).SystemData = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).SystemData = value; } /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Type = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Type = value; } /// Internal Acessors for AllowAutoApproval - bool? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResourceInternal.AllowAutoApproval { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardInternal)Property).AllowAutoApproval; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardInternal)Property).AllowAutoApproval = value; } + bool? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResourceInternal.AllowAutoApproval { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardInternal)Property).AllowAutoApproval; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardInternal)Property).AllowAutoApproval = value; } /// Internal Acessors for Description - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResourceInternal.Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardInternal)Property).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardInternal)Property).Description = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResourceInternal.Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardInternal)Property).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardInternal)Property).Description = value; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuard Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuard()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuard Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuard()); set { {_property = value;} } } /// Internal Acessors for ProvisioningState - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardInternal)Property).ProvisioningState = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardInternal)Property).ProvisioningState = value; } /// Internal Acessors for ResourceGuardOperation - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardOperation[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResourceInternal.ResourceGuardOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardInternal)Property).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardInternal)Property).Operation = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperation[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResourceInternal.ResourceGuardOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardInternal)Property).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Name; } + public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Name; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuard _property; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuard _property; /// ResourceGuardResource properties [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuard Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuard()); set => this._property = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuard Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardInternal)Property).ProvisioningState; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardOperation[] ResourceGuardOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardInternal)Property).Operation; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperation[] ResourceGuardOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).SystemData; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseTrackedResourceTags Tag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Tag; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Tag = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceTags Tag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Tag; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Type; } + public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppBaseTrackedResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardOperation) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardOperation[] ResourceGuardOperation { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperation) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperation[] ResourceGuardOperation { get; } } internal partial interface IResourceGuardResourceInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuard Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardOperation[] ResourceGuardOperation { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperation[] ResourceGuardOperation { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardResource.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardResource.json.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardResource.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardResource.json.cs index 7e1c6c7a284a..a067785fe716 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardResource.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IResourceGuardResource. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResource. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.DppBaseTrackedResource(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuard.FromJson(__jsonProperties) : Property;} + __dppBaseTrackedResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DppBaseTrackedResource(json); + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuard.FromJson(__jsonProperties) : Property;} AfterFromJson(json); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardResourceList.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardResourceList.PowerShell.cs similarity index 85% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardResourceList.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardResourceList.PowerShell.cs index 7e88ceded855..481b7f30be75 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardResourceList.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IResourceGuardResourceList DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardResourceList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResourceList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ResourceGuardResourceList(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResourceList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuardResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardResourceTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuardResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardResourceTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceListInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardResourceList.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardResourceList.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardResourceList.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardResourceList.TypeConverter.cs index 8d8516904607..bc6eda18d6ec 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardResourceList.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IResourceGuardResourceList ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResourceList ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResourceList).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResourceList).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardResourceList.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardResourceList.cs similarity index 83% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardResourceList.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardResourceList.cs index 549365a02944..65de6d8fe1bc 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardResourceList.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// List of ResourceGuard resources public partial class ResourceGuardResourceList : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResourceList, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResourceListInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResourceList, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResourceListInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceList __dppTrackedResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DppTrackedResourceList(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceList __dppTrackedResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppTrackedResourceListInternal)__dppTrackedResourceList).NextLink; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceListInternal)__dppTrackedResourceList).NextLink = value ?? null; } + public string NextLink { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceListInternal)__dppTrackedResourceList).NextLink; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceListInternal)__dppTrackedResourceList).NextLink = value ?? null; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResource[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardResource[] Value { get => this._value; set => this._value = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppTrackedResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardResource) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResource[] Value { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource[] Value { get; set; } } /// List of ResourceGuard resources internal partial interface IResourceGuardResourceListInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppTrackedResourceListInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppTrackedResourceListInternal { /// List of resources. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResource[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource[] Value { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardResourceList.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardResourceList.json.cs similarity index 94% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardResourceList.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceGuardResourceList.json.cs index c149cc22230b..1dfefd5893d2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceGuardResourceList.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IResourceGuardResourceList. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResourceList. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResourceList. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResourceList. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResourceList FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.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.Api20231201.IResourceGuardResource) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuardResource.FromJson(__u) )) ))() : null : Value;} + __dppTrackedResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20240401.IResourceGuardResource) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardResource.FromJson(__u) )) ))() : null : Value;} AfterFromJson(json); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceMoveDetails.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceMoveDetails.PowerShell.cs similarity index 83% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceMoveDetails.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceMoveDetails.PowerShell.cs index 83d5c76d2227..7b3f56a0cd1c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceMoveDetails.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IResourceMoveDetails DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceMoveDetails DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceMoveDetails DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ResourceMoveDetails(content); } @@ -85,10 +85,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceMoveDetails FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceMoveDetailsInternal)this).OperationId = (string) content.GetValueForProperty("OperationId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceMoveDetailsInternal)this).OperationId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceMoveDetailsInternal)this).OperationId = (string) content.GetValueForProperty("OperationId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceMoveDetailsInternal)this).OperationId, global::System.Convert.ToString); } if (content.Contains("StartTimeUtc")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceMoveDetailsInternal)this).StartTimeUtc = (string) content.GetValueForProperty("StartTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceMoveDetailsInternal)this).StartTimeUtc, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceMoveDetailsInternal)this).StartTimeUtc = (string) content.GetValueForProperty("StartTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceMoveDetailsInternal)this).StartTimeUtc, global::System.Convert.ToString); } if (content.Contains("CompletionTimeUtc")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceMoveDetailsInternal)this).CompletionTimeUtc = (string) content.GetValueForProperty("CompletionTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceMoveDetailsInternal)this).CompletionTimeUtc, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceMoveDetailsInternal)this).CompletionTimeUtc = (string) content.GetValueForProperty("CompletionTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceMoveDetailsInternal)this).CompletionTimeUtc, global::System.Convert.ToString); } if (content.Contains("SourceResourcePath")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceMoveDetailsInternal)this).SourceResourcePath = (string) content.GetValueForProperty("SourceResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceMoveDetailsInternal)this).SourceResourcePath, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceMoveDetailsInternal)this).SourceResourcePath = (string) content.GetValueForProperty("SourceResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceMoveDetailsInternal)this).SourceResourcePath, global::System.Convert.ToString); } if (content.Contains("TargetResourcePath")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceMoveDetailsInternal)this).TargetResourcePath = (string) content.GetValueForProperty("TargetResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceMoveDetailsInternal)this).TargetResourcePath, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceMoveDetailsInternal)this).TargetResourcePath = (string) content.GetValueForProperty("TargetResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceMoveDetailsInternal)this).OperationId = (string) content.GetValueForProperty("OperationId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceMoveDetailsInternal)this).OperationId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceMoveDetailsInternal)this).OperationId = (string) content.GetValueForProperty("OperationId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceMoveDetailsInternal)this).OperationId, global::System.Convert.ToString); } if (content.Contains("StartTimeUtc")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceMoveDetailsInternal)this).StartTimeUtc = (string) content.GetValueForProperty("StartTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceMoveDetailsInternal)this).StartTimeUtc, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceMoveDetailsInternal)this).StartTimeUtc = (string) content.GetValueForProperty("StartTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceMoveDetailsInternal)this).StartTimeUtc, global::System.Convert.ToString); } if (content.Contains("CompletionTimeUtc")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceMoveDetailsInternal)this).CompletionTimeUtc = (string) content.GetValueForProperty("CompletionTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceMoveDetailsInternal)this).CompletionTimeUtc, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceMoveDetailsInternal)this).CompletionTimeUtc = (string) content.GetValueForProperty("CompletionTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceMoveDetailsInternal)this).CompletionTimeUtc, global::System.Convert.ToString); } if (content.Contains("SourceResourcePath")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceMoveDetailsInternal)this).SourceResourcePath = (string) content.GetValueForProperty("SourceResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceMoveDetailsInternal)this).SourceResourcePath, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceMoveDetailsInternal)this).SourceResourcePath = (string) content.GetValueForProperty("SourceResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceMoveDetailsInternal)this).SourceResourcePath, global::System.Convert.ToString); } if (content.Contains("TargetResourcePath")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceMoveDetailsInternal)this).TargetResourcePath = (string) content.GetValueForProperty("TargetResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceMoveDetailsInternal)this).TargetResourcePath, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceMoveDetailsInternal)this).TargetResourcePath = (string) content.GetValueForProperty("TargetResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceMoveDetailsInternal)this).TargetResourcePath, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceMoveDetails.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceMoveDetails.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceMoveDetails.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceMoveDetails.TypeConverter.cs index b5973f91ffd6..fad749f90e36 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceMoveDetails.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IResourceMoveDetails ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceMoveDetails ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceMoveDetails).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceMoveDetails).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceMoveDetails.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceMoveDetails.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceMoveDetails.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceMoveDetails.cs index 48a89d58f1c2..852f12da0b63 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceMoveDetails.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IResourceMoveDetails, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceMoveDetailsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceMoveDetails, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceMoveDetailsInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceMoveDetails.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceMoveDetails.json.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceMoveDetails.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ResourceMoveDetails.json.cs index 2535e670df09..867e3788b749 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ResourceMoveDetails.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IResourceMoveDetails. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceMoveDetails. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceMoveDetails. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceMoveDetails. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceMoveDetails FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/RestorableTimeRange.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RestorableTimeRange.PowerShell.cs similarity index 86% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestorableTimeRange.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RestorableTimeRange.PowerShell.cs index f2089ad7f743..e3bef1e7a573 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestorableTimeRange.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IRestorableTimeRange DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRestorableTimeRange DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestorableTimeRange DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new RestorableTimeRange(content); } @@ -84,10 +84,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestorableTimeRange FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRestorableTimeRangeInternal)this).StartTime = (string) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestorableTimeRangeInternal)this).StartTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestorableTimeRangeInternal)this).StartTime = (string) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestorableTimeRangeInternal)this).StartTime, global::System.Convert.ToString); } if (content.Contains("EndTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestorableTimeRangeInternal)this).EndTime = (string) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestorableTimeRangeInternal)this).EndTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestorableTimeRangeInternal)this).EndTime = (string) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestorableTimeRangeInternal)this).EndTime, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestorableTimeRangeInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestorableTimeRangeInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestorableTimeRangeInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRestorableTimeRangeInternal)this).StartTime = (string) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestorableTimeRangeInternal)this).StartTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestorableTimeRangeInternal)this).StartTime = (string) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestorableTimeRangeInternal)this).StartTime, global::System.Convert.ToString); } if (content.Contains("EndTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestorableTimeRangeInternal)this).EndTime = (string) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestorableTimeRangeInternal)this).EndTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestorableTimeRangeInternal)this).EndTime = (string) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestorableTimeRangeInternal)this).EndTime, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestorableTimeRangeInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestorableTimeRangeInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestorableTimeRangeInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestorableTimeRangeInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestorableTimeRange.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RestorableTimeRange.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestorableTimeRange.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RestorableTimeRange.TypeConverter.cs index 90652262c9c1..6ccc531eac17 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestorableTimeRange.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IRestorableTimeRange ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestorableTimeRange ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestorableTimeRange).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestorableTimeRange).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestorableTimeRange.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RestorableTimeRange.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestorableTimeRange.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RestorableTimeRange.cs index 4d62de1e6a4b..cbd7548d1632 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestorableTimeRange.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; public partial class RestorableTimeRange : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestorableTimeRange, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestorableTimeRangeInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestorableTimeRange, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestorableTimeRangeInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestorableTimeRange.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RestorableTimeRange.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestorableTimeRange.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RestorableTimeRange.json.cs index 5e4dea203e3d..8f1d4820d875 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestorableTimeRange.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IRestorableTimeRange. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestorableTimeRange. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestorableTimeRange. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestorableTimeRange. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestorableTimeRange FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/RestoreFilesTargetInfo.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RestoreFilesTargetInfo.PowerShell.cs similarity index 84% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestoreFilesTargetInfo.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RestoreFilesTargetInfo.PowerShell.cs index a68483a790bb..09bf868e9fae 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestoreFilesTargetInfo.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IRestoreFilesTargetInfo DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRestoreFilesTargetInfo DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreFilesTargetInfo DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new RestoreFilesTargetInfo(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreFilesTargetInfo FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRestoreFilesTargetInfoInternal)this).TargetDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetDetails) content.GetValueForProperty("TargetDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreFilesTargetInfoInternal)this).TargetDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.TargetDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreFilesTargetInfoInternal)this).TargetDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetDetails) content.GetValueForProperty("TargetDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreFilesTargetInfoInternal)this).TargetDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.TargetDetailsTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("RecoveryOption")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)this).RecoveryOption = (string) content.GetValueForProperty("RecoveryOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)this).RecoveryOption, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)this).RecoveryOption = (string) content.GetValueForProperty("RecoveryOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)this).RecoveryOption, global::System.Convert.ToString); } if (content.Contains("RestoreLocation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)this).RestoreLocation = (string) content.GetValueForProperty("RestoreLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)this).RestoreLocation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)this).RestoreLocation = (string) content.GetValueForProperty("RestoreLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRestoreFilesTargetInfoInternal)this).TargetDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetDetails) content.GetValueForProperty("TargetDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreFilesTargetInfoInternal)this).TargetDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.TargetDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreFilesTargetInfoInternal)this).TargetDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetDetails) content.GetValueForProperty("TargetDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreFilesTargetInfoInternal)this).TargetDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.TargetDetailsTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("RecoveryOption")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)this).RecoveryOption = (string) content.GetValueForProperty("RecoveryOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)this).RecoveryOption, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)this).RecoveryOption = (string) content.GetValueForProperty("RecoveryOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)this).RecoveryOption, global::System.Convert.ToString); } if (content.Contains("RestoreLocation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)this).RestoreLocation = (string) content.GetValueForProperty("RestoreLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)this).RestoreLocation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)this).RestoreLocation = (string) content.GetValueForProperty("RestoreLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)this).RestoreLocation, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestoreFilesTargetInfo.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RestoreFilesTargetInfo.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestoreFilesTargetInfo.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RestoreFilesTargetInfo.TypeConverter.cs index f768bcef6f64..0a89721b85ca 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestoreFilesTargetInfo.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IRestoreFilesTargetInfo ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreFilesTargetInfo ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreFilesTargetInfo).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreFilesTargetInfo).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestoreFilesTargetInfo.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RestoreFilesTargetInfo.cs similarity index 81% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestoreFilesTargetInfo.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RestoreFilesTargetInfo.cs index ec13635d3df7..5818936592e6 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestoreFilesTargetInfo.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IRestoreFilesTargetInfo, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreFilesTargetInfoInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreFilesTargetInfo, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreFilesTargetInfoInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBase __restoreTargetInfoBase = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RestoreTargetInfoBase(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBase __restoreTargetInfoBase = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestoreTargetInfoBase(); /// Internal Acessors for RecoveryOption - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal.RecoveryOption { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RecoveryOption; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RecoveryOption = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal.RecoveryOption { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RecoveryOption; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RecoveryOption; } + public string RecoveryOption { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RestoreLocation; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RestoreLocation = value ?? null; } + public string RestoreLocation { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RestoreLocation; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RestoreLocation = value ?? null; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetDetails _targetDetail; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ITargetDetails TargetDetail { get => (this._targetDetail = this._targetDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.TargetDetails()); set => this._targetDetail = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetDetails TargetDetail { get => (this._targetDetail = this._targetDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRestoreTargetInfoBase + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ITargetDetails) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetDetails TargetDetail { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetDetails) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetDetails TargetDetail { get; set; } } /// Class encapsulating restore as files target parameters internal partial interface IRestoreFilesTargetInfoInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal { /// Destination of RestoreAsFiles operation, when destination is not a datasource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetDetails TargetDetail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetDetails TargetDetail { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestoreFilesTargetInfo.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RestoreFilesTargetInfo.json.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestoreFilesTargetInfo.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RestoreFilesTargetInfo.json.cs index 3d1f854e4cd4..602182908996 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestoreFilesTargetInfo.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IRestoreFilesTargetInfo. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreFilesTargetInfo. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreFilesTargetInfo. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreFilesTargetInfo. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreFilesTargetInfo FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.RestoreTargetInfoBase(json); - {_targetDetail = If( json?.PropertyT("targetDetails"), out var __jsonTargetDetails) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.TargetDetails.FromJson(__jsonTargetDetails) : TargetDetail;} + __restoreTargetInfoBase = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestoreTargetInfoBase(json); + {_targetDetail = If( json?.PropertyT("targetDetails"), out var __jsonTargetDetails) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.TargetDetails.FromJson(__jsonTargetDetails) : TargetDetail;} AfterFromJson(json); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestoreJobRecoveryPointDetails.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RestoreJobRecoveryPointDetails.PowerShell.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestoreJobRecoveryPointDetails.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RestoreJobRecoveryPointDetails.PowerShell.cs index b9fe9cf0f297..6ebf66ce55c8 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestoreJobRecoveryPointDetails.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IRestoreJobRecoveryPointDetails DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRestoreJobRecoveryPointDetails DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreJobRecoveryPointDetails DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new RestoreJobRecoveryPointDetails(content); } @@ -86,10 +86,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreJobRecoveryPointDetails FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRestoreJobRecoveryPointDetailsInternal)this).RecoveryPointId = (string) content.GetValueForProperty("RecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreJobRecoveryPointDetailsInternal)this).RecoveryPointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreJobRecoveryPointDetailsInternal)this).RecoveryPointId = (string) content.GetValueForProperty("RecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreJobRecoveryPointDetailsInternal)this).RecoveryPointId, global::System.Convert.ToString); } if (content.Contains("RecoveryPointTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreJobRecoveryPointDetailsInternal)this).RecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("RecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IRestoreJobRecoveryPointDetailsInternal)this).RecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("RecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRestoreJobRecoveryPointDetailsInternal)this).RecoveryPointId = (string) content.GetValueForProperty("RecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreJobRecoveryPointDetailsInternal)this).RecoveryPointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreJobRecoveryPointDetailsInternal)this).RecoveryPointId = (string) content.GetValueForProperty("RecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreJobRecoveryPointDetailsInternal)this).RecoveryPointId, global::System.Convert.ToString); } if (content.Contains("RecoveryPointTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreJobRecoveryPointDetailsInternal)this).RecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("RecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IRestoreJobRecoveryPointDetailsInternal)this).RecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("RecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/RestoreJobRecoveryPointDetails.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RestoreJobRecoveryPointDetails.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestoreJobRecoveryPointDetails.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RestoreJobRecoveryPointDetails.TypeConverter.cs index 00b5d2a9d6f6..d8915448604c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestoreJobRecoveryPointDetails.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IRestoreJobRecoveryPointDetails ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreJobRecoveryPointDetails ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreJobRecoveryPointDetails).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreJobRecoveryPointDetails).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestoreJobRecoveryPointDetails.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RestoreJobRecoveryPointDetails.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestoreJobRecoveryPointDetails.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RestoreJobRecoveryPointDetails.cs index 295fe975d75b..8c544de81276 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestoreJobRecoveryPointDetails.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; public partial class RestoreJobRecoveryPointDetails : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreJobRecoveryPointDetails, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreJobRecoveryPointDetailsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreJobRecoveryPointDetails, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreJobRecoveryPointDetailsInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestoreJobRecoveryPointDetails.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RestoreJobRecoveryPointDetails.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestoreJobRecoveryPointDetails.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RestoreJobRecoveryPointDetails.json.cs index b1f88a503ff5..11ab9cb59798 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestoreJobRecoveryPointDetails.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IRestoreJobRecoveryPointDetails. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreJobRecoveryPointDetails. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreJobRecoveryPointDetails. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreJobRecoveryPointDetails. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreJobRecoveryPointDetails FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/RestoreTargetInfo.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RestoreTargetInfo.PowerShell.cs similarity index 79% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestoreTargetInfo.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RestoreTargetInfo.PowerShell.cs index 7eefe8a34f89..2e2bc1cb9e0c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestoreTargetInfo.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IRestoreTargetInfo DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRestoreTargetInfo DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfo DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new RestoreTargetInfo(content); } @@ -85,10 +85,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfo FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRestoreTargetInfoInternal)this).DatasourceInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasource) content.GetValueForProperty("DatasourceInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoInternal)this).DatasourceInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DatasourceTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoInternal)this).DatasourceInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasource) content.GetValueForProperty("DatasourceInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoInternal)this).DatasourceInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DatasourceTypeConverter.ConvertFrom); } if (content.Contains("DatasourceSetInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoInternal)this).DatasourceSetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSet) content.GetValueForProperty("DatasourceSetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoInternal)this).DatasourceSetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DatasourceSetTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoInternal)this).DatasourceSetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSet) content.GetValueForProperty("DatasourceSetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoInternal)this).DatasourceSetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DatasourceSetTypeConverter.ConvertFrom); } if (content.Contains("DatasourceAuthCredentials")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoInternal)this).DatasourceAuthCredentials = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAuthCredentials) content.GetValueForProperty("DatasourceAuthCredentials",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoInternal)this).DatasourceAuthCredentials, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AuthCredentialsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoInternal)this).DatasourceAuthCredentials = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAuthCredentials) content.GetValueForProperty("DatasourceAuthCredentials",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoInternal)this).DatasourceAuthCredentials, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AuthCredentialsTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("RecoveryOption")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)this).RecoveryOption = (string) content.GetValueForProperty("RecoveryOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)this).RecoveryOption, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)this).RecoveryOption = (string) content.GetValueForProperty("RecoveryOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)this).RecoveryOption, global::System.Convert.ToString); } if (content.Contains("RestoreLocation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)this).RestoreLocation = (string) content.GetValueForProperty("RestoreLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)this).RestoreLocation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)this).RestoreLocation = (string) content.GetValueForProperty("RestoreLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRestoreTargetInfoInternal)this).DatasourceInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasource) content.GetValueForProperty("DatasourceInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoInternal)this).DatasourceInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DatasourceTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoInternal)this).DatasourceInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasource) content.GetValueForProperty("DatasourceInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoInternal)this).DatasourceInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DatasourceTypeConverter.ConvertFrom); } if (content.Contains("DatasourceSetInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoInternal)this).DatasourceSetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSet) content.GetValueForProperty("DatasourceSetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoInternal)this).DatasourceSetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DatasourceSetTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoInternal)this).DatasourceSetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSet) content.GetValueForProperty("DatasourceSetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoInternal)this).DatasourceSetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DatasourceSetTypeConverter.ConvertFrom); } if (content.Contains("DatasourceAuthCredentials")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoInternal)this).DatasourceAuthCredentials = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAuthCredentials) content.GetValueForProperty("DatasourceAuthCredentials",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoInternal)this).DatasourceAuthCredentials, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AuthCredentialsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoInternal)this).DatasourceAuthCredentials = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAuthCredentials) content.GetValueForProperty("DatasourceAuthCredentials",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoInternal)this).DatasourceAuthCredentials, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AuthCredentialsTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("RecoveryOption")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)this).RecoveryOption = (string) content.GetValueForProperty("RecoveryOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)this).RecoveryOption, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)this).RecoveryOption = (string) content.GetValueForProperty("RecoveryOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)this).RecoveryOption, global::System.Convert.ToString); } if (content.Contains("RestoreLocation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)this).RestoreLocation = (string) content.GetValueForProperty("RestoreLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)this).RestoreLocation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)this).RestoreLocation = (string) content.GetValueForProperty("RestoreLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)this).RestoreLocation, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestoreTargetInfo.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RestoreTargetInfo.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestoreTargetInfo.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RestoreTargetInfo.TypeConverter.cs index c6270a2fb6e7..c8cbb8ed959b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestoreTargetInfo.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IRestoreTargetInfo ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfo ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfo).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfo).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestoreTargetInfo.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RestoreTargetInfo.cs similarity index 79% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestoreTargetInfo.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RestoreTargetInfo.cs index 92168d9eaa7a..5275cc3e2239 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestoreTargetInfo.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Class encapsulating restore target parameters public partial class RestoreTargetInfo : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfo, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfo, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBase __restoreTargetInfoBase = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RestoreTargetInfoBase(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBase __restoreTargetInfoBase = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestoreTargetInfoBase(); /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAuthCredentials _datasourceAuthCredentials; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAuthCredentials DatasourceAuthCredentials { get => (this._datasourceAuthCredentials = this._datasourceAuthCredentials ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AuthCredentials()); set => this._datasourceAuthCredentials = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAuthCredentials DatasourceAuthCredentials { get => (this._datasourceAuthCredentials = this._datasourceAuthCredentials ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AuthCredentials()); set => this._datasourceAuthCredentials = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasource _datasourceInfo; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDatasource DatasourceInfo { get => (this._datasourceInfo = this._datasourceInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.Datasource()); set => this._datasourceInfo = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasource DatasourceInfo { get => (this._datasourceInfo = this._datasourceInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.Datasource()); set => this._datasourceInfo = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSet _datasourceSetInfo; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDatasourceSet DatasourceSetInfo { get => (this._datasourceSetInfo = this._datasourceSetInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DatasourceSet()); set => this._datasourceSetInfo = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSet DatasourceSetInfo { get => (this._datasourceSetInfo = this._datasourceSetInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DatasourceSet()); set => this._datasourceSetInfo = value; } /// Internal Acessors for RecoveryOption - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal.RecoveryOption { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RecoveryOption; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RecoveryOption = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal.RecoveryOption { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RecoveryOption; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RecoveryOption; } + public string RecoveryOption { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RestoreLocation; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RestoreLocation = value ?? null; } + public string RestoreLocation { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RestoreLocation; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRestoreTargetInfoBase + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAuthCredentials) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAuthCredentials DatasourceAuthCredentials { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAuthCredentials) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDatasource) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasource DatasourceInfo { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasource) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDatasourceSet) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSet DatasourceSetInfo { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSet) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSet DatasourceSetInfo { get; set; } } /// Class encapsulating restore target parameters internal partial interface IRestoreTargetInfoInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal { /// Credentials to use to authenticate with data source provider. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAuthCredentials DatasourceAuthCredentials { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAuthCredentials DatasourceAuthCredentials { get; set; } /// Information of target DS - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasource DatasourceInfo { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasource DatasourceInfo { get; set; } /// Information of target DS Set - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDatasourceSet DatasourceSetInfo { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDatasourceSet DatasourceSetInfo { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestoreTargetInfo.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RestoreTargetInfo.json.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestoreTargetInfo.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RestoreTargetInfo.json.cs index d0f652bd2d99..39fc77b4e351 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestoreTargetInfo.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IRestoreTargetInfo. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfo. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfo. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfo. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfo FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.RestoreTargetInfoBase(json); - {_datasourceInfo = If( json?.PropertyT("datasourceInfo"), out var __jsonDatasourceInfo) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.Datasource.FromJson(__jsonDatasourceInfo) : DatasourceInfo;} - {_datasourceSetInfo = If( json?.PropertyT("datasourceSetInfo"), out var __jsonDatasourceSetInfo) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DatasourceSet.FromJson(__jsonDatasourceSetInfo) : DatasourceSetInfo;} - {_datasourceAuthCredentials = If( json?.PropertyT("datasourceAuthCredentials"), out var __jsonDatasourceAuthCredentials) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AuthCredentials.FromJson(__jsonDatasourceAuthCredentials) : DatasourceAuthCredentials;} + __restoreTargetInfoBase = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RestoreTargetInfoBase(json); + {_datasourceInfo = If( json?.PropertyT("datasourceInfo"), out var __jsonDatasourceInfo) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.Datasource.FromJson(__jsonDatasourceInfo) : DatasourceInfo;} + {_datasourceSetInfo = If( json?.PropertyT("datasourceSetInfo"), out var __jsonDatasourceSetInfo) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DatasourceSet.FromJson(__jsonDatasourceSetInfo) : DatasourceSetInfo;} + {_datasourceAuthCredentials = If( json?.PropertyT("datasourceAuthCredentials"), out var __jsonDatasourceAuthCredentials) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AuthCredentials.FromJson(__jsonDatasourceAuthCredentials) : DatasourceAuthCredentials;} AfterFromJson(json); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestoreTargetInfoBase.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RestoreTargetInfoBase.PowerShell.cs similarity index 86% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestoreTargetInfoBase.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RestoreTargetInfoBase.PowerShell.cs index 6d60790d9d9f..a516abc978dd 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestoreTargetInfoBase.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IRestoreTargetInfoBase DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRestoreTargetInfoBase DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBase DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new RestoreTargetInfoBase(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBase FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRestoreTargetInfoBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("RecoveryOption")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)this).RecoveryOption = (string) content.GetValueForProperty("RecoveryOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)this).RecoveryOption, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)this).RecoveryOption = (string) content.GetValueForProperty("RecoveryOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)this).RecoveryOption, global::System.Convert.ToString); } if (content.Contains("RestoreLocation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)this).RestoreLocation = (string) content.GetValueForProperty("RestoreLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)this).RestoreLocation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)this).RestoreLocation = (string) content.GetValueForProperty("RestoreLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRestoreTargetInfoBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("RecoveryOption")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)this).RecoveryOption = (string) content.GetValueForProperty("RecoveryOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)this).RecoveryOption, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)this).RecoveryOption = (string) content.GetValueForProperty("RecoveryOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)this).RecoveryOption, global::System.Convert.ToString); } if (content.Contains("RestoreLocation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)this).RestoreLocation = (string) content.GetValueForProperty("RestoreLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal)this).RestoreLocation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)this).RestoreLocation = (string) content.GetValueForProperty("RestoreLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal)this).RestoreLocation, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestoreTargetInfoBase.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RestoreTargetInfoBase.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestoreTargetInfoBase.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RestoreTargetInfoBase.TypeConverter.cs index 20927ecb3d8f..6cf3991b18f7 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestoreTargetInfoBase.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IRestoreTargetInfoBase ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBase ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBase).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBase).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestoreTargetInfoBase.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RestoreTargetInfoBase.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestoreTargetInfoBase.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RestoreTargetInfoBase.cs index 6daeded27376..fc1c0964df30 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestoreTargetInfoBase.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IRestoreTargetInfoBase, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBase, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBaseInternal { /// Internal Acessors for RecoveryOption - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBaseInternal.RecoveryOption { get => this._recoveryOption; set { {_recoveryOption = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/RestoreTargetInfoBase.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RestoreTargetInfoBase.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestoreTargetInfoBase.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RestoreTargetInfoBase.json.cs index e90424f330c4..19d2ae357aea 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RestoreTargetInfoBase.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IRestoreTargetInfoBase. - /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBase interface is polymorphic, + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBase. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRestoreTargetInfoBase. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBase. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBase FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/RetentionTag.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RetentionTag.PowerShell.cs similarity index 86% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RetentionTag.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RetentionTag.PowerShell.cs index 3e7ee7cc9aa2..b6d74140e721 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RetentionTag.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IRetentionTag DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRetentionTag DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRetentionTag DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new RetentionTag(content); } @@ -85,10 +85,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRetentionTag FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRetentionTagInternal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRetentionTagInternal)this).ETag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRetentionTagInternal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRetentionTagInternal)this).ETag, global::System.Convert.ToString); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRetentionTagInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRetentionTagInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRetentionTagInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRetentionTagInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("TagName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRetentionTagInternal)this).TagName = (string) content.GetValueForProperty("TagName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRetentionTagInternal)this).TagName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRetentionTagInternal)this).TagName = (string) content.GetValueForProperty("TagName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRetentionTagInternal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRetentionTagInternal)this).ETag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRetentionTagInternal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRetentionTagInternal)this).ETag, global::System.Convert.ToString); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRetentionTagInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRetentionTagInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRetentionTagInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRetentionTagInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("TagName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRetentionTagInternal)this).TagName = (string) content.GetValueForProperty("TagName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRetentionTagInternal)this).TagName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRetentionTagInternal)this).TagName = (string) content.GetValueForProperty("TagName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRetentionTagInternal)this).TagName, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RetentionTag.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RetentionTag.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RetentionTag.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RetentionTag.TypeConverter.cs index a8c18f781acb..0f6096de203a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RetentionTag.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IRetentionTag ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRetentionTag ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRetentionTag).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRetentionTag).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RetentionTag.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RetentionTag.cs similarity index 94% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RetentionTag.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RetentionTag.cs index 99758d226ec7..e1d4a5d9e065 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RetentionTag.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Retention tag public partial class RetentionTag : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRetentionTag, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRetentionTagInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRetentionTag, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRetentionTagInternal.ETag { get => this._eTag; set { {_eTag = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRetentionTagInternal.ETag { get => this._eTag; set { {_eTag = value;} } } /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRetentionTagInternal.Id { get => this._id; set { {_id = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/RetentionTag.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RetentionTag.json.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RetentionTag.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/RetentionTag.json.cs index bc1da2cc72ec..f763cd0da164 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/RetentionTag.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IRetentionTag. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRetentionTag. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRetentionTag. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRetentionTag. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRetentionTag FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/ScheduleBasedBackupCriteria.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ScheduleBasedBackupCriteria.PowerShell.cs similarity index 83% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ScheduleBasedBackupCriteria.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ScheduleBasedBackupCriteria.PowerShell.cs index 3518dc3e40e5..b149344ae551 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ScheduleBasedBackupCriteria.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IScheduleBasedBackupCriteria DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IScheduleBasedBackupCriteria DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedBackupCriteria DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ScheduleBasedBackupCriteria(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IScheduleBasedBackupCriteria FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IScheduleBasedBackupCriteriaInternal)this).AbsoluteCriterion = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AbsoluteMarker[]) content.GetValueForProperty("AbsoluteCriterion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IScheduleBasedBackupCriteriaInternal)this).AbsoluteCriterion, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AbsoluteMarker.CreateFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedBackupCriteriaInternal)this).AbsoluteCriterion = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AbsoluteMarker[]) content.GetValueForProperty("AbsoluteCriterion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IScheduleBasedBackupCriteriaInternal)this).DaysOfMonth = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDay[]) content.GetValueForProperty("DaysOfMonth",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IScheduleBasedBackupCriteriaInternal)this).DaysOfMonth, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DayTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedBackupCriteriaInternal)this).DaysOfMonth = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDay[]) content.GetValueForProperty("DaysOfMonth",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedBackupCriteriaInternal)this).DaysOfMonth, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DayTypeConverter.ConvertFrom)); } if (content.Contains("DaysOfTheWeek")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IScheduleBasedBackupCriteriaInternal)this).DaysOfTheWeek = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DayOfWeek[]) content.GetValueForProperty("DaysOfTheWeek",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IScheduleBasedBackupCriteriaInternal)this).DaysOfTheWeek, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DayOfWeek.CreateFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedBackupCriteriaInternal)this).DaysOfTheWeek = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DayOfWeek[]) content.GetValueForProperty("DaysOfTheWeek",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IScheduleBasedBackupCriteriaInternal)this).MonthsOfYear = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.Month[]) content.GetValueForProperty("MonthsOfYear",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IScheduleBasedBackupCriteriaInternal)this).MonthsOfYear, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.Month.CreateFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedBackupCriteriaInternal)this).MonthsOfYear = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.Month[]) content.GetValueForProperty("MonthsOfYear",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IScheduleBasedBackupCriteriaInternal)this).ScheduleTime = (global::System.DateTime[]) content.GetValueForProperty("ScheduleTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IScheduleBasedBackupCriteriaInternal)this).ScheduleTime = (global::System.DateTime[]) content.GetValueForProperty("ScheduleTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IScheduleBasedBackupCriteriaInternal)this).WeeksOfTheMonth = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.WeekNumber[]) content.GetValueForProperty("WeeksOfTheMonth",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IScheduleBasedBackupCriteriaInternal)this).WeeksOfTheMonth, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.WeekNumber.CreateFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedBackupCriteriaInternal)this).WeeksOfTheMonth = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.WeekNumber[]) content.GetValueForProperty("WeeksOfTheMonth",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupCriteriaInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IScheduleBasedBackupCriteriaInternal)this).AbsoluteCriterion = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AbsoluteMarker[]) content.GetValueForProperty("AbsoluteCriterion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IScheduleBasedBackupCriteriaInternal)this).AbsoluteCriterion, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AbsoluteMarker.CreateFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedBackupCriteriaInternal)this).AbsoluteCriterion = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AbsoluteMarker[]) content.GetValueForProperty("AbsoluteCriterion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IScheduleBasedBackupCriteriaInternal)this).DaysOfMonth = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDay[]) content.GetValueForProperty("DaysOfMonth",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IScheduleBasedBackupCriteriaInternal)this).DaysOfMonth, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DayTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedBackupCriteriaInternal)this).DaysOfMonth = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDay[]) content.GetValueForProperty("DaysOfMonth",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedBackupCriteriaInternal)this).DaysOfMonth, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DayTypeConverter.ConvertFrom)); } if (content.Contains("DaysOfTheWeek")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IScheduleBasedBackupCriteriaInternal)this).DaysOfTheWeek = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DayOfWeek[]) content.GetValueForProperty("DaysOfTheWeek",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IScheduleBasedBackupCriteriaInternal)this).DaysOfTheWeek, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DayOfWeek.CreateFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedBackupCriteriaInternal)this).DaysOfTheWeek = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DayOfWeek[]) content.GetValueForProperty("DaysOfTheWeek",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IScheduleBasedBackupCriteriaInternal)this).MonthsOfYear = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.Month[]) content.GetValueForProperty("MonthsOfYear",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IScheduleBasedBackupCriteriaInternal)this).MonthsOfYear, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.Month.CreateFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedBackupCriteriaInternal)this).MonthsOfYear = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.Month[]) content.GetValueForProperty("MonthsOfYear",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IScheduleBasedBackupCriteriaInternal)this).ScheduleTime = (global::System.DateTime[]) content.GetValueForProperty("ScheduleTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IScheduleBasedBackupCriteriaInternal)this).ScheduleTime = (global::System.DateTime[]) content.GetValueForProperty("ScheduleTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IScheduleBasedBackupCriteriaInternal)this).WeeksOfTheMonth = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.WeekNumber[]) content.GetValueForProperty("WeeksOfTheMonth",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IScheduleBasedBackupCriteriaInternal)this).WeeksOfTheMonth, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.WeekNumber.CreateFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedBackupCriteriaInternal)this).WeeksOfTheMonth = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.WeekNumber[]) content.GetValueForProperty("WeeksOfTheMonth",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupCriteriaInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupCriteriaInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ScheduleBasedBackupCriteria.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ScheduleBasedBackupCriteria.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ScheduleBasedBackupCriteria.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ScheduleBasedBackupCriteria.TypeConverter.cs index 6108cc8859b6..6f891683a1e2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ScheduleBasedBackupCriteria.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IScheduleBasedBackupCriteria ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedBackupCriteria ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IScheduleBasedBackupCriteria).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedBackupCriteria).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ScheduleBasedBackupCriteria.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ScheduleBasedBackupCriteria.cs similarity index 93% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ScheduleBasedBackupCriteria.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ScheduleBasedBackupCriteria.cs index cda0db6e999a..4f11c08d4245 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ScheduleBasedBackupCriteria.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Schedule based backup criteria public partial class ScheduleBasedBackupCriteria : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IScheduleBasedBackupCriteria, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IScheduleBasedBackupCriteriaInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedBackupCriteria, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedBackupCriteriaInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupCriteria __backupCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupCriteria(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupCriteria __backupCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDay[] _daysOfMonth; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDay[] DaysOfMonth { get => this._daysOfMonth; set => this._daysOfMonth = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupCriteriaInternal)__backupCriteria).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupCriteriaInternal)__backupCriteria).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupCriteriaInternal)__backupCriteria).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDay) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDay[] DaysOfMonth { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDay) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupCriteriaInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDay[] DaysOfMonth { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/ScheduleBasedBackupCriteria.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ScheduleBasedBackupCriteria.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ScheduleBasedBackupCriteria.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ScheduleBasedBackupCriteria.json.cs index c6ab68014768..19aa21ee26d6 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ScheduleBasedBackupCriteria.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IScheduleBasedBackupCriteria. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedBackupCriteria. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IScheduleBasedBackupCriteria. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedBackupCriteria. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IScheduleBasedBackupCriteria FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.BackupCriteria(json); + __backupCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDay) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IDay) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/ScheduleBasedTriggerContext.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ScheduleBasedTriggerContext.PowerShell.cs similarity index 81% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ScheduleBasedTriggerContext.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ScheduleBasedTriggerContext.PowerShell.cs index f8a67171be55..a8e6dfaff940 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ScheduleBasedTriggerContext.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IScheduleBasedTriggerContext DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IScheduleBasedTriggerContext DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedTriggerContext DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ScheduleBasedTriggerContext(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IScheduleBasedTriggerContext FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IScheduleBasedTriggerContextInternal)this).Schedule = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupSchedule) content.GetValueForProperty("Schedule",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IScheduleBasedTriggerContextInternal)this).Schedule, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupScheduleTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedTriggerContextInternal)this).Schedule = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupSchedule) content.GetValueForProperty("Schedule",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedTriggerContextInternal)this).Schedule, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupScheduleTypeConverter.ConvertFrom); } if (content.Contains("TaggingCriterion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IScheduleBasedTriggerContextInternal)this).TaggingCriterion = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITaggingCriteria[]) content.GetValueForProperty("TaggingCriterion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IScheduleBasedTriggerContextInternal)this).TaggingCriterion, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.TaggingCriteriaTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedTriggerContextInternal)this).TaggingCriterion = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITaggingCriteria[]) content.GetValueForProperty("TaggingCriterion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedTriggerContextInternal)this).TaggingCriterion, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.TaggingCriteriaTypeConverter.ConvertFrom)); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerContextInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerContextInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerContextInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerContextInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("ScheduleRepeatingTimeInterval")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IScheduleBasedTriggerContextInternal)this).ScheduleRepeatingTimeInterval = (string[]) content.GetValueForProperty("ScheduleRepeatingTimeInterval",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IScheduleBasedTriggerContextInternal)this).ScheduleRepeatingTimeInterval, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedTriggerContextInternal)this).ScheduleRepeatingTimeInterval = (string[]) content.GetValueForProperty("ScheduleRepeatingTimeInterval",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedTriggerContextInternal)this).ScheduleRepeatingTimeInterval, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ScheduleTimeZone")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IScheduleBasedTriggerContextInternal)this).ScheduleTimeZone = (string) content.GetValueForProperty("ScheduleTimeZone",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IScheduleBasedTriggerContextInternal)this).ScheduleTimeZone, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedTriggerContextInternal)this).ScheduleTimeZone = (string) content.GetValueForProperty("ScheduleTimeZone",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IScheduleBasedTriggerContextInternal)this).Schedule = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupSchedule) content.GetValueForProperty("Schedule",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IScheduleBasedTriggerContextInternal)this).Schedule, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupScheduleTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedTriggerContextInternal)this).Schedule = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupSchedule) content.GetValueForProperty("Schedule",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedTriggerContextInternal)this).Schedule, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupScheduleTypeConverter.ConvertFrom); } if (content.Contains("TaggingCriterion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IScheduleBasedTriggerContextInternal)this).TaggingCriterion = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITaggingCriteria[]) content.GetValueForProperty("TaggingCriterion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IScheduleBasedTriggerContextInternal)this).TaggingCriterion, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.TaggingCriteriaTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedTriggerContextInternal)this).TaggingCriterion = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITaggingCriteria[]) content.GetValueForProperty("TaggingCriterion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedTriggerContextInternal)this).TaggingCriterion, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.TaggingCriteriaTypeConverter.ConvertFrom)); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerContextInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerContextInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerContextInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerContextInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("ScheduleRepeatingTimeInterval")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IScheduleBasedTriggerContextInternal)this).ScheduleRepeatingTimeInterval = (string[]) content.GetValueForProperty("ScheduleRepeatingTimeInterval",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IScheduleBasedTriggerContextInternal)this).ScheduleRepeatingTimeInterval, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedTriggerContextInternal)this).ScheduleRepeatingTimeInterval = (string[]) content.GetValueForProperty("ScheduleRepeatingTimeInterval",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedTriggerContextInternal)this).ScheduleRepeatingTimeInterval, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ScheduleTimeZone")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IScheduleBasedTriggerContextInternal)this).ScheduleTimeZone = (string) content.GetValueForProperty("ScheduleTimeZone",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IScheduleBasedTriggerContextInternal)this).ScheduleTimeZone, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedTriggerContextInternal)this).ScheduleTimeZone = (string) content.GetValueForProperty("ScheduleTimeZone",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedTriggerContextInternal)this).ScheduleTimeZone, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ScheduleBasedTriggerContext.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ScheduleBasedTriggerContext.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ScheduleBasedTriggerContext.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ScheduleBasedTriggerContext.TypeConverter.cs index 13e1e88e337d..960ef4ab3b0f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ScheduleBasedTriggerContext.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IScheduleBasedTriggerContext ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedTriggerContext ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IScheduleBasedTriggerContext).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedTriggerContext).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ScheduleBasedTriggerContext.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ScheduleBasedTriggerContext.cs similarity index 82% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ScheduleBasedTriggerContext.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ScheduleBasedTriggerContext.cs index e06d9ce0f6d4..5c5553db09b5 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ScheduleBasedTriggerContext.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Schedule based trigger context public partial class ScheduleBasedTriggerContext : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IScheduleBasedTriggerContext, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IScheduleBasedTriggerContextInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedTriggerContext, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedTriggerContextInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerContext __triggerContext = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.TriggerContext(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerContext __triggerContext = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.TriggerContext(); /// Internal Acessors for Schedule - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupSchedule Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IScheduleBasedTriggerContextInternal.Schedule { get => (this._schedule = this._schedule ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupSchedule()); set { {_schedule = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupSchedule Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedTriggerContextInternal.Schedule { get => (this._schedule = this._schedule ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ITriggerContextInternal)__triggerContext).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerContextInternal)__triggerContext).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerContextInternal)__triggerContext).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerContextInternal)__triggerContext).ObjectType = value ; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupSchedule _schedule; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupSchedule Schedule { get => (this._schedule = this._schedule ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupSchedule()); set => this._schedule = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupSchedule Schedule { get => (this._schedule = this._schedule ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupScheduleInternal)Schedule).RepeatingTimeInterval; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupScheduleInternal)Schedule).RepeatingTimeInterval = value ; } + public string[] ScheduleRepeatingTimeInterval { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupScheduleInternal)Schedule).RepeatingTimeInterval; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupScheduleInternal)Schedule).TimeZone; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupScheduleInternal)Schedule).TimeZone = value ?? null; } + public string ScheduleTimeZone { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupScheduleInternal)Schedule).TimeZone; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupScheduleInternal)Schedule).TimeZone = value ?? null; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITaggingCriteria[] _taggingCriterion; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ITaggingCriteria[] TaggingCriterion { get => this._taggingCriterion; set => this._taggingCriterion = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ITriggerContext + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ITaggingCriteria) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITaggingCriteria[] TaggingCriterion { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITaggingCriteria) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITaggingCriteria[] TaggingCriterion { get; set; } } /// Schedule based trigger context internal partial interface IScheduleBasedTriggerContextInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerContextInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerContextInternal { /// Schedule for this backup - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupSchedule Schedule { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ITaggingCriteria[] TaggingCriterion { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITaggingCriteria[] TaggingCriterion { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ScheduleBasedTriggerContext.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ScheduleBasedTriggerContext.json.cs similarity index 94% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ScheduleBasedTriggerContext.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ScheduleBasedTriggerContext.json.cs index 72bf0e94da86..dcd5f935b0cd 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ScheduleBasedTriggerContext.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IScheduleBasedTriggerContext. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedTriggerContext. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IScheduleBasedTriggerContext. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedTriggerContext. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IScheduleBasedTriggerContext FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.TriggerContext(json); - {_schedule = If( json?.PropertyT("schedule"), out var __jsonSchedule) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20231201.ITaggingCriteria) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.TaggingCriteria.FromJson(__u) )) ))() : null : TaggingCriterion;} + __triggerContext = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.TriggerContext(json); + {_schedule = If( json?.PropertyT("schedule"), out var __jsonSchedule) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20240401.ITaggingCriteria) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.TaggingCriteria.FromJson(__u) )) ))() : null : TaggingCriterion;} AfterFromJson(json); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SecretStoreBasedAuthCredentials.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SecretStoreBasedAuthCredentials.PowerShell.cs similarity index 86% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SecretStoreBasedAuthCredentials.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SecretStoreBasedAuthCredentials.PowerShell.cs index 3541e1df0b37..7cc71004b729 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SecretStoreBasedAuthCredentials.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ISecretStoreBasedAuthCredentials DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ISecretStoreBasedAuthCredentials DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecretStoreBasedAuthCredentials DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new SecretStoreBasedAuthCredentials(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecretStoreBasedAuthCredentials FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ISecretStoreBasedAuthCredentialsInternal)this).SecretStoreResource = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecretStoreResource) content.GetValueForProperty("SecretStoreResource",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecretStoreBasedAuthCredentialsInternal)this).SecretStoreResource, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SecretStoreResourceTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecretStoreBasedAuthCredentialsInternal)this).SecretStoreResource = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecretStoreResource) content.GetValueForProperty("SecretStoreResource",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecretStoreBasedAuthCredentialsInternal)this).SecretStoreResource, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SecretStoreResourceTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAuthCredentialsInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAuthCredentialsInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAuthCredentialsInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ISecretStoreBasedAuthCredentialsInternal)this).SecretStoreResource = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecretStoreResource) content.GetValueForProperty("SecretStoreResource",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecretStoreBasedAuthCredentialsInternal)this).SecretStoreResource, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SecretStoreResourceTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecretStoreBasedAuthCredentialsInternal)this).SecretStoreResource = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecretStoreResource) content.GetValueForProperty("SecretStoreResource",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecretStoreBasedAuthCredentialsInternal)this).SecretStoreResource, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SecretStoreResourceTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAuthCredentialsInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAuthCredentialsInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAuthCredentialsInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAuthCredentialsInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SecretStoreBasedAuthCredentials.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SecretStoreBasedAuthCredentials.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SecretStoreBasedAuthCredentials.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SecretStoreBasedAuthCredentials.TypeConverter.cs index 6e36508e7595..d1b4f1538839 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SecretStoreBasedAuthCredentials.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ISecretStoreBasedAuthCredentials ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecretStoreBasedAuthCredentials ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecretStoreBasedAuthCredentials).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecretStoreBasedAuthCredentials).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SecretStoreBasedAuthCredentials.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SecretStoreBasedAuthCredentials.cs similarity index 81% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SecretStoreBasedAuthCredentials.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SecretStoreBasedAuthCredentials.cs index d6f0692bff11..3329e11bf4d2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SecretStoreBasedAuthCredentials.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Secret store based authentication credentials. public partial class SecretStoreBasedAuthCredentials : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecretStoreBasedAuthCredentials, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecretStoreBasedAuthCredentialsInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecretStoreBasedAuthCredentials, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecretStoreBasedAuthCredentialsInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAuthCredentials __authCredentials = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AuthCredentials(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAuthCredentials __authCredentials = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAuthCredentialsInternal)__authCredentials).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAuthCredentialsInternal)__authCredentials).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAuthCredentialsInternal)__authCredentials).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAuthCredentialsInternal)__authCredentials).ObjectType = value ; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecretStoreResource _secretStoreResource; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ISecretStoreResource SecretStoreResource { get => (this._secretStoreResource = this._secretStoreResource ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SecretStoreResource()); set => this._secretStoreResource = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecretStoreResource SecretStoreResource { get => (this._secretStoreResource = this._secretStoreResource ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAuthCredentials + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ISecretStoreResource) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecretStoreResource SecretStoreResource { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecretStoreResource) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecretStoreResource SecretStoreResource { get; set; } } /// Secret store based authentication credentials. internal partial interface ISecretStoreBasedAuthCredentialsInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAuthCredentialsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAuthCredentialsInternal { /// Secret store resource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecretStoreResource SecretStoreResource { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecretStoreResource SecretStoreResource { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SecretStoreBasedAuthCredentials.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SecretStoreBasedAuthCredentials.json.cs similarity index 94% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SecretStoreBasedAuthCredentials.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SecretStoreBasedAuthCredentials.json.cs index edd7c80eb504..911361879ec1 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SecretStoreBasedAuthCredentials.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ISecretStoreBasedAuthCredentials. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecretStoreBasedAuthCredentials. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecretStoreBasedAuthCredentials. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecretStoreBasedAuthCredentials. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecretStoreBasedAuthCredentials FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.AuthCredentials(json); - {_secretStoreResource = If( json?.PropertyT("secretStoreResource"), out var __jsonSecretStoreResource) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SecretStoreResource.FromJson(__jsonSecretStoreResource) : SecretStoreResource;} + __authCredentials = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AuthCredentials(json); + {_secretStoreResource = If( json?.PropertyT("secretStoreResource"), out var __jsonSecretStoreResource) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SecretStoreResource.FromJson(__jsonSecretStoreResource) : SecretStoreResource;} AfterFromJson(json); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SecretStoreResource.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SecretStoreResource.PowerShell.cs similarity index 86% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SecretStoreResource.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SecretStoreResource.PowerShell.cs index 345855dba472..df78c108af44 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SecretStoreResource.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ISecretStoreResource DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ISecretStoreResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecretStoreResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new SecretStoreResource(content); } @@ -85,10 +85,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecretStoreResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ISecretStoreResourceInternal)this).Uri = (string) content.GetValueForProperty("Uri",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecretStoreResourceInternal)this).Uri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecretStoreResourceInternal)this).Uri = (string) content.GetValueForProperty("Uri",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecretStoreResourceInternal)this).Uri, global::System.Convert.ToString); } if (content.Contains("SecretStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecretStoreResourceInternal)this).SecretStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecretStoreType) content.GetValueForProperty("SecretStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecretStoreResourceInternal)this).SecretStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecretStoreType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecretStoreResourceInternal)this).SecretStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecretStoreType) content.GetValueForProperty("SecretStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecretStoreResourceInternal)this).SecretStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecretStoreType.CreateFrom); } if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecretStoreResourceInternal)this).Value = (string) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecretStoreResourceInternal)this).Value, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecretStoreResourceInternal)this).Value = (string) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ISecretStoreResourceInternal)this).Uri = (string) content.GetValueForProperty("Uri",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecretStoreResourceInternal)this).Uri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecretStoreResourceInternal)this).Uri = (string) content.GetValueForProperty("Uri",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecretStoreResourceInternal)this).Uri, global::System.Convert.ToString); } if (content.Contains("SecretStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecretStoreResourceInternal)this).SecretStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecretStoreType) content.GetValueForProperty("SecretStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecretStoreResourceInternal)this).SecretStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecretStoreType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecretStoreResourceInternal)this).SecretStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecretStoreType) content.GetValueForProperty("SecretStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecretStoreResourceInternal)this).SecretStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecretStoreType.CreateFrom); } if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecretStoreResourceInternal)this).Value = (string) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecretStoreResourceInternal)this).Value, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecretStoreResourceInternal)this).Value = (string) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecretStoreResourceInternal)this).Value, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SecretStoreResource.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SecretStoreResource.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SecretStoreResource.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SecretStoreResource.TypeConverter.cs index de9955bc4b48..16edc7ee21d4 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SecretStoreResource.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ISecretStoreResource ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecretStoreResource ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecretStoreResource).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecretStoreResource).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SecretStoreResource.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SecretStoreResource.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SecretStoreResource.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SecretStoreResource.cs index fadc83858fb5..7361b30debf4 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SecretStoreResource.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ISecretStoreResource, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecretStoreResourceInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecretStoreResource, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecretStoreResourceInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SecretStoreResource.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SecretStoreResource.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SecretStoreResource.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SecretStoreResource.json.cs index d8f98b5c234e..a1541007f928 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SecretStoreResource.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ISecretStoreResource. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecretStoreResource. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecretStoreResource. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecretStoreResource. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecretStoreResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/SecuritySettings.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SecuritySettings.PowerShell.cs similarity index 75% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SecuritySettings.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SecuritySettings.PowerShell.cs index 6ccae430a35a..9c05cb91aeb5 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SecuritySettings.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ISecuritySettings DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ISecuritySettings DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettings DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new SecuritySettings(content); } @@ -85,10 +85,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettings FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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,33 @@ internal SecuritySettings(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("SoftDeleteSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettingsInternal)this).SoftDeleteSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISoftDeleteSettings) content.GetValueForProperty("SoftDeleteSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettingsInternal)this).SoftDeleteSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SoftDeleteSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettingsInternal)this).SoftDeleteSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISoftDeleteSettings) content.GetValueForProperty("SoftDeleteSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettingsInternal)this).SoftDeleteSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SoftDeleteSettingsTypeConverter.ConvertFrom); } if (content.Contains("ImmutabilitySetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettingsInternal)this).ImmutabilitySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IImmutabilitySettings) content.GetValueForProperty("ImmutabilitySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettingsInternal)this).ImmutabilitySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ImmutabilitySettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettingsInternal)this).ImmutabilitySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IImmutabilitySettings) content.GetValueForProperty("ImmutabilitySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettingsInternal)this).ImmutabilitySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ImmutabilitySettingsTypeConverter.ConvertFrom); + } + if (content.Contains("EncryptionSetting")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettingsInternal)this).EncryptionSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings) content.GetValueForProperty("EncryptionSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettingsInternal)this).EncryptionSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.EncryptionSettingsTypeConverter.ConvertFrom); } if (content.Contains("SoftDeleteState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettingsInternal)this).SoftDeleteState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("SoftDeleteState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettingsInternal)this).SoftDeleteState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettingsInternal)this).SoftDeleteState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("SoftDeleteState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettingsInternal)this).SoftDeleteState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); } if (content.Contains("SoftDeleteRetentionDurationInDay")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettingsInternal)this).SoftDeleteRetentionDurationInDay = (double?) content.GetValueForProperty("SoftDeleteRetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettingsInternal)this).SoftDeleteRetentionDurationInDay, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettingsInternal)this).SoftDeleteRetentionDurationInDay = (double?) content.GetValueForProperty("SoftDeleteRetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettingsInternal)this).SoftDeleteRetentionDurationInDay, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); } if (content.Contains("ImmutabilityState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettingsInternal)this).ImmutabilityState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("ImmutabilityState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettingsInternal)this).ImmutabilityState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettingsInternal)this).ImmutabilityState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("ImmutabilityState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 +144,27 @@ internal SecuritySettings(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("SoftDeleteSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettingsInternal)this).SoftDeleteSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISoftDeleteSettings) content.GetValueForProperty("SoftDeleteSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettingsInternal)this).SoftDeleteSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SoftDeleteSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettingsInternal)this).SoftDeleteSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISoftDeleteSettings) content.GetValueForProperty("SoftDeleteSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettingsInternal)this).SoftDeleteSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SoftDeleteSettingsTypeConverter.ConvertFrom); } if (content.Contains("ImmutabilitySetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettingsInternal)this).ImmutabilitySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IImmutabilitySettings) content.GetValueForProperty("ImmutabilitySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettingsInternal)this).ImmutabilitySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ImmutabilitySettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettingsInternal)this).ImmutabilitySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IImmutabilitySettings) content.GetValueForProperty("ImmutabilitySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettingsInternal)this).ImmutabilitySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ImmutabilitySettingsTypeConverter.ConvertFrom); + } + if (content.Contains("EncryptionSetting")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettingsInternal)this).EncryptionSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings) content.GetValueForProperty("EncryptionSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettingsInternal)this).EncryptionSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.EncryptionSettingsTypeConverter.ConvertFrom); } if (content.Contains("SoftDeleteState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettingsInternal)this).SoftDeleteState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("SoftDeleteState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettingsInternal)this).SoftDeleteState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettingsInternal)this).SoftDeleteState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("SoftDeleteState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettingsInternal)this).SoftDeleteState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); } if (content.Contains("SoftDeleteRetentionDurationInDay")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettingsInternal)this).SoftDeleteRetentionDurationInDay = (double?) content.GetValueForProperty("SoftDeleteRetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettingsInternal)this).SoftDeleteRetentionDurationInDay, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettingsInternal)this).SoftDeleteRetentionDurationInDay = (double?) content.GetValueForProperty("SoftDeleteRetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettingsInternal)this).SoftDeleteRetentionDurationInDay, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); } if (content.Contains("ImmutabilityState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettingsInternal)this).ImmutabilityState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("ImmutabilityState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettingsInternal)this).ImmutabilityState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettingsInternal)this).ImmutabilityState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("ImmutabilityState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettingsInternal)this).ImmutabilityState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState.CreateFrom); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SecuritySettings.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SecuritySettings.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SecuritySettings.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SecuritySettings.TypeConverter.cs index 4eda36c8fd6f..aae0a55a5903 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SecuritySettings.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ISecuritySettings ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettings ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettings).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettings).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SecuritySettings.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SecuritySettings.cs similarity index 68% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SecuritySettings.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SecuritySettings.cs index a66e6d7480a3..52399cc36d26 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SecuritySettings.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SecuritySettings.cs @@ -3,47 +3,54 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ISecuritySettings, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettingsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettings, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettingsInternal { + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings _encryptionSetting; + + /// Customer Managed Key details of the resource. + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings EncryptionSetting { get => (this._encryptionSetting = this._encryptionSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.EncryptionSettings()); set => this._encryptionSetting = value; } + /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IImmutabilitySettings _immutabilitySetting; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IImmutabilitySettings ImmutabilitySetting { get => (this._immutabilitySetting = this._immutabilitySetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ImmutabilitySettings()); set => this._immutabilitySetting = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IImmutabilitySettings ImmutabilitySetting { get => (this._immutabilitySetting = this._immutabilitySetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IImmutabilitySettingsInternal)ImmutabilitySetting).State; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IImmutabilitySettingsInternal)ImmutabilitySetting).State; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IImmutabilitySettingsInternal)ImmutabilitySetting).State = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState)""); } /// Internal Acessors for ImmutabilitySetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IImmutabilitySettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettingsInternal.ImmutabilitySetting { get => (this._immutabilitySetting = this._immutabilitySetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ImmutabilitySettings()); set { {_immutabilitySetting = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IImmutabilitySettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettingsInternal.ImmutabilitySetting { get => (this._immutabilitySetting = this._immutabilitySetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ImmutabilitySettings()); set { {_immutabilitySetting = value;} } } /// Internal Acessors for SoftDeleteSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISoftDeleteSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettingsInternal.SoftDeleteSetting { get => (this._softDeleteSetting = this._softDeleteSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SoftDeleteSettings()); set { {_softDeleteSetting = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISoftDeleteSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettingsInternal.SoftDeleteSetting { get => (this._softDeleteSetting = this._softDeleteSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ISoftDeleteSettingsInternal)SoftDeleteSetting).RetentionDurationInDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISoftDeleteSettingsInternal)SoftDeleteSetting).RetentionDurationInDay = value ?? default(double); } + public double? SoftDeleteRetentionDurationInDay { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISoftDeleteSettingsInternal)SoftDeleteSetting).RetentionDurationInDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISoftDeleteSettingsInternal)SoftDeleteSetting).RetentionDurationInDay = value ?? default(double); } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISoftDeleteSettings _softDeleteSetting; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ISoftDeleteSettings SoftDeleteSetting { get => (this._softDeleteSetting = this._softDeleteSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SoftDeleteSettings()); set => this._softDeleteSetting = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISoftDeleteSettings SoftDeleteSetting { get => (this._softDeleteSetting = this._softDeleteSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ISoftDeleteSettingsInternal)SoftDeleteSetting).State; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.ISoftDeleteSettingsInternal)SoftDeleteSetting).State; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISoftDeleteSettingsInternal)SoftDeleteSetting).State = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState)""); } /// Creates an new instance. public SecuritySettings() @@ -55,6 +62,14 @@ public SecuritySettings() public partial interface ISecuritySettings : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable { + /// Customer Managed Key details of the resource. + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Customer Managed Key details of the resource.", + SerializedName = @"encryptionSettings", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings EncryptionSetting { get; set; } /// Immutability state [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -85,14 +100,16 @@ public partial interface ISecuritySettings : internal partial interface ISecuritySettingsInternal { + /// Customer Managed Key details of the resource. + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings EncryptionSetting { get; set; } /// Immutability Settings at vault level - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IImmutabilitySettings ImmutabilitySetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ISoftDeleteSettings SoftDeleteSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/SecuritySettings.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SecuritySettings.json.cs similarity index 89% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SecuritySettings.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SecuritySettings.json.cs index fe02d4c34997..7b8282646837 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SecuritySettings.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ISecuritySettings. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettings. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettings. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISecuritySettings. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISecuritySettings FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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,9 @@ internal SecuritySettings(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runt { return; } - {_softDeleteSetting = If( json?.PropertyT("softDeleteSettings"), out var __jsonSoftDeleteSettings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SoftDeleteSettings.FromJson(__jsonSoftDeleteSettings) : SoftDeleteSetting;} - {_immutabilitySetting = If( json?.PropertyT("immutabilitySettings"), out var __jsonImmutabilitySettings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ImmutabilitySettings.FromJson(__jsonImmutabilitySettings) : ImmutabilitySetting;} + {_softDeleteSetting = If( json?.PropertyT("softDeleteSettings"), out var __jsonSoftDeleteSettings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SoftDeleteSettings.FromJson(__jsonSoftDeleteSettings) : SoftDeleteSetting;} + {_immutabilitySetting = If( json?.PropertyT("immutabilitySettings"), out var __jsonImmutabilitySettings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ImmutabilitySettings.FromJson(__jsonImmutabilitySettings) : ImmutabilitySetting;} + {_encryptionSetting = If( json?.PropertyT("encryptionSettings"), out var __jsonEncryptionSettings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.EncryptionSettings.FromJson(__jsonEncryptionSettings) : EncryptionSetting;} AfterFromJson(json); } @@ -103,6 +104,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode T } AddIf( null != this._softDeleteSetting ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) this._softDeleteSetting.ToJson(null,serializationMode) : null, "softDeleteSettings" ,container.Add ); AddIf( null != this._immutabilitySetting ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) this._immutabilitySetting.ToJson(null,serializationMode) : null, "immutabilitySettings" ,container.Add ); + AddIf( null != this._encryptionSetting ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) this._encryptionSetting.ToJson(null,serializationMode) : null, "encryptionSettings" ,container.Add ); AfterToJson(ref container); return container; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SoftDeleteSettings.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SoftDeleteSettings.PowerShell.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SoftDeleteSettings.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SoftDeleteSettings.PowerShell.cs index 58ad84d315b6..8294ff76a78c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SoftDeleteSettings.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ISoftDeleteSettings DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ISoftDeleteSettings DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISoftDeleteSettings DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new SoftDeleteSettings(content); } @@ -85,10 +85,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISoftDeleteSettings FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ISoftDeleteSettingsInternal)this).State = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISoftDeleteSettingsInternal)this).State, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISoftDeleteSettingsInternal)this).State = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISoftDeleteSettingsInternal)this).State, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); } if (content.Contains("RetentionDurationInDay")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISoftDeleteSettingsInternal)this).RetentionDurationInDay = (double?) content.GetValueForProperty("RetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISoftDeleteSettingsInternal)this).RetentionDurationInDay, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISoftDeleteSettingsInternal)this).RetentionDurationInDay = (double?) content.GetValueForProperty("RetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ISoftDeleteSettingsInternal)this).State = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISoftDeleteSettingsInternal)this).State, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISoftDeleteSettingsInternal)this).State = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISoftDeleteSettingsInternal)this).State, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); } if (content.Contains("RetentionDurationInDay")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISoftDeleteSettingsInternal)this).RetentionDurationInDay = (double?) content.GetValueForProperty("RetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISoftDeleteSettingsInternal)this).RetentionDurationInDay, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISoftDeleteSettingsInternal)this).RetentionDurationInDay = (double?) content.GetValueForProperty("RetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISoftDeleteSettingsInternal)this).RetentionDurationInDay, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SoftDeleteSettings.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SoftDeleteSettings.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SoftDeleteSettings.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SoftDeleteSettings.TypeConverter.cs index d7dc936f55a1..234998a187d4 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SoftDeleteSettings.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ISoftDeleteSettings ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISoftDeleteSettings ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISoftDeleteSettings).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISoftDeleteSettings).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SoftDeleteSettings.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SoftDeleteSettings.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SoftDeleteSettings.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SoftDeleteSettings.cs index 17de74eaf5c0..542727a4ead6 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SoftDeleteSettings.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Soft delete related settings public partial class SoftDeleteSettings : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISoftDeleteSettings, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISoftDeleteSettingsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISoftDeleteSettings, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISoftDeleteSettingsInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SoftDeleteSettings.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SoftDeleteSettings.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SoftDeleteSettings.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SoftDeleteSettings.json.cs index 9c0f78c42a3c..d8ccd4fbadf0 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SoftDeleteSettings.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ISoftDeleteSettings. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISoftDeleteSettings. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISoftDeleteSettings. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISoftDeleteSettings. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISoftDeleteSettings FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/SourceLifeCycle.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SourceLifeCycle.PowerShell.cs similarity index 78% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SourceLifeCycle.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SourceLifeCycle.PowerShell.cs index 0eb469b33e7a..d6917af03a44 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SourceLifeCycle.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ISourceLifeCycle DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ISourceLifeCycle DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycle DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new SourceLifeCycle(content); } @@ -85,10 +85,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISourceLifeCycle FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ISourceLifeCycleInternal)this).DeleteAfter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeleteOption) content.GetValueForProperty("DeleteAfter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISourceLifeCycleInternal)this).DeleteAfter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DeleteOptionTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycleInternal)this).DeleteAfter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeleteOption) content.GetValueForProperty("DeleteAfter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycleInternal)this).DeleteAfter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DeleteOptionTypeConverter.ConvertFrom); } if (content.Contains("SourceDataStore")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISourceLifeCycleInternal)this).SourceDataStore = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreInfoBase) content.GetValueForProperty("SourceDataStore",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISourceLifeCycleInternal)this).SourceDataStore, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DataStoreInfoBaseTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycleInternal)this).SourceDataStore = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreInfoBase) content.GetValueForProperty("SourceDataStore",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycleInternal)this).SourceDataStore, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DataStoreInfoBaseTypeConverter.ConvertFrom); } if (content.Contains("TargetDataStoreCopySetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISourceLifeCycleInternal)this).TargetDataStoreCopySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetCopySetting[]) content.GetValueForProperty("TargetDataStoreCopySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISourceLifeCycleInternal)this).TargetDataStoreCopySetting, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.TargetCopySettingTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycleInternal)this).TargetDataStoreCopySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetCopySetting[]) content.GetValueForProperty("TargetDataStoreCopySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycleInternal)this).TargetDataStoreCopySetting, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.TargetCopySettingTypeConverter.ConvertFrom)); } if (content.Contains("DeleteAfterDuration")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISourceLifeCycleInternal)this).DeleteAfterDuration = (string) content.GetValueForProperty("DeleteAfterDuration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISourceLifeCycleInternal)this).DeleteAfterDuration, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycleInternal)this).DeleteAfterDuration = (string) content.GetValueForProperty("DeleteAfterDuration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycleInternal)this).DeleteAfterDuration, global::System.Convert.ToString); } if (content.Contains("DeleteAfterObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISourceLifeCycleInternal)this).DeleteAfterObjectType = (string) content.GetValueForProperty("DeleteAfterObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISourceLifeCycleInternal)this).DeleteAfterObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycleInternal)this).DeleteAfterObjectType = (string) content.GetValueForProperty("DeleteAfterObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycleInternal)this).DeleteAfterObjectType, global::System.Convert.ToString); } if (content.Contains("SourceDataStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISourceLifeCycleInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISourceLifeCycleInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycleInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycleInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes.CreateFrom); } if (content.Contains("SourceDataStoreObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISourceLifeCycleInternal)this).SourceDataStoreObjectType = (string) content.GetValueForProperty("SourceDataStoreObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISourceLifeCycleInternal)this).SourceDataStoreObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycleInternal)this).SourceDataStoreObjectType = (string) content.GetValueForProperty("SourceDataStoreObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ISourceLifeCycleInternal)this).DeleteAfter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeleteOption) content.GetValueForProperty("DeleteAfter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISourceLifeCycleInternal)this).DeleteAfter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DeleteOptionTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycleInternal)this).DeleteAfter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeleteOption) content.GetValueForProperty("DeleteAfter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycleInternal)this).DeleteAfter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DeleteOptionTypeConverter.ConvertFrom); } if (content.Contains("SourceDataStore")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISourceLifeCycleInternal)this).SourceDataStore = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreInfoBase) content.GetValueForProperty("SourceDataStore",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISourceLifeCycleInternal)this).SourceDataStore, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DataStoreInfoBaseTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycleInternal)this).SourceDataStore = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreInfoBase) content.GetValueForProperty("SourceDataStore",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycleInternal)this).SourceDataStore, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DataStoreInfoBaseTypeConverter.ConvertFrom); } if (content.Contains("TargetDataStoreCopySetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISourceLifeCycleInternal)this).TargetDataStoreCopySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetCopySetting[]) content.GetValueForProperty("TargetDataStoreCopySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISourceLifeCycleInternal)this).TargetDataStoreCopySetting, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.TargetCopySettingTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycleInternal)this).TargetDataStoreCopySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetCopySetting[]) content.GetValueForProperty("TargetDataStoreCopySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycleInternal)this).TargetDataStoreCopySetting, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.TargetCopySettingTypeConverter.ConvertFrom)); } if (content.Contains("DeleteAfterDuration")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISourceLifeCycleInternal)this).DeleteAfterDuration = (string) content.GetValueForProperty("DeleteAfterDuration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISourceLifeCycleInternal)this).DeleteAfterDuration, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycleInternal)this).DeleteAfterDuration = (string) content.GetValueForProperty("DeleteAfterDuration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycleInternal)this).DeleteAfterDuration, global::System.Convert.ToString); } if (content.Contains("DeleteAfterObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISourceLifeCycleInternal)this).DeleteAfterObjectType = (string) content.GetValueForProperty("DeleteAfterObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISourceLifeCycleInternal)this).DeleteAfterObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycleInternal)this).DeleteAfterObjectType = (string) content.GetValueForProperty("DeleteAfterObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycleInternal)this).DeleteAfterObjectType, global::System.Convert.ToString); } if (content.Contains("SourceDataStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISourceLifeCycleInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISourceLifeCycleInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycleInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycleInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes.CreateFrom); } if (content.Contains("SourceDataStoreObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISourceLifeCycleInternal)this).SourceDataStoreObjectType = (string) content.GetValueForProperty("SourceDataStoreObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISourceLifeCycleInternal)this).SourceDataStoreObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycleInternal)this).SourceDataStoreObjectType = (string) content.GetValueForProperty("SourceDataStoreObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycleInternal)this).SourceDataStoreObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SourceLifeCycle.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SourceLifeCycle.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SourceLifeCycle.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SourceLifeCycle.TypeConverter.cs index 68bdacd43e56..87c38ac34cd2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SourceLifeCycle.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ISourceLifeCycle ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycle ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISourceLifeCycle).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycle).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SourceLifeCycle.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SourceLifeCycle.cs similarity index 81% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SourceLifeCycle.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SourceLifeCycle.cs index da2be4bf966a..4cce245476eb 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SourceLifeCycle.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Source LifeCycle public partial class SourceLifeCycle : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISourceLifeCycle, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISourceLifeCycleInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycle, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycleInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeleteOption _deleteAfter; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeleteOption _deleteAfter; /// Delete Option [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeleteOption DeleteAfter { get => (this._deleteAfter = this._deleteAfter ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DeleteOption()); set => this._deleteAfter = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeleteOption DeleteAfter { get => (this._deleteAfter = this._deleteAfter ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDeleteOptionInternal)DeleteAfter).Duration; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeleteOptionInternal)DeleteAfter).Duration = value ; } + public string DeleteAfterDuration { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeleteOptionInternal)DeleteAfter).Duration; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDeleteOptionInternal)DeleteAfter).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeleteOptionInternal)DeleteAfter).ObjectType = value ; } + public string DeleteAfterObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeleteOptionInternal)DeleteAfter).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeleteOptionInternal)DeleteAfter).ObjectType = value ; } /// Internal Acessors for DeleteAfter - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeleteOption Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISourceLifeCycleInternal.DeleteAfter { get => (this._deleteAfter = this._deleteAfter ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DeleteOption()); set { {_deleteAfter = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeleteOption Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycleInternal.DeleteAfter { get => (this._deleteAfter = this._deleteAfter ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DeleteOption()); set { {_deleteAfter = value;} } } /// Internal Acessors for SourceDataStore - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreInfoBase Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISourceLifeCycleInternal.SourceDataStore { get => (this._sourceDataStore = this._sourceDataStore ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DataStoreInfoBase()); set { {_sourceDataStore = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreInfoBase Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycleInternal.SourceDataStore { get => (this._sourceDataStore = this._sourceDataStore ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DataStoreInfoBase()); set { {_sourceDataStore = value;} } } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreInfoBase _sourceDataStore; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreInfoBase _sourceDataStore; /// DataStoreInfo base [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreInfoBase SourceDataStore { get => (this._sourceDataStore = this._sourceDataStore ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DataStoreInfoBase()); set => this._sourceDataStore = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreInfoBase SourceDataStore { get => (this._sourceDataStore = this._sourceDataStore ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDataStoreInfoBaseInternal)SourceDataStore).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreInfoBaseInternal)SourceDataStore).ObjectType = value ; } + public string SourceDataStoreObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreInfoBaseInternal)SourceDataStore).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDataStoreInfoBaseInternal)SourceDataStore).DataStoreType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreInfoBaseInternal)SourceDataStore).DataStoreType = value ; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes SourceDataStoreType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreInfoBaseInternal)SourceDataStore).DataStoreType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreInfoBaseInternal)SourceDataStore).DataStoreType = value ; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetCopySetting[] _targetDataStoreCopySetting; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetCopySetting[] _targetDataStoreCopySetting; [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetCopySetting[] TargetDataStoreCopySetting { get => this._targetDataStoreCopySetting; set => this._targetDataStoreCopySetting = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ITargetCopySetting) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetCopySetting[] TargetDataStoreCopySetting { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetCopySetting) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetCopySetting[] TargetDataStoreCopySetting { get; set; } } /// Source LifeCycle @@ -112,19 +112,19 @@ internal partial interface ISourceLifeCycleInternal { /// Delete Option - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeleteOption DeleteAfter { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDataStoreInfoBase SourceDataStore { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ITargetCopySetting[] TargetDataStoreCopySetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetCopySetting[] TargetDataStoreCopySetting { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SourceLifeCycle.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SourceLifeCycle.json.cs similarity index 94% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SourceLifeCycle.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SourceLifeCycle.json.cs index 7965beaf1824..b08f708bcac1 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SourceLifeCycle.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ISourceLifeCycle. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycle. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISourceLifeCycle. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycle. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISourceLifeCycle FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.DeleteOption.FromJson(__jsonDeleteAfter) : DeleteAfter;} - {_sourceDataStore = If( json?.PropertyT("sourceDataStore"), out var __jsonSourceDataStore) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20231201.ITargetCopySetting) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.TargetCopySetting.FromJson(__u) )) ))() : null : TargetDataStoreCopySetting;} + {_deleteAfter = If( json?.PropertyT("deleteAfter"), out var __jsonDeleteAfter) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DeleteOption.FromJson(__jsonDeleteAfter) : DeleteAfter;} + {_sourceDataStore = If( json?.PropertyT("sourceDataStore"), out var __jsonSourceDataStore) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20240401.ITargetCopySetting) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.TargetCopySetting.FromJson(__u) )) ))() : null : TargetDataStoreCopySetting;} AfterFromJson(json); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/StopProtectionRequest.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/StopProtectionRequest.PowerShell.cs new file mode 100644 index 000000000000..9932cd115e3a --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/StopProtectionRequest.PowerShell.cs @@ -0,0 +1,146 @@ +// 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.Api20240401 +{ + using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; + + /// Request body of Stop protection when MUA is Enabled + [System.ComponentModel.TypeConverter(typeof(StopProtectionRequestTypeConverter))] + public partial class StopProtectionRequest + { + + /// + /// 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.Api20240401.IStopProtectionRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new StopProtectionRequest(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.Api20240401.IStopProtectionRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new StopProtectionRequest(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.Api20240401.IStopProtectionRequest 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 StopProtectionRequest(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("ResourceGuardOperationRequest")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStopProtectionRequestInternal)this).ResourceGuardOperationRequest = (string[]) content.GetValueForProperty("ResourceGuardOperationRequest",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStopProtectionRequestInternal)this).ResourceGuardOperationRequest, __y => TypeConverterExtensions.SelectToArray(__y, 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 StopProtectionRequest(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("ResourceGuardOperationRequest")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStopProtectionRequestInternal)this).ResourceGuardOperationRequest = (string[]) content.GetValueForProperty("ResourceGuardOperationRequest",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStopProtectionRequestInternal)this).ResourceGuardOperationRequest, __y => TypeConverterExtensions.SelectToArray(__y, 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(); + } + /// Request body of Stop protection when MUA is Enabled + [System.ComponentModel.TypeConverter(typeof(StopProtectionRequestTypeConverter))] + public partial interface IStopProtectionRequest + + { + + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/StopProtectionRequest.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/StopProtectionRequest.TypeConverter.cs new file mode 100644 index 000000000000..4495c278771b --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/StopProtectionRequest.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.Api20240401 +{ + using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class StopProtectionRequestTypeConverter : 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.Api20240401.IStopProtectionRequest ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStopProtectionRequest).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return StopProtectionRequest.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return StopProtectionRequest.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return StopProtectionRequest.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/Api20240401/StopProtectionRequest.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/StopProtectionRequest.cs new file mode 100644 index 000000000000..bc146ee7b42a --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/StopProtectionRequest.cs @@ -0,0 +1,51 @@ +// 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.Api20240401 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; + + /// Request body of Stop protection when MUA is Enabled + public partial class StopProtectionRequest : + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStopProtectionRequest, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStopProtectionRequestInternal + { + + /// Backing field for property. + private string[] _resourceGuardOperationRequest; + + /// ResourceGuardOperationRequests on which LAC check will be performed + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public string[] ResourceGuardOperationRequest { get => this._resourceGuardOperationRequest; set => this._resourceGuardOperationRequest = value; } + + /// Creates an new instance. + public StopProtectionRequest() + { + + } + } + /// Request body of Stop protection when MUA is Enabled + public partial interface IStopProtectionRequest : + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable + { + /// ResourceGuardOperationRequests on which LAC check will be performed + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"ResourceGuardOperationRequests on which LAC check will be performed", + SerializedName = @"resourceGuardOperationRequests", + PossibleTypes = new [] { typeof(string) })] + string[] ResourceGuardOperationRequest { get; set; } + + } + /// Request body of Stop protection when MUA is Enabled + internal partial interface IStopProtectionRequestInternal + + { + /// ResourceGuardOperationRequests on which LAC check will be performed + string[] ResourceGuardOperationRequest { get; set; } + + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/StopProtectionRequest.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/StopProtectionRequest.json.cs new file mode 100644 index 000000000000..67dc7ae0354f --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/StopProtectionRequest.json.cs @@ -0,0 +1,116 @@ +// 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.Api20240401 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; + + /// Request body of Stop protection when MUA is Enabled + public partial class StopProtectionRequest + { + + /// + /// 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.Api20240401.IStopProtectionRequest. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStopProtectionRequest. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStopProtectionRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new StopProtectionRequest(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 StopProtectionRequest(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_resourceGuardOperationRequest = If( json?.PropertyT("resourceGuardOperationRequests"), out var __jsonResourceGuardOperationRequests) ? If( __jsonResourceGuardOperationRequests 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 : ResourceGuardOperationRequest;} + 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; + } + if (null != this._resourceGuardOperationRequest) + { + var __w = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.XNodeArray(); + foreach( var __x in this._resourceGuardOperationRequest ) + { + 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("resourceGuardOperationRequests",__w); + } + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/StorageSetting.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/StorageSetting.PowerShell.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/StorageSetting.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/StorageSetting.PowerShell.cs index 8e43a1565bd6..451bf6b5dff5 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/StorageSetting.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IStorageSetting DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IStorageSetting DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStorageSetting DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new StorageSetting(content); } @@ -85,10 +85,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IStorageSetting FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IStorageSettingInternal)this).DatastoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.StorageSettingStoreTypes?) content.GetValueForProperty("DatastoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IStorageSettingInternal)this).DatastoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.StorageSettingStoreTypes.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStorageSettingInternal)this).DatastoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.StorageSettingStoreTypes?) content.GetValueForProperty("DatastoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStorageSettingInternal)this).DatastoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.StorageSettingStoreTypes.CreateFrom); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IStorageSettingInternal)this).Type = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.StorageSettingTypes?) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IStorageSettingInternal)this).Type, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.StorageSettingTypes.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStorageSettingInternal)this).Type = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.StorageSettingTypes?) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IStorageSettingInternal)this).DatastoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.StorageSettingStoreTypes?) content.GetValueForProperty("DatastoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IStorageSettingInternal)this).DatastoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.StorageSettingStoreTypes.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStorageSettingInternal)this).DatastoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.StorageSettingStoreTypes?) content.GetValueForProperty("DatastoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStorageSettingInternal)this).DatastoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.StorageSettingStoreTypes.CreateFrom); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IStorageSettingInternal)this).Type = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.StorageSettingTypes?) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IStorageSettingInternal)this).Type, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.StorageSettingTypes.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStorageSettingInternal)this).Type = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.StorageSettingTypes?) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStorageSettingInternal)this).Type, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.StorageSettingTypes.CreateFrom); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/StorageSetting.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/StorageSetting.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/StorageSetting.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/StorageSetting.TypeConverter.cs index eca791696a8a..98823860010d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/StorageSetting.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IStorageSetting ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStorageSetting ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IStorageSetting).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStorageSetting).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/StorageSetting.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/StorageSetting.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/StorageSetting.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/StorageSetting.cs index 719cacd8c944..39707ccfbc14 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/StorageSetting.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Storage setting public partial class StorageSetting : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IStorageSetting, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IStorageSettingInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStorageSetting, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStorageSettingInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/StorageSetting.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/StorageSetting.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/StorageSetting.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/StorageSetting.json.cs index 426c1193b3b5..ca35d91a66cb 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/StorageSetting.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IStorageSetting. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStorageSetting. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IStorageSetting. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStorageSetting. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IStorageSetting FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/SupportedFeature.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SupportedFeature.PowerShell.cs similarity index 87% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SupportedFeature.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SupportedFeature.PowerShell.cs index 4f9a50424d29..2495e9a5d0a0 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SupportedFeature.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ISupportedFeature DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ISupportedFeature DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISupportedFeature DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new SupportedFeature(content); } @@ -85,10 +85,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISupportedFeature FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ISupportedFeatureInternal)this).FeatureName = (string) content.GetValueForProperty("FeatureName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISupportedFeatureInternal)this).FeatureName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISupportedFeatureInternal)this).FeatureName = (string) content.GetValueForProperty("FeatureName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISupportedFeatureInternal)this).FeatureName, global::System.Convert.ToString); } if (content.Contains("SupportStatus")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISupportedFeatureInternal)this).SupportStatus = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureSupportStatus?) content.GetValueForProperty("SupportStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISupportedFeatureInternal)this).SupportStatus, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureSupportStatus.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISupportedFeatureInternal)this).SupportStatus = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureSupportStatus?) content.GetValueForProperty("SupportStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISupportedFeatureInternal)this).SupportStatus, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureSupportStatus.CreateFrom); } if (content.Contains("ExposureControlledFeature")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISupportedFeatureInternal)this).ExposureControlledFeature = (string[]) content.GetValueForProperty("ExposureControlledFeature",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISupportedFeatureInternal)this).ExposureControlledFeature, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISupportedFeatureInternal)this).ExposureControlledFeature = (string[]) content.GetValueForProperty("ExposureControlledFeature",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ISupportedFeatureInternal)this).FeatureName = (string) content.GetValueForProperty("FeatureName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISupportedFeatureInternal)this).FeatureName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISupportedFeatureInternal)this).FeatureName = (string) content.GetValueForProperty("FeatureName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISupportedFeatureInternal)this).FeatureName, global::System.Convert.ToString); } if (content.Contains("SupportStatus")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISupportedFeatureInternal)this).SupportStatus = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureSupportStatus?) content.GetValueForProperty("SupportStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISupportedFeatureInternal)this).SupportStatus, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureSupportStatus.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISupportedFeatureInternal)this).SupportStatus = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureSupportStatus?) content.GetValueForProperty("SupportStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISupportedFeatureInternal)this).SupportStatus, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureSupportStatus.CreateFrom); } if (content.Contains("ExposureControlledFeature")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISupportedFeatureInternal)this).ExposureControlledFeature = (string[]) content.GetValueForProperty("ExposureControlledFeature",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISupportedFeatureInternal)this).ExposureControlledFeature, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISupportedFeatureInternal)this).ExposureControlledFeature = (string[]) content.GetValueForProperty("ExposureControlledFeature",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISupportedFeatureInternal)this).ExposureControlledFeature, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SupportedFeature.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SupportedFeature.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SupportedFeature.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SupportedFeature.TypeConverter.cs index 087f1f494c07..8e58e5d76197 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SupportedFeature.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ISupportedFeature ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISupportedFeature ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISupportedFeature).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISupportedFeature).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SupportedFeature.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SupportedFeature.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SupportedFeature.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SupportedFeature.cs index 03a8e03e22b4..4da437e96f38 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SupportedFeature.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Elements class for feature request public partial class SupportedFeature : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISupportedFeature, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISupportedFeatureInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISupportedFeature, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISupportedFeatureInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SupportedFeature.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SupportedFeature.json.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SupportedFeature.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SupportedFeature.json.cs index a536c652103c..17e5e2d4efcd 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SupportedFeature.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ISupportedFeature. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISupportedFeature. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISupportedFeature. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISupportedFeature. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISupportedFeature FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20240401/SuspendBackupRequest.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SuspendBackupRequest.PowerShell.cs new file mode 100644 index 000000000000..5b193d0f259e --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SuspendBackupRequest.PowerShell.cs @@ -0,0 +1,146 @@ +// 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.Api20240401 +{ + using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; + + /// Request body of Suspend backup when MUA is Enabled + [System.ComponentModel.TypeConverter(typeof(SuspendBackupRequestTypeConverter))] + public partial class SuspendBackupRequest + { + + /// + /// 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.Api20240401.ISuspendBackupRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new SuspendBackupRequest(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.Api20240401.ISuspendBackupRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new SuspendBackupRequest(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.Api20240401.ISuspendBackupRequest 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 SuspendBackupRequest(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("ResourceGuardOperationRequest")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISuspendBackupRequestInternal)this).ResourceGuardOperationRequest = (string[]) content.GetValueForProperty("ResourceGuardOperationRequest",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISuspendBackupRequestInternal)this).ResourceGuardOperationRequest, __y => TypeConverterExtensions.SelectToArray(__y, 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 SuspendBackupRequest(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("ResourceGuardOperationRequest")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISuspendBackupRequestInternal)this).ResourceGuardOperationRequest = (string[]) content.GetValueForProperty("ResourceGuardOperationRequest",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISuspendBackupRequestInternal)this).ResourceGuardOperationRequest, __y => TypeConverterExtensions.SelectToArray(__y, 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(); + } + /// Request body of Suspend backup when MUA is Enabled + [System.ComponentModel.TypeConverter(typeof(SuspendBackupRequestTypeConverter))] + public partial interface ISuspendBackupRequest + + { + + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SuspendBackupRequest.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SuspendBackupRequest.TypeConverter.cs new file mode 100644 index 000000000000..7aa32d5c47e8 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SuspendBackupRequest.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.Api20240401 +{ + using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class SuspendBackupRequestTypeConverter : 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.Api20240401.ISuspendBackupRequest ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISuspendBackupRequest).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return SuspendBackupRequest.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return SuspendBackupRequest.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return SuspendBackupRequest.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/Api20240401/SuspendBackupRequest.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SuspendBackupRequest.cs new file mode 100644 index 000000000000..885e96ce9faa --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SuspendBackupRequest.cs @@ -0,0 +1,51 @@ +// 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.Api20240401 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; + + /// Request body of Suspend backup when MUA is Enabled + public partial class SuspendBackupRequest : + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISuspendBackupRequest, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISuspendBackupRequestInternal + { + + /// Backing field for property. + private string[] _resourceGuardOperationRequest; + + /// ResourceGuardOperationRequests on which LAC check will be performed + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public string[] ResourceGuardOperationRequest { get => this._resourceGuardOperationRequest; set => this._resourceGuardOperationRequest = value; } + + /// Creates an new instance. + public SuspendBackupRequest() + { + + } + } + /// Request body of Suspend backup when MUA is Enabled + public partial interface ISuspendBackupRequest : + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable + { + /// ResourceGuardOperationRequests on which LAC check will be performed + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"ResourceGuardOperationRequests on which LAC check will be performed", + SerializedName = @"resourceGuardOperationRequests", + PossibleTypes = new [] { typeof(string) })] + string[] ResourceGuardOperationRequest { get; set; } + + } + /// Request body of Suspend backup when MUA is Enabled + internal partial interface ISuspendBackupRequestInternal + + { + /// ResourceGuardOperationRequests on which LAC check will be performed + string[] ResourceGuardOperationRequest { get; set; } + + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SuspendBackupRequest.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SuspendBackupRequest.json.cs new file mode 100644 index 000000000000..bb39ee53fd6d --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SuspendBackupRequest.json.cs @@ -0,0 +1,116 @@ +// 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.Api20240401 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; + + /// Request body of Suspend backup when MUA is Enabled + public partial class SuspendBackupRequest + { + + /// + /// 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.Api20240401.ISuspendBackupRequest. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISuspendBackupRequest. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISuspendBackupRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new SuspendBackupRequest(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 SuspendBackupRequest(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_resourceGuardOperationRequest = If( json?.PropertyT("resourceGuardOperationRequests"), out var __jsonResourceGuardOperationRequests) ? If( __jsonResourceGuardOperationRequests 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 : ResourceGuardOperationRequest;} + 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; + } + if (null != this._resourceGuardOperationRequest) + { + var __w = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.XNodeArray(); + foreach( var __x in this._resourceGuardOperationRequest ) + { + 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("resourceGuardOperationRequests",__w); + } + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SyncBackupInstanceRequest.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SyncBackupInstanceRequest.PowerShell.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SyncBackupInstanceRequest.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SyncBackupInstanceRequest.PowerShell.cs index 47f667187fb2..2ab27d79e316 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SyncBackupInstanceRequest.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ISyncBackupInstanceRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ISyncBackupInstanceRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISyncBackupInstanceRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new SyncBackupInstanceRequest(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISyncBackupInstanceRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ISyncBackupInstanceRequestInternal)this).SyncType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SyncType?) content.GetValueForProperty("SyncType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISyncBackupInstanceRequestInternal)this).SyncType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SyncType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISyncBackupInstanceRequestInternal)this).SyncType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SyncType?) content.GetValueForProperty("SyncType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ISyncBackupInstanceRequestInternal)this).SyncType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SyncType?) content.GetValueForProperty("SyncType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISyncBackupInstanceRequestInternal)this).SyncType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SyncType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISyncBackupInstanceRequestInternal)this).SyncType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SyncType?) content.GetValueForProperty("SyncType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISyncBackupInstanceRequestInternal)this).SyncType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SyncType.CreateFrom); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SyncBackupInstanceRequest.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SyncBackupInstanceRequest.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SyncBackupInstanceRequest.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SyncBackupInstanceRequest.TypeConverter.cs index dfcb83dcf754..dc492dfb7ea7 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SyncBackupInstanceRequest.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ISyncBackupInstanceRequest ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISyncBackupInstanceRequest ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISyncBackupInstanceRequest).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISyncBackupInstanceRequest).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SyncBackupInstanceRequest.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SyncBackupInstanceRequest.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SyncBackupInstanceRequest.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SyncBackupInstanceRequest.cs index 5b0d4530aa06..d4c7d1f4f501 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SyncBackupInstanceRequest.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Sync BackupInstance Request public partial class SyncBackupInstanceRequest : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISyncBackupInstanceRequest, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISyncBackupInstanceRequestInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISyncBackupInstanceRequest, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISyncBackupInstanceRequestInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SyncBackupInstanceRequest.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SyncBackupInstanceRequest.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SyncBackupInstanceRequest.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/SyncBackupInstanceRequest.json.cs index 89f5721d6a93..04f968705b4b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/SyncBackupInstanceRequest.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ISyncBackupInstanceRequest. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISyncBackupInstanceRequest. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISyncBackupInstanceRequest. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISyncBackupInstanceRequest. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISyncBackupInstanceRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/TaggingCriteria.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/TaggingCriteria.PowerShell.cs similarity index 77% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TaggingCriteria.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/TaggingCriteria.PowerShell.cs index 1b0c05cc4985..3dcb12af3d50 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TaggingCriteria.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ITaggingCriteria DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ITaggingCriteria DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITaggingCriteria DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new TaggingCriteria(content); } @@ -85,10 +85,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITaggingCriteria FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ITaggingCriteriaInternal)this).TagInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRetentionTag) content.GetValueForProperty("TagInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITaggingCriteriaInternal)this).TagInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RetentionTagTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITaggingCriteriaInternal)this).TagInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRetentionTag) content.GetValueForProperty("TagInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITaggingCriteriaInternal)this).TagInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RetentionTagTypeConverter.ConvertFrom); } if (content.Contains("Criterion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITaggingCriteriaInternal)this).Criterion = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupCriteria[]) content.GetValueForProperty("Criterion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITaggingCriteriaInternal)this).Criterion, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupCriteriaTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITaggingCriteriaInternal)this).Criterion = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupCriteria[]) content.GetValueForProperty("Criterion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITaggingCriteriaInternal)this).Criterion, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupCriteriaTypeConverter.ConvertFrom)); } if (content.Contains("IsDefault")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITaggingCriteriaInternal)this).IsDefault = (bool) content.GetValueForProperty("IsDefault",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITaggingCriteriaInternal)this).IsDefault, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITaggingCriteriaInternal)this).IsDefault = (bool) content.GetValueForProperty("IsDefault",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITaggingCriteriaInternal)this).IsDefault, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("TaggingPriority")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITaggingCriteriaInternal)this).TaggingPriority = (long) content.GetValueForProperty("TaggingPriority",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITaggingCriteriaInternal)this).TaggingPriority, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITaggingCriteriaInternal)this).TaggingPriority = (long) content.GetValueForProperty("TaggingPriority",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITaggingCriteriaInternal)this).TaggingPriority, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("TagInfoETag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITaggingCriteriaInternal)this).TagInfoETag = (string) content.GetValueForProperty("TagInfoETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITaggingCriteriaInternal)this).TagInfoETag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITaggingCriteriaInternal)this).TagInfoETag = (string) content.GetValueForProperty("TagInfoETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITaggingCriteriaInternal)this).TagInfoETag, global::System.Convert.ToString); } if (content.Contains("TagInfoId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITaggingCriteriaInternal)this).TagInfoId = (string) content.GetValueForProperty("TagInfoId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITaggingCriteriaInternal)this).TagInfoId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITaggingCriteriaInternal)this).TagInfoId = (string) content.GetValueForProperty("TagInfoId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITaggingCriteriaInternal)this).TagInfoId, global::System.Convert.ToString); } if (content.Contains("TagInfoTagName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITaggingCriteriaInternal)this).TagInfoTagName = (string) content.GetValueForProperty("TagInfoTagName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITaggingCriteriaInternal)this).TagInfoTagName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITaggingCriteriaInternal)this).TagInfoTagName = (string) content.GetValueForProperty("TagInfoTagName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ITaggingCriteriaInternal)this).TagInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRetentionTag) content.GetValueForProperty("TagInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITaggingCriteriaInternal)this).TagInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RetentionTagTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITaggingCriteriaInternal)this).TagInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRetentionTag) content.GetValueForProperty("TagInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITaggingCriteriaInternal)this).TagInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RetentionTagTypeConverter.ConvertFrom); } if (content.Contains("Criterion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITaggingCriteriaInternal)this).Criterion = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupCriteria[]) content.GetValueForProperty("Criterion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITaggingCriteriaInternal)this).Criterion, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupCriteriaTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITaggingCriteriaInternal)this).Criterion = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupCriteria[]) content.GetValueForProperty("Criterion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITaggingCriteriaInternal)this).Criterion, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupCriteriaTypeConverter.ConvertFrom)); } if (content.Contains("IsDefault")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITaggingCriteriaInternal)this).IsDefault = (bool) content.GetValueForProperty("IsDefault",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITaggingCriteriaInternal)this).IsDefault, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITaggingCriteriaInternal)this).IsDefault = (bool) content.GetValueForProperty("IsDefault",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITaggingCriteriaInternal)this).IsDefault, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("TaggingPriority")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITaggingCriteriaInternal)this).TaggingPriority = (long) content.GetValueForProperty("TaggingPriority",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITaggingCriteriaInternal)this).TaggingPriority, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITaggingCriteriaInternal)this).TaggingPriority = (long) content.GetValueForProperty("TaggingPriority",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITaggingCriteriaInternal)this).TaggingPriority, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("TagInfoETag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITaggingCriteriaInternal)this).TagInfoETag = (string) content.GetValueForProperty("TagInfoETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITaggingCriteriaInternal)this).TagInfoETag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITaggingCriteriaInternal)this).TagInfoETag = (string) content.GetValueForProperty("TagInfoETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITaggingCriteriaInternal)this).TagInfoETag, global::System.Convert.ToString); } if (content.Contains("TagInfoId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITaggingCriteriaInternal)this).TagInfoId = (string) content.GetValueForProperty("TagInfoId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITaggingCriteriaInternal)this).TagInfoId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITaggingCriteriaInternal)this).TagInfoId = (string) content.GetValueForProperty("TagInfoId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITaggingCriteriaInternal)this).TagInfoId, global::System.Convert.ToString); } if (content.Contains("TagInfoTagName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITaggingCriteriaInternal)this).TagInfoTagName = (string) content.GetValueForProperty("TagInfoTagName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITaggingCriteriaInternal)this).TagInfoTagName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITaggingCriteriaInternal)this).TagInfoTagName = (string) content.GetValueForProperty("TagInfoTagName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITaggingCriteriaInternal)this).TagInfoTagName, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TaggingCriteria.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/TaggingCriteria.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TaggingCriteria.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/TaggingCriteria.TypeConverter.cs index 4467da2651de..1ed84931d707 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TaggingCriteria.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ITaggingCriteria ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITaggingCriteria ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITaggingCriteria).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITaggingCriteria).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TaggingCriteria.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/TaggingCriteria.cs similarity index 84% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TaggingCriteria.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/TaggingCriteria.cs index c6e24eece3a1..053af0a93df5 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TaggingCriteria.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Tagging criteria public partial class TaggingCriteria : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITaggingCriteria, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITaggingCriteriaInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITaggingCriteria, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITaggingCriteriaInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupCriteria[] _criterion; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupCriteria[] Criterion { get => this._criterion; set => this._criterion = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRetentionTag Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITaggingCriteriaInternal.TagInfo { get => (this._tagInfo = this._tagInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RetentionTag()); set { {_tagInfo = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRetentionTag Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITaggingCriteriaInternal.TagInfo { get => (this._tagInfo = this._tagInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.RetentionTag()); set { {_tagInfo = value;} } } /// Internal Acessors for TagInfoETag - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITaggingCriteriaInternal.TagInfoETag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRetentionTagInternal)TagInfo).ETag; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRetentionTagInternal)TagInfo).ETag = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITaggingCriteriaInternal.TagInfoETag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRetentionTagInternal)TagInfo).ETag; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRetentionTagInternal)TagInfo).ETag = value; } /// Internal Acessors for TagInfoId - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITaggingCriteriaInternal.TagInfoId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRetentionTagInternal)TagInfo).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRetentionTagInternal)TagInfo).Id = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITaggingCriteriaInternal.TagInfoId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRetentionTagInternal)TagInfo).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRetentionTagInternal)TagInfo).Id = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRetentionTag _tagInfo; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRetentionTag TagInfo { get => (this._tagInfo = this._tagInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.RetentionTag()); set => this._tagInfo = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRetentionTag TagInfo { get => (this._tagInfo = this._tagInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRetentionTagInternal)TagInfo).ETag; } + public string TagInfoETag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRetentionTagInternal)TagInfo).Id; } + public string TagInfoId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IRetentionTagInternal)TagInfo).TagName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRetentionTagInternal)TagInfo).TagName = value ; } + public string TagInfoTagName { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRetentionTagInternal)TagInfo).TagName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupCriteria),typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IScheduleBasedBackupCriteria) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupCriteria[] Criterion { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupCriteria),typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedBackupCriteria) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupCriteria[] Criterion { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupCriteria[] Criterion { get; set; } /// Specifies if tag is default. bool IsDefault { get; set; } /// Retention tag information - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRetentionTag TagInfo { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRetentionTag TagInfo { get; set; } /// Retention Tag version. string TagInfoETag { get; set; } /// Retention Tag version. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TaggingCriteria.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/TaggingCriteria.json.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TaggingCriteria.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/TaggingCriteria.json.cs index e6226c1d3a4b..6ce5627d192e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TaggingCriteria.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ITaggingCriteria. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITaggingCriteria. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITaggingCriteria. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITaggingCriteria. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITaggingCriteria FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.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.Api20231201.IBackupCriteria) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupCriteria.FromJson(__u) )) ))() : null : Criterion;} + {_tagInfo = If( json?.PropertyT("tagInfo"), out var __jsonTagInfo) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20240401.IBackupCriteria) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/TargetCopySetting.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/TargetCopySetting.PowerShell.cs similarity index 81% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TargetCopySetting.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/TargetCopySetting.PowerShell.cs index 999708e56a23..0208e03c5f81 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TargetCopySetting.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ITargetCopySetting DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ITargetCopySetting DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetCopySetting DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new TargetCopySetting(content); } @@ -85,10 +85,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetCopySetting FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ITargetCopySettingInternal)this).CopyAfter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICopyOption) content.GetValueForProperty("CopyAfter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetCopySettingInternal)this).CopyAfter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CopyOptionTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetCopySettingInternal)this).CopyAfter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICopyOption) content.GetValueForProperty("CopyAfter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetCopySettingInternal)this).CopyAfter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CopyOptionTypeConverter.ConvertFrom); } if (content.Contains("DataStore")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetCopySettingInternal)this).DataStore = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreInfoBase) content.GetValueForProperty("DataStore",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetCopySettingInternal)this).DataStore, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DataStoreInfoBaseTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetCopySettingInternal)this).DataStore = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreInfoBase) content.GetValueForProperty("DataStore",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetCopySettingInternal)this).DataStore, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DataStoreInfoBaseTypeConverter.ConvertFrom); } if (content.Contains("CopyAfterObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetCopySettingInternal)this).CopyAfterObjectType = (string) content.GetValueForProperty("CopyAfterObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetCopySettingInternal)this).CopyAfterObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetCopySettingInternal)this).CopyAfterObjectType = (string) content.GetValueForProperty("CopyAfterObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetCopySettingInternal)this).CopyAfterObjectType, global::System.Convert.ToString); } if (content.Contains("DataStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetCopySettingInternal)this).DataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("DataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetCopySettingInternal)this).DataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetCopySettingInternal)this).DataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("DataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetCopySettingInternal)this).DataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes.CreateFrom); } if (content.Contains("DataStoreObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetCopySettingInternal)this).DataStoreObjectType = (string) content.GetValueForProperty("DataStoreObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetCopySettingInternal)this).DataStoreObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetCopySettingInternal)this).DataStoreObjectType = (string) content.GetValueForProperty("DataStoreObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ITargetCopySettingInternal)this).CopyAfter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICopyOption) content.GetValueForProperty("CopyAfter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetCopySettingInternal)this).CopyAfter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CopyOptionTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetCopySettingInternal)this).CopyAfter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICopyOption) content.GetValueForProperty("CopyAfter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetCopySettingInternal)this).CopyAfter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CopyOptionTypeConverter.ConvertFrom); } if (content.Contains("DataStore")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetCopySettingInternal)this).DataStore = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreInfoBase) content.GetValueForProperty("DataStore",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetCopySettingInternal)this).DataStore, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DataStoreInfoBaseTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetCopySettingInternal)this).DataStore = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreInfoBase) content.GetValueForProperty("DataStore",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetCopySettingInternal)this).DataStore, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DataStoreInfoBaseTypeConverter.ConvertFrom); } if (content.Contains("CopyAfterObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetCopySettingInternal)this).CopyAfterObjectType = (string) content.GetValueForProperty("CopyAfterObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetCopySettingInternal)this).CopyAfterObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetCopySettingInternal)this).CopyAfterObjectType = (string) content.GetValueForProperty("CopyAfterObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetCopySettingInternal)this).CopyAfterObjectType, global::System.Convert.ToString); } if (content.Contains("DataStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetCopySettingInternal)this).DataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("DataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetCopySettingInternal)this).DataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetCopySettingInternal)this).DataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("DataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetCopySettingInternal)this).DataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes.CreateFrom); } if (content.Contains("DataStoreObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetCopySettingInternal)this).DataStoreObjectType = (string) content.GetValueForProperty("DataStoreObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetCopySettingInternal)this).DataStoreObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetCopySettingInternal)this).DataStoreObjectType = (string) content.GetValueForProperty("DataStoreObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetCopySettingInternal)this).DataStoreObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TargetCopySetting.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/TargetCopySetting.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TargetCopySetting.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/TargetCopySetting.TypeConverter.cs index ea9e0218b207..366528a1e1ac 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TargetCopySetting.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ITargetCopySetting ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetCopySetting ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetCopySetting).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetCopySetting).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TargetCopySetting.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/TargetCopySetting.cs similarity index 82% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TargetCopySetting.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/TargetCopySetting.cs index 2337cc8dd40b..e91db2bd4953 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TargetCopySetting.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Target copy settings public partial class TargetCopySetting : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetCopySetting, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetCopySettingInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetCopySetting, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetCopySettingInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICopyOption _copyAfter; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICopyOption CopyAfter { get => (this._copyAfter = this._copyAfter ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CopyOption()); set => this._copyAfter = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICopyOption CopyAfter { get => (this._copyAfter = this._copyAfter ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICopyOptionInternal)CopyAfter).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICopyOptionInternal)CopyAfter).ObjectType = value ; } + public string CopyAfterObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICopyOptionInternal)CopyAfter).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICopyOptionInternal)CopyAfter).ObjectType = value ; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreInfoBase _dataStore; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDataStoreInfoBase DataStore { get => (this._dataStore = this._dataStore ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DataStoreInfoBase()); set => this._dataStore = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreInfoBase DataStore { get => (this._dataStore = this._dataStore ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDataStoreInfoBaseInternal)DataStore).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreInfoBaseInternal)DataStore).ObjectType = value ; } + public string DataStoreObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreInfoBaseInternal)DataStore).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDataStoreInfoBaseInternal)DataStore).DataStoreType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreInfoBaseInternal)DataStore).DataStoreType = value ; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes DataStoreType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreInfoBaseInternal)DataStore).DataStoreType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreInfoBaseInternal)DataStore).DataStoreType = value ; } /// Internal Acessors for CopyAfter - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICopyOption Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetCopySettingInternal.CopyAfter { get => (this._copyAfter = this._copyAfter ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CopyOption()); set { {_copyAfter = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICopyOption Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetCopySettingInternal.CopyAfter { get => (this._copyAfter = this._copyAfter ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CopyOption()); set { {_copyAfter = value;} } } /// Internal Acessors for DataStore - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDataStoreInfoBase Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetCopySettingInternal.DataStore { get => (this._dataStore = this._dataStore ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DataStoreInfoBase()); set { {_dataStore = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDataStoreInfoBase Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetCopySettingInternal.DataStore { get => (this._dataStore = this._dataStore ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICopyOption CopyAfter { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDataStoreInfoBase DataStore { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/TargetCopySetting.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/TargetCopySetting.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TargetCopySetting.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/TargetCopySetting.json.cs index 0b9fdf32ec11..ef30d5f301fe 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TargetCopySetting.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ITargetCopySetting. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetCopySetting. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetCopySetting. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetCopySetting. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetCopySetting FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.CopyOption.FromJson(__jsonCopyAfter) : CopyAfter;} - {_dataStore = If( json?.PropertyT("dataStore"), out var __jsonDataStore) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.DataStoreInfoBase.FromJson(__jsonDataStore) : DataStore;} + {_copyAfter = If( json?.PropertyT("copyAfter"), out var __jsonCopyAfter) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CopyOption.FromJson(__jsonCopyAfter) : CopyAfter;} + {_dataStore = If( json?.PropertyT("dataStore"), out var __jsonDataStore) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.DataStoreInfoBase.FromJson(__jsonDataStore) : DataStore;} AfterFromJson(json); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TargetDetails.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/TargetDetails.PowerShell.cs similarity index 85% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TargetDetails.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/TargetDetails.PowerShell.cs index 237b6c7c09c3..ad4af8dc7b91 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TargetDetails.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ITargetDetails DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ITargetDetails DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetDetails DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new TargetDetails(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetDetails FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ITargetDetailsInternal)this).FilePrefix = (string) content.GetValueForProperty("FilePrefix",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetDetailsInternal)this).FilePrefix, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetDetailsInternal)this).FilePrefix = (string) content.GetValueForProperty("FilePrefix",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetDetailsInternal)this).FilePrefix, global::System.Convert.ToString); } if (content.Contains("RestoreTargetLocationType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetDetailsInternal)this).RestoreTargetLocationType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreTargetLocationType) content.GetValueForProperty("RestoreTargetLocationType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetDetailsInternal)this).RestoreTargetLocationType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreTargetLocationType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetDetailsInternal)this).RestoreTargetLocationType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreTargetLocationType) content.GetValueForProperty("RestoreTargetLocationType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetDetailsInternal)this).RestoreTargetLocationType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreTargetLocationType.CreateFrom); } if (content.Contains("Url")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetDetailsInternal)this).Url = (string) content.GetValueForProperty("Url",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetDetailsInternal)this).Url, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetDetailsInternal)this).Url = (string) content.GetValueForProperty("Url",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetDetailsInternal)this).Url, global::System.Convert.ToString); } if (content.Contains("TargetResourceArmId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetDetailsInternal)this).TargetResourceArmId = (string) content.GetValueForProperty("TargetResourceArmId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetDetailsInternal)this).TargetResourceArmId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetDetailsInternal)this).TargetResourceArmId = (string) content.GetValueForProperty("TargetResourceArmId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ITargetDetailsInternal)this).FilePrefix = (string) content.GetValueForProperty("FilePrefix",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetDetailsInternal)this).FilePrefix, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetDetailsInternal)this).FilePrefix = (string) content.GetValueForProperty("FilePrefix",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetDetailsInternal)this).FilePrefix, global::System.Convert.ToString); } if (content.Contains("RestoreTargetLocationType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetDetailsInternal)this).RestoreTargetLocationType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreTargetLocationType) content.GetValueForProperty("RestoreTargetLocationType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetDetailsInternal)this).RestoreTargetLocationType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreTargetLocationType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetDetailsInternal)this).RestoreTargetLocationType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreTargetLocationType) content.GetValueForProperty("RestoreTargetLocationType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetDetailsInternal)this).RestoreTargetLocationType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreTargetLocationType.CreateFrom); } if (content.Contains("Url")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetDetailsInternal)this).Url = (string) content.GetValueForProperty("Url",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetDetailsInternal)this).Url, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetDetailsInternal)this).Url = (string) content.GetValueForProperty("Url",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetDetailsInternal)this).Url, global::System.Convert.ToString); } if (content.Contains("TargetResourceArmId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetDetailsInternal)this).TargetResourceArmId = (string) content.GetValueForProperty("TargetResourceArmId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetDetailsInternal)this).TargetResourceArmId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetDetailsInternal)this).TargetResourceArmId = (string) content.GetValueForProperty("TargetResourceArmId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetDetailsInternal)this).TargetResourceArmId, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TargetDetails.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/TargetDetails.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TargetDetails.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/TargetDetails.TypeConverter.cs index d4d159865849..d2f981963408 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TargetDetails.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ITargetDetails ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetDetails ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetDetails).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetDetails).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TargetDetails.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/TargetDetails.cs similarity index 99% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TargetDetails.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/TargetDetails.cs index 140d5c34345b..7a383ca5aee1 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TargetDetails.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -11,8 +11,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201 /// Class encapsulating target details, used where the destination is not a datasource /// public partial class TargetDetails : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetDetails, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetDetailsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetDetails, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetDetailsInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TargetDetails.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/TargetDetails.json.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TargetDetails.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/TargetDetails.json.cs index dcfd4ef325f6..c84a76ab17d6 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TargetDetails.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ITargetDetails. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetDetails. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetDetails. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITargetDetails. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITargetDetails FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/TriggerBackupRequest.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/TriggerBackupRequest.PowerShell.cs similarity index 82% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TriggerBackupRequest.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/TriggerBackupRequest.PowerShell.cs index c426bf5bfd75..eb32cba7fc5c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TriggerBackupRequest.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ITriggerBackupRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ITriggerBackupRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerBackupRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new TriggerBackupRequest(content); } @@ -87,7 +87,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerBackupRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api202312 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.Api20231201.ITriggerBackupRequestInternal)this).BackupRuleOption = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdHocBackupRuleOptions) content.GetValueForProperty("BackupRuleOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerBackupRequestInternal)this).BackupRuleOption, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AdHocBackupRuleOptionsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerBackupRequestInternal)this).BackupRuleOption = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdHocBackupRuleOptions) content.GetValueForProperty("BackupRuleOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerBackupRequestInternal)this).BackupRuleOption, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AdHocBackupRuleOptionsTypeConverter.ConvertFrom); } if (content.Contains("BackupRuleOptionTriggerOption")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerBackupRequestInternal)this).BackupRuleOptionTriggerOption = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBackupTriggerOption) content.GetValueForProperty("BackupRuleOptionTriggerOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerBackupRequestInternal)this).BackupRuleOptionTriggerOption, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AdhocBackupTriggerOptionTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerBackupRequestInternal)this).BackupRuleOptionTriggerOption = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBackupTriggerOption) content.GetValueForProperty("BackupRuleOptionTriggerOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerBackupRequestInternal)this).BackupRuleOptionTriggerOption, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AdhocBackupTriggerOptionTypeConverter.ConvertFrom); } if (content.Contains("BackupRuleOptionRuleName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerBackupRequestInternal)this).BackupRuleOptionRuleName = (string) content.GetValueForProperty("BackupRuleOptionRuleName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerBackupRequestInternal)this).BackupRuleOptionRuleName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerBackupRequestInternal)this).BackupRuleOptionRuleName = (string) content.GetValueForProperty("BackupRuleOptionRuleName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerBackupRequestInternal)this).BackupRuleOptionRuleName, global::System.Convert.ToString); } if (content.Contains("TriggerOptionRetentionTagOverride")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerBackupRequestInternal)this).TriggerOptionRetentionTagOverride = (string) content.GetValueForProperty("TriggerOptionRetentionTagOverride",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerBackupRequestInternal)this).TriggerOptionRetentionTagOverride, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerBackupRequestInternal)this).TriggerOptionRetentionTagOverride = (string) content.GetValueForProperty("TriggerOptionRetentionTagOverride",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ITriggerBackupRequestInternal)this).BackupRuleOption = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdHocBackupRuleOptions) content.GetValueForProperty("BackupRuleOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerBackupRequestInternal)this).BackupRuleOption, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AdHocBackupRuleOptionsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerBackupRequestInternal)this).BackupRuleOption = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdHocBackupRuleOptions) content.GetValueForProperty("BackupRuleOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerBackupRequestInternal)this).BackupRuleOption, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AdHocBackupRuleOptionsTypeConverter.ConvertFrom); } if (content.Contains("BackupRuleOptionTriggerOption")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerBackupRequestInternal)this).BackupRuleOptionTriggerOption = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBackupTriggerOption) content.GetValueForProperty("BackupRuleOptionTriggerOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerBackupRequestInternal)this).BackupRuleOptionTriggerOption, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AdhocBackupTriggerOptionTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerBackupRequestInternal)this).BackupRuleOptionTriggerOption = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBackupTriggerOption) content.GetValueForProperty("BackupRuleOptionTriggerOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerBackupRequestInternal)this).BackupRuleOptionTriggerOption, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AdhocBackupTriggerOptionTypeConverter.ConvertFrom); } if (content.Contains("BackupRuleOptionRuleName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerBackupRequestInternal)this).BackupRuleOptionRuleName = (string) content.GetValueForProperty("BackupRuleOptionRuleName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerBackupRequestInternal)this).BackupRuleOptionRuleName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerBackupRequestInternal)this).BackupRuleOptionRuleName = (string) content.GetValueForProperty("BackupRuleOptionRuleName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerBackupRequestInternal)this).BackupRuleOptionRuleName, global::System.Convert.ToString); } if (content.Contains("TriggerOptionRetentionTagOverride")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerBackupRequestInternal)this).TriggerOptionRetentionTagOverride = (string) content.GetValueForProperty("TriggerOptionRetentionTagOverride",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerBackupRequestInternal)this).TriggerOptionRetentionTagOverride, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerBackupRequestInternal)this).TriggerOptionRetentionTagOverride = (string) content.GetValueForProperty("TriggerOptionRetentionTagOverride",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerBackupRequestInternal)this).TriggerOptionRetentionTagOverride, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TriggerBackupRequest.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/TriggerBackupRequest.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TriggerBackupRequest.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/TriggerBackupRequest.TypeConverter.cs index 769f45ccf0a6..8fbdebd3f44e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TriggerBackupRequest.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ITriggerBackupRequest ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerBackupRequest ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerBackupRequest).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerBackupRequest).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TriggerBackupRequest.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/TriggerBackupRequest.cs similarity index 77% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TriggerBackupRequest.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/TriggerBackupRequest.cs index f6bc5c2c6947..ee5a796f21be 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TriggerBackupRequest.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Trigger backup request public partial class TriggerBackupRequest : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerBackupRequest, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerBackupRequestInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerBackupRequest, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerBackupRequestInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdHocBackupRuleOptions _backupRuleOption; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAdHocBackupRuleOptions BackupRuleOption { get => (this._backupRuleOption = this._backupRuleOption ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AdHocBackupRuleOptions()); set => this._backupRuleOption = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdHocBackupRuleOptions BackupRuleOption { get => (this._backupRuleOption = this._backupRuleOption ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAdHocBackupRuleOptionsInternal)BackupRuleOption).RuleName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdHocBackupRuleOptionsInternal)BackupRuleOption).RuleName = value ; } + public string BackupRuleOptionRuleName { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdHocBackupRuleOptionsInternal)BackupRuleOption).RuleName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdHocBackupRuleOptionsInternal)BackupRuleOption).RuleName = value ; } /// Internal Acessors for BackupRuleOption - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdHocBackupRuleOptions Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerBackupRequestInternal.BackupRuleOption { get => (this._backupRuleOption = this._backupRuleOption ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AdHocBackupRuleOptions()); set { {_backupRuleOption = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdHocBackupRuleOptions Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerBackupRequestInternal.BackupRuleOption { get => (this._backupRuleOption = this._backupRuleOption ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AdHocBackupRuleOptions()); set { {_backupRuleOption = value;} } } /// Internal Acessors for BackupRuleOptionTriggerOption - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBackupTriggerOption Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerBackupRequestInternal.BackupRuleOptionTriggerOption { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdHocBackupRuleOptionsInternal)BackupRuleOption).TriggerOption; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdHocBackupRuleOptionsInternal)BackupRuleOption).TriggerOption = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBackupTriggerOption Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerBackupRequestInternal.BackupRuleOptionTriggerOption { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdHocBackupRuleOptionsInternal)BackupRuleOption).TriggerOption; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAdHocBackupRuleOptionsInternal)BackupRuleOption).TriggerOptionRetentionTagOverride; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdHocBackupRuleOptionsInternal)BackupRuleOption).TriggerOptionRetentionTagOverride = value ?? null; } + public string TriggerOptionRetentionTagOverride { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdHocBackupRuleOptionsInternal)BackupRuleOption).TriggerOptionRetentionTagOverride; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAdHocBackupRuleOptions BackupRuleOption { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdHocBackupRuleOptions BackupRuleOption { get; set; } string BackupRuleOptionRuleName { get; set; } /// Adhoc backup trigger option - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAdhocBackupTriggerOption BackupRuleOptionTriggerOption { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAdhocBackupTriggerOption BackupRuleOptionTriggerOption { get; set; } string TriggerOptionRetentionTagOverride { get; set; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TriggerBackupRequest.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/TriggerBackupRequest.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TriggerBackupRequest.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/TriggerBackupRequest.json.cs index b016d2d7d189..0898127e2cc1 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TriggerBackupRequest.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ITriggerBackupRequest. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerBackupRequest. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerBackupRequest. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerBackupRequest. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerBackupRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.AdHocBackupRuleOptions.FromJson(__jsonBackupRuleOptions) : BackupRuleOption;} + {_backupRuleOption = If( json?.PropertyT("backupRuleOptions"), out var __jsonBackupRuleOptions) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AdHocBackupRuleOptions.FromJson(__jsonBackupRuleOptions) : BackupRuleOption;} AfterFromJson(json); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TriggerContext.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/TriggerContext.PowerShell.cs similarity index 89% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TriggerContext.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/TriggerContext.PowerShell.cs index 97ff5266572f..0d34026d9915 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TriggerContext.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ITriggerContext DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ITriggerContext DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerContext DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new TriggerContext(content); } @@ -85,7 +85,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerContext FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api202312 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.Api20231201.ITriggerContextInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerContextInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerContextInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ITriggerContextInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerContextInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerContextInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerContextInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TriggerContext.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/TriggerContext.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TriggerContext.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/TriggerContext.TypeConverter.cs index 37adffdd0ae4..4e940a5f7edf 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TriggerContext.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ITriggerContext ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerContext ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerContext).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerContext).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TriggerContext.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/TriggerContext.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TriggerContext.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/TriggerContext.cs index 134b1d11998a..3f2bc106464b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TriggerContext.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Trigger context public partial class TriggerContext : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerContext, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerContextInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerContext, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerContextInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TriggerContext.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/TriggerContext.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TriggerContext.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/TriggerContext.json.cs index 3ffe09e21f0d..6a67763e0b1a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/TriggerContext.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.ITriggerContext. - /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerContext interface is polymorphic, + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerContext. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ITriggerContext. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerContext. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ITriggerContext FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/UnlockDeleteRequest.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/UnlockDeleteRequest.PowerShell.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UnlockDeleteRequest.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/UnlockDeleteRequest.PowerShell.cs index 8b75a2b5b0fa..c8f4f99d2a28 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UnlockDeleteRequest.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IUnlockDeleteRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IUnlockDeleteRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUnlockDeleteRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new UnlockDeleteRequest(content); } @@ -85,7 +85,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUnlockDeleteRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api202312 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.Api20231201.IUnlockDeleteRequestInternal)this).ResourceGuardOperationRequest = (string[]) content.GetValueForProperty("ResourceGuardOperationRequest",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUnlockDeleteRequestInternal)this).ResourceGuardOperationRequest, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUnlockDeleteRequestInternal)this).ResourceGuardOperationRequest = (string[]) content.GetValueForProperty("ResourceGuardOperationRequest",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUnlockDeleteRequestInternal)this).ResourceGuardOperationRequest, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ResourceToBeDeleted")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUnlockDeleteRequestInternal)this).ResourceToBeDeleted = (string) content.GetValueForProperty("ResourceToBeDeleted",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUnlockDeleteRequestInternal)this).ResourceToBeDeleted, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUnlockDeleteRequestInternal)this).ResourceToBeDeleted = (string) content.GetValueForProperty("ResourceToBeDeleted",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IUnlockDeleteRequestInternal)this).ResourceGuardOperationRequest = (string[]) content.GetValueForProperty("ResourceGuardOperationRequest",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUnlockDeleteRequestInternal)this).ResourceGuardOperationRequest, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUnlockDeleteRequestInternal)this).ResourceGuardOperationRequest = (string[]) content.GetValueForProperty("ResourceGuardOperationRequest",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUnlockDeleteRequestInternal)this).ResourceGuardOperationRequest, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ResourceToBeDeleted")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUnlockDeleteRequestInternal)this).ResourceToBeDeleted = (string) content.GetValueForProperty("ResourceToBeDeleted",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUnlockDeleteRequestInternal)this).ResourceToBeDeleted, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUnlockDeleteRequestInternal)this).ResourceToBeDeleted = (string) content.GetValueForProperty("ResourceToBeDeleted",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUnlockDeleteRequestInternal)this).ResourceToBeDeleted, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UnlockDeleteRequest.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/UnlockDeleteRequest.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UnlockDeleteRequest.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/UnlockDeleteRequest.TypeConverter.cs index e4b14fc0917c..7a48ccc2d766 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UnlockDeleteRequest.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IUnlockDeleteRequest ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUnlockDeleteRequest ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUnlockDeleteRequest).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUnlockDeleteRequest).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UnlockDeleteRequest.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/UnlockDeleteRequest.cs similarity index 84% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UnlockDeleteRequest.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/UnlockDeleteRequest.cs index 4ccfeba67ad3..856060b69be4 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UnlockDeleteRequest.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/UnlockDeleteRequest.cs @@ -3,19 +3,20 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IUnlockDeleteRequest, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUnlockDeleteRequestInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUnlockDeleteRequest, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUnlockDeleteRequestInternal { /// Backing field for property. private string[] _resourceGuardOperationRequest; + /// ResourceGuardOperationRequests on which LAC check will be performed [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] public string[] ResourceGuardOperationRequest { get => this._resourceGuardOperationRequest; set => this._resourceGuardOperationRequest = value; } @@ -35,10 +36,11 @@ public UnlockDeleteRequest() public partial interface IUnlockDeleteRequest : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable { + /// ResourceGuardOperationRequests on which LAC check will be performed [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, ReadOnly = false, - Description = @"", + Description = @"ResourceGuardOperationRequests on which LAC check will be performed", SerializedName = @"resourceGuardOperationRequests", PossibleTypes = new [] { typeof(string) })] string[] ResourceGuardOperationRequest { get; set; } @@ -56,6 +58,7 @@ public partial interface IUnlockDeleteRequest : internal partial interface IUnlockDeleteRequestInternal { + /// ResourceGuardOperationRequests on which LAC check will be performed string[] ResourceGuardOperationRequest { get; set; } string ResourceToBeDeleted { get; set; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UnlockDeleteRequest.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/UnlockDeleteRequest.json.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UnlockDeleteRequest.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/UnlockDeleteRequest.json.cs index b6e9c232e62f..ba4cb90ae1ce 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UnlockDeleteRequest.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IUnlockDeleteRequest. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUnlockDeleteRequest. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUnlockDeleteRequest. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUnlockDeleteRequest. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUnlockDeleteRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/UnlockDeleteResponse.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/UnlockDeleteResponse.PowerShell.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UnlockDeleteResponse.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/UnlockDeleteResponse.PowerShell.cs index a8a8a11e4545..57c72950e9fe 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UnlockDeleteResponse.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IUnlockDeleteResponse DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IUnlockDeleteResponse DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUnlockDeleteResponse DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new UnlockDeleteResponse(content); } @@ -87,7 +87,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUnlockDeleteResponse FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api202312 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.Api20231201.IUnlockDeleteResponseInternal)this).UnlockDeleteExpiryTime = (string) content.GetValueForProperty("UnlockDeleteExpiryTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUnlockDeleteResponseInternal)this).UnlockDeleteExpiryTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUnlockDeleteResponseInternal)this).UnlockDeleteExpiryTime = (string) content.GetValueForProperty("UnlockDeleteExpiryTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IUnlockDeleteResponseInternal)this).UnlockDeleteExpiryTime = (string) content.GetValueForProperty("UnlockDeleteExpiryTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUnlockDeleteResponseInternal)this).UnlockDeleteExpiryTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUnlockDeleteResponseInternal)this).UnlockDeleteExpiryTime = (string) content.GetValueForProperty("UnlockDeleteExpiryTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUnlockDeleteResponseInternal)this).UnlockDeleteExpiryTime, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UnlockDeleteResponse.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/UnlockDeleteResponse.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UnlockDeleteResponse.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/UnlockDeleteResponse.TypeConverter.cs index ef00f9efc7c9..1fa92ebce9ec 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UnlockDeleteResponse.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IUnlockDeleteResponse ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUnlockDeleteResponse ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUnlockDeleteResponse).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUnlockDeleteResponse).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UnlockDeleteResponse.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/UnlockDeleteResponse.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UnlockDeleteResponse.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/UnlockDeleteResponse.cs index cb8e300c2316..136ffc9b26de 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UnlockDeleteResponse.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Response of Unlock Delete API. public partial class UnlockDeleteResponse : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUnlockDeleteResponse, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUnlockDeleteResponseInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUnlockDeleteResponse, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUnlockDeleteResponseInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UnlockDeleteResponse.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/UnlockDeleteResponse.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UnlockDeleteResponse.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/UnlockDeleteResponse.json.cs index 14375070f196..cd2b4e5f6399 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UnlockDeleteResponse.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IUnlockDeleteResponse. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUnlockDeleteResponse. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUnlockDeleteResponse. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUnlockDeleteResponse. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUnlockDeleteResponse FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/UserFacingError.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/UserFacingError.PowerShell.cs similarity index 75% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UserFacingError.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/UserFacingError.PowerShell.cs index 65fd44725456..3f0e4a168ac3 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UserFacingError.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IUserFacingError DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IUserFacingError DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new UserFacingError(content); } @@ -87,7 +87,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingError FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api202312 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.Api20231201.IUserFacingErrorInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingErrorInternal)this).Code, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingErrorInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingErrorInternal)this).Code, global::System.Convert.ToString); } if (content.Contains("Detail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingErrorInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingError[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingErrorInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.UserFacingErrorTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingErrorInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingErrorInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.UserFacingErrorTypeConverter.ConvertFrom)); } if (content.Contains("InnerError")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingErrorInternal)this).InnerError = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IInnerError) content.GetValueForProperty("InnerError",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingErrorInternal)this).InnerError, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.InnerErrorTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingErrorInternal)this).InnerError = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IInnerError) content.GetValueForProperty("InnerError",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingErrorInternal)this).InnerError, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.InnerErrorTypeConverter.ConvertFrom); } if (content.Contains("IsRetryable")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingErrorInternal)this).IsRetryable = (bool?) content.GetValueForProperty("IsRetryable",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingErrorInternal)this).IsRetryable, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingErrorInternal)this).IsRetryable = (bool?) content.GetValueForProperty("IsRetryable",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingErrorInternal)this).IsRetryable, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("IsUserError")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingErrorInternal)this).IsUserError = (bool?) content.GetValueForProperty("IsUserError",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingErrorInternal)this).IsUserError, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingErrorInternal)this).IsUserError = (bool?) content.GetValueForProperty("IsUserError",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingErrorInternal)this).IsUserError, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingErrorInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingErrorProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingErrorInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.UserFacingErrorPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingErrorInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingErrorProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingErrorInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.UserFacingErrorPropertiesTypeConverter.ConvertFrom); } if (content.Contains("Message")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingErrorInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingErrorInternal)this).Message, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingErrorInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingErrorInternal)this).Message, global::System.Convert.ToString); } if (content.Contains("RecommendedAction")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingErrorInternal)this).RecommendedAction = (string[]) content.GetValueForProperty("RecommendedAction",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingErrorInternal)this).RecommendedAction, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingErrorInternal)this).RecommendedAction = (string[]) content.GetValueForProperty("RecommendedAction",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingErrorInternal)this).RecommendedAction, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("Target")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingErrorInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingErrorInternal)this).Target, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingErrorInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IUserFacingErrorInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingErrorInternal)this).Code, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingErrorInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingErrorInternal)this).Code, global::System.Convert.ToString); } if (content.Contains("Detail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingErrorInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingError[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingErrorInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.UserFacingErrorTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingErrorInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingErrorInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.UserFacingErrorTypeConverter.ConvertFrom)); } if (content.Contains("InnerError")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingErrorInternal)this).InnerError = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IInnerError) content.GetValueForProperty("InnerError",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingErrorInternal)this).InnerError, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.InnerErrorTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingErrorInternal)this).InnerError = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IInnerError) content.GetValueForProperty("InnerError",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingErrorInternal)this).InnerError, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.InnerErrorTypeConverter.ConvertFrom); } if (content.Contains("IsRetryable")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingErrorInternal)this).IsRetryable = (bool?) content.GetValueForProperty("IsRetryable",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingErrorInternal)this).IsRetryable, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingErrorInternal)this).IsRetryable = (bool?) content.GetValueForProperty("IsRetryable",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingErrorInternal)this).IsRetryable, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("IsUserError")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingErrorInternal)this).IsUserError = (bool?) content.GetValueForProperty("IsUserError",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingErrorInternal)this).IsUserError, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingErrorInternal)this).IsUserError = (bool?) content.GetValueForProperty("IsUserError",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingErrorInternal)this).IsUserError, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingErrorInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingErrorProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingErrorInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.UserFacingErrorPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingErrorInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingErrorProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingErrorInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.UserFacingErrorPropertiesTypeConverter.ConvertFrom); } if (content.Contains("Message")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingErrorInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingErrorInternal)this).Message, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingErrorInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingErrorInternal)this).Message, global::System.Convert.ToString); } if (content.Contains("RecommendedAction")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingErrorInternal)this).RecommendedAction = (string[]) content.GetValueForProperty("RecommendedAction",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingErrorInternal)this).RecommendedAction, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingErrorInternal)this).RecommendedAction = (string[]) content.GetValueForProperty("RecommendedAction",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingErrorInternal)this).RecommendedAction, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("Target")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingErrorInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingErrorInternal)this).Target, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingErrorInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingErrorInternal)this).Target, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UserFacingError.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/UserFacingError.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UserFacingError.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/UserFacingError.TypeConverter.cs index fe4f27640aaa..ab49fca58b4f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UserFacingError.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IUserFacingError ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingError).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UserFacingError.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/UserFacingError.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UserFacingError.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/UserFacingError.cs index fc19af5a102d..24cff074b92d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UserFacingError.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -11,8 +11,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201 /// 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.Api20231201.IUserFacingError, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingErrorInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IUserFacingError[] _detail; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IUserFacingError[] Detail { get => this._detail; set => this._detail = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError[] Detail { get => this._detail; set => this._detail = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IInnerError _innerError; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IInnerError _innerError; /// Inner Error [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IInnerError InnerError { get => (this._innerError = this._innerError ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.InnerError()); set => this._innerError = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IInnerError InnerError { get => (this._innerError = this._innerError ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IUserFacingErrorProperties _property; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IUserFacingErrorProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.UserFacingErrorProperties()); set => this._property = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingErrorProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IUserFacingError) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingError[] Detail { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IInnerError) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IInnerError InnerError { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IInnerError) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IUserFacingErrorProperties) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingErrorProperties Property { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingErrorProperties) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IUserFacingError[] Detail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError[] Detail { get; set; } /// Inner Error - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IInnerError InnerError { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IUserFacingErrorProperties Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingErrorProperties Property { get; set; } /// RecommendedAction � localized. string[] RecommendedAction { get; set; } /// Target of the error. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UserFacingError.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/UserFacingError.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UserFacingError.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/UserFacingError.json.cs index 7961c41fe03e..4c01f26e7af9 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UserFacingError.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IUserFacingError. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingError. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingError FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IUserFacingError) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.UserFacingError.FromJson(__u) )) ))() : null : Detail;} - {_innerError = If( json?.PropertyT("innerError"), out var __jsonInnerError) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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.Api20240401.IUserFacingError) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.UserFacingError.FromJson(__u) )) ))() : null : Detail;} + {_innerError = If( json?.PropertyT("innerError"), out var __jsonInnerError) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.UserFacingErrorProperties.FromJson(__jsonProperties) : Property;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/UserFacingErrorProperties.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/UserFacingErrorProperties.PowerShell.cs similarity index 92% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UserFacingErrorProperties.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/UserFacingErrorProperties.PowerShell.cs index 14ac229c2f28..11ab30142957 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UserFacingErrorProperties.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IUserFacingErrorProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IUserFacingErrorProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingErrorProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new UserFacingErrorProperties(content); } @@ -87,7 +87,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingErrorProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api202312 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/Api20231201/UserFacingErrorProperties.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/UserFacingErrorProperties.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UserFacingErrorProperties.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/UserFacingErrorProperties.TypeConverter.cs index aaa299361e37..f5bead9b14dd 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UserFacingErrorProperties.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IUserFacingErrorProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingErrorProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingErrorProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingErrorProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UserFacingErrorProperties.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/UserFacingErrorProperties.cs similarity index 92% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UserFacingErrorProperties.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/UserFacingErrorProperties.cs index 432d319f3be6..7fc71722854e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UserFacingErrorProperties.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IUserFacingErrorProperties, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingErrorPropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingErrorProperties, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingErrorPropertiesInternal { /// Creates an new instance. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UserFacingErrorProperties.dictionary.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/UserFacingErrorProperties.dictionary.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UserFacingErrorProperties.dictionary.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/UserFacingErrorProperties.dictionary.cs index 133ed18f875f..b88bfaf41c8f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UserFacingErrorProperties.dictionary.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.UserFacingErrorProperties source) => source.__additionalProperties; + public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.UserFacingErrorProperties source) => source.__additionalProperties; } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UserFacingErrorProperties.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/UserFacingErrorProperties.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UserFacingErrorProperties.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/UserFacingErrorProperties.json.cs index fbf478fe17d1..efbbbd6da5ef 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UserFacingErrorProperties.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IUserFacingErrorProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingErrorProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingErrorProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingErrorProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingErrorProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Api20231201/UserFacingWarningDetail.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/UserFacingWarningDetail.PowerShell.cs similarity index 86% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UserFacingWarningDetail.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/UserFacingWarningDetail.PowerShell.cs index efbae31e7629..0d38b3242600 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UserFacingWarningDetail.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/UserFacingWarningDetail.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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -57,29 +57,29 @@ public partial class UserFacingWarningDetail 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.Api20231201.IUserFacingWarningDetail DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingWarningDetail DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new UserFacingWarningDetail(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.Api20231201.IUserFacingWarningDetail DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingWarningDetail DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new UserFacingWarningDetail(content); } @@ -89,7 +89,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingWarningDetail FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingWarningDetail FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. @@ -97,7 +97,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 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. @@ -112,17 +112,17 @@ internal UserFacingWarningDetail(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("ResourceName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingWarningDetailInternal)this).ResourceName = (string) content.GetValueForProperty("ResourceName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingWarningDetailInternal)this).ResourceName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingWarningDetailInternal)this).ResourceName = (string) content.GetValueForProperty("ResourceName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingWarningDetailInternal)this).ResourceName, global::System.Convert.ToString); } if (content.Contains("Warning")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingWarningDetailInternal)this).Warning = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingError) content.GetValueForProperty("Warning",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingWarningDetailInternal)this).Warning, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.UserFacingErrorTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingWarningDetailInternal)this).Warning = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError) content.GetValueForProperty("Warning",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingWarningDetailInternal)this).Warning, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.UserFacingErrorTypeConverter.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. @@ -137,11 +137,11 @@ internal UserFacingWarningDetail(global::System.Management.Automation.PSObject c // actually deserialize if (content.Contains("ResourceName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingWarningDetailInternal)this).ResourceName = (string) content.GetValueForProperty("ResourceName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingWarningDetailInternal)this).ResourceName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingWarningDetailInternal)this).ResourceName = (string) content.GetValueForProperty("ResourceName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingWarningDetailInternal)this).ResourceName, global::System.Convert.ToString); } if (content.Contains("Warning")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingWarningDetailInternal)this).Warning = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingError) content.GetValueForProperty("Warning",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingWarningDetailInternal)this).Warning, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.UserFacingErrorTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingWarningDetailInternal)this).Warning = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError) content.GetValueForProperty("Warning",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingWarningDetailInternal)this).Warning, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.UserFacingErrorTypeConverter.ConvertFrom); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UserFacingWarningDetail.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/UserFacingWarningDetail.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UserFacingWarningDetail.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/UserFacingWarningDetail.TypeConverter.cs index 3351b7efb623..2f108541293a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UserFacingWarningDetail.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/UserFacingWarningDetail.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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IUserFacingWarningDetail ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingWarningDetail ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingWarningDetail).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingWarningDetail).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UserFacingWarningDetail.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/UserFacingWarningDetail.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UserFacingWarningDetail.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/UserFacingWarningDetail.cs index bbe407a3a2ef..76f07d837f28 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UserFacingWarningDetail.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/UserFacingWarningDetail.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -11,8 +11,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201 /// 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.Api20231201.IUserFacingWarningDetail, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingWarningDetailInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingWarningDetail, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingWarningDetailInternal { /// Backing field for property. @@ -23,11 +23,11 @@ public partial class UserFacingWarningDetail : public string ResourceName { get => this._resourceName; set => this._resourceName = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingError _warning; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IUserFacingError Warning { get => (this._warning = this._warning ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.UserFacingError()); set => this._warning = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError Warning { get => (this._warning = this._warning ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.UserFacingError()); set => this._warning = value; } /// Creates an new instance. public UserFacingWarningDetail() @@ -53,8 +53,8 @@ public partial interface IUserFacingWarningDetail : ReadOnly = false, Description = @"Error details for the warning.", SerializedName = @"warning", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingError) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingError Warning { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError Warning { get; set; } } /// Warning object used by layers that have access to localized content, and propagate that to user @@ -64,7 +64,7 @@ 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.Api20231201.IUserFacingError Warning { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingError Warning { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UserFacingWarningDetail.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/UserFacingWarningDetail.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UserFacingWarningDetail.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/UserFacingWarningDetail.json.cs index 6603d75fc48d..25db6e559aef 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/UserFacingWarningDetail.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/UserFacingWarningDetail.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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -56,13 +56,13 @@ public partial class UserFacingWarningDetail 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.Api20231201.IUserFacingWarningDetail. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingWarningDetail. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingWarningDetail. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUserFacingWarningDetail. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUserFacingWarningDetail FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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; } @@ -105,7 +105,7 @@ internal UserFacingWarningDetail(Microsoft.Azure.PowerShell.Cmdlets.DataProtecti 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.Api20231201.UserFacingError.FromJson(__jsonWarning) : Warning;} + {_warning = If( json?.PropertyT("warning"), out var __jsonWarning) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.UserFacingError.FromJson(__jsonWarning) : Warning;} AfterFromJson(json); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ValidateCrossRegionRestoreRequestObject.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ValidateCrossRegionRestoreRequestObject.PowerShell.cs similarity index 85% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ValidateCrossRegionRestoreRequestObject.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ValidateCrossRegionRestoreRequestObject.PowerShell.cs index 29cccd773520..235370ffd2ed 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ValidateCrossRegionRestoreRequestObject.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ValidateCrossRegionRestoreRequestObject.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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,29 +55,29 @@ public partial class ValidateCrossRegionRestoreRequestObject 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.Api20231201.IValidateCrossRegionRestoreRequestObject DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateCrossRegionRestoreRequestObject DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ValidateCrossRegionRestoreRequestObject(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.Api20231201.IValidateCrossRegionRestoreRequestObject DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateCrossRegionRestoreRequestObject DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ValidateCrossRegionRestoreRequestObject(content); } @@ -90,7 +90,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateCrossRegionRestoreRequestObject FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateCrossRegionRestoreRequestObject FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. @@ -98,7 +98,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 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. @@ -113,17 +113,17 @@ internal ValidateCrossRegionRestoreRequestObject(global::System.Collections.IDic // actually deserialize if (content.Contains("RestoreRequestObject")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateCrossRegionRestoreRequestObjectInternal)this).RestoreRequestObject = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest) content.GetValueForProperty("RestoreRequestObject",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateCrossRegionRestoreRequestObjectInternal)this).RestoreRequestObject, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupRestoreRequestTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateCrossRegionRestoreRequestObjectInternal)this).RestoreRequestObject = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest) content.GetValueForProperty("RestoreRequestObject",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateCrossRegionRestoreRequestObjectInternal)this).RestoreRequestObject, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupRestoreRequestTypeConverter.ConvertFrom); } if (content.Contains("CrossRegionRestoreDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateCrossRegionRestoreRequestObjectInternal)this).CrossRegionRestoreDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreDetails) content.GetValueForProperty("CrossRegionRestoreDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateCrossRegionRestoreRequestObjectInternal)this).CrossRegionRestoreDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossRegionRestoreDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateCrossRegionRestoreRequestObjectInternal)this).CrossRegionRestoreDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreDetails) content.GetValueForProperty("CrossRegionRestoreDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateCrossRegionRestoreRequestObjectInternal)this).CrossRegionRestoreDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CrossRegionRestoreDetailsTypeConverter.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. @@ -138,11 +138,11 @@ internal ValidateCrossRegionRestoreRequestObject(global::System.Management.Autom // actually deserialize if (content.Contains("RestoreRequestObject")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateCrossRegionRestoreRequestObjectInternal)this).RestoreRequestObject = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest) content.GetValueForProperty("RestoreRequestObject",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateCrossRegionRestoreRequestObjectInternal)this).RestoreRequestObject, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupRestoreRequestTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateCrossRegionRestoreRequestObjectInternal)this).RestoreRequestObject = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest) content.GetValueForProperty("RestoreRequestObject",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateCrossRegionRestoreRequestObjectInternal)this).RestoreRequestObject, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupRestoreRequestTypeConverter.ConvertFrom); } if (content.Contains("CrossRegionRestoreDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateCrossRegionRestoreRequestObjectInternal)this).CrossRegionRestoreDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreDetails) content.GetValueForProperty("CrossRegionRestoreDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateCrossRegionRestoreRequestObjectInternal)this).CrossRegionRestoreDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossRegionRestoreDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateCrossRegionRestoreRequestObjectInternal)this).CrossRegionRestoreDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreDetails) content.GetValueForProperty("CrossRegionRestoreDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateCrossRegionRestoreRequestObjectInternal)this).CrossRegionRestoreDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CrossRegionRestoreDetailsTypeConverter.ConvertFrom); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ValidateCrossRegionRestoreRequestObject.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ValidateCrossRegionRestoreRequestObject.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ValidateCrossRegionRestoreRequestObject.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ValidateCrossRegionRestoreRequestObject.TypeConverter.cs index 5411046b57a3..c4ff8b764158 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ValidateCrossRegionRestoreRequestObject.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ValidateCrossRegionRestoreRequestObject.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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IValidateCrossRegionRestoreRequestObject ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateCrossRegionRestoreRequestObject ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateCrossRegionRestoreRequestObject).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateCrossRegionRestoreRequestObject).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ValidateCrossRegionRestoreRequestObject.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ValidateCrossRegionRestoreRequestObject.cs similarity index 80% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ValidateCrossRegionRestoreRequestObject.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ValidateCrossRegionRestoreRequestObject.cs index 236e4885bdad..8f4b2df50244 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ValidateCrossRegionRestoreRequestObject.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ValidateCrossRegionRestoreRequestObject.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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Cross Region Restore Request Object public partial class ValidateCrossRegionRestoreRequestObject : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateCrossRegionRestoreRequestObject, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateCrossRegionRestoreRequestObjectInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateCrossRegionRestoreRequestObject, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateCrossRegionRestoreRequestObjectInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreDetails _crossRegionRestoreDetail; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICrossRegionRestoreDetails CrossRegionRestoreDetail { get => (this._crossRegionRestoreDetail = this._crossRegionRestoreDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossRegionRestoreDetails()); set => this._crossRegionRestoreDetail = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreDetails CrossRegionRestoreDetail { get => (this._crossRegionRestoreDetail = this._crossRegionRestoreDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CrossRegionRestoreDetails()); set => this._crossRegionRestoreDetail = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest _restoreRequestObject; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRestoreRequest RestoreRequestObject { get => (this._restoreRequestObject = this._restoreRequestObject ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupRestoreRequest()); set => this._restoreRequestObject = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest RestoreRequestObject { get => (this._restoreRequestObject = this._restoreRequestObject ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupRestoreRequest()); set => this._restoreRequestObject = value; } /// Creates an new instance. public ValidateCrossRegionRestoreRequestObject() @@ -43,16 +43,16 @@ public partial interface IValidateCrossRegionRestoreRequestObject : ReadOnly = false, Description = @"Cross region restore details.", SerializedName = @"crossRegionRestoreDetails", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreDetails) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreDetails CrossRegionRestoreDetail { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreDetails) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRestoreRequest) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest RestoreRequestObject { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest RestoreRequestObject { get; set; } } /// Cross Region Restore Request Object @@ -60,9 +60,9 @@ internal partial interface IValidateCrossRegionRestoreRequestObjectInternal { /// Cross region restore details. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreDetails CrossRegionRestoreDetail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreDetails CrossRegionRestoreDetail { get; set; } /// Gets or sets the restore request object. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest RestoreRequestObject { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest RestoreRequestObject { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ValidateCrossRegionRestoreRequestObject.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ValidateCrossRegionRestoreRequestObject.json.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ValidateCrossRegionRestoreRequestObject.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ValidateCrossRegionRestoreRequestObject.json.cs index 264f5d31e508..d325c5f436ad 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ValidateCrossRegionRestoreRequestObject.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ValidateCrossRegionRestoreRequestObject.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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class ValidateCrossRegionRestoreRequestObject 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.Api20231201.IValidateCrossRegionRestoreRequestObject. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateCrossRegionRestoreRequestObject. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateCrossRegionRestoreRequestObject. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateCrossRegionRestoreRequestObject. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateCrossRegionRestoreRequestObject FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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; } @@ -104,8 +104,8 @@ internal ValidateCrossRegionRestoreRequestObject(Microsoft.Azure.PowerShell.Cmdl { return; } - {_restoreRequestObject = If( json?.PropertyT("restoreRequestObject"), out var __jsonRestoreRequestObject) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupRestoreRequest.FromJson(__jsonRestoreRequestObject) : RestoreRequestObject;} - {_crossRegionRestoreDetail = If( json?.PropertyT("crossRegionRestoreDetails"), out var __jsonCrossRegionRestoreDetails) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossRegionRestoreDetails.FromJson(__jsonCrossRegionRestoreDetails) : CrossRegionRestoreDetail;} + {_restoreRequestObject = If( json?.PropertyT("restoreRequestObject"), out var __jsonRestoreRequestObject) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupRestoreRequest.FromJson(__jsonRestoreRequestObject) : RestoreRequestObject;} + {_crossRegionRestoreDetail = If( json?.PropertyT("crossRegionRestoreDetails"), out var __jsonCrossRegionRestoreDetails) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CrossRegionRestoreDetails.FromJson(__jsonCrossRegionRestoreDetails) : CrossRegionRestoreDetail;} AfterFromJson(json); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ValidateForBackupRequest.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ValidateForBackupRequest.PowerShell.cs similarity index 87% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ValidateForBackupRequest.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ValidateForBackupRequest.PowerShell.cs index 8db6860ed136..bead6c5dd1a1 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ValidateForBackupRequest.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IValidateForBackupRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IValidateForBackupRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateForBackupRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ValidateForBackupRequest(content); } @@ -87,7 +87,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateForBackupRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api202312 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.Api20231201.IValidateForBackupRequestInternal)this).BackupInstance = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstance) content.GetValueForProperty("BackupInstance",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateForBackupRequestInternal)this).BackupInstance, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupInstanceTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateForBackupRequestInternal)this).BackupInstance = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstance) content.GetValueForProperty("BackupInstance",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateForBackupRequestInternal)this).BackupInstance, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IValidateForBackupRequestInternal)this).BackupInstance = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstance) content.GetValueForProperty("BackupInstance",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateForBackupRequestInternal)this).BackupInstance, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupInstanceTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateForBackupRequestInternal)this).BackupInstance = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstance) content.GetValueForProperty("BackupInstance",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateForBackupRequestInternal)this).BackupInstance, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupInstanceTypeConverter.ConvertFrom); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ValidateForBackupRequest.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ValidateForBackupRequest.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ValidateForBackupRequest.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ValidateForBackupRequest.TypeConverter.cs index 18eab4c93121..edb4084a465f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ValidateForBackupRequest.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IValidateForBackupRequest ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateForBackupRequest ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateForBackupRequest).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateForBackupRequest).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ValidateForBackupRequest.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ValidateForBackupRequest.cs similarity index 82% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ValidateForBackupRequest.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ValidateForBackupRequest.cs index 1090717638c6..a733d0dbf0e6 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ValidateForBackupRequest.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Validate for backup request public partial class ValidateForBackupRequest : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateForBackupRequest, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateForBackupRequestInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateForBackupRequest, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateForBackupRequestInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstance _backupInstance; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstance _backupInstance; /// Backup Instance [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstance BackupInstance { get => (this._backupInstance = this._backupInstance ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupInstance()); set => this._backupInstance = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstance BackupInstance { get => (this._backupInstance = this._backupInstance ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupInstance) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstance BackupInstance { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstance) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstance BackupInstance { get; set; } } /// Validate for backup request @@ -45,7 +45,7 @@ internal partial interface IValidateForBackupRequestInternal { /// Backup Instance - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstance BackupInstance { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstance BackupInstance { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ValidateForBackupRequest.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ValidateForBackupRequest.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ValidateForBackupRequest.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ValidateForBackupRequest.json.cs index f866799cbfdc..6c54719d62af 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ValidateForBackupRequest.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IValidateForBackupRequest. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateForBackupRequest. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateForBackupRequest. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateForBackupRequest. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateForBackupRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.BackupInstance.FromJson(__jsonBackupInstance) : BackupInstance;} + {_backupInstance = If( json?.PropertyT("backupInstance"), out var __jsonBackupInstance) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupInstance.FromJson(__jsonBackupInstance) : BackupInstance;} AfterFromJson(json); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ValidateRestoreRequestObject.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ValidateRestoreRequestObject.PowerShell.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ValidateRestoreRequestObject.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ValidateRestoreRequestObject.PowerShell.cs index 9b21cc2b62fa..af528976be79 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ValidateRestoreRequestObject.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IValidateRestoreRequestObject DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IValidateRestoreRequestObject DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateRestoreRequestObject DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ValidateRestoreRequestObject(content); } @@ -87,7 +87,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202312 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateRestoreRequestObject FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api202312 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.Api20231201.IValidateRestoreRequestObjectInternal)this).RestoreRequestObject = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest) content.GetValueForProperty("RestoreRequestObject",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateRestoreRequestObjectInternal)this).RestoreRequestObject, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupRestoreRequestTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateRestoreRequestObjectInternal)this).RestoreRequestObject = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest) content.GetValueForProperty("RestoreRequestObject",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateRestoreRequestObjectInternal)this).RestoreRequestObject, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IValidateRestoreRequestObjectInternal)this).RestoreRequestObject = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest) content.GetValueForProperty("RestoreRequestObject",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateRestoreRequestObjectInternal)this).RestoreRequestObject, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupRestoreRequestTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateRestoreRequestObjectInternal)this).RestoreRequestObject = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest) content.GetValueForProperty("RestoreRequestObject",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateRestoreRequestObjectInternal)this).RestoreRequestObject, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupRestoreRequestTypeConverter.ConvertFrom); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ValidateRestoreRequestObject.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ValidateRestoreRequestObject.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ValidateRestoreRequestObject.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ValidateRestoreRequestObject.TypeConverter.cs index 96fc19e6877d..4a91451cc326 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ValidateRestoreRequestObject.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IValidateRestoreRequestObject ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateRestoreRequestObject ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateRestoreRequestObject).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateRestoreRequestObject).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ValidateRestoreRequestObject.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ValidateRestoreRequestObject.cs similarity index 83% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ValidateRestoreRequestObject.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ValidateRestoreRequestObject.cs index 92efc6bf7df4..03d42fba4175 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ValidateRestoreRequestObject.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Validate restore request object public partial class ValidateRestoreRequestObject : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateRestoreRequestObject, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateRestoreRequestObjectInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateRestoreRequestObject, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateRestoreRequestObjectInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest _restoreRequestObject; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRestoreRequest RestoreRequestObject { get => (this._restoreRequestObject = this._restoreRequestObject ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupRestoreRequest()); set => this._restoreRequestObject = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest RestoreRequestObject { get => (this._restoreRequestObject = this._restoreRequestObject ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRestoreRequest) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest RestoreRequestObject { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRestoreRequest RestoreRequestObject { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest RestoreRequestObject { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ValidateRestoreRequestObject.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ValidateRestoreRequestObject.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ValidateRestoreRequestObject.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/ValidateRestoreRequestObject.json.cs index c6eea3f8ba24..4a7cc6e6c9b0 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231201/ValidateRestoreRequestObject.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20240401/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.Api20231201 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401 { 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.Api20231201.IValidateRestoreRequestObject. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateRestoreRequestObject. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateRestoreRequestObject. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateRestoreRequestObject. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateRestoreRequestObject FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.AzureBackupRestoreRequest.FromJson(__jsonRestoreRequestObject) : RestoreRequestObject;} + {_restoreRequestObject = If( json?.PropertyT("restoreRequestObject"), out var __jsonRestoreRequestObject) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupRestoreRequest.FromJson(__jsonRestoreRequestObject) : RestoreRequestObject;} AfterFromJson(json); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/DataProtectionIdentity.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/DataProtectionIdentity.PowerShell.cs index 6c5168faf516..cf898b497414 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/DataProtectionIdentity.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/DataProtectionIdentity.PowerShell.cs @@ -99,6 +99,10 @@ internal DataProtectionIdentity(global::System.Collections.IDictionary content) { ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentityInternal)this).RecoveryPointId = (string) content.GetValueForProperty("RecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentityInternal)this).RecoveryPointId, global::System.Convert.ToString); } + if (content.Contains("ResourceId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentityInternal)this).ResourceId = (string) content.GetValueForProperty("ResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentityInternal)this).ResourceId, global::System.Convert.ToString); + } if (content.Contains("JobId")) { ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentityInternal)this).JobId = (string) content.GetValueForProperty("JobId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentityInternal)this).JobId, global::System.Convert.ToString); @@ -168,6 +172,10 @@ internal DataProtectionIdentity(global::System.Management.Automation.PSObject co { ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentityInternal)this).RecoveryPointId = (string) content.GetValueForProperty("RecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentityInternal)this).RecoveryPointId, global::System.Convert.ToString); } + if (content.Contains("ResourceId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentityInternal)this).ResourceId = (string) content.GetValueForProperty("ResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentityInternal)this).ResourceId, global::System.Convert.ToString); + } if (content.Contains("JobId")) { ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentityInternal)this).JobId = (string) content.GetValueForProperty("JobId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentityInternal)this).JobId, global::System.Convert.ToString); diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/DataProtectionIdentity.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/DataProtectionIdentity.cs index 50d01f8905e4..95947cf440bd 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/DataProtectionIdentity.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/DataProtectionIdentity.cs @@ -87,6 +87,13 @@ public partial class DataProtectionIdentity : [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] public string ResourceGuardsName { get => this._resourceGuardsName; set => this._resourceGuardsName = value; } + /// Backing field for property. + private string _resourceId; + + /// ARM path of the resource to be protected using Microsoft.DataProtection + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public string ResourceId { get => this._resourceId; set => this._resourceId = value; } + /// Backing field for property. private string _subscriptionId; @@ -200,6 +207,14 @@ public partial interface IDataProtectionIdentity : SerializedName = @"resourceGuardsName", PossibleTypes = new [] { typeof(string) })] string ResourceGuardsName { get; set; } + /// ARM path of the resource to be protected using Microsoft.DataProtection + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"ARM path of the resource to be protected using Microsoft.DataProtection", + SerializedName = @"resourceId", + PossibleTypes = new [] { typeof(string) })] + string ResourceId { get; set; } /// The ID of the target subscription. The value must be an UUID. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -245,6 +260,8 @@ internal partial interface IDataProtectionIdentityInternal string ResourceGuardProxyName { get; set; } /// The name of ResourceGuard string ResourceGuardsName { get; set; } + /// ARM path of the resource to be protected using Microsoft.DataProtection + string ResourceId { get; set; } /// The ID of the target subscription. The value must be an UUID. string SubscriptionId { get; set; } /// The name of the backup vault. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/DataProtectionIdentity.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/DataProtectionIdentity.json.cs index 3024455858ce..34dcdd028cc0 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/DataProtectionIdentity.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/DataProtectionIdentity.json.cs @@ -72,6 +72,7 @@ internal DataProtectionIdentity(Microsoft.Azure.PowerShell.Cmdlets.DataProtectio {_backupPolicyName = If( json?.PropertyT("backupPolicyName"), out var __jsonBackupPolicyName) ? (string)__jsonBackupPolicyName : (string)BackupPolicyName;} {_backupInstanceName = If( json?.PropertyT("backupInstanceName"), out var __jsonBackupInstanceName) ? (string)__jsonBackupInstanceName : (string)BackupInstanceName;} {_recoveryPointId = If( json?.PropertyT("recoveryPointId"), out var __jsonRecoveryPointId) ? (string)__jsonRecoveryPointId : (string)RecoveryPointId;} + {_resourceId = If( json?.PropertyT("resourceId"), out var __jsonResourceId) ? (string)__jsonResourceId : (string)ResourceId;} {_jobId = If( json?.PropertyT("jobId"), out var __jsonJobId) ? (string)__jsonJobId : (string)JobId;} {_resourceGuardsName = If( json?.PropertyT("resourceGuardsName"), out var __jsonResourceGuardsName) ? (string)__jsonResourceGuardsName : (string)ResourceGuardsName;} {_requestName = If( json?.PropertyT("requestName"), out var __jsonRequestName) ? (string)__jsonRequestName : (string)RequestName;} @@ -119,6 +120,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode T AddIf( null != (((object)this._backupPolicyName)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString(this._backupPolicyName.ToString()) : null, "backupPolicyName" ,container.Add ); AddIf( null != (((object)this._backupInstanceName)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString(this._backupInstanceName.ToString()) : null, "backupInstanceName" ,container.Add ); AddIf( null != (((object)this._recoveryPointId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString(this._recoveryPointId.ToString()) : null, "recoveryPointId" ,container.Add ); + AddIf( null != (((object)this._resourceId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString(this._resourceId.ToString()) : null, "resourceId" ,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 ); AddIf( null != (((object)this._resourceGuardsName)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString(this._resourceGuardsName.ToString()) : null, "resourceGuardsName" ,container.Add ); AddIf( null != (((object)this._requestName)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString(this._requestName.ToString()) : null, "requestName" ,container.Add ); diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Support/BcdrSecurityLevel.Completer.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Support/BcdrSecurityLevel.Completer.cs new file mode 100644 index 000000000000..5e81c6e20419 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Support/BcdrSecurityLevel.Completer.cs @@ -0,0 +1,51 @@ +// 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 +{ + + /// Security Level of Backup Vault + [System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.BcdrSecurityLevelTypeConverter))] + public partial struct BcdrSecurityLevel : + 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) || "Poor".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("'Poor'", "Poor", global::System.Management.Automation.CompletionResultType.ParameterValue, "Poor"); + } + if (global::System.String.IsNullOrEmpty(wordToComplete) || "Fair".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("'Fair'", "Fair", global::System.Management.Automation.CompletionResultType.ParameterValue, "Fair"); + } + if (global::System.String.IsNullOrEmpty(wordToComplete) || "Good".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("'Good'", "Good", global::System.Management.Automation.CompletionResultType.ParameterValue, "Good"); + } + if (global::System.String.IsNullOrEmpty(wordToComplete) || "Excellent".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("'Excellent'", "Excellent", global::System.Management.Automation.CompletionResultType.ParameterValue, "Excellent"); + } + if (global::System.String.IsNullOrEmpty(wordToComplete) || "NotSupported".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("'NotSupported'", "NotSupported", global::System.Management.Automation.CompletionResultType.ParameterValue, "NotSupported"); + } + } + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Support/BcdrSecurityLevel.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Support/BcdrSecurityLevel.TypeConverter.cs new file mode 100644 index 000000000000..3552cc2af168 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Support/BcdrSecurityLevel.TypeConverter.cs @@ -0,0 +1,59 @@ +// 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 +{ + + /// Security Level of Backup Vault + public partial class BcdrSecurityLevelTypeConverter : + 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) => BcdrSecurityLevel.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/BcdrSecurityLevel.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Support/BcdrSecurityLevel.cs new file mode 100644 index 000000000000..7c6ade9ad334 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Support/BcdrSecurityLevel.cs @@ -0,0 +1,104 @@ +// 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 +{ + + /// Security Level of Backup Vault + public partial struct BcdrSecurityLevel : + System.IEquatable + { + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.BcdrSecurityLevel Excellent = @"Excellent"; + + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.BcdrSecurityLevel Fair = @"Fair"; + + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.BcdrSecurityLevel Good = @"Good"; + + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.BcdrSecurityLevel NotSupported = @"NotSupported"; + + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.BcdrSecurityLevel Poor = @"Poor"; + + /// the value for an instance of the Enum. + private string _value { get; set; } + + /// Creates an instance of the Enum class. + /// the value to create an instance for. + private BcdrSecurityLevel(string underlyingValue) + { + this._value = underlyingValue; + } + + /// Conversion from arbitrary object to BcdrSecurityLevel + /// the value to convert to an instance of . + internal static object CreateFrom(object value) + { + return new BcdrSecurityLevel(global::System.Convert.ToString(value)); + } + + /// Compares values of enum type BcdrSecurityLevel + /// 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.BcdrSecurityLevel e) + { + return _value.Equals(e._value); + } + + /// Compares values of enum type BcdrSecurityLevel (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 BcdrSecurityLevel && Equals((BcdrSecurityLevel)obj); + } + + /// Returns hashCode for enum BcdrSecurityLevel + /// The hashCode of the value + public override int GetHashCode() + { + return this._value.GetHashCode(); + } + + /// Returns string representation for BcdrSecurityLevel + /// A string for this value. + public override string ToString() + { + return this._value; + } + + /// Implicit operator to convert string to BcdrSecurityLevel + /// the value to convert to an instance of . + + public static implicit operator BcdrSecurityLevel(string value) + { + return new BcdrSecurityLevel(value); + } + + /// Implicit operator to convert BcdrSecurityLevel to string + /// the value to convert to an instance of . + + public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.BcdrSecurityLevel e) + { + return e._value; + } + + /// Overriding != operator for enum BcdrSecurityLevel + /// 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.BcdrSecurityLevel e1, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.BcdrSecurityLevel e2) + { + return !e2.Equals(e1); + } + + /// Overriding == operator for enum BcdrSecurityLevel + /// 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.BcdrSecurityLevel e1, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.BcdrSecurityLevel e2) + { + return e2.Equals(e1); + } + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Support/EncryptionState.Completer.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Support/EncryptionState.Completer.cs new file mode 100644 index 000000000000..dec05e26b5dc --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Support/EncryptionState.Completer.cs @@ -0,0 +1,43 @@ +// 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 +{ + + /// Encryption state of the Backup Vault. + [System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.EncryptionStateTypeConverter))] + public partial struct EncryptionState : + 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) || "Enabled".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("'Enabled'", "Enabled", global::System.Management.Automation.CompletionResultType.ParameterValue, "Enabled"); + } + if (global::System.String.IsNullOrEmpty(wordToComplete) || "Disabled".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("'Disabled'", "Disabled", global::System.Management.Automation.CompletionResultType.ParameterValue, "Disabled"); + } + if (global::System.String.IsNullOrEmpty(wordToComplete) || "Inconsistent".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("'Inconsistent'", "Inconsistent", global::System.Management.Automation.CompletionResultType.ParameterValue, "Inconsistent"); + } + } + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Support/EncryptionState.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Support/EncryptionState.TypeConverter.cs new file mode 100644 index 000000000000..276d137984df --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Support/EncryptionState.TypeConverter.cs @@ -0,0 +1,59 @@ +// 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 +{ + + /// Encryption state of the Backup Vault. + public partial class EncryptionStateTypeConverter : + 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) => EncryptionState.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/EncryptionState.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Support/EncryptionState.cs new file mode 100644 index 000000000000..8897ab0f311d --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Support/EncryptionState.cs @@ -0,0 +1,108 @@ +// 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 +{ + + /// Encryption state of the Backup Vault. + public partial struct EncryptionState : + System.IEquatable + { + /// + /// CMK encryption is disabled on the Backup Vault. User can not set this state once Encryption State is 'Enabled'. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.EncryptionState Disabled = @"Disabled"; + + /// CMK encryption is enabled on the Backup Vault + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.EncryptionState Enabled = @"Enabled"; + + /// + /// CMK encryption is in inconsistent state on the Backup Vault. This state indicates that user needs to retry the encryption + /// settings operation immediately to correct the state. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.EncryptionState Inconsistent = @"Inconsistent"; + + /// the value for an instance of the Enum. + private string _value { get; set; } + + /// Conversion from arbitrary object to EncryptionState + /// the value to convert to an instance of . + internal static object CreateFrom(object value) + { + return new EncryptionState(global::System.Convert.ToString(value)); + } + + /// Creates an instance of the Enum class. + /// the value to create an instance for. + private EncryptionState(string underlyingValue) + { + this._value = underlyingValue; + } + + /// Compares values of enum type EncryptionState + /// 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.EncryptionState e) + { + return _value.Equals(e._value); + } + + /// Compares values of enum type EncryptionState (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 EncryptionState && Equals((EncryptionState)obj); + } + + /// Returns hashCode for enum EncryptionState + /// The hashCode of the value + public override int GetHashCode() + { + return this._value.GetHashCode(); + } + + /// Returns string representation for EncryptionState + /// A string for this value. + public override string ToString() + { + return this._value; + } + + /// Implicit operator to convert string to EncryptionState + /// the value to convert to an instance of . + + public static implicit operator EncryptionState(string value) + { + return new EncryptionState(value); + } + + /// Implicit operator to convert EncryptionState to string + /// the value to convert to an instance of . + + public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.EncryptionState e) + { + return e._value; + } + + /// Overriding != operator for enum EncryptionState + /// 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.EncryptionState e1, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.EncryptionState e2) + { + return !e2.Equals(e1); + } + + /// Overriding == operator for enum EncryptionState + /// 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.EncryptionState e1, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.EncryptionState e2) + { + return e2.Equals(e1); + } + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Support/IdentityType.Completer.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Support/IdentityType.Completer.cs new file mode 100644 index 000000000000..bfef79f41de9 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Support/IdentityType.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 +{ + + /// + /// The identity type. 'SystemAssigned' and 'UserAssigned' are mutually exclusive. 'SystemAssigned' will use implicitly created + /// managed identity. + /// + [System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.IdentityTypeTypeConverter))] + public partial struct IdentityType : + 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) || "SystemAssigned".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("'SystemAssigned'", "SystemAssigned", global::System.Management.Automation.CompletionResultType.ParameterValue, "SystemAssigned"); + } + if (global::System.String.IsNullOrEmpty(wordToComplete) || "UserAssigned".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("'UserAssigned'", "UserAssigned", global::System.Management.Automation.CompletionResultType.ParameterValue, "UserAssigned"); + } + } + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Support/IdentityType.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Support/IdentityType.TypeConverter.cs new file mode 100644 index 000000000000..9ea335c0fb07 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Support/IdentityType.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 +{ + + /// + /// The identity type. 'SystemAssigned' and 'UserAssigned' are mutually exclusive. 'SystemAssigned' will use implicitly created + /// managed identity. + /// + public partial class IdentityTypeTypeConverter : + 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) => IdentityType.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/IdentityType.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Support/IdentityType.cs new file mode 100644 index 000000000000..fbd88879ac69 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Support/IdentityType.cs @@ -0,0 +1,101 @@ +// 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 +{ + + /// + /// The identity type. 'SystemAssigned' and 'UserAssigned' are mutually exclusive. 'SystemAssigned' will use implicitly created + /// managed identity. + /// + public partial struct IdentityType : + System.IEquatable + { + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.IdentityType SystemAssigned = @"SystemAssigned"; + + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.IdentityType UserAssigned = @"UserAssigned"; + + /// the value for an instance of the Enum. + private string _value { get; set; } + + /// Conversion from arbitrary object to IdentityType + /// the value to convert to an instance of . + internal static object CreateFrom(object value) + { + return new IdentityType(global::System.Convert.ToString(value)); + } + + /// Compares values of enum type IdentityType + /// 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.IdentityType e) + { + return _value.Equals(e._value); + } + + /// Compares values of enum type IdentityType (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 IdentityType && Equals((IdentityType)obj); + } + + /// Returns hashCode for enum IdentityType + /// 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 IdentityType(string underlyingValue) + { + this._value = underlyingValue; + } + + /// Returns string representation for IdentityType + /// A string for this value. + public override string ToString() + { + return this._value; + } + + /// Implicit operator to convert string to IdentityType + /// the value to convert to an instance of . + + public static implicit operator IdentityType(string value) + { + return new IdentityType(value); + } + + /// Implicit operator to convert IdentityType to string + /// the value to convert to an instance of . + + public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.IdentityType e) + { + return e._value; + } + + /// Overriding != operator for enum IdentityType + /// 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.IdentityType e1, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.IdentityType e2) + { + return !e2.Equals(e1); + } + + /// Overriding == operator for enum IdentityType + /// 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.IdentityType e1, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.IdentityType e2) + { + return e2.Equals(e1); + } + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Support/InfrastructureEncryptionState.Completer.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Support/InfrastructureEncryptionState.Completer.cs new file mode 100644 index 000000000000..5a5a09799946 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Support/InfrastructureEncryptionState.Completer.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.Support +{ + + /// Enabling/Disabling the Double Encryption state + [System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.InfrastructureEncryptionStateTypeConverter))] + public partial struct InfrastructureEncryptionState : + 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) || "Enabled".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("'Enabled'", "Enabled", global::System.Management.Automation.CompletionResultType.ParameterValue, "Enabled"); + } + if (global::System.String.IsNullOrEmpty(wordToComplete) || "Disabled".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("'Disabled'", "Disabled", global::System.Management.Automation.CompletionResultType.ParameterValue, "Disabled"); + } + } + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Support/InfrastructureEncryptionState.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Support/InfrastructureEncryptionState.TypeConverter.cs new file mode 100644 index 000000000000..1d956a583402 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Support/InfrastructureEncryptionState.TypeConverter.cs @@ -0,0 +1,59 @@ +// 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 +{ + + /// Enabling/Disabling the Double Encryption state + public partial class InfrastructureEncryptionStateTypeConverter : + 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) => InfrastructureEncryptionState.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/InfrastructureEncryptionState.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Support/InfrastructureEncryptionState.cs new file mode 100644 index 000000000000..5ff5ae93f3dd --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Support/InfrastructureEncryptionState.cs @@ -0,0 +1,104 @@ +// 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 +{ + + /// Enabling/Disabling the Double Encryption state + public partial struct InfrastructureEncryptionState : + System.IEquatable + { + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.InfrastructureEncryptionState Disabled = @"Disabled"; + + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.InfrastructureEncryptionState Enabled = @"Enabled"; + + /// + /// the value for an instance of the Enum. + /// + private string _value { get; set; } + + /// Conversion from arbitrary object to InfrastructureEncryptionState + /// the value to convert to an instance of . + internal static object CreateFrom(object value) + { + return new InfrastructureEncryptionState(global::System.Convert.ToString(value)); + } + + /// Compares values of enum type InfrastructureEncryptionState + /// 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.InfrastructureEncryptionState e) + { + return _value.Equals(e._value); + } + + /// + /// Compares values of enum type InfrastructureEncryptionState (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 InfrastructureEncryptionState && Equals((InfrastructureEncryptionState)obj); + } + + /// Returns hashCode for enum InfrastructureEncryptionState + /// 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 InfrastructureEncryptionState(string underlyingValue) + { + this._value = underlyingValue; + } + + /// Returns string representation for InfrastructureEncryptionState + /// A string for this value. + public override string ToString() + { + return this._value; + } + + /// Implicit operator to convert string to InfrastructureEncryptionState + /// the value to convert to an instance of . + + public static implicit operator InfrastructureEncryptionState(string value) + { + return new InfrastructureEncryptionState(value); + } + + /// Implicit operator to convert InfrastructureEncryptionState to string + /// the value to convert to an instance of . + + public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.InfrastructureEncryptionState e) + { + return e._value; + } + + /// Overriding != operator for enum InfrastructureEncryptionState + /// 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.InfrastructureEncryptionState e1, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.InfrastructureEncryptionState e2) + { + return !e2.Equals(e1); + } + + /// Overriding == operator for enum InfrastructureEncryptionState + /// 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.InfrastructureEncryptionState e1, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.InfrastructureEncryptionState 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 ff428f176739..0e3ce7ed102d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/BackupAzDataProtectionBackupInstanceAdhoc_BackupExpanded.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/BackupAzDataProtectionBackupInstanceAdhoc_BackupExpanded.cs @@ -13,10 +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.Api20231201.IOperationJobExtendedInfo))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/backup", ApiVersion = "2024-04-01")] public partial class BackupAzDataProtectionBackupInstanceAdhoc_BackupExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -35,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.Api20231201.ITriggerBackupRequest _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.TriggerBackupRequest(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerBackupRequest _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.TriggerBackupRequest(); /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] @@ -199,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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. @@ -481,12 +481,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -503,7 +503,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 } @@ -521,12 +521,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.Api20231201.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -538,7 +538,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 37daafa07b38..81583c5b1ee8 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/BackupAzDataProtectionBackupInstanceAdhoc_BackupViaIdentityExpanded.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/BackupAzDataProtectionBackupInstanceAdhoc_BackupViaIdentityExpanded.cs @@ -13,10 +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.Api20231201.IOperationJobExtendedInfo))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/backup", ApiVersion = "2024-04-01")] public partial class BackupAzDataProtectionBackupInstanceAdhoc_BackupViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -35,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.Api20231201.ITriggerBackupRequest _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.TriggerBackupRequest(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ITriggerBackupRequest _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.TriggerBackupRequest(); /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] @@ -147,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 @@ -450,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -472,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 { body=_parametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -490,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.Api20231201.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -507,7 +507,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 321be97c0178..e9824fc1095c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/FindAzDataProtectionRestorableTimeRange_FindExpanded.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/FindAzDataProtectionRestorableTimeRange_FindExpanded.cs @@ -13,10 +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.Api20231201.IAzureBackupFindRestorableTimeRangesResponseResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/findRestorableTimeRanges", ApiVersion = "2024-04-01")] public partial class FindAzDataProtectionRestorableTimeRange_FindExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -35,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.Api20231201.IAzureBackupFindRestorableTimeRangesRequest _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupFindRestorableTimeRangesRequest(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesRequest _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupFindRestorableTimeRangesRequest(); /// Backing field for property. private string _backupInstanceName; @@ -198,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupFindRestorableTimeRangesResponseResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -423,12 +423,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -445,7 +445,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 } @@ -463,12 +463,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.Api20231201.IAzureBackupFindRestorableTimeRangesResponseResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -480,7 +480,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesResponseResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 7e305aeb3392..6cf4a80fbdc8 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupInstance_Get.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupInstance_Get.cs @@ -13,10 +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.Api20231201.IBackupInstanceResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}", ApiVersion = "2024-04-01")] public partial class GetAzDataProtectionBackupInstance_Get : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -162,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupInstanceResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -387,12 +387,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -409,7 +409,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 } @@ -427,12 +427,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.Api20231201.IBackupInstanceResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -444,7 +444,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 5f374dd1b260..6c0bebeb5180 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupInstance_GetViaIdentity.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupInstance_GetViaIdentity.cs @@ -13,10 +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.Api20231201.IBackupInstanceResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}", ApiVersion = "2024-04-01")] public partial class GetAzDataProtectionBackupInstance_GetViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -109,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupInstanceResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -355,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -377,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 { }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -395,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.Api20231201.IBackupInstanceResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -412,7 +412,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 59114496219d..abd0fa0d9e90 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupInstance_List.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupInstance_List.cs @@ -13,10 +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.Api20231201.IBackupInstanceResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances", ApiVersion = "2024-04-01")] public partial class GetAzDataProtectionBackupInstance_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -147,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupInstanceResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -372,12 +372,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -394,7 +394,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 } @@ -412,12 +412,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.Api20231201.IBackupInstanceResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/GetAzDataProtectionBackupInstancesExtensionRouting_List.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupInstancesExtensionRouting_List.cs new file mode 100644 index 000000000000..226618b6c42f --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupInstancesExtensionRouting_List.cs @@ -0,0 +1,403 @@ +// 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; + + /// Gets a list of backup instances associated with a tracked resource + /// + /// [OpenAPI] List=>GET:"/{resourceId}/providers/Microsoft.DataProtection/backupInstances" + /// + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzDataProtectionBackupInstancesExtensionRouting_List")] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource))] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Gets a list of backup instances associated with a tracked resource")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/{resourceId}/providers/Microsoft.DataProtection/backupInstances", ApiVersion = "2024-04-01")] + public partial class GetAzDataProtectionBackupInstancesExtensionRouting_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; } + + /// 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; } } + + /// + /// 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 _resourceId; + + /// ARM path of the resource to be protected using Microsoft.DataProtection + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "ARM path of the resource to be protected using Microsoft.DataProtection")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"ARM path of the resource to be protected using Microsoft.DataProtection", + SerializedName = @"resourceId", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Path)] + public string ResourceId { get => this._resourceId; set => this._resourceId = 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.Api20240401.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.Api20240401.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); + + /// + /// (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() + { + var telemetryInfo = Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.GetTelemetryInfo?.Invoke(__correlationId); + if (telemetryInfo != null) + { + telemetryInfo.TryGetValue("ShowSecretsWarning", out var showSecretsWarning); + telemetryInfo.TryGetValue("SanitizedProperties", out var sanitizedProperties); + telemetryInfo.TryGetValue("InvocationName", out var invocationName); + if (showSecretsWarning == "true") + { + if (string.IsNullOrEmpty(sanitizedProperties)) + { + WriteWarning($"The output of cmdlet {invocationName} may compromise security by showing secrets. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + else + { + WriteWarning($"The output of cmdlet {invocationName} may compromise security by showing the following secrets: {sanitizedProperties}. Learn more at https://go.microsoft.com/fwlink/?linkid=2258844"); + } + } + } + } + + /// + /// Intializes a new instance of the cmdlet class. + /// + public GetAzDataProtectionBackupInstancesExtensionRouting_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 + 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.BackupInstancesExtensionRoutingList(ResourceId, 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 { ResourceId=ResourceId}) + { + 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(); + } + + /// + new protected void WriteObject(object sendToPipeline) + { + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline); + } + + /// + /// + new protected void WriteObject(object sendToPipeline, bool enumerateCollection) + { + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.SanitizeOutput?.Invoke(sendToPipeline, __correlationId); + base.WriteObject(sendToPipeline, enumerateCollection); + } + + /// + /// 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.Api20240401.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 { ResourceId=ResourceId }) + { + 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 { ResourceId=ResourceId }) + { + 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.Api20240401.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) + { + 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/GetAzDataProtectionBackupPolicy_Get.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupPolicy_Get.cs index 8b33f5ffb5b5..44788fe086d8 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupPolicy_Get.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupPolicy_Get.cs @@ -13,10 +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.Api20231201.IBaseBackupPolicyResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupPolicies/{backupPolicyName}", ApiVersion = "2024-04-01")] public partial class GetAzDataProtectionBackupPolicy_Get : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -161,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBaseBackupPolicyResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -386,12 +386,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -408,7 +408,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 } @@ -426,12 +426,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.Api20231201.IBaseBackupPolicyResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -443,7 +443,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 2f6f10e5c929..775d25a7f8ae 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupPolicy_GetViaIdentity.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupPolicy_GetViaIdentity.cs @@ -13,10 +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.Api20231201.IBaseBackupPolicyResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupPolicies/{backupPolicyName}", ApiVersion = "2024-04-01")] public partial class GetAzDataProtectionBackupPolicy_GetViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -109,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBaseBackupPolicyResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -355,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -377,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 { }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -395,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.Api20231201.IBaseBackupPolicyResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -412,7 +412,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 32a077a3b55b..847a6374aafa 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupPolicy_List.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupPolicy_List.cs @@ -13,10 +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.Api20231201.IBaseBackupPolicyResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupPolicies", ApiVersion = "2024-04-01")] public partial class GetAzDataProtectionBackupPolicy_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -147,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBaseBackupPolicyResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -372,12 +372,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -394,7 +394,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 } @@ -412,12 +412,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.Api20231201.IBaseBackupPolicyResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 fdc5feda9354..1488662e0788 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupVault_Get.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupVault_Get.cs @@ -13,10 +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.Api20231201.IBackupVaultResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/backupVaults", ApiVersion = "2024-04-01")] public partial class GetAzDataProtectionBackupVault_Get : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -119,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupVaultResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -344,12 +344,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -366,7 +366,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 } @@ -384,12 +384,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.Api20231201.IBackupVaultResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 445801d8acc8..16e24c4ea3cb 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupVault_Get1.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupVault_Get1.cs @@ -13,10 +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.Api20231201.IBackupVaultResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults", ApiVersion = "2024-04-01")] public partial class GetAzDataProtectionBackupVault_Get1 : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -133,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupVaultResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -358,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -380,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 { ResourceGroupName=ResourceGroupName, SubscriptionId=SubscriptionId }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -398,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.Api20231201.IBackupVaultResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 96b44a74c807..60f57709acee 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupVault_Get2.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupVault_Get2.cs @@ -13,10 +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.Api20231201.IBackupVaultResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}", ApiVersion = "2024-04-01")] public partial class GetAzDataProtectionBackupVault_Get2 : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -147,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupVaultResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -372,12 +372,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -394,7 +394,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 } @@ -412,12 +412,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.Api20231201.IBackupVaultResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -429,7 +429,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 a57ab4537093..b7751d110a53 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupVault_GetViaIdentity.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupVault_GetViaIdentity.cs @@ -13,10 +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.Api20231201.IBackupVaultResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/backupVaults", ApiVersion = "2024-04-01")] public partial class GetAzDataProtectionBackupVault_GetViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -109,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupVaultResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -343,12 +343,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -365,7 +365,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 } @@ -383,12 +383,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.Api20231201.IBackupVaultResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ac42dc58ade6..763f58c89cf9 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupVault_GetViaIdentity1.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupVault_GetViaIdentity1.cs @@ -14,10 +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.Api20231201.IBackupVaultResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults", ApiVersion = "2024-04-01")] public partial class GetAzDataProtectionBackupVault_GetViaIdentity1 : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -110,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupVaultResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -348,12 +348,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -370,7 +370,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 } @@ -388,12 +388,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.Api20231201.IBackupVaultResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 14c7e6bc0622..fca35b514914 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupVault_GetViaIdentity2.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupVault_GetViaIdentity2.cs @@ -14,10 +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.Api20231201.IBackupVaultResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}", ApiVersion = "2024-04-01")] public partial class GetAzDataProtectionBackupVault_GetViaIdentity2 : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -110,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupVaultResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -352,12 +352,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -374,7 +374,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 } @@ -392,12 +392,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.Api20231201.IBackupVaultResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -409,7 +409,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 index 200f8e8434ff..54125fa36402 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionCrossRegionRestoreJobDetail_Get.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionCrossRegionRestoreJobDetail_Get.cs @@ -14,10 +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, @"AzDataProtectionCrossRegionRestoreJobDetail_Get", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/fetchCrossRegionRestoreJob", ApiVersion = "2024-04-01")] public partial class GetAzDataProtectionCrossRegionRestoreJobDetail_Get : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -91,7 +91,7 @@ public partial class GetAzDataProtectionCrossRegionRestoreJobDetail_Get : global 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.Api20231201.ICrossRegionRestoreJobRequest _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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)] @@ -100,8 +100,8 @@ public partial class GetAzDataProtectionCrossRegionRestoreJobDetail_Get : global ReadOnly = false, Description = @"Details of CRR Job to be fetched", SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreJobRequest) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreJobRequest Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobRequest) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobRequest Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -161,24 +161,24 @@ public partial class GetAzDataProtectionCrossRegionRestoreJobDetail_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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -389,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -411,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, Location=Location, body=Parameter }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -429,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.Api20231201.IAzureBackupJobResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -446,7 +446,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResource WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionCrossRegionRestoreJobDetail_GetExpanded.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionCrossRegionRestoreJobDetail_GetExpanded.cs index 71cb9438e034..03387916a989 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionCrossRegionRestoreJobDetail_GetExpanded.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionCrossRegionRestoreJobDetail_GetExpanded.cs @@ -14,10 +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, @"AzDataProtectionCrossRegionRestoreJobDetail_GetExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/fetchCrossRegionRestoreJob", ApiVersion = "2024-04-01")] public partial class GetAzDataProtectionCrossRegionRestoreJobDetail_GetExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -36,7 +36,7 @@ public partial class GetAzDataProtectionCrossRegionRestoreJobDetail_GetExpanded 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.Api20231201.ICrossRegionRestoreJobRequest _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossRegionRestoreJobRequest(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobRequest _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CrossRegionRestoreJobRequest(); /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -184,24 +184,24 @@ public partial class GetAzDataProtectionCrossRegionRestoreJobDetail_GetExpanded /// 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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -412,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -434,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 { ResourceGroupName=ResourceGroupName, SubscriptionId=SubscriptionId, Location=Location, body=_parametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -452,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.Api20231201.IAzureBackupJobResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -469,7 +469,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResource WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionCrossRegionRestoreJobDetail_GetViaIdentity.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionCrossRegionRestoreJobDetail_GetViaIdentity.cs index 151fc0449409..91411e7fe125 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionCrossRegionRestoreJobDetail_GetViaIdentity.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionCrossRegionRestoreJobDetail_GetViaIdentity.cs @@ -14,10 +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, @"AzDataProtectionCrossRegionRestoreJobDetail_GetViaIdentity", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/fetchCrossRegionRestoreJob", ApiVersion = "2024-04-01")] public partial class GetAzDataProtectionCrossRegionRestoreJobDetail_GetViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -85,7 +85,7 @@ public partial class GetAzDataProtectionCrossRegionRestoreJobDetail_GetViaIdenti 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.Api20231201.ICrossRegionRestoreJobRequest _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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)] @@ -94,8 +94,8 @@ public partial class GetAzDataProtectionCrossRegionRestoreJobDetail_GetViaIdenti ReadOnly = false, Description = @"Details of CRR Job to be fetched", SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreJobRequest) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreJobRequest Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobRequest) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobRequest Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -123,24 +123,24 @@ public partial class GetAzDataProtectionCrossRegionRestoreJobDetail_GetViaIdenti /// 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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -368,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 +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 { body=Parameter }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -408,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.Api20231201.IAzureBackupJobResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -425,7 +425,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResource WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionCrossRegionRestoreJobDetail_GetViaIdentityExpanded.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionCrossRegionRestoreJobDetail_GetViaIdentityExpanded.cs index 2fd4c1ef317b..f1c0a9bede57 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionCrossRegionRestoreJobDetail_GetViaIdentityExpanded.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionCrossRegionRestoreJobDetail_GetViaIdentityExpanded.cs @@ -14,10 +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, @"AzDataProtectionCrossRegionRestoreJobDetail_GetViaIdentityExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/fetchCrossRegionRestoreJob", ApiVersion = "2024-04-01")] public partial class GetAzDataProtectionCrossRegionRestoreJobDetail_GetViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -36,7 +36,7 @@ public partial class GetAzDataProtectionCrossRegionRestoreJobDetail_GetViaIdenti 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.Api20231201.ICrossRegionRestoreJobRequest _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossRegionRestoreJobRequest(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobRequest _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CrossRegionRestoreJobRequest(); /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -146,24 +146,24 @@ public partial class GetAzDataProtectionCrossRegionRestoreJobDetail_GetViaIdenti /// 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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -392,12 +392,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -414,7 +414,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 } @@ -432,12 +432,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.Api20231201.IAzureBackupJobResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -449,7 +449,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResource WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionCrossRegionRestoreJob_List.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionCrossRegionRestoreJob_List.cs index b0929cd2973a..714c4065dc3c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionCrossRegionRestoreJob_List.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionCrossRegionRestoreJob_List.cs @@ -14,10 +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, @"AzDataProtectionCrossRegionRestoreJob_List", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/fetchCrossRegionRestoreJobs", ApiVersion = "2024-04-01")] public partial class GetAzDataProtectionCrossRegionRestoreJob_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -105,7 +105,7 @@ public partial class GetAzDataProtectionCrossRegionRestoreJob_List : global::Sys 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.Api20231201.ICrossRegionRestoreJobsRequest _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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)] @@ -114,8 +114,8 @@ public partial class GetAzDataProtectionCrossRegionRestoreJob_List : global::Sys 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.Api20231201.ICrossRegionRestoreJobsRequest) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreJobsRequest Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobsRequest) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobsRequest Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -175,24 +175,24 @@ public partial class GetAzDataProtectionCrossRegionRestoreJob_List : 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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -403,12 +403,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 +425,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, Location=Location, Filter=this.InvocationInformation.BoundParameters.ContainsKey("Filter") ? Filter : null, body=Parameter }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -443,12 +443,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.Api20231201.IAzureBackupJobResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/GetAzDataProtectionCrossRegionRestoreJob_ListExpanded.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionCrossRegionRestoreJob_ListExpanded.cs index 47b5917464eb..8286308f156d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionCrossRegionRestoreJob_ListExpanded.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionCrossRegionRestoreJob_ListExpanded.cs @@ -14,10 +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, @"AzDataProtectionCrossRegionRestoreJob_ListExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/fetchCrossRegionRestoreJobs", ApiVersion = "2024-04-01")] public partial class GetAzDataProtectionCrossRegionRestoreJob_ListExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -36,7 +36,7 @@ public partial class GetAzDataProtectionCrossRegionRestoreJob_ListExpanded : glo 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.Api20231201.ICrossRegionRestoreJobsRequest _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossRegionRestoreJobsRequest(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobsRequest _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CrossRegionRestoreJobsRequest(); /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -187,24 +187,24 @@ public partial class GetAzDataProtectionCrossRegionRestoreJob_ListExpanded : 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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -415,12 +415,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -437,7 +437,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, Location=Location, Filter=this.InvocationInformation.BoundParameters.ContainsKey("Filter") ? Filter : null, body=_parametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -455,12 +455,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.Api20231201.IAzureBackupJobResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/GetAzDataProtectionFetchSecondaryRecoveryPoint_List.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionFetchSecondaryRecoveryPoint_List.cs index 0cae6210427c..d2d88dcf071c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionFetchSecondaryRecoveryPoint_List.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionFetchSecondaryRecoveryPoint_List.cs @@ -16,10 +16,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, @"AzDataProtectionFetchSecondaryRecoveryPoint_List", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/fetchSecondaryRecoveryPoints", ApiVersion = "2024-04-01")] public partial class GetAzDataProtectionFetchSecondaryRecoveryPoint_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -107,7 +107,7 @@ public partial class GetAzDataProtectionFetchSecondaryRecoveryPoint_List : globa 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.Api20231201.IFetchSecondaryRPsRequestParameters _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFetchSecondaryRPsRequestParameters _parameter; /// /// Information about BI whose secondary RecoveryPoints are requested @@ -122,8 +122,8 @@ public partial class GetAzDataProtectionFetchSecondaryRecoveryPoint_List : globa Source region and BI ARM path", SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFetchSecondaryRPsRequestParameters) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFetchSecondaryRPsRequestParameters Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFetchSecondaryRPsRequestParameters) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFetchSecondaryRPsRequestParameters Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -197,24 +197,24 @@ Source region and /// 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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRecoveryPointResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -425,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 +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 { 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 } @@ -465,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.Api20231201.IAzureBackupRecoveryPointResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/GetAzDataProtectionFetchSecondaryRecoveryPoint_ListExpanded.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionFetchSecondaryRecoveryPoint_ListExpanded.cs index a528f1f5eb27..82dde41d9a43 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionFetchSecondaryRecoveryPoint_ListExpanded.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionFetchSecondaryRecoveryPoint_ListExpanded.cs @@ -16,10 +16,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, @"AzDataProtectionFetchSecondaryRecoveryPoint_ListExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/fetchSecondaryRecoveryPoints", ApiVersion = "2024-04-01")] public partial class GetAzDataProtectionFetchSecondaryRecoveryPoint_ListExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -42,7 +42,7 @@ public partial class GetAzDataProtectionFetchSecondaryRecoveryPoint_ListExpanded /// Source region and /// BI ARM path /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFetchSecondaryRPsRequestParameters _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.FetchSecondaryRPsRequestParameters(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFetchSecondaryRPsRequestParameters _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.FetchSecondaryRPsRequestParameters(); /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -207,24 +207,24 @@ public partial class GetAzDataProtectionFetchSecondaryRecoveryPoint_ListExpanded /// 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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRecoveryPointResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -435,12 +435,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -457,7 +457,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, 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 } @@ -475,12 +475,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.Api20231201.IAzureBackupRecoveryPointResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/GetAzDataProtectionJob_Get.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionJob_Get.cs index 3b00cf84af7e..484c98d95f52 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionJob_Get.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionJob_Get.cs @@ -14,10 +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, @"AzDataProtectionJob_Get")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupJobs/{jobId}", ApiVersion = "2024-04-01")] public partial class GetAzDataProtectionJob_Get : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -165,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -390,12 +390,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 +412,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 } @@ -430,12 +430,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.Api20231201.IAzureBackupJobResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -447,7 +447,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 104de16691c7..5b42482a5361 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionJob_GetViaIdentity.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionJob_GetViaIdentity.cs @@ -14,10 +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, @"AzDataProtectionJob_GetViaIdentity")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupJobs/{jobId}", ApiVersion = "2024-04-01")] public partial class GetAzDataProtectionJob_GetViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -110,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 +356,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 +378,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 } @@ -396,12 +396,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.Api20231201.IAzureBackupJobResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 +413,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 185b35cf22fd..62c03dbc24aa 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionJob_List.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionJob_List.cs @@ -14,10 +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, @"AzDataProtectionJob_List")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupJobs", ApiVersion = "2024-04-01")] public partial class GetAzDataProtectionJob_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -148,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupJobResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -373,12 +373,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 +395,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 } @@ -413,12 +413,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.Api20231201.IAzureBackupJobResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 0e318b8fcc62..3167f59a890c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionOperationStatus_Get.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionOperationStatus_Get.cs @@ -13,10 +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.Api20231201.IOperationResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/locations/{location}/operationStatus/{operationId}", ApiVersion = "2024-04-01")] public partial class GetAzDataProtectionOperationStatus_Get : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -147,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IOperationResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -372,12 +372,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -394,7 +394,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 } @@ -412,12 +412,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.Api20231201.IOperationResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -429,7 +429,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 56a1125b0a53..046eabcac6cb 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionOperationStatus_GetViaIdentity.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionOperationStatus_GetViaIdentity.cs @@ -13,10 +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.Api20231201.IOperationResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/locations/{location}/operationStatus/{operationId}", ApiVersion = "2024-04-01")] public partial class GetAzDataProtectionOperationStatus_GetViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -109,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IOperationResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -351,12 +351,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -373,7 +373,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 } @@ -391,12 +391,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.Api20231201.IOperationResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -408,7 +408,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 61b73f7251af..ee27eeb297a0 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionOperation_List.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionOperation_List.cs @@ -13,10 +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.Api20231201.IClientDiscoveryValueForSingleApi))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/providers/Microsoft.DataProtection/operations", ApiVersion = "2024-04-01")] public partial class GetAzDataProtectionOperation_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -107,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IClientDiscoveryResponse + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -329,12 +329,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -351,7 +351,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 } @@ -369,12 +369,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.Api20231201.IClientDiscoveryResponse + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 0d325b0aea48..8077556244c3 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionRecoveryPoint_Get.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionRecoveryPoint_Get.cs @@ -13,10 +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.Api20231201.IAzureBackupRecoveryPointResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/recoveryPoints/{recoveryPointId}", ApiVersion = "2024-04-01")] public partial class GetAzDataProtectionRecoveryPoint_Get : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -175,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRecoveryPointResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -400,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -422,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 { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, VaultName=VaultName, BackupInstanceName=BackupInstanceName, Id=Id }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -440,12 +440,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.Api20231201.IAzureBackupRecoveryPointResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -457,7 +457,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 0a15161d1c3c..58d0d76e82f9 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionRecoveryPoint_GetViaIdentity.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionRecoveryPoint_GetViaIdentity.cs @@ -13,10 +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.Api20231201.IAzureBackupRecoveryPointResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/recoveryPoints/{recoveryPointId}", ApiVersion = "2024-04-01")] public partial class GetAzDataProtectionRecoveryPoint_GetViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -109,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRecoveryPointResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -359,12 +359,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -381,7 +381,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 } @@ -399,12 +399,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.Api20231201.IAzureBackupRecoveryPointResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -416,7 +416,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 cfc0acce96d7..14a620afd836 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionRecoveryPoint_List.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionRecoveryPoint_List.cs @@ -14,10 +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.Api20231201.IAzureBackupRecoveryPointResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/recoveryPoints", ApiVersion = "2024-04-01")] public partial class GetAzDataProtectionRecoveryPoint_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -190,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRecoveryPointResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -415,12 +415,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -437,7 +437,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 } @@ -455,12 +455,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.Api20231201.IAzureBackupRecoveryPointResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 f2733730cafa..6cf19afaa1e0 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionResourceGuardMapping_Get.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionResourceGuardMapping_Get.cs @@ -15,10 +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.Api20231201.IResourceGuardProxyBaseResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}", ApiVersion = "2024-04-01")] public partial class GetAzDataProtectionResourceGuardMapping_Get : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -168,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardProxyBaseResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -393,12 +393,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -415,7 +415,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 } @@ -433,12 +433,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.Api20231201.IResourceGuardProxyBaseResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -450,7 +450,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 8c7bb39c57b2..d35eb6505881 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionResourceGuardMapping_GetViaIdentity.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionResourceGuardMapping_GetViaIdentity.cs @@ -15,10 +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.Api20231201.IResourceGuardProxyBaseResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}", ApiVersion = "2024-04-01")] public partial class GetAzDataProtectionResourceGuardMapping_GetViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -111,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardProxyBaseResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -357,12 +357,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -379,7 +379,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 } @@ -397,12 +397,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.Api20231201.IResourceGuardProxyBaseResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -414,7 +414,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 17129a8fb025..221f74318856 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionResourceGuardMapping_List.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionResourceGuardMapping_List.cs @@ -13,10 +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.Api20231201.IResourceGuardProxyBaseResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupResourceGuardProxies", ApiVersion = "2024-04-01")] public partial class GetAzDataProtectionResourceGuardMapping_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -147,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardProxyBaseResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -372,12 +372,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -394,7 +394,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 } @@ -412,12 +412,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.Api20231201.IResourceGuardProxyBaseResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 560beb391875..7b10d44139fe 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionResourceGuard_Get.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionResourceGuard_Get.cs @@ -13,10 +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.Api20231201.IResourceGuardResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}", ApiVersion = "2024-04-01")] public partial class GetAzDataProtectionResourceGuard_Get : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -147,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -372,12 +372,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -394,7 +394,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 } @@ -412,12 +412,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.Api20231201.IResourceGuardResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -429,7 +429,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 04bdb071a80b..d81675b5c07f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionResourceGuard_Get1.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionResourceGuard_Get1.cs @@ -13,10 +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.Api20231201.IResourceGuardResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards", ApiVersion = "2024-04-01")] public partial class GetAzDataProtectionResourceGuard_Get1 : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -133,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -358,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -380,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 }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -398,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.Api20231201.IResourceGuardResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 0268ccfeaa48..b6deb298fb80 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionResourceGuard_GetViaIdentity.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionResourceGuard_GetViaIdentity.cs @@ -13,10 +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.Api20231201.IResourceGuardResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}", ApiVersion = "2024-04-01")] public partial class GetAzDataProtectionResourceGuard_GetViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -109,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -351,12 +351,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -373,7 +373,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 } @@ -391,12 +391,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.Api20231201.IResourceGuardResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -408,7 +408,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 81c2f2929923..e530d84ba6b0 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionSoftDeletedBackupInstance_Get.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionSoftDeletedBackupInstance_Get.cs @@ -13,10 +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.Api20231201.IDeletedBackupInstanceResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/deletedBackupInstances/{backupInstanceName}", ApiVersion = "2024-04-01")] public partial class GetAzDataProtectionSoftDeletedBackupInstance_Get : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -161,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDeletedBackupInstanceResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -386,12 +386,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -408,7 +408,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 } @@ -426,12 +426,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.Api20231201.IDeletedBackupInstanceResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -443,7 +443,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 592b9a371375..53d4eb87d0cf 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionSoftDeletedBackupInstance_GetViaIdentity.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionSoftDeletedBackupInstance_GetViaIdentity.cs @@ -13,10 +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.Api20231201.IDeletedBackupInstanceResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/deletedBackupInstances/{backupInstanceName}", ApiVersion = "2024-04-01")] public partial class GetAzDataProtectionSoftDeletedBackupInstance_GetViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -109,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDeletedBackupInstanceResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -355,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -377,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 { }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -395,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.Api20231201.IDeletedBackupInstanceResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -412,7 +412,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 f2c15ad13785..85ba01cff806 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionSoftDeletedBackupInstance_List.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionSoftDeletedBackupInstance_List.cs @@ -13,10 +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.Api20231201.IDeletedBackupInstanceResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/deletedBackupInstances", ApiVersion = "2024-04-01")] public partial class GetAzDataProtectionSoftDeletedBackupInstance_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -147,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDeletedBackupInstanceResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -372,12 +372,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -394,7 +394,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 } @@ -412,12 +412,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.Api20231201.IDeletedBackupInstanceResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 5232730fe4ca..a6d298416657 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionBackupInstance_Create.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionBackupInstance_Create.cs @@ -14,10 +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.Api20231201.IBackupInstanceResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}", ApiVersion = "2024-04-01")] public partial class NewAzDataProtectionBackupInstance_Create : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -105,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.Api20231201.IBackupInstanceResource _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource _parameter; /// BackupInstance Resource [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "BackupInstance Resource", ValueFromPipeline = true)] @@ -114,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.Api20231201.IBackupInstanceResource) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResource Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -170,6 +170,23 @@ public partial class NewAzDataProtectionBackupInstance_Create : global::System.M [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; } + /// Backing field for property. + private string _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. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "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.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"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.", + SerializedName = @"x-ms-authorization-auxiliary", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Header)] + public string Token { get => this._token; set => this._token = value; } + /// Backing field for property. private string _vaultName; @@ -189,24 +206,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupInstanceResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -247,6 +264,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets.NewAzDataProtec clone.ResourceGroupName = this.ResourceGroupName; clone.VaultName = this.VaultName; clone.Name = this.Name; + clone.Token = this.Token; clone.Parameter = this.Parameter; return clone; } @@ -426,12 +444,12 @@ protected override void ProcessRecord() 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.BackupInstancesCreateOrUpdate(SubscriptionId, ResourceGroupName, VaultName, Name, Parameter, onOk, onDefault, this, Pipeline); + await this.Client.BackupInstancesCreateOrUpdate(SubscriptionId, ResourceGroupName, VaultName, Name, this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : 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,VaultName=VaultName,Name=Name,body=Parameter}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,VaultName=VaultName,Name=Name,Token=this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : null,body=Parameter}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -469,12 +487,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -491,15 +509,15 @@ 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); - 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 }) + 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, Token=this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : 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, VaultName=VaultName, Name=Name, body=Parameter }) + 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, VaultName=VaultName, Name=Name, Token=this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : null, body=Parameter }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); @@ -509,12 +527,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.Api20231201.IBackupInstanceResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -526,7 +544,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 f3dbf348fcbd..251cad1d9d70 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionBackupInstance_CreateExpanded.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionBackupInstance_CreateExpanded.cs @@ -14,10 +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.Api20231201.IBackupInstanceResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}", ApiVersion = "2024-04-01")] public partial class NewAzDataProtectionBackupInstance_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -36,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.Api20231201.IBackupInstanceResource _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupInstanceResource(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupInstanceResource(); /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] @@ -120,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.Api20231201.IBackupInstance) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstance Property { get => _parametersBody.Property ?? null /* object */; set => _parametersBody.Property = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstance) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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")] @@ -180,8 +180,25 @@ public partial class NewAzDataProtectionBackupInstance_CreateExpanded : global:: ReadOnly = false, Description = @"Proxy Resource tags.", SerializedName = @"tags", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceTags) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppProxyResourceTags Tag { get => _parametersBody.Tag ?? null /* object */; set => _parametersBody.Tag = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceTags) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceTags Tag { get => _parametersBody.Tag ?? null /* object */; set => _parametersBody.Tag = value; } + + /// Backing field for property. + private string _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. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "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.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"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.", + SerializedName = @"x-ms-authorization-auxiliary", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Header)] + public string Token { get => this._token; set => this._token = value; } /// Backing field for property. private string _vaultName; @@ -202,24 +219,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupInstanceResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -261,6 +278,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets.NewAzDataProtec clone.ResourceGroupName = this.ResourceGroupName; clone.VaultName = this.VaultName; clone.Name = this.Name; + clone.Token = this.Token; return clone; } @@ -439,12 +457,12 @@ protected override void ProcessRecord() 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.BackupInstancesCreateOrUpdate(SubscriptionId, ResourceGroupName, VaultName, Name, _parametersBody, onOk, onDefault, this, Pipeline); + await this.Client.BackupInstancesCreateOrUpdate(SubscriptionId, ResourceGroupName, VaultName, Name, this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : 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,VaultName=VaultName,Name=Name,body=_parametersBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,VaultName=VaultName,Name=Name,Token=this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : null,body=_parametersBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -482,12 +500,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -504,15 +522,15 @@ 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); - 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 }) + 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, Token=this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : 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, VaultName=VaultName, Name=Name, body=_parametersBody }) + 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, VaultName=VaultName, Name=Name, Token=this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : null, body=_parametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); @@ -522,12 +540,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.Api20231201.IBackupInstanceResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -539,7 +557,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 67ceb651c239..3e32a4dd91ee 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionBackupPolicy_Create.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionBackupPolicy_Create.cs @@ -14,10 +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.Api20231201.IBaseBackupPolicyResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupPolicies/{backupPolicyName}", ApiVersion = "2024-04-01")] public partial class NewAzDataProtectionBackupPolicy_Create : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -92,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.Api20231201.IBaseBackupPolicyResource _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResource _parameter; /// BaseBackupPolicy resource [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "BaseBackupPolicy resource", ValueFromPipeline = true)] @@ -101,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.Api20231201.IBaseBackupPolicyResource) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResource Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResource) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResource Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -176,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBaseBackupPolicyResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -401,12 +401,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -423,7 +423,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 } @@ -441,12 +441,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.Api20231201.IBaseBackupPolicyResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -458,7 +458,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 b5b0e81a6b94..2f0e459ccd36 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionBackupPolicy_CreateExpanded.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionBackupPolicy_CreateExpanded.cs @@ -14,10 +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.Api20231201.IBaseBackupPolicyResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupPolicies/{backupPolicyName}", ApiVersion = "2024-04-01")] public partial class NewAzDataProtectionBackupPolicy_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -36,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.Api20231201.IBaseBackupPolicyResource _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BaseBackupPolicyResource(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResource _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BaseBackupPolicyResource(); /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -189,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBaseBackupPolicyResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -414,12 +414,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -436,7 +436,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 } @@ -454,12 +454,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.Api20231201.IBaseBackupPolicyResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -471,7 +471,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 29ce9e13ab09..6bef784f0d10 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionBackupVault_Create.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionBackupVault_Create.cs @@ -14,10 +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.Api20231201.IBackupVaultResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}", ApiVersion = "2024-04-01")] public partial class NewAzDataProtectionBackupVault_Create : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -90,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.Api20231201.IBackupVaultResource _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResource _parameter; /// Backup Vault Resource [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Backup Vault Resource", ValueFromPipeline = true)] @@ -99,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.Api20231201.IBackupVaultResource) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResource Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResource) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResource Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -155,6 +155,23 @@ public partial class NewAzDataProtectionBackupVault_Create : global::System.Mana [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; } + /// Backing field for property. + private string _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. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "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.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"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.", + SerializedName = @"x-ms-authorization-auxiliary", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Header)] + public string Token { get => this._token; set => this._token = value; } + /// Backing field for property. private string _vaultName; @@ -174,24 +191,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupVaultResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -231,6 +248,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets.NewAzDataProtec clone.SubscriptionId = this.SubscriptionId; clone.ResourceGroupName = this.ResourceGroupName; clone.VaultName = this.VaultName; + clone.Token = this.Token; clone.Parameter = this.Parameter; return clone; } @@ -410,12 +428,12 @@ protected override void ProcessRecord() 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.BackupVaultsCreateOrUpdate(SubscriptionId, ResourceGroupName, VaultName, Parameter, onOk, onDefault, this, Pipeline); + await this.Client.BackupVaultsCreateOrUpdate(SubscriptionId, ResourceGroupName, VaultName, this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : 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,VaultName=VaultName,body=Parameter}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,VaultName=VaultName,Token=this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : null,body=Parameter}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -453,12 +471,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -475,15 +493,15 @@ 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); - 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 }) + 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, Token=this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : 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, VaultName=VaultName, body=Parameter }) + 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, VaultName=VaultName, Token=this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : null, body=Parameter }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); @@ -493,12 +511,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.Api20231201.IBackupVaultResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -510,7 +528,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 5165599a4d64..80606c63afa7 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionBackupVault_CreateExpanded.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionBackupVault_CreateExpanded.cs @@ -14,10 +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.Api20231201.IBackupVaultResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}", ApiVersion = "2024-04-01")] public partial class NewAzDataProtectionBackupVault_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -36,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.Api20231201.IBackupVaultResource _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.BackupVaultResource(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResource _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupVaultResource(); /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] @@ -112,6 +112,17 @@ public partial class NewAzDataProtectionBackupVault_CreateExpanded : global::Sys PossibleTypes = new [] { typeof(string) })] public string ETag { get => _parametersBody.ETag ?? null; set => _parametersBody.ETag = value; } + /// Customer Managed Key details of the resource. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Customer Managed Key details of the resource.")] + [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 = @"Customer Managed Key details of the resource.", + SerializedName = @"encryptionSettings", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings EncryptionSetting { get => _parametersBody.EncryptionSetting ?? null /* object */; set => _parametersBody.EncryptionSetting = 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] @@ -238,6 +249,18 @@ public partial class NewAzDataProtectionBackupVault_CreateExpanded : global::Sys [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; } + /// ResourceGuardOperationRequests on which LAC check will be performed + [global::System.Management.Automation.AllowEmptyCollection] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "ResourceGuardOperationRequests on which LAC check will be performed")] + [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 = @"ResourceGuardOperationRequests on which LAC check will be performed", + SerializedName = @"resourceGuardOperationRequests", + PossibleTypes = new [] { typeof(string) })] + public string[] ResourceGuardOperationRequest { get => _parametersBody.ResourceGuardOperationRequest ?? null /* arrayOf */; set => _parametersBody.ResourceGuardOperationRequest = value; } + /// Soft delete retention duration in days. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Soft delete retention duration in days.")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Body)] @@ -270,8 +293,8 @@ public partial class NewAzDataProtectionBackupVault_CreateExpanded : global::Sys ReadOnly = false, Description = @"Storage Settings", SerializedName = @"storageSettings", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IStorageSetting) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IStorageSetting[] StorageSetting { get => _parametersBody.StorageSetting ?? null /* arrayOf */; set => _parametersBody.StorageSetting = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStorageSetting) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStorageSetting[] StorageSetting { get => _parametersBody.StorageSetting ?? null /* arrayOf */; set => _parametersBody.StorageSetting = value; } /// Backing field for property. private string _subscriptionId; @@ -300,8 +323,25 @@ public partial class NewAzDataProtectionBackupVault_CreateExpanded : global::Sys ReadOnly = false, Description = @"Resource tags.", SerializedName = @"tags", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceTags) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceTags Tag { get => _parametersBody.Tag ?? null /* object */; set => _parametersBody.Tag = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceTags) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceTags Tag { get => _parametersBody.Tag ?? null /* object */; set => _parametersBody.Tag = value; } + + /// Backing field for property. + private string _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. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "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.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"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.", + SerializedName = @"x-ms-authorization-auxiliary", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Header)] + public string Token { get => this._token; set => this._token = value; } /// Backing field for property. private string _vaultName; @@ -322,24 +362,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupVaultResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -380,6 +420,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets.NewAzDataProtec clone.SubscriptionId = this.SubscriptionId; clone.ResourceGroupName = this.ResourceGroupName; clone.VaultName = this.VaultName; + clone.Token = this.Token; return clone; } @@ -558,12 +599,12 @@ protected override void ProcessRecord() 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.BackupVaultsCreateOrUpdate(SubscriptionId, ResourceGroupName, VaultName, _parametersBody, onOk, onDefault, this, Pipeline); + await this.Client.BackupVaultsCreateOrUpdate(SubscriptionId, ResourceGroupName, VaultName, this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : 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,VaultName=VaultName,body=_parametersBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,VaultName=VaultName,Token=this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : null,body=_parametersBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -601,12 +642,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -623,15 +664,15 @@ 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); - 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 }) + 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, Token=this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : 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, VaultName=VaultName, body=_parametersBody }) + 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, VaultName=VaultName, Token=this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : null, body=_parametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); @@ -641,12 +682,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.Api20231201.IBackupVaultResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -658,7 +699,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 f70e14a0e4db..60c589d3b7ed 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionResourceGuard_Put.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionResourceGuard_Put.cs @@ -14,10 +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.Api20231201.IResourceGuardResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}", ApiVersion = "2024-04-01")] public partial class NewAzDataProtectionResourceGuard_Put : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -91,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.Api20231201.IResourceGuardResource _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource _parameter; [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = ".", ValueFromPipeline = true)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( @@ -99,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.Api20231201.IResourceGuardResource) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResource Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -160,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.Api20231201.IResourceGuardResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -395,12 +395,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.Api20231201.IResourceGuardResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -412,7 +412,7 @@ protected override void StopProcessing() return ; } // onCreated - response for 201 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource WriteObject((await response)); } } @@ -421,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -443,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 { ResourceGroupName=ResourceGroupName, SubscriptionId=SubscriptionId, Name=Name, body=Parameter }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -461,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.Api20231201.IResourceGuardResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -478,7 +478,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 7199bbac78c1..1437d8bde3cb 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionResourceGuard_PutExpanded.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionResourceGuard_PutExpanded.cs @@ -14,10 +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.Api20231201.IResourceGuardResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}", ApiVersion = "2024-04-01")] public partial class NewAzDataProtectionResourceGuard_PutExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -35,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.Api20231201.IResourceGuardResource _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuardResource(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardResource(); /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -188,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.Api20231201.IDppBaseTrackedResourceTags) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceTags Tag { get => _parametersBody.Tag ?? null /* object */; set => _parametersBody.Tag = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceTags) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -431,12 +431,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.Api20231201.IResourceGuardResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -448,7 +448,7 @@ protected override void StopProcessing() return ; } // onCreated - response for 201 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource WriteObject((await response)); } } @@ -457,12 +457,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -479,7 +479,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 } @@ -497,12 +497,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.Api20231201.IResourceGuardResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -514,7 +514,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 4d57fc3c24ac..413681982bd8 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionResourceGuard_PutViaIdentity.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionResourceGuard_PutViaIdentity.cs @@ -14,10 +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.Api20231201.IResourceGuardResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}", ApiVersion = "2024-04-01")] public partial class NewAzDataProtectionResourceGuard_PutViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -85,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.Api20231201.IResourceGuardResource _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource _parameter; [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = ".", ValueFromPipeline = true)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( @@ -93,8 +93,8 @@ public partial class NewAzDataProtectionResourceGuard_PutViaIdentity : global::S ReadOnly = false, Description = @"", SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResource) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResource Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -122,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.Api20231201.IResourceGuardResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -377,12 +377,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.Api20231201.IResourceGuardResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -394,7 +394,7 @@ protected override void StopProcessing() return ; } // onCreated - response for 201 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource WriteObject((await response)); } } @@ -403,12 +403,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 +425,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 } @@ -443,12 +443,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.Api20231201.IResourceGuardResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -460,7 +460,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 cd773cfabca3..8ad288164d6d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionResourceGuard_PutViaIdentityExpanded.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionResourceGuard_PutViaIdentityExpanded.cs @@ -14,10 +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.Api20231201.IResourceGuardResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}", ApiVersion = "2024-04-01")] public partial class NewAzDataProtectionResourceGuard_PutViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -35,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.Api20231201.IResourceGuardResource _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuardResource(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardResource(); /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -150,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.Api20231201.IDppBaseTrackedResourceTags) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDppBaseTrackedResourceTags Tag { get => _parametersBody.Tag ?? null /* object */; set => _parametersBody.Tag = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceTags) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -413,12 +413,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.Api20231201.IResourceGuardResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -430,7 +430,7 @@ protected override void StopProcessing() return ; } // onCreated - response for 201 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource WriteObject((await response)); } } @@ -439,12 +439,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 +461,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 } @@ -479,12 +479,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.Api20231201.IResourceGuardResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -496,7 +496,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 2cc92320df3b..65520efeb681 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionBackupInstance_Delete.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionBackupInstance_Delete.cs @@ -16,7 +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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}", ApiVersion = "2024-04-01")] public partial class RemoveAzDataProtectionBackupInstance_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -163,6 +163,23 @@ public partial class RemoveAzDataProtectionBackupInstance_Delete : global::Syste [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; } + /// Backing field for property. + private string _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. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "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.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"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.", + SerializedName = @"x-ms-authorization-auxiliary", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Header)] + public string Token { get => this._token; set => this._token = value; } + /// Backing field for property. private string _vaultName; @@ -182,12 +199,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 @@ -248,6 +265,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets.RemoveAzDataPro clone.ResourceGroupName = this.ResourceGroupName; clone.VaultName = this.VaultName; clone.Name = this.Name; + clone.Token = this.Token; return clone; } @@ -418,12 +436,12 @@ protected override void ProcessRecord() 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.BackupInstancesDelete(SubscriptionId, ResourceGroupName, VaultName, Name, onOk, onNoContent, onDefault, this, Pipeline); + await this.Client.BackupInstancesDelete(SubscriptionId, ResourceGroupName, VaultName, Name, this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : null, onOk, onNoContent, 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,VaultName=VaultName,Name=Name}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,VaultName=VaultName,Name=Name,Token=this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : null}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -469,12 +487,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -491,15 +509,15 @@ 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); - 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 }) + 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, Token=this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : null }) { 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, VaultName=VaultName, Name=Name }) + 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, VaultName=VaultName, Name=Name, Token=this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : null }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionBackupInstance_DeleteViaIdentity.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionBackupInstance_DeleteViaIdentity.cs index 5e8fae0e9f01..00439c0652fb 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionBackupInstance_DeleteViaIdentity.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionBackupInstance_DeleteViaIdentity.cs @@ -16,7 +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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}", ApiVersion = "2024-04-01")] public partial class RemoveAzDataProtectionBackupInstance_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -124,17 +124,34 @@ public partial class RemoveAzDataProtectionBackupInstance_DeleteViaIdentity : gl [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 _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. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "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.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"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.", + SerializedName = @"x-ms-authorization-auxiliary", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Header)] + public string Token { get => this._token; set => this._token = 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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 @@ -191,6 +208,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets.RemoveAzDataPro clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; clone.HttpPipelinePrepend = this.HttpPipelinePrepend; clone.HttpPipelineAppend = this.HttpPipelineAppend; + clone.Token = this.Token; return clone; } @@ -363,7 +381,7 @@ protected override void ProcessRecord() 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.BackupInstancesDeleteViaIdentity(InputObject.Id, onOk, onNoContent, onDefault, this, Pipeline); + await this.Client.BackupInstancesDeleteViaIdentity(InputObject.Id, this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : null, onOk, onNoContent, onDefault, this, Pipeline); } else { @@ -384,13 +402,13 @@ protected override void ProcessRecord() { ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.BackupInstanceName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); } - await this.Client.BackupInstancesDelete(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.VaultName ?? null, InputObject.BackupInstanceName ?? null, onOk, onNoContent, onDefault, this, Pipeline); + await this.Client.BackupInstancesDelete(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.VaultName ?? null, InputObject.BackupInstanceName ?? null, this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : null, onOk, onNoContent, 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 { }) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { Token=this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : null}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -436,12 +454,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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,15 +476,15 @@ 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); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + 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 { Token=this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : null }) { 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 { }) + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { Token=this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : null }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionBackupPolicy_Delete.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionBackupPolicy_Delete.cs index eefe0604f121..9aa1861ed0a5 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionBackupPolicy_Delete.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionBackupPolicy_Delete.cs @@ -16,7 +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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupPolicies/{backupPolicyName}", ApiVersion = "2024-04-01")] public partial class RemoveAzDataProtectionBackupPolicy_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -168,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 @@ -401,12 +401,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -423,7 +423,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 dfed0d5b341f..a22d26f8851a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionBackupPolicy_DeleteViaIdentity.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionBackupPolicy_DeleteViaIdentity.cs @@ -16,7 +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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupPolicies/{backupPolicyName}", ApiVersion = "2024-04-01")] public partial class RemoveAzDataProtectionBackupPolicy_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -116,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 +373,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 +395,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 5bd66de7c145..1bd8e76420e4 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionBackupVault_Delete.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionBackupVault_Delete.cs @@ -16,7 +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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}", ApiVersion = "2024-04-01")] public partial class RemoveAzDataProtectionBackupVault_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -167,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 @@ -453,12 +453,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -475,7 +475,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 b1988bc35595..6089f1a5690e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionBackupVault_DeleteViaIdentity.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionBackupVault_DeleteViaIdentity.cs @@ -16,7 +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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}", ApiVersion = "2024-04-01")] public partial class RemoveAzDataProtectionBackupVault_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -129,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 @@ -432,12 +432,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -454,7 +454,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 715d1d615b14..f36ab81d2547 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionResourceGuardMapping_Delete.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionResourceGuardMapping_Delete.cs @@ -16,7 +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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}", ApiVersion = "2024-04-01")] public partial class RemoveAzDataProtectionResourceGuardMapping_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -173,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 @@ -406,12 +406,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 +428,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 af87fa9bbb5a..9c319682d523 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionResourceGuardMapping_DeleteViaIdentity.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionResourceGuardMapping_DeleteViaIdentity.cs @@ -16,7 +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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}", ApiVersion = "2024-04-01")] public partial class RemoveAzDataProtectionResourceGuardMapping_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -116,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 +373,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 +395,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 4dabf9d4f9cf..b617a1f2ed3e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionResourceGuard_Delete.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionResourceGuard_Delete.cs @@ -16,7 +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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}", ApiVersion = "2024-04-01")] public partial class RemoveAzDataProtectionResourceGuard_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -154,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 @@ -387,12 +387,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -409,7 +409,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 03754b2b4b3d..20f4018dd565 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionResourceGuard_DeleteViaIdentity.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionResourceGuard_DeleteViaIdentity.cs @@ -16,7 +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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}", ApiVersion = "2024-04-01")] public partial class RemoveAzDataProtectionResourceGuard_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -116,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 @@ -369,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -391,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 { }) { 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 c0912cf5bb6f..62a315aa63b2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/ResumeAzDataProtectionBackupInstanceProtection_Resume.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/ResumeAzDataProtectionBackupInstanceProtection_Resume.cs @@ -16,7 +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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/resumeProtection", ApiVersion = "2024-04-01")] public partial class ResumeAzDataProtectionBackupInstanceProtection_Resume : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -181,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 @@ -458,12 +458,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -480,7 +480,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 18d00821e2de..bf1e8520d6d4 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/ResumeAzDataProtectionBackupInstanceProtection_ResumeViaIdentity.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/ResumeAzDataProtectionBackupInstanceProtection_ResumeViaIdentity.cs @@ -16,7 +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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/resumeProtection", ApiVersion = "2024-04-01")] public partial class ResumeAzDataProtectionBackupInstanceProtection_ResumeViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -129,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 @@ -429,12 +429,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -451,7 +451,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 52f4edbe2cd9..063996255564 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/SetAzDataProtectionResourceGuardMapping_CreateExpanded.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/SetAzDataProtectionResourceGuardMapping_CreateExpanded.cs @@ -13,10 +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.Api20231201.IResourceGuardProxyBaseResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}", ApiVersion = "2024-04-01")] public partial class SetAzDataProtectionResourceGuardMapping_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -37,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.Api20231201.IResourceGuardProxyBaseResource _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuardProxyBaseResource(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResource _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardProxyBaseResource(); /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -159,9 +159,9 @@ public partial class SetAzDataProtectionResourceGuardMapping_CreateExpanded : gl ReadOnly = false, Description = @".", SerializedName = @"resourceGuardOperationDetails", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardOperationDetail) })] + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperationDetail) })] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.DoNotExport] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardOperationDetail[] ResourceGuardOperationDetail { get => _parametersBody.ResourceGuardOperationDetail ?? null /* arrayOf */; set => _parametersBody.ResourceGuardOperationDetail = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardOperationDetail[] ResourceGuardOperationDetail { get => _parametersBody.ResourceGuardOperationDetail ?? null /* arrayOf */; set => _parametersBody.ResourceGuardOperationDetail = value; } /// Backing field for property. private string _resourceGuardProxyName; @@ -219,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IResourceGuardProxyBaseResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -444,12 +444,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -466,7 +466,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 } @@ -484,12 +484,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.Api20231201.IResourceGuardProxyBaseResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -501,7 +501,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 index 46d46bba5e96..4eb7994edd1b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/StartAzDataProtectionBackupInstanceCrossRegionRestore_Trigger.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/StartAzDataProtectionBackupInstanceCrossRegionRestore_Trigger.cs @@ -14,10 +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.VerbsLifecycle.Start, @"AzDataProtectionBackupInstanceCrossRegionRestore_Trigger", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/crossRegionRestore", ApiVersion = "2024-04-01")] public partial class StartAzDataProtectionBackupInstanceCrossRegionRestore_Trigger : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -104,7 +104,7 @@ public partial class StartAzDataProtectionBackupInstanceCrossRegionRestore_Trigg public global::System.Management.Automation.SwitchParameter NoWait { get; set; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreRequestObject _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreRequestObject _parameter; /// Cross Region Restore Request Object [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Cross Region Restore Request Object", ValueFromPipeline = true)] @@ -113,8 +113,8 @@ public partial class StartAzDataProtectionBackupInstanceCrossRegionRestore_Trigg ReadOnly = false, Description = @"Cross Region Restore Request Object", SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreRequestObject) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreRequestObject Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreRequestObject) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreRequestObject Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -186,12 +186,12 @@ public partial class StartAzDataProtectionBackupInstanceCrossRegionRestore_Trigg /// 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.Api20231201.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 +495,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.Api20231201.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -512,7 +512,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/StartAzDataProtectionBackupInstanceCrossRegionRestore_TriggerExpanded.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/StartAzDataProtectionBackupInstanceCrossRegionRestore_TriggerExpanded.cs index 45ac9c3ed69e..2aeb5c244b99 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/StartAzDataProtectionBackupInstanceCrossRegionRestore_TriggerExpanded.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/StartAzDataProtectionBackupInstanceCrossRegionRestore_TriggerExpanded.cs @@ -14,10 +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.VerbsLifecycle.Start, @"AzDataProtectionBackupInstanceCrossRegionRestore_TriggerExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/crossRegionRestore", ApiVersion = "2024-04-01")] public partial class StartAzDataProtectionBackupInstanceCrossRegionRestore_TriggerExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -36,7 +36,7 @@ public partial class StartAzDataProtectionBackupInstanceCrossRegionRestore_Trigg private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); /// Cross Region Restore Request Object - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreRequestObject _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.CrossRegionRestoreRequestObject(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreRequestObject _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CrossRegionRestoreRequestObject(); /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] @@ -59,8 +59,8 @@ public partial class StartAzDataProtectionBackupInstanceCrossRegionRestore_Trigg ReadOnly = false, Description = @"Cross region restore details.", SerializedName = @"crossRegionRestoreDetails", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreDetails) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreDetails CrossRegionRestoreDetail { get => _parametersBody.CrossRegionRestoreDetail ?? null /* object */; set => _parametersBody.CrossRegionRestoreDetail = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreDetails) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 @@ -160,8 +160,8 @@ public partial class StartAzDataProtectionBackupInstanceCrossRegionRestore_Trigg ReadOnly = false, Description = @"Gets or sets the restore request object.", SerializedName = @"restoreRequestObject", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest RestoreRequestObject { get => _parametersBody.RestoreRequestObject ?? null /* object */; set => _parametersBody.RestoreRequestObject = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest RestoreRequestObject { get => _parametersBody.RestoreRequestObject ?? null /* object */; set => _parametersBody.RestoreRequestObject = value; } /// Backing field for property. private string _subscriptionId; @@ -198,12 +198,12 @@ public partial class StartAzDataProtectionBackupInstanceCrossRegionRestore_Trigg /// 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.Api20231201.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -508,12 +508,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.Api20231201.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -525,7 +525,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/StartAzDataProtectionBackupInstanceRestore_Trigger.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/StartAzDataProtectionBackupInstanceRestore_Trigger.cs index 1444eae2da39..d4d7fbd9c18a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/StartAzDataProtectionBackupInstanceRestore_Trigger.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/StartAzDataProtectionBackupInstanceRestore_Trigger.cs @@ -14,10 +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.VerbsLifecycle.Start, @"AzDataProtectionBackupInstanceRestore_Trigger", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/restore", ApiVersion = "2024-04-01")] public partial class StartAzDataProtectionBackupInstanceRestore_Trigger : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -104,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.Api20231201.IAzureBackupRestoreRequest _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest _parameter; /// Azure backup restore request [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Azure backup restore request", ValueFromPipeline = true)] @@ -113,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.Api20231201.IAzureBackupRestoreRequest) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -169,6 +169,23 @@ public partial class StartAzDataProtectionBackupInstanceRestore_Trigger : global [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; } + /// Backing field for property. + private string _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. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "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.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"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.", + SerializedName = @"x-ms-authorization-auxiliary", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Header)] + public string Token { get => this._token; set => this._token = value; } + /// Backing field for property. private string _vaultName; @@ -188,24 +205,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -246,6 +263,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets.StartAzDataProt clone.ResourceGroupName = this.ResourceGroupName; clone.VaultName = this.VaultName; clone.BackupInstanceName = this.BackupInstanceName; + clone.Token = this.Token; clone.Parameter = this.Parameter; return clone; } @@ -417,12 +435,12 @@ protected override void ProcessRecord() 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.BackupInstancesTriggerRestore(SubscriptionId, ResourceGroupName, VaultName, BackupInstanceName, Parameter, onOk, onDefault, this, Pipeline); + await this.Client.BackupInstancesTriggerRestore(SubscriptionId, ResourceGroupName, VaultName, BackupInstanceName, this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : 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,VaultName=VaultName,BackupInstanceName=BackupInstanceName,body=Parameter}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,VaultName=VaultName,BackupInstanceName=BackupInstanceName,Token=this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : null,body=Parameter}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -468,12 +486,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -490,15 +508,15 @@ 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); - 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 }) + 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, Token=this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : 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, VaultName=VaultName, BackupInstanceName=BackupInstanceName, body=Parameter }) + 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, VaultName=VaultName, BackupInstanceName=BackupInstanceName, Token=this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : null, body=Parameter }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); @@ -508,12 +526,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.Api20231201.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -525,7 +543,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 acac42821060..230e46f97402 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/StartAzDataProtectionBackupInstanceRestore_TriggerExpanded.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/StartAzDataProtectionBackupInstanceRestore_TriggerExpanded.cs @@ -14,10 +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.VerbsLifecycle.Start, @"AzDataProtectionBackupInstanceRestore_TriggerExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/restore", ApiVersion = "2024-04-01")] public partial class StartAzDataProtectionBackupInstanceRestore_TriggerExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -36,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.Api20231201.IAzureBackupRestoreRequest _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.AzureBackupRestoreRequest(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.AzureBackupRestoreRequest(); /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] @@ -174,6 +174,18 @@ public partial class StartAzDataProtectionBackupInstanceRestore_TriggerExpanded [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; } + /// ResourceGuardOperationRequests on which LAC check will be performed + [global::System.Management.Automation.AllowEmptyCollection] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "ResourceGuardOperationRequests on which LAC check will be performed")] + [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 = @"ResourceGuardOperationRequests on which LAC check will be performed", + SerializedName = @"resourceGuardOperationRequests", + PossibleTypes = new [] { typeof(string) })] + public string[] ResourceGuardOperationRequest { get => _parametersBody.ResourceGuardOperationRequest ?? null /* arrayOf */; set => _parametersBody.ResourceGuardOperationRequest = value; } + /// Gets or sets the restore target information. [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Gets or sets the restore target information.")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Body)] @@ -182,8 +194,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.Api20231201.IRestoreTargetInfoBase) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBase RestoreTargetInfo { get => _parametersBody.RestoreTargetInfo ?? null /* object */; set => _parametersBody.RestoreTargetInfo = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBase) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.")] @@ -228,6 +240,23 @@ public partial class StartAzDataProtectionBackupInstanceRestore_TriggerExpanded [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; } + /// Backing field for property. + private string _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. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "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.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"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.", + SerializedName = @"x-ms-authorization-auxiliary", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Header)] + public string Token { get => this._token; set => this._token = value; } + /// Backing field for property. private string _vaultName; @@ -247,24 +276,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -308,6 +337,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets.StartAzDataProt clone.ResourceGroupName = this.ResourceGroupName; clone.VaultName = this.VaultName; clone.BackupInstanceName = this.BackupInstanceName; + clone.Token = this.Token; return clone; } @@ -478,12 +508,12 @@ protected override void ProcessRecord() 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.BackupInstancesTriggerRestore(SubscriptionId, ResourceGroupName, VaultName, BackupInstanceName, _parametersBody, onOk, onDefault, this, Pipeline); + await this.Client.BackupInstancesTriggerRestore(SubscriptionId, ResourceGroupName, VaultName, BackupInstanceName, this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : 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,VaultName=VaultName,BackupInstanceName=BackupInstanceName,body=_parametersBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,VaultName=VaultName,BackupInstanceName=BackupInstanceName,Token=this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : null,body=_parametersBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -529,12 +559,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -551,15 +581,15 @@ 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); - 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 }) + 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, Token=this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : 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, VaultName=VaultName, BackupInstanceName=BackupInstanceName, body=_parametersBody }) + 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, VaultName=VaultName, BackupInstanceName=BackupInstanceName, Token=this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : null, body=_parametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); @@ -569,12 +599,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.Api20231201.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -586,7 +616,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/StopAzDataProtectionBackupInstanceProtection_Stop.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/StopAzDataProtectionBackupInstanceProtection_StopExpanded.cs similarity index 89% rename from src/DataProtection/DataProtection.Autorest/generated/cmdlets/StopAzDataProtectionBackupInstanceProtection_Stop.cs rename to src/DataProtection/DataProtection.Autorest/generated/cmdlets/StopAzDataProtectionBackupInstanceProtection_StopExpanded.cs index 7f0bf001a6b4..77e6182f23d8 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/StopAzDataProtectionBackupInstanceProtection_Stop.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/StopAzDataProtectionBackupInstanceProtection_StopExpanded.cs @@ -14,12 +14,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// /// [OpenAPI] StopProtection=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/stopProtection" /// - [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Stop, @"AzDataProtectionBackupInstanceProtection_Stop", SupportsShouldProcess = true)] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.InternalExport] + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Stop, @"AzDataProtectionBackupInstanceProtection_StopExpanded", SupportsShouldProcess = true)] [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-12-01")] - public partial class StopAzDataProtectionBackupInstanceProtection_Stop : global::System.Management.Automation.PSCmdlet, + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/stopProtection", ApiVersion = "2024-04-01")] + public partial class StopAzDataProtectionBackupInstanceProtection_StopExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { /// A unique id generatd for the this cmdlet when it is instantiated. @@ -36,6 +37,9 @@ public partial class StopAzDataProtectionBackupInstanceProtection_Stop : global: /// private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + /// Request body of Stop protection when MUA is Enabled + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStopProtectionRequest _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.StopProtectionRequest(); + /// 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)] @@ -146,6 +150,18 @@ public partial class StopAzDataProtectionBackupInstanceProtection_Stop : global: [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; } + /// ResourceGuardOperationRequests on which LAC check will be performed + [global::System.Management.Automation.AllowEmptyCollection] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "ResourceGuardOperationRequests on which LAC check will be performed")] + [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 = @"ResourceGuardOperationRequests on which LAC check will be performed", + SerializedName = @"resourceGuardOperationRequests", + PossibleTypes = new [] { typeof(string) })] + public string[] ResourceGuardOperationRequest { get => _parametersBody.ResourceGuardOperationRequest ?? null /* arrayOf */; set => _parametersBody.ResourceGuardOperationRequest = value; } + /// Backing field for property. private string _subscriptionId; @@ -164,6 +180,23 @@ public partial class StopAzDataProtectionBackupInstanceProtection_Stop : global: [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; } + /// Backing field for property. + private string _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. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "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.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"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.", + SerializedName = @"x-ms-authorization-auxiliary", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Header)] + public string Token { get => this._token; set => this._token = value; } + /// Backing field for property. private string _vaultName; @@ -183,12 +216,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 @@ -219,10 +252,12 @@ protected override void BeginProcessing() } /// Creates a duplicate instance of this cmdlet (via JSON serialization). - /// a duplicate instance of StopAzDataProtectionBackupInstanceProtection_Stop - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets.StopAzDataProtectionBackupInstanceProtection_Stop Clone() + /// + /// a duplicate instance of StopAzDataProtectionBackupInstanceProtection_StopExpanded + /// + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets.StopAzDataProtectionBackupInstanceProtection_StopExpanded Clone() { - var clone = new StopAzDataProtectionBackupInstanceProtection_Stop(); + var clone = new StopAzDataProtectionBackupInstanceProtection_StopExpanded(); clone.__correlationId = this.__correlationId; clone.__processRecordId = this.__processRecordId; clone.DefaultProfile = this.DefaultProfile; @@ -235,10 +270,12 @@ public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets.StopAzDataProte 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.VaultName = this.VaultName; clone.BackupInstanceName = this.BackupInstanceName; + clone.Token = this.Token; return clone; } @@ -409,12 +446,12 @@ protected override void ProcessRecord() 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.BackupInstancesStopProtection(SubscriptionId, ResourceGroupName, VaultName, BackupInstanceName, onOk, onDefault, this, Pipeline); + await this.Client.BackupInstancesStopProtection(SubscriptionId, ResourceGroupName, VaultName, BackupInstanceName, this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : 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,VaultName=VaultName,BackupInstanceName=BackupInstanceName}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,VaultName=VaultName,BackupInstanceName=BackupInstanceName,Token=this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : null,body=_parametersBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -427,9 +464,9 @@ protected override void ProcessRecord() } /// - /// Intializes a new instance of the cmdlet class. + /// Intializes a new instance of the cmdlet class. /// - public StopAzDataProtectionBackupInstanceProtection_Stop() + public StopAzDataProtectionBackupInstanceProtection_StopExpanded() { } @@ -460,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -482,15 +519,15 @@ 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); - 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 }) + 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, Token=this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : 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, VaultName=VaultName, BackupInstanceName=BackupInstanceName }) + 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, VaultName=VaultName, BackupInstanceName=BackupInstanceName, Token=this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : null, body=_parametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/StopAzDataProtectionBackupInstanceProtection_StopViaIdentity.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/StopAzDataProtectionBackupInstanceProtection_StopViaIdentity.cs index 3a200d5789b3..c43d07f466e7 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/StopAzDataProtectionBackupInstanceProtection_StopViaIdentity.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/StopAzDataProtectionBackupInstanceProtection_StopViaIdentity.cs @@ -14,11 +14,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// /// [OpenAPI] StopProtection=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/stopProtection" /// + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Stop, @"AzDataProtectionBackupInstanceProtection_StopViaIdentity", SupportsShouldProcess = true)] [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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/stopProtection", ApiVersion = "2024-04-01")] public partial class StopAzDataProtectionBackupInstanceProtection_StopViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -98,6 +99,19 @@ public partial class StopAzDataProtectionBackupInstanceProtection_StopViaIdentit [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.Api20240401.IStopProtectionRequest _parameter; + + /// Request body of Stop protection when MUA is Enabled + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Request body of Stop protection when MUA is Enabled", ValueFromPipeline = true)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Request body of Stop protection when MUA is Enabled", + SerializedName = @"parameters", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStopProtectionRequest) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStopProtectionRequest Parameter { get => this._parameter; set => this._parameter = value; } + /// /// When specified, forces the cmdlet return a 'bool' given that there isn't a return type by default. /// @@ -126,17 +140,34 @@ public partial class StopAzDataProtectionBackupInstanceProtection_StopViaIdentit [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 _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. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "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.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"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.", + SerializedName = @"x-ms-authorization-auxiliary", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Header)] + public string Token { get => this._token; set => this._token = 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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 @@ -185,6 +216,8 @@ public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets.StopAzDataProte clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; clone.HttpPipelinePrepend = this.HttpPipelinePrepend; clone.HttpPipelineAppend = this.HttpPipelineAppend; + clone.Token = this.Token; + clone.Parameter = this.Parameter; return clone; } @@ -357,7 +390,7 @@ protected override void ProcessRecord() 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.BackupInstancesStopProtectionViaIdentity(InputObject.Id, onOk, onDefault, this, Pipeline); + await this.Client.BackupInstancesStopProtectionViaIdentity(InputObject.Id, this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : null, Parameter, onOk, onDefault, this, Pipeline); } else { @@ -378,13 +411,13 @@ protected override void ProcessRecord() { ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.BackupInstanceName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); } - await this.Client.BackupInstancesStopProtection(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.VaultName ?? null, InputObject.BackupInstanceName ?? null, onOk, onDefault, this, Pipeline); + await this.Client.BackupInstancesStopProtection(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.VaultName ?? null, InputObject.BackupInstanceName ?? null, this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : 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 { }) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { Token=this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : null,body=Parameter}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -430,12 +463,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -452,15 +485,15 @@ 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); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + 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 { Token=this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : 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 { }) + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { Token=this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : null, body=Parameter }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/SuspendAzDataProtectionBackupInstanceBackup_Suspend.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/SuspendAzDataProtectionBackupInstanceBackup_SuspendExpanded.cs similarity index 89% rename from src/DataProtection/DataProtection.Autorest/generated/cmdlets/SuspendAzDataProtectionBackupInstanceBackup_Suspend.cs rename to src/DataProtection/DataProtection.Autorest/generated/cmdlets/SuspendAzDataProtectionBackupInstanceBackup_SuspendExpanded.cs index 29b053573318..f4c580d2643c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/SuspendAzDataProtectionBackupInstanceBackup_Suspend.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/SuspendAzDataProtectionBackupInstanceBackup_SuspendExpanded.cs @@ -15,12 +15,13 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// /// [OpenAPI] SuspendBackups=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/suspendBackups" /// - [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Suspend, @"AzDataProtectionBackupInstanceBackup_Suspend", SupportsShouldProcess = true)] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.InternalExport] + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Suspend, @"AzDataProtectionBackupInstanceBackup_SuspendExpanded", SupportsShouldProcess = true)] [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-12-01")] - public partial class SuspendAzDataProtectionBackupInstanceBackup_Suspend : global::System.Management.Automation.PSCmdlet, + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/suspendBackups", ApiVersion = "2024-04-01")] + public partial class SuspendAzDataProtectionBackupInstanceBackup_SuspendExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { /// A unique id generatd for the this cmdlet when it is instantiated. @@ -37,6 +38,9 @@ public partial class SuspendAzDataProtectionBackupInstanceBackup_Suspend : globa /// private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + /// Request body of Suspend backup when MUA is Enabled + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISuspendBackupRequest _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SuspendBackupRequest(); + /// 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)] @@ -147,6 +151,18 @@ public partial class SuspendAzDataProtectionBackupInstanceBackup_Suspend : globa [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; } + /// ResourceGuardOperationRequests on which LAC check will be performed + [global::System.Management.Automation.AllowEmptyCollection] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "ResourceGuardOperationRequests on which LAC check will be performed")] + [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 = @"ResourceGuardOperationRequests on which LAC check will be performed", + SerializedName = @"resourceGuardOperationRequests", + PossibleTypes = new [] { typeof(string) })] + public string[] ResourceGuardOperationRequest { get => _parametersBody.ResourceGuardOperationRequest ?? null /* arrayOf */; set => _parametersBody.ResourceGuardOperationRequest = value; } + /// Backing field for property. private string _subscriptionId; @@ -165,6 +181,23 @@ public partial class SuspendAzDataProtectionBackupInstanceBackup_Suspend : globa [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; } + /// Backing field for property. + private string _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. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "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.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"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.", + SerializedName = @"x-ms-authorization-auxiliary", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Header)] + public string Token { get => this._token; set => this._token = value; } + /// Backing field for property. private string _vaultName; @@ -184,12 +217,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 @@ -220,10 +253,12 @@ protected override void BeginProcessing() } /// Creates a duplicate instance of this cmdlet (via JSON serialization). - /// a duplicate instance of SuspendAzDataProtectionBackupInstanceBackup_Suspend - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets.SuspendAzDataProtectionBackupInstanceBackup_Suspend Clone() + /// + /// a duplicate instance of SuspendAzDataProtectionBackupInstanceBackup_SuspendExpanded + /// + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets.SuspendAzDataProtectionBackupInstanceBackup_SuspendExpanded Clone() { - var clone = new SuspendAzDataProtectionBackupInstanceBackup_Suspend(); + var clone = new SuspendAzDataProtectionBackupInstanceBackup_SuspendExpanded(); clone.__correlationId = this.__correlationId; clone.__processRecordId = this.__processRecordId; clone.DefaultProfile = this.DefaultProfile; @@ -236,10 +271,12 @@ public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets.SuspendAzDataPr 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.VaultName = this.VaultName; clone.BackupInstanceName = this.BackupInstanceName; + clone.Token = this.Token; return clone; } @@ -410,12 +447,12 @@ protected override void ProcessRecord() 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.BackupInstancesSuspendBackups(SubscriptionId, ResourceGroupName, VaultName, BackupInstanceName, onOk, onDefault, this, Pipeline); + await this.Client.BackupInstancesSuspendBackups(SubscriptionId, ResourceGroupName, VaultName, BackupInstanceName, this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : 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,VaultName=VaultName,BackupInstanceName=BackupInstanceName}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,VaultName=VaultName,BackupInstanceName=BackupInstanceName,Token=this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : null,body=_parametersBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -435,9 +472,9 @@ protected override void StopProcessing() } /// - /// Intializes a new instance of the cmdlet class. + /// Intializes a new instance of the cmdlet class. /// - public SuspendAzDataProtectionBackupInstanceBackup_Suspend() + public SuspendAzDataProtectionBackupInstanceBackup_SuspendExpanded() { } @@ -461,12 +498,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -483,15 +520,15 @@ 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); - 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 }) + 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, Token=this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : 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, VaultName=VaultName, BackupInstanceName=BackupInstanceName }) + 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, VaultName=VaultName, BackupInstanceName=BackupInstanceName, Token=this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : null, body=_parametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/SuspendAzDataProtectionBackupInstanceBackup_SuspendViaIdentity.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/SuspendAzDataProtectionBackupInstanceBackup_SuspendViaIdentity.cs index 38e54176ac4c..18b0d1a2def7 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/SuspendAzDataProtectionBackupInstanceBackup_SuspendViaIdentity.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/SuspendAzDataProtectionBackupInstanceBackup_SuspendViaIdentity.cs @@ -15,11 +15,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// /// [OpenAPI] SuspendBackups=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/suspendBackups" /// + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Suspend, @"AzDataProtectionBackupInstanceBackup_SuspendViaIdentity", SupportsShouldProcess = true)] [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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/suspendBackups", ApiVersion = "2024-04-01")] public partial class SuspendAzDataProtectionBackupInstanceBackup_SuspendViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -99,6 +100,19 @@ public partial class SuspendAzDataProtectionBackupInstanceBackup_SuspendViaIdent [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.Api20240401.ISuspendBackupRequest _parameter; + + /// Request body of Suspend backup when MUA is Enabled + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Request body of Suspend backup when MUA is Enabled", ValueFromPipeline = true)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Request body of Suspend backup when MUA is Enabled", + SerializedName = @"parameters", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISuspendBackupRequest) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISuspendBackupRequest Parameter { get => this._parameter; set => this._parameter = value; } + /// /// When specified, forces the cmdlet return a 'bool' given that there isn't a return type by default. /// @@ -127,17 +141,34 @@ public partial class SuspendAzDataProtectionBackupInstanceBackup_SuspendViaIdent [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 _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. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "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.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"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.", + SerializedName = @"x-ms-authorization-auxiliary", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Header)] + public string Token { get => this._token; set => this._token = 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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 @@ -186,6 +217,8 @@ public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets.SuspendAzDataPr clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; clone.HttpPipelinePrepend = this.HttpPipelinePrepend; clone.HttpPipelineAppend = this.HttpPipelineAppend; + clone.Token = this.Token; + clone.Parameter = this.Parameter; return clone; } @@ -358,7 +391,7 @@ protected override void ProcessRecord() 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.BackupInstancesSuspendBackupsViaIdentity(InputObject.Id, onOk, onDefault, this, Pipeline); + await this.Client.BackupInstancesSuspendBackupsViaIdentity(InputObject.Id, this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : null, Parameter, onOk, onDefault, this, Pipeline); } else { @@ -379,13 +412,13 @@ protected override void ProcessRecord() { ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.BackupInstanceName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); } - await this.Client.BackupInstancesSuspendBackups(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.VaultName ?? null, InputObject.BackupInstanceName ?? null, onOk, onDefault, this, Pipeline); + await this.Client.BackupInstancesSuspendBackups(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.VaultName ?? null, InputObject.BackupInstanceName ?? null, this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : 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 { }) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { Token=this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : null,body=Parameter}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -432,12 +465,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -454,15 +487,15 @@ 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); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) + 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 { Token=this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : 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 { }) + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { Token=this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : null, body=Parameter }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/SyncAzDataProtectionBackupInstance_SyncExpanded.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/SyncAzDataProtectionBackupInstance_SyncExpanded.cs index aabb8ce5be2d..0a49243a22fc 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/SyncAzDataProtectionBackupInstance_SyncExpanded.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/SyncAzDataProtectionBackupInstance_SyncExpanded.cs @@ -19,7 +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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/sync", ApiVersion = "2024-04-01")] public partial class SyncAzDataProtectionBackupInstance_SyncExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -38,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.Api20231201.ISyncBackupInstanceRequest _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.SyncBackupInstanceRequest(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISyncBackupInstanceRequest _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.SyncBackupInstanceRequest(); /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] @@ -200,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 @@ -478,12 +478,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -500,7 +500,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 index d63fec101cf7..0d776e97284a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceCrossRegionRestore_Validate.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceCrossRegionRestore_Validate.cs @@ -14,10 +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, @"AzDataProtectionBackupInstanceCrossRegionRestore_Validate", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/validateCrossRegionRestore", ApiVersion = "2024-04-01")] public partial class TestAzDataProtectionBackupInstanceCrossRegionRestore_Validate : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -104,7 +104,7 @@ public partial class TestAzDataProtectionBackupInstanceCrossRegionRestore_Valida public global::System.Management.Automation.SwitchParameter NoWait { get; set; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateCrossRegionRestoreRequestObject _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateCrossRegionRestoreRequestObject _parameter; /// Cross Region Restore Request Object [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Cross Region Restore Request Object", ValueFromPipeline = true)] @@ -113,8 +113,8 @@ public partial class TestAzDataProtectionBackupInstanceCrossRegionRestore_Valida ReadOnly = false, Description = @"Cross Region Restore Request Object", SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateCrossRegionRestoreRequestObject) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateCrossRegionRestoreRequestObject Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateCrossRegionRestoreRequestObject) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateCrossRegionRestoreRequestObject Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -186,12 +186,12 @@ public partial class TestAzDataProtectionBackupInstanceCrossRegionRestore_Valida /// 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.Api20231201.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 +495,12 @@ public TestAzDataProtectionBackupInstanceCrossRegionRestore_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.Api20231201.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -512,7 +512,7 @@ public TestAzDataProtectionBackupInstanceCrossRegionRestore_Validate() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceCrossRegionRestore_ValidateExpanded.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceCrossRegionRestore_ValidateExpanded.cs index 7a4bf296b695..4ea0cf8741f3 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceCrossRegionRestore_ValidateExpanded.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceCrossRegionRestore_ValidateExpanded.cs @@ -14,10 +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, @"AzDataProtectionBackupInstanceCrossRegionRestore_ValidateExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/validateCrossRegionRestore", ApiVersion = "2024-04-01")] public partial class TestAzDataProtectionBackupInstanceCrossRegionRestore_ValidateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -36,7 +36,7 @@ public partial class TestAzDataProtectionBackupInstanceCrossRegionRestore_Valida private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); /// Cross Region Restore Request Object - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateCrossRegionRestoreRequestObject _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ValidateCrossRegionRestoreRequestObject(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateCrossRegionRestoreRequestObject _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ValidateCrossRegionRestoreRequestObject(); /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] @@ -59,8 +59,8 @@ public partial class TestAzDataProtectionBackupInstanceCrossRegionRestore_Valida ReadOnly = false, Description = @"Cross region restore details.", SerializedName = @"crossRegionRestoreDetails", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreDetails) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreDetails CrossRegionRestoreDetail { get => _parametersBody.CrossRegionRestoreDetail ?? null /* object */; set => _parametersBody.CrossRegionRestoreDetail = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreDetails) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 @@ -160,8 +160,8 @@ public partial class TestAzDataProtectionBackupInstanceCrossRegionRestore_Valida ReadOnly = false, Description = @"Gets or sets the restore request object.", SerializedName = @"restoreRequestObject", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest RestoreRequestObject { get => _parametersBody.RestoreRequestObject ?? null /* object */; set => _parametersBody.RestoreRequestObject = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest RestoreRequestObject { get => _parametersBody.RestoreRequestObject ?? null /* object */; set => _parametersBody.RestoreRequestObject = value; } /// Backing field for property. private string _subscriptionId; @@ -198,12 +198,12 @@ public partial class TestAzDataProtectionBackupInstanceCrossRegionRestore_Valida /// 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.Api20231201.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -508,12 +508,12 @@ public TestAzDataProtectionBackupInstanceCrossRegionRestore_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.Api20231201.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -525,7 +525,7 @@ public TestAzDataProtectionBackupInstanceCrossRegionRestore_ValidateExpanded() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceCrossRegionRestore_ValidateViaIdentity.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceCrossRegionRestore_ValidateViaIdentity.cs index 97ddd4916145..9727c1c2c1fa 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceCrossRegionRestore_ValidateViaIdentity.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceCrossRegionRestore_ValidateViaIdentity.cs @@ -14,10 +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, @"AzDataProtectionBackupInstanceCrossRegionRestore_ValidateViaIdentity", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/validateCrossRegionRestore", ApiVersion = "2024-04-01")] public partial class TestAzDataProtectionBackupInstanceCrossRegionRestore_ValidateViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -98,7 +98,7 @@ public partial class TestAzDataProtectionBackupInstanceCrossRegionRestore_Valida public global::System.Management.Automation.SwitchParameter NoWait { get; set; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateCrossRegionRestoreRequestObject _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateCrossRegionRestoreRequestObject _parameter; /// Cross Region Restore Request Object [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Cross Region Restore Request Object", ValueFromPipeline = true)] @@ -107,8 +107,8 @@ public partial class TestAzDataProtectionBackupInstanceCrossRegionRestore_Valida ReadOnly = false, Description = @"Cross Region Restore Request Object", SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateCrossRegionRestoreRequestObject) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateCrossRegionRestoreRequestObject Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateCrossRegionRestoreRequestObject) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateCrossRegionRestoreRequestObject Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -148,12 +148,12 @@ public partial class TestAzDataProtectionBackupInstanceCrossRegionRestore_Valida /// 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.Api20231201.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -475,12 +475,12 @@ public TestAzDataProtectionBackupInstanceCrossRegionRestore_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.Api20231201.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -492,7 +492,7 @@ public TestAzDataProtectionBackupInstanceCrossRegionRestore_ValidateViaIdentity( return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceCrossRegionRestore_ValidateViaIdentityExpanded.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceCrossRegionRestore_ValidateViaIdentityExpanded.cs index 6133c9891ad8..38043fa2ec7f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceCrossRegionRestore_ValidateViaIdentityExpanded.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceCrossRegionRestore_ValidateViaIdentityExpanded.cs @@ -14,10 +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, @"AzDataProtectionBackupInstanceCrossRegionRestore_ValidateViaIdentityExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/validateCrossRegionRestore", ApiVersion = "2024-04-01")] public partial class TestAzDataProtectionBackupInstanceCrossRegionRestore_ValidateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -36,7 +36,7 @@ public partial class TestAzDataProtectionBackupInstanceCrossRegionRestore_Valida private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); /// Cross Region Restore Request Object - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateCrossRegionRestoreRequestObject _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ValidateCrossRegionRestoreRequestObject(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateCrossRegionRestoreRequestObject _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ValidateCrossRegionRestoreRequestObject(); /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] @@ -59,8 +59,8 @@ public partial class TestAzDataProtectionBackupInstanceCrossRegionRestore_Valida ReadOnly = false, Description = @"Cross region restore details.", SerializedName = @"crossRegionRestoreDetails", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreDetails) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreDetails CrossRegionRestoreDetail { get => _parametersBody.CrossRegionRestoreDetail ?? null /* object */; set => _parametersBody.CrossRegionRestoreDetail = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreDetails) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 @@ -140,8 +140,8 @@ public partial class TestAzDataProtectionBackupInstanceCrossRegionRestore_Valida ReadOnly = false, Description = @"Gets or sets the restore request object.", SerializedName = @"restoreRequestObject", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest RestoreRequestObject { get => _parametersBody.RestoreRequestObject ?? null /* object */; set => _parametersBody.RestoreRequestObject = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 @@ -160,12 +160,12 @@ public partial class TestAzDataProtectionBackupInstanceCrossRegionRestore_Valida /// 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.Api20231201.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -487,12 +487,12 @@ public TestAzDataProtectionBackupInstanceCrossRegionRestore_ValidateViaIdentityE /// 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.Api20231201.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -504,7 +504,7 @@ public TestAzDataProtectionBackupInstanceCrossRegionRestore_ValidateViaIdentityE return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceReadiness_Validate.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceReadiness_Validate.cs index 18cbf51f8c74..0afd80c2f66e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceReadiness_Validate.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceReadiness_Validate.cs @@ -14,10 +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.Api20231201.IOperationJobExtendedInfo))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/validateForBackup", ApiVersion = "2024-04-01")] public partial class TestAzDataProtectionBackupInstanceReadiness_Validate : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -90,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.Api20231201.IValidateForBackupRequest _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateForBackupRequest _parameter; /// Validate for backup request [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Validate for backup request", ValueFromPipeline = true)] @@ -99,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.Api20231201.IValidateForBackupRequest) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateForBackupRequest Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateForBackupRequest) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateForBackupRequest Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -174,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -453,12 +453,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -475,7 +475,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 } @@ -493,12 +493,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.Api20231201.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -510,7 +510,7 @@ public TestAzDataProtectionBackupInstanceReadiness_Validate() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 c02817121110..86aeaa24adf4 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceReadiness_ValidateExpanded.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceReadiness_ValidateExpanded.cs @@ -13,10 +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.Api20231201.IOperationJobExtendedInfo))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/validateForBackup", ApiVersion = "2024-04-01")] public partial class TestAzDataProtectionBackupInstanceReadiness_ValidateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -35,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.Api20231201.IValidateForBackupRequest _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ValidateForBackupRequest(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateForBackupRequest _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 +50,8 @@ public partial class TestAzDataProtectionBackupInstanceReadiness_ValidateExpande ReadOnly = false, Description = @"Backup Instance", SerializedName = @"backupInstance", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstance) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstance BackupInstance { get => _parametersBody.BackupInstance ?? null /* object */; set => _parametersBody.BackupInstance = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstance) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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")] @@ -174,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -455,12 +455,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -477,7 +477,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 } @@ -495,12 +495,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.Api20231201.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -512,7 +512,7 @@ public TestAzDataProtectionBackupInstanceReadiness_ValidateExpanded() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 1a5aefa9d0d1..57c85875442e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceReadiness_ValidateViaIdentity.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceReadiness_ValidateViaIdentity.cs @@ -14,10 +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.Api20231201.IOperationJobExtendedInfo))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/validateForBackup", ApiVersion = "2024-04-01")] public partial class TestAzDataProtectionBackupInstanceReadiness_ValidateViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -98,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.Api20231201.IValidateForBackupRequest _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateForBackupRequest _parameter; /// Validate for backup request [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Validate for backup request", ValueFromPipeline = true)] @@ -107,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.Api20231201.IValidateForBackupRequest) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateForBackupRequest Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateForBackupRequest) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateForBackupRequest Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -136,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -435,12 +435,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -457,7 +457,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 } @@ -475,12 +475,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.Api20231201.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -492,7 +492,7 @@ public TestAzDataProtectionBackupInstanceReadiness_ValidateViaIdentity() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 b67969238bce..4227079f914f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceReadiness_ValidateViaIdentityExpanded.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceReadiness_ValidateViaIdentityExpanded.cs @@ -14,10 +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.Api20231201.IOperationJobExtendedInfo))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/validateForBackup", ApiVersion = "2024-04-01")] public partial class TestAzDataProtectionBackupInstanceReadiness_ValidateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -36,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.Api20231201.IValidateForBackupRequest _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ValidateForBackupRequest(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateForBackupRequest _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ValidateForBackupRequest(); /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] @@ -51,8 +51,8 @@ public partial class TestAzDataProtectionBackupInstanceReadiness_ValidateViaIden ReadOnly = false, Description = @"Backup Instance", SerializedName = @"backupInstance", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstance) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstance BackupInstance { get => _parametersBody.BackupInstance ?? null /* object */; set => _parametersBody.BackupInstance = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstance) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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")] @@ -137,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 +436,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 +458,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 } @@ -476,12 +476,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.Api20231201.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 +493,7 @@ public TestAzDataProtectionBackupInstanceReadiness_ValidateViaIdentityExpanded() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 38f9431bbf33..032aff0ed389 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceRestore_Validate1.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceRestore_Validate1.cs @@ -14,10 +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.Api20231201.IOperationJobExtendedInfo))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/validateRestore", ApiVersion = "2024-04-01")] public partial class TestAzDataProtectionBackupInstanceRestore_Validate1 : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -105,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.Api20231201.IValidateRestoreRequestObject _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateRestoreRequestObject _parameter; /// Validate restore request object [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Validate restore request object", ValueFromPipeline = true)] @@ -114,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.Api20231201.IValidateRestoreRequestObject) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateRestoreRequestObject Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateRestoreRequestObject) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateRestoreRequestObject Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -189,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -469,12 +469,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -491,7 +491,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 } @@ -509,12 +509,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.Api20231201.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -526,7 +526,7 @@ public TestAzDataProtectionBackupInstanceRestore_Validate1() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 2bd2b6c99ce2..4e2a71b5eb90 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceRestore_ValidateExpanded1.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceRestore_ValidateExpanded1.cs @@ -14,10 +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.Api20231201.IOperationJobExtendedInfo))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/validateRestore", ApiVersion = "2024-04-01")] public partial class TestAzDataProtectionBackupInstanceRestore_ValidateExpanded1 : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -36,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.Api20231201.IValidateRestoreRequestObject _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ValidateRestoreRequestObject(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateRestoreRequestObject _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ValidateRestoreRequestObject(); /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] @@ -150,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.Api20231201.IAzureBackupRestoreRequest) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest RestoreRequestObject { get => _parametersBody.RestoreRequestObject ?? null /* object */; set => _parametersBody.RestoreRequestObject = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest RestoreRequestObject { get => _parametersBody.RestoreRequestObject ?? null /* object */; set => _parametersBody.RestoreRequestObject = value; } /// Backing field for property. private string _subscriptionId; @@ -190,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -472,12 +472,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -494,7 +494,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 } @@ -512,12 +512,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.Api20231201.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -529,7 +529,7 @@ public TestAzDataProtectionBackupInstanceRestore_ValidateExpanded1() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 18a5447c1bd8..3b788691d2ce 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceRestore_ValidateViaIdentity1.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceRestore_ValidateViaIdentity1.cs @@ -14,10 +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.Api20231201.IOperationJobExtendedInfo))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/validateRestore", ApiVersion = "2024-04-01")] public partial class TestAzDataProtectionBackupInstanceRestore_ValidateViaIdentity1 : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -98,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.Api20231201.IValidateRestoreRequestObject _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateRestoreRequestObject _parameter; /// Validate restore request object [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Validate restore request object", ValueFromPipeline = true)] @@ -107,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.Api20231201.IValidateRestoreRequestObject) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateRestoreRequestObject Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateRestoreRequestObject) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateRestoreRequestObject Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -136,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 +439,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 +461,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 } @@ -479,12 +479,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.Api20231201.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 +496,7 @@ public TestAzDataProtectionBackupInstanceRestore_ValidateViaIdentity1() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 797c0c2419ef..dfc83825dd51 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceRestore_ValidateViaIdentityExpanded1.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceRestore_ValidateViaIdentityExpanded1.cs @@ -14,10 +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.Api20231201.IOperationJobExtendedInfo))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/validateRestore", ApiVersion = "2024-04-01")] public partial class TestAzDataProtectionBackupInstanceRestore_ValidateViaIdentityExpanded1 : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -36,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.Api20231201.IValidateRestoreRequestObject _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ValidateRestoreRequestObject(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateRestoreRequestObject _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ValidateRestoreRequestObject(); /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] @@ -129,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.Api20231201.IAzureBackupRestoreRequest) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest RestoreRequestObject { get => _parametersBody.RestoreRequestObject ?? null /* object */; set => _parametersBody.RestoreRequestObject = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -440,12 +440,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -462,7 +462,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 } @@ -480,12 +480,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.Api20231201.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -497,7 +497,7 @@ public TestAzDataProtectionBackupInstanceRestore_ValidateViaIdentityExpanded1() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 5442845e80a2..090ad8ac765e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/UndoAzDataProtectionBackupInstanceDeletion_Undelete.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/UndoAzDataProtectionBackupInstanceDeletion_Undelete.cs @@ -16,7 +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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/deletedBackupInstances/{backupInstanceName}/undelete", ApiVersion = "2024-04-01")] public partial class UndoAzDataProtectionBackupInstanceDeletion_Undelete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -181,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 @@ -458,12 +458,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -480,7 +480,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 fe5f5fd62562..f66c66cc069a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/UndoAzDataProtectionBackupInstanceDeletion_UndeleteViaIdentity.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/UndoAzDataProtectionBackupInstanceDeletion_UndeleteViaIdentity.cs @@ -16,7 +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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/deletedBackupInstances/{backupInstanceName}/undelete", ApiVersion = "2024-04-01")] public partial class UndoAzDataProtectionBackupInstanceDeletion_UndeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -129,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 @@ -429,12 +429,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -451,7 +451,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 d6b514469954..9b8034220f2d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/UnlockAzDataProtectionDppResourceGuardProxyDelete_UnlockExpanded.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/UnlockAzDataProtectionDppResourceGuardProxyDelete_UnlockExpanded.cs @@ -17,7 +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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}/unlockDelete", ApiVersion = "2024-04-01")] public partial class UnlockAzDataProtectionDppResourceGuardProxyDelete_UnlockExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -36,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.Api20231201.IUnlockDeleteRequest _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.UnlockDeleteRequest(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IUnlockDeleteRequest _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.UnlockDeleteRequest(); /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -114,14 +114,14 @@ public partial class UnlockAzDataProtectionDppResourceGuardProxyDelete_UnlockExp [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; } - /// . + /// ResourceGuardOperationRequests on which LAC check will be performed [global::System.Management.Automation.AllowEmptyCollection] - [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = ".")] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "ResourceGuardOperationRequests on which LAC check will be performed")] [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 = @".", + Description = @"ResourceGuardOperationRequests on which LAC check will be performed", SerializedName = @"resourceGuardOperationRequests", PossibleTypes = new [] { typeof(string) })] public string[] ResourceGuardOperationRequest { get => _parametersBody.ResourceGuardOperationRequest ?? null /* arrayOf */; set => _parametersBody.ResourceGuardOperationRequest = value; } @@ -210,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IUnlockDeleteResponse + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -436,12 +436,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 +458,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 } @@ -476,12 +476,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.Api20231201.IUnlockDeleteResponse + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -493,7 +493,7 @@ public UnlockAzDataProtectionDppResourceGuardProxyDelete_UnlockExpanded() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IUnlockDeleteResponse + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 b98d58f46d2f..0e2fb4ac5923 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/UpdateAzDataProtectionBackupVault_UpdateExpanded.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/UpdateAzDataProtectionBackupVault_UpdateExpanded.cs @@ -14,11 +14,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// /// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}" /// + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.InternalExport] [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.Api20231201.IBackupVaultResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}", ApiVersion = "2024-04-01")] public partial class UpdateAzDataProtectionBackupVault_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -37,7 +38,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.Api20231201.IPatchResourceRequestInput _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.PatchResourceRequestInput(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInput _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.PatchResourceRequestInput(); /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] @@ -102,6 +103,17 @@ public partial class UpdateAzDataProtectionBackupVault_UpdateExpanded : global:: [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Azure)] public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + /// Customer Managed Key details of the resource. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Customer Managed Key details of the resource.")] + [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 = @"Customer Managed Key details of the resource.", + SerializedName = @"encryptionSettings", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings EncryptionSetting { get => _parametersBody.EncryptionSetting ?? null /* object */; set => _parametersBody.EncryptionSetting = 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] @@ -205,6 +217,18 @@ public partial class UpdateAzDataProtectionBackupVault_UpdateExpanded : global:: [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; } + /// ResourceGuardOperationRequests on which LAC check will be performed + [global::System.Management.Automation.AllowEmptyCollection] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "ResourceGuardOperationRequests on which LAC check will be performed")] + [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 = @"ResourceGuardOperationRequests on which LAC check will be performed", + SerializedName = @"resourceGuardOperationRequests", + PossibleTypes = new [] { typeof(string) })] + public string[] ResourceGuardOperationRequest { get => _parametersBody.ResourceGuardOperationRequest ?? null /* arrayOf */; set => _parametersBody.ResourceGuardOperationRequest = value; } + /// Soft delete retention duration in days. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Soft delete retention duration in days.")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Body)] @@ -255,8 +279,25 @@ public partial class UpdateAzDataProtectionBackupVault_UpdateExpanded : global:: ReadOnly = false, Description = @"Resource tags.", SerializedName = @"tags", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputTags) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputTags Tag { get => _parametersBody.Tag ?? null /* object */; set => _parametersBody.Tag = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputTags) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputTags Tag { get => _parametersBody.Tag ?? null /* object */; set => _parametersBody.Tag = value; } + + /// Backing field for property. + private string _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. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "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.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"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.", + SerializedName = @"x-ms-authorization-auxiliary", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Header)] + public string Token { get => this._token; set => this._token = value; } /// Backing field for property. private string _vaultName; @@ -277,24 +318,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupVaultResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -335,6 +376,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets.UpdateAzDataPro clone.SubscriptionId = this.SubscriptionId; clone.ResourceGroupName = this.ResourceGroupName; clone.VaultName = this.VaultName; + clone.Token = this.Token; return clone; } @@ -505,12 +547,12 @@ protected override void ProcessRecord() 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.BackupVaultsUpdate(SubscriptionId, ResourceGroupName, VaultName, _parametersBody, onOk, onDefault, this, Pipeline); + await this.Client.BackupVaultsUpdate(SubscriptionId, ResourceGroupName, VaultName, this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : 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,VaultName=VaultName,body=_parametersBody}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,VaultName=VaultName,Token=this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : null,body=_parametersBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -556,12 +598,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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,15 +620,15 @@ 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); - 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 }) + 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, Token=this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : 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, VaultName=VaultName, body=_parametersBody }) + 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, VaultName=VaultName, Token=this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : null, body=_parametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); @@ -596,12 +638,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.Api20231201.IBackupVaultResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 +655,7 @@ public UpdateAzDataProtectionBackupVault_UpdateExpanded() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 06d4bdeeca95..7d82b3fd5e13 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/UpdateAzDataProtectionBackupVault_UpdateViaIdentityExpanded.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/UpdateAzDataProtectionBackupVault_UpdateViaIdentityExpanded.cs @@ -15,10 +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.Api20231201.IBackupVaultResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-12-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}", ApiVersion = "2024-04-01")] public partial class UpdateAzDataProtectionBackupVault_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -37,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.Api20231201.IPatchResourceRequestInput _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.PatchResourceRequestInput(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInput _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.PatchResourceRequestInput(); /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] @@ -102,6 +102,17 @@ public partial class UpdateAzDataProtectionBackupVault_UpdateViaIdentityExpanded [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Azure)] public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + /// Customer Managed Key details of the resource. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Customer Managed Key details of the resource.")] + [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 = @"Customer Managed Key details of the resource.", + SerializedName = @"encryptionSettings", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings EncryptionSetting { get => _parametersBody.EncryptionSetting ?? null /* object */; set => _parametersBody.EncryptionSetting = 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] @@ -199,6 +210,18 @@ public partial class UpdateAzDataProtectionBackupVault_UpdateViaIdentityExpanded [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + /// ResourceGuardOperationRequests on which LAC check will be performed + [global::System.Management.Automation.AllowEmptyCollection] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "ResourceGuardOperationRequests on which LAC check will be performed")] + [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 = @"ResourceGuardOperationRequests on which LAC check will be performed", + SerializedName = @"resourceGuardOperationRequests", + PossibleTypes = new [] { typeof(string) })] + public string[] ResourceGuardOperationRequest { get => _parametersBody.ResourceGuardOperationRequest ?? null /* arrayOf */; set => _parametersBody.ResourceGuardOperationRequest = value; } + /// Soft delete retention duration in days. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Soft delete retention duration in days.")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Body)] @@ -231,32 +254,49 @@ public partial class UpdateAzDataProtectionBackupVault_UpdateViaIdentityExpanded ReadOnly = false, Description = @"Resource tags.", SerializedName = @"tags", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputTags) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IPatchResourceRequestInputTags Tag { get => _parametersBody.Tag ?? null /* object */; set => _parametersBody.Tag = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputTags) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputTags Tag { get => _parametersBody.Tag ?? null /* object */; set => _parametersBody.Tag = value; } + + /// Backing field for property. + private string _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. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "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.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"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.", + SerializedName = @"x-ms-authorization-auxiliary", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Header)] + public string Token { get => this._token; set => this._token = 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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupVaultResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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) @@ -296,6 +336,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets.UpdateAzDataPro clone.HttpPipelinePrepend = this.HttpPipelinePrepend; clone.HttpPipelineAppend = this.HttpPipelineAppend; clone._parametersBody = this._parametersBody; + clone.Token = this.Token; return clone; } @@ -468,7 +509,7 @@ protected override void ProcessRecord() 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.BackupVaultsUpdateViaIdentity(InputObject.Id, _parametersBody, onOk, onDefault, this, Pipeline); + await this.Client.BackupVaultsUpdateViaIdentity(InputObject.Id, this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : null, _parametersBody, onOk, onDefault, this, Pipeline); } else { @@ -485,13 +526,13 @@ protected override void ProcessRecord() { ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.VaultName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); } - await this.Client.BackupVaultsUpdate(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.VaultName ?? null, _parametersBody, onOk, onDefault, this, Pipeline); + await this.Client.BackupVaultsUpdate(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.VaultName ?? null, this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : 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}) + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { Token=this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : null,body=_parametersBody}) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } }); @@ -537,12 +578,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.Api20231201.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -559,15 +600,15 @@ 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); - WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_parametersBody }) + 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 { Token=this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : 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 { body=_parametersBody }) + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { Token=this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : null, body=_parametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } }); @@ -577,12 +618,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.Api20231201.IBackupVaultResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ) { @@ -594,7 +635,7 @@ public UpdateAzDataProtectionBackupVault_UpdateViaIdentityExpanded() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResource WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/help/Az.DataProtection.md b/src/DataProtection/DataProtection.Autorest/help/Az.DataProtection.md index 893a9700eaf3..421613931652 100644 --- a/src/DataProtection/DataProtection.Autorest/help/Az.DataProtection.md +++ b/src/DataProtection/DataProtection.Autorest/help/Az.DataProtection.md @@ -29,6 +29,9 @@ 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-AzDataProtectionBackupInstancesExtensionRouting](Get-AzDataProtectionBackupInstancesExtensionRouting.md) +Gets a list of backup instances associated with a tracked resource + ### [Get-AzDataProtectionBackupPolicy](Get-AzDataProtectionBackupPolicy.md) Gets a backup policy belonging to a backup vault @@ -135,7 +138,7 @@ Triggers restore for a BackupInstance 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) +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 diff --git a/src/DataProtection/DataProtection.Autorest/help/Backup-AzDataProtectionBackupInstanceAdhoc.md b/src/DataProtection/DataProtection.Autorest/help/Backup-AzDataProtectionBackupInstanceAdhoc.md index 726b727b5529..81c98cd93a21 100644 --- a/src/DataProtection/DataProtection.Autorest/help/Backup-AzDataProtectionBackupInstanceAdhoc.md +++ b/src/DataProtection/DataProtection.Autorest/help/Backup-AzDataProtectionBackupInstanceAdhoc.md @@ -254,7 +254,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo ## NOTES diff --git a/src/DataProtection/DataProtection.Autorest/help/Edit-AzDataProtectionPolicyRetentionRuleClientObject.md b/src/DataProtection/DataProtection.Autorest/help/Edit-AzDataProtectionPolicyRetentionRuleClientObject.md index 0eb7cd8816f3..5c062b777b49 100644 --- a/src/DataProtection/DataProtection.Autorest/help/Edit-AzDataProtectionPolicyRetentionRuleClientObject.md +++ b/src/DataProtection/DataProtection.Autorest/help/Edit-AzDataProtectionPolicyRetentionRuleClientObject.md @@ -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.Api20231201.ISourceLifeCycle[] +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycle[] Parameter Sets: AddRetention Aliases: @@ -127,7 +127,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.Api20231201.IBackupPolicy +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicy Parameter Sets: (All) Aliases: @@ -160,7 +160,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupPolicy +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicy ## NOTES diff --git a/src/DataProtection/DataProtection.Autorest/help/Edit-AzDataProtectionPolicyTagClientObject.md b/src/DataProtection/DataProtection.Autorest/help/Edit-AzDataProtectionPolicyTagClientObject.md index 6c2c1e88ba06..c90937d45ebc 100644 --- a/src/DataProtection/DataProtection.Autorest/help/Edit-AzDataProtectionPolicyTagClientObject.md +++ b/src/DataProtection/DataProtection.Autorest/help/Edit-AzDataProtectionPolicyTagClientObject.md @@ -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.Api20231201.IScheduleBasedBackupCriteria[] +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedBackupCriteria[] Parameter Sets: updateTag Aliases: @@ -94,7 +94,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.Api20231201.IBackupPolicy +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicy Parameter Sets: (All) Aliases: @@ -127,7 +127,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupPolicy +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicy ## NOTES diff --git a/src/DataProtection/DataProtection.Autorest/help/Edit-AzDataProtectionPolicyTriggerClientObject.md b/src/DataProtection/DataProtection.Autorest/help/Edit-AzDataProtectionPolicyTriggerClientObject.md index ab6c2f647f9b..4add8227173d 100644 --- a/src/DataProtection/DataProtection.Autorest/help/Edit-AzDataProtectionPolicyTriggerClientObject.md +++ b/src/DataProtection/DataProtection.Autorest/help/Edit-AzDataProtectionPolicyTriggerClientObject.md @@ -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.Api20231201.IBackupPolicy +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicy Parameter Sets: (All) Aliases: @@ -97,7 +97,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupPolicy +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicy ## NOTES diff --git a/src/DataProtection/DataProtection.Autorest/help/Find-AzDataProtectionRestorableTimeRange.md b/src/DataProtection/DataProtection.Autorest/help/Find-AzDataProtectionRestorableTimeRange.md index 5b1aedbc4728..e8d935613b8d 100644 --- a/src/DataProtection/DataProtection.Autorest/help/Find-AzDataProtectionRestorableTimeRange.md +++ b/src/DataProtection/DataProtection.Autorest/help/Find-AzDataProtectionRestorableTimeRange.md @@ -209,7 +209,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesResponseResource +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesResponseResource ## NOTES diff --git a/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionBackupInstance.md b/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionBackupInstance.md index d49d9898aba4..934e10ac739a 100644 --- a/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionBackupInstance.md +++ b/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionBackupInstance.md @@ -167,7 +167,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResource +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource ## NOTES diff --git a/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionBackupInstancesExtensionRouting.md b/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionBackupInstancesExtensionRouting.md new file mode 100644 index 000000000000..de8722ca3db5 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionBackupInstancesExtensionRouting.md @@ -0,0 +1,79 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionbackupinstancesextensionrouting +schema: 2.0.0 +--- + +# Get-AzDataProtectionBackupInstancesExtensionRouting + +## SYNOPSIS +Gets a list of backup instances associated with a tracked resource + +## SYNTAX + +``` +Get-AzDataProtectionBackupInstancesExtensionRouting -ResourceId [-DefaultProfile ] + [] +``` + +## DESCRIPTION +Gets a list of backup instances associated with a tracked resource + +## EXAMPLES + +### Example 1: Get backup instance extension routing +```powershell +$diskARMID = "subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx/resourceGroups/testRG/providers/Microsoft.Compute/disks/testDisk" +Get-AzDataProtectionBackupInstancesExtensionRouting -ResourceId $diskARMID +``` + +This command gets a list of backup instances associated with a tracked resource. +To execute the cmdlet, We pass the datasource ARM ID to the parameter ResourceId. + +## 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 +``` + +### -ResourceId +ARM path of the resource to be protected using Microsoft.DataProtection + +```yaml +Type: System.String +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.Api20240401.IBackupInstanceResource + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionBackupPolicy.md b/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionBackupPolicy.md index 1131f62da7b4..31262447de7d 100644 --- a/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionBackupPolicy.md +++ b/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionBackupPolicy.md @@ -167,7 +167,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResource +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResource ## NOTES diff --git a/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionBackupVault.md b/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionBackupVault.md index 5ef8369075f2..0498ff62c21f 100644 --- a/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionBackupVault.md +++ b/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionBackupVault.md @@ -96,6 +96,29 @@ Adequate First command gets a specific vault by given vault name, then we fetch the secure score of the vault which shows Adequate. +### Example 4: Get encryption settings of backup vault. +```powershell +$vault = Get-AzDataProtectionBackupVault -SubscriptionId "xxxx-xxx-xxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" +$vault.EncryptionSetting |fl +$vault.EncryptionSetting.CmkIdentity |fl +$vault.EncryptionSetting.CmkKeyVaultProperty |fl +``` + +```output +CmkIdentity : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CmkKekIdentity +CmkInfrastructureEncryption : Enabled +CmkKeyVaultProperty : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CmkKeyVaultProperties +State : Enabled + +IdentityId : /subscriptions/191973cd-9c54-41e0-ac19-25dd9a92d5a8/resourcegroups/jeevan-wrk-vms/providers/Microsoft.ManagedIdentity/userAssignedIdentities + /userMSIpstest +IdentityType : UserAssigned + +KeyUri : https://jeevantestkeyvaultcmk.vault.azure.net/keys/pstest/3cd5235ad6ac4c11b40a6f35444bcbe1 +``` + +First command gets a specific vault by given vault name, subsequent three commands fetch the specity properites of encryption settings. + ## PARAMETERS ### -DefaultProfile @@ -186,7 +209,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResource +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResource ## NOTES diff --git a/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionJob.md b/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionJob.md index e0151aa2f0d6..5a7c643a519f 100644 --- a/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionJob.md +++ b/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionJob.md @@ -197,7 +197,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResource +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResource ## NOTES diff --git a/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionOperation.md b/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionOperation.md index 9dc955c81f1c..bb706734ffdd 100644 --- a/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionOperation.md +++ b/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionOperation.md @@ -110,7 +110,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApi +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApi ## NOTES diff --git a/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionOperationStatus.md b/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionOperationStatus.md index 878616218ed7..cce6b2517a26 100644 --- a/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionOperationStatus.md +++ b/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionOperationStatus.md @@ -140,7 +140,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResource +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResource ## NOTES diff --git a/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionPolicyTemplate.md b/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionPolicyTemplate.md index 4d5aab70cf41..f8dea271a170 100644 --- a/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionPolicyTemplate.md +++ b/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionPolicyTemplate.md @@ -59,7 +59,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupPolicy +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicy ## NOTES diff --git a/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionRecoveryPoint.md b/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionRecoveryPoint.md index 83163390d7ba..f9948c625527 100644 --- a/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionRecoveryPoint.md +++ b/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionRecoveryPoint.md @@ -251,7 +251,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointResource +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointResource ### System.Management.Automation.PSObject diff --git a/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionResourceGuard.md b/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionResourceGuard.md index 827b903490f0..b3ee714faa59 100644 --- a/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionResourceGuard.md +++ b/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionResourceGuard.md @@ -154,7 +154,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResource +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource ## NOTES diff --git a/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionResourceGuardMapping.md b/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionResourceGuardMapping.md index 94aab70aa547..fa552cefc0b0 100644 --- a/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionResourceGuardMapping.md +++ b/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionResourceGuardMapping.md @@ -49,8 +49,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.Api20231201.ResourceGuardOperationDetail, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuardOperationDetail} +ResourceGuardOperationDetail : {Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardOperationDetail, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardOperationDetail} SystemData : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemData Type : Microsoft.DataProtection/vaults/backupResourceGuardProxies ``` @@ -148,7 +148,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResource +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResource ## NOTES diff --git a/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionSoftDeletedBackupInstance.md b/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionSoftDeletedBackupInstance.md index dea95ff64691..d7da69c4e1f0 100644 --- a/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionSoftDeletedBackupInstance.md +++ b/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionSoftDeletedBackupInstance.md @@ -153,7 +153,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResource +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResource ## NOTES diff --git a/src/DataProtection/DataProtection.Autorest/help/Initialize-AzDataProtectionBackupInstance.md b/src/DataProtection/DataProtection.Autorest/help/Initialize-AzDataProtectionBackupInstance.md index 99ba75ae8a8c..fc51cad0d622 100644 --- a/src/DataProtection/DataProtection.Autorest/help/Initialize-AzDataProtectionBackupInstance.md +++ b/src/DataProtection/DataProtection.Autorest/help/Initialize-AzDataProtectionBackupInstance.md @@ -96,7 +96,7 @@ Use this parameter to configure protection for AzureKubernetesService,AzureBlob. To construct, see NOTES section for BACKUPCONFIGURATION properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupDatasourceParameters +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupDatasourceParameters Parameter Sets: (All) Aliases: @@ -236,7 +236,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResource +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource ## NOTES diff --git a/src/DataProtection/DataProtection.Autorest/help/Initialize-AzDataProtectionRestoreRequest.md b/src/DataProtection/DataProtection.Autorest/help/Initialize-AzDataProtectionRestoreRequest.md index 6c52b5de672d..3aa97db53831 100644 --- a/src/DataProtection/DataProtection.Autorest/help/Initialize-AzDataProtectionRestoreRequest.md +++ b/src/DataProtection/DataProtection.Autorest/help/Initialize-AzDataProtectionRestoreRequest.md @@ -193,7 +193,7 @@ 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.Api20231201.BackupInstanceResource +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupInstanceResource Parameter Sets: OriginalLocationFullRecovery, OriginalLocationILR Aliases: @@ -365,7 +365,7 @@ 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.Api20231201.KubernetesClusterRestoreCriteria +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.KubernetesClusterRestoreCriteria Parameter Sets: AlternateLocationFullRecovery, AlternateLocationILR, OriginalLocationFullRecovery, OriginalLocationILR Aliases: @@ -524,7 +524,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest ## NOTES diff --git a/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionBackupConfigurationClientObject.md b/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionBackupConfigurationClientObject.md index 5d908b3d524a..d5f1444e1c8a 100644 --- a/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionBackupConfigurationClientObject.md +++ b/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionBackupConfigurationClientObject.md @@ -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.Api20231201.NamespacedNameResource[] +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.NamespacedNameResource[] Parameter Sets: (All) Aliases: diff --git a/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionBackupInstance.md b/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionBackupInstance.md index 664c251f905a..286089372285 100644 --- a/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionBackupInstance.md +++ b/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionBackupInstance.md @@ -178,7 +178,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.Api20231201.IBackupInstanceResource +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource Parameter Sets: (All) Aliases: diff --git a/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionBackupPolicy.md b/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionBackupPolicy.md index 8a49aaba0d18..607de47a6011 100644 --- a/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionBackupPolicy.md +++ b/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionBackupPolicy.md @@ -263,7 +263,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.Api20231201.IBackupPolicy +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicy Parameter Sets: (All) Aliases: @@ -357,7 +357,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResource +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResource ## NOTES diff --git a/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionBackupVault.md b/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionBackupVault.md index 852f9eb56ec1..cd41c3cc7928 100644 --- a/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionBackupVault.md +++ b/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionBackupVault.md @@ -15,11 +15,15 @@ Creates or updates a BackupVault resource belonging to a resource group. ``` New-AzDataProtectionBackupVault -Location -ResourceGroupName -StorageSetting -VaultName [-AsJob] - [-AzureMonitorAlertsForAllJobFailure ] [-CrossRegionRestoreState ] + [-AzureMonitorAlertsForAllJobFailure ] [-CmkEncryptionKeyUri ] + [-CmkEncryptionState ] [-CmkIdentityType ] + [-CmkInfrastructureEncryption ] [-CmkUserAssignedIdentityId ] + [-CrossRegionRestoreState ] [-CrossSubscriptionRestoreState ] [-DefaultProfile ] - [-ETag ] [-IdentityType ] [-ImmutabilityState ] [-NoWait] - [-SoftDeleteRetentionDurationInDay ] [-SoftDeleteState ] [-SubscriptionId ] - [-Tag ] [-Confirm] [-WhatIf] [] + [-ETag ] [-IdentityType ] [-IdentityUserAssignedIdentity ] + [-ImmutabilityState ] [-NoWait] [-SoftDeleteRetentionDurationInDay ] + [-SoftDeleteState ] [-SubscriptionId ] [-Tag ] [-Confirm] [-WhatIf] + [] ``` ## DESCRIPTION @@ -57,6 +61,35 @@ ETag IdentityPrincipalId IdentityTenantId IdentityType Location Name Type This command creates a new backup vault while setting Immutability state, cross subscription restore state, soft delete settings of the vault at creation time. +### Example 3: Create a Backup Vault with CMK +```powershell +$storagesetting = New-AzDataProtectionBackupVaultStorageSettingObject -DataStoreType VaultStore -Type LocallyRedundant +$userAssignedIdentity = @{ + "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/samplerg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sampleuami" = @{ + clientId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + principalId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + } + "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/samplerg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sampleuami2" = @{ + clientId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + principalId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + } +} + +$cmkIdentityId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/samplerg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sampleuami" + +$cmkKeyUri = "https://samplekvazbckp.vault.azure.net/keys/testkey/3cd5235ad6ac4c11b40a6f35444bcbe1" + +New-AzDataProtectionBackupVault -SubscriptionId xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -Location "location" -StorageSetting $storagesetting -IdentityType UserAssigned -UserAssignedIdentity $userAssignedIdentity -CmkEncryptionState Enabled -CmkIdentityType UserAssigned -CmkUserAssignedIdentityId $cmkIdentityId -CmkEncryptionKeyUri $cmkKeyUri -CmkInfrastructureEncryption Enabled +``` + +```output +Name Location IdentityType +-------- -------- ------------ +vaultName location UserAssigned +``` + +This command creates a backup vault with CMK encryption enabled + ## PARAMETERS ### -AsJob @@ -90,6 +123,84 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -CmkEncryptionKeyUri +The Key URI of the CMK key to be used for encryption. +To enable auto-rotation of keys, exclude the version component from the Key URI. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -CmkEncryptionState +Enable CMK encryption state for a Backup Vault. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.EncryptionState +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -CmkIdentityType +The identity type to be used for CMK encryption - SystemAssigned or UserAssigned Identity. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.IdentityType +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -CmkInfrastructureEncryption +Enable infrastructure encryption with CMK on this vault. +Infrastructure encryption must be configured only when creating the vault. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.InfrastructureEncryptionState +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -CmkUserAssignedIdentityId +This parameter is required if the identity type is UserAssigned. +Add the user assigned managed identity id to be used which has access permissions to the Key Vault. + +```yaml +Type: System.String +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. @@ -153,7 +264,7 @@ Accept wildcard characters: False ``` ### -IdentityType -The identityType which can be either SystemAssigned or None. +The identityType can take values - "SystemAssigned", "UserAssigned", "SystemAssigned,UserAssigned", "None". ```yaml Type: System.String @@ -167,6 +278,21 @@ 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: UserAssignedIdentity + +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. @@ -265,7 +391,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.Api20231201.IStorageSetting[] +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStorageSetting[] Parameter Sets: (All) Aliases: diff --git a/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionPolicyTagCriteriaClientObject.md b/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionPolicyTagCriteriaClientObject.md index ff9abfd760e7..45f55e58458e 100644 --- a/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionPolicyTagCriteriaClientObject.md +++ b/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionPolicyTagCriteriaClientObject.md @@ -161,7 +161,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IScheduleBasedBackupCriteria +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedBackupCriteria ## NOTES diff --git a/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionResourceGuard.md b/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionResourceGuard.md index cf69d06aa4c2..503432589b25 100644 --- a/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionResourceGuard.md +++ b/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionResourceGuard.md @@ -196,7 +196,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResource +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource ## NOTES diff --git a/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionRestoreConfigurationClientObject.md b/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionRestoreConfigurationClientObject.md index 11b19dc3a6b6..f150f97628c8 100644 --- a/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionRestoreConfigurationClientObject.md +++ b/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionRestoreConfigurationClientObject.md @@ -170,7 +170,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.Api20231201.KubernetesClusterRestoreCriteriaNamespaceMappings +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.KubernetesClusterRestoreCriteriaNamespaceMappings Parameter Sets: (All) Aliases: @@ -203,7 +203,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.Api20231201.NamespacedNameResource[] +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.NamespacedNameResource[] Parameter Sets: (All) Aliases: diff --git a/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionRetentionLifeCycleClientObject.md b/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionRetentionLifeCycleClientObject.md index 534cfdccb552..d09e06ccc118 100644 --- a/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionRetentionLifeCycleClientObject.md +++ b/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionRetentionLifeCycleClientObject.md @@ -137,7 +137,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISourceLifeCycle +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycle ## NOTES diff --git a/src/DataProtection/DataProtection.Autorest/help/Remove-AzDataProtectionBackupInstance.md b/src/DataProtection/DataProtection.Autorest/help/Remove-AzDataProtectionBackupInstance.md index 61119148aa6a..24890eb1ac88 100644 --- a/src/DataProtection/DataProtection.Autorest/help/Remove-AzDataProtectionBackupInstance.md +++ b/src/DataProtection/DataProtection.Autorest/help/Remove-AzDataProtectionBackupInstance.md @@ -15,14 +15,14 @@ Delete a backupInstances ### Delete (Default) ``` Remove-AzDataProtectionBackupInstance -Name -ResourceGroupName -VaultName - [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] - [] + [-SubscriptionId ] [-Token ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-Confirm] [-WhatIf] [] ``` ### DeleteViaIdentity ``` -Remove-AzDataProtectionBackupInstance -InputObject [-DefaultProfile ] - [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +Remove-AzDataProtectionBackupInstance -InputObject [-Token ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -164,6 +164,22 @@ 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 The name of the backup vault. diff --git a/src/DataProtection/DataProtection.Autorest/help/Set-AzDataProtectionMSIPermission.md b/src/DataProtection/DataProtection.Autorest/help/Set-AzDataProtectionMSIPermission.md index 0d9de0f2bcf4..e61a98bb87b3 100644 --- a/src/DataProtection/DataProtection.Autorest/help/Set-AzDataProtectionMSIPermission.md +++ b/src/DataProtection/DataProtection.Autorest/help/Set-AzDataProtectionMSIPermission.md @@ -108,7 +108,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.Api20231201.IBackupInstanceResource +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource Parameter Sets: SetPermissionsForBackup Aliases: @@ -169,7 +169,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.Api20231201.IAzureBackupRestoreRequest +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest Parameter Sets: SetPermissionsForRestore Aliases: diff --git a/src/DataProtection/DataProtection.Autorest/help/Set-AzDataProtectionResourceGuardMapping.md b/src/DataProtection/DataProtection.Autorest/help/Set-AzDataProtectionResourceGuardMapping.md index 453d5d5757f2..26b99aed0fa0 100644 --- a/src/DataProtection/DataProtection.Autorest/help/Set-AzDataProtectionResourceGuardMapping.md +++ b/src/DataProtection/DataProtection.Autorest/help/Set-AzDataProtectionResourceGuardMapping.md @@ -37,8 +37,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.Api20231201.ResourceGuardOperationDetail, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuardOperationDetail} +ResourceGuardOperationDetail : {Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardOperationDetail, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardOperationDetail} SystemData : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemData Type : Microsoft.DataProtection/vaults/backupResourceGuardProxies ``` @@ -164,7 +164,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResource +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResource ## NOTES diff --git a/src/DataProtection/DataProtection.Autorest/help/Start-AzDataProtectionBackupInstanceRestore.md b/src/DataProtection/DataProtection.Autorest/help/Start-AzDataProtectionBackupInstanceRestore.md index c9b5c1ed1eb8..066cad6fb232 100644 --- a/src/DataProtection/DataProtection.Autorest/help/Start-AzDataProtectionBackupInstanceRestore.md +++ b/src/DataProtection/DataProtection.Autorest/help/Start-AzDataProtectionBackupInstanceRestore.md @@ -16,8 +16,9 @@ Triggers restore for a BackupInstance ``` Start-AzDataProtectionBackupInstanceRestore -BackupInstanceName -Parameter -ResourceGroupName -VaultName [-AsJob] - [-DefaultProfile ] [-NoWait] [-RestoreToSecondaryRegion] [-SubscriptionId ] [-Confirm] - [-WhatIf] [] + [-DefaultProfile ] [-NoWait] [-ResourceGuardOperationRequest ] + [-RestoreToSecondaryRegion] [-SubscriptionId ] [-Token ] [-Confirm] [-WhatIf] + [] ``` ### TriggerExpanded @@ -26,8 +27,8 @@ Start-AzDataProtectionBackupInstanceRestore -BackupInstanceName -Object -ResourceGroupName -RestoreTargetInfo -SourceDataStoreType -VaultName [-AsJob] [-DefaultProfile ] [-IdentityDetailUserAssignedIdentityArmUrl ] [-IdentityDetailUseSystemAssignedIdentity] [-NoWait] - [-RestoreToSecondaryRegion] [-SourceResourceId ] [-SubscriptionId ] [-Confirm] [-WhatIf] - [] + [-ResourceGuardOperationRequest ] [-RestoreToSecondaryRegion] [-SourceResourceId ] + [-SubscriptionId ] [-Token ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -346,7 +347,7 @@ Restore request object to be initialized using Initialize-AzDataProtectionRestor To construct, see NOTES section for PARAMETER properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest Parameter Sets: Trigger Aliases: @@ -372,12 +373,28 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ResourceGuardOperationRequest +Resource guard operation request in the format similar to \/dppTriggerRestoreRequests/default. +Use this parameter when the operation is MUA protected. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +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.Api20231201.IRestoreTargetInfoBase +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBase Parameter Sets: TriggerExpanded Aliases: @@ -448,6 +465,22 @@ 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 The name of the backup vault @@ -499,11 +532,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo ## NOTES diff --git a/src/DataProtection/DataProtection.Autorest/help/Stop-AzDataProtectionBackupInstanceProtection.md b/src/DataProtection/DataProtection.Autorest/help/Stop-AzDataProtectionBackupInstanceProtection.md index bdd7e2b8ca65..d4bc0fa6bb07 100644 --- a/src/DataProtection/DataProtection.Autorest/help/Stop-AzDataProtectionBackupInstanceProtection.md +++ b/src/DataProtection/DataProtection.Autorest/help/Stop-AzDataProtectionBackupInstanceProtection.md @@ -15,14 +15,16 @@ 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] [] + -VaultName [-AsJob] [-DefaultProfile ] [-NoWait] [-PassThru] + [-ResourceGuardOperationRequest ] [-SubscriptionId ] [-Token ] [-Confirm] [-WhatIf] + [] ``` ### StopViaIdentity ``` -Stop-AzDataProtectionBackupInstanceProtection -InputObject - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +Stop-AzDataProtectionBackupInstanceProtection -InputObject [-AsJob] + [-DefaultProfile ] [-NoWait] [-PassThru] [-ResourceGuardOperationRequest ] + [-Token ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -55,7 +57,7 @@ Accept wildcard characters: False ``` ### -BackupInstanceName -The name of the backup instance. +The name of the backup instance ```yaml Type: System.String @@ -70,8 +72,7 @@ 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 @@ -132,8 +133,7 @@ Accept wildcard characters: False ``` ### -ResourceGroupName -The name of the resource group. -The name is case insensitive. +The name of the resource group where the backup vault is present ```yaml Type: System.String @@ -147,9 +147,24 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ResourceGuardOperationRequest +Resource guard operation request in the format similar to \/dppDisableStopProtectionRequests/default. +Use this parameter when the operation is MUA protected. + +```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. +Subscription Id of the backup vault ```yaml Type: System.String @@ -158,13 +173,29 @@ Aliases: Required: False Position: Named -Default value: (Get-AzContext).Subscription.Id +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 -The name of the backup vault. +The name of the backup vault ```yaml Type: System.String diff --git a/src/DataProtection/DataProtection.Autorest/help/Suspend-AzDataProtectionBackupInstanceBackup.md b/src/DataProtection/DataProtection.Autorest/help/Suspend-AzDataProtectionBackupInstanceBackup.md index f99edc474a83..cb5f1b3ffafb 100644 --- a/src/DataProtection/DataProtection.Autorest/help/Suspend-AzDataProtectionBackupInstanceBackup.md +++ b/src/DataProtection/DataProtection.Autorest/help/Suspend-AzDataProtectionBackupInstanceBackup.md @@ -8,25 +8,27 @@ 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) +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] [] + -VaultName [-AsJob] [-DefaultProfile ] [-NoWait] [-PassThru] + [-ResourceGuardOperationRequest ] [-SubscriptionId ] [-Token ] [-Confirm] [-WhatIf] + [] ``` ### SuspendViaIdentity ``` -Suspend-AzDataProtectionBackupInstanceBackup -InputObject - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +Suspend-AzDataProtectionBackupInstanceBackup -InputObject [-AsJob] + [-DefaultProfile ] [-NoWait] [-PassThru] [-ResourceGuardOperationRequest ] + [-Token ] [-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) +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 @@ -55,7 +57,7 @@ Accept wildcard characters: False ``` ### -BackupInstanceName -The name of the backup instance. +The name of the backup instance ```yaml Type: System.String @@ -70,8 +72,7 @@ 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 @@ -132,8 +133,7 @@ Accept wildcard characters: False ``` ### -ResourceGroupName -The name of the resource group. -The name is case insensitive. +The name of the resource group where the backup vault is present ```yaml Type: System.String @@ -147,9 +147,24 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ResourceGuardOperationRequest +Resource guard operation request in the format similar to \/dppDisableSuspendBackupsRequests/default. +Use this parameter when the operation is MUA protected. + +```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. +Subscription Id of the backup vault ```yaml Type: System.String @@ -158,13 +173,29 @@ Aliases: Required: False Position: Named -Default value: (Get-AzContext).Subscription.Id +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 -The name of the backup vault. +The name of the backup vault ```yaml Type: System.String diff --git a/src/DataProtection/DataProtection.Autorest/help/Test-AzDataProtectionBackupInstanceReadiness.md b/src/DataProtection/DataProtection.Autorest/help/Test-AzDataProtectionBackupInstanceReadiness.md index 0e5665b48c62..92274abdc347 100644 --- a/src/DataProtection/DataProtection.Autorest/help/Test-AzDataProtectionBackupInstanceReadiness.md +++ b/src/DataProtection/DataProtection.Autorest/help/Test-AzDataProtectionBackupInstanceReadiness.md @@ -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.Api20231201.IBackupInstance +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstance Parameter Sets: (All) Aliases: @@ -189,7 +189,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo ## NOTES diff --git a/src/DataProtection/DataProtection.Autorest/help/Test-AzDataProtectionBackupInstanceRestore.md b/src/DataProtection/DataProtection.Autorest/help/Test-AzDataProtectionBackupInstanceRestore.md index f591b7b4abf1..680294c44ff0 100644 --- a/src/DataProtection/DataProtection.Autorest/help/Test-AzDataProtectionBackupInstanceRestore.md +++ b/src/DataProtection/DataProtection.Autorest/help/Test-AzDataProtectionBackupInstanceRestore.md @@ -124,7 +124,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.Api20231201.IAzureBackupRestoreRequest +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest Parameter Sets: (All) Aliases: @@ -218,7 +218,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo ## NOTES diff --git a/src/DataProtection/DataProtection.Autorest/help/Update-AzDataProtectionBackupInstance.md b/src/DataProtection/DataProtection.Autorest/help/Update-AzDataProtectionBackupInstance.md index 78a2efeb3155..f2b7f3c60cb0 100644 --- a/src/DataProtection/DataProtection.Autorest/help/Update-AzDataProtectionBackupInstance.md +++ b/src/DataProtection/DataProtection.Autorest/help/Update-AzDataProtectionBackupInstance.md @@ -222,7 +222,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResource +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource ## NOTES diff --git a/src/DataProtection/DataProtection.Autorest/help/Update-AzDataProtectionBackupInstanceAssociatedPolicy.md b/src/DataProtection/DataProtection.Autorest/help/Update-AzDataProtectionBackupInstanceAssociatedPolicy.md index a3ad2e554bb3..d1cfbdcddbcc 100644 --- a/src/DataProtection/DataProtection.Autorest/help/Update-AzDataProtectionBackupInstanceAssociatedPolicy.md +++ b/src/DataProtection/DataProtection.Autorest/help/Update-AzDataProtectionBackupInstanceAssociatedPolicy.md @@ -199,7 +199,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResource +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource ## NOTES diff --git a/src/DataProtection/DataProtection.Autorest/help/Update-AzDataProtectionBackupVault.md b/src/DataProtection/DataProtection.Autorest/help/Update-AzDataProtectionBackupVault.md index 0dd76d9d3e75..d55d66202044 100644 --- a/src/DataProtection/DataProtection.Autorest/help/Update-AzDataProtectionBackupVault.md +++ b/src/DataProtection/DataProtection.Autorest/help/Update-AzDataProtectionBackupVault.md @@ -15,22 +15,26 @@ For example, updating tags for a resource. ### UpdateExpanded (Default) ``` -Update-AzDataProtectionBackupVault -ResourceGroupName -VaultName [-SubscriptionId ] - [-AzureMonitorAlertsForAllJobFailure ] [-CrossRegionRestoreState ] - [-CrossSubscriptionRestoreState ] [-IdentityType ] - [-IdentityUserAssignedIdentity ] [-ImmutabilityState ] - [-SoftDeleteRetentionDurationInDay ] [-SoftDeleteState ] [-Tag ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +Update-AzDataProtectionBackupVault -ResourceGroupName -VaultName [-Token ] [-AsJob] + [-AzureMonitorAlertsForAllJobFailure ] [-CmkEncryptionKeyUri ] + [-CmkEncryptionState ] [-CmkIdentityType ] + [-CmkUserAssignedIdentityId ] [-CrossRegionRestoreState ] + [-CrossSubscriptionRestoreState ] [-DefaultProfile ] + [-IdentityType ] [-IdentityUserAssignedIdentity ] [-ImmutabilityState ] + [-NoWait] [-ResourceGuardOperationRequest ] [-SoftDeleteRetentionDurationInDay ] + [-SoftDeleteState ] [-SubscriptionId ] [-Tag ] [-Confirm] [-WhatIf] + [] ``` ### UpdateViaIdentityExpanded ``` -Update-AzDataProtectionBackupVault -InputObject +Update-AzDataProtectionBackupVault -InputObject [-Token ] [-AsJob] [-AzureMonitorAlertsForAllJobFailure ] [-CrossRegionRestoreState ] - [-CrossSubscriptionRestoreState ] [-IdentityType ] - [-IdentityUserAssignedIdentity ] [-ImmutabilityState ] - [-SoftDeleteRetentionDurationInDay ] [-SoftDeleteState ] [-Tag ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] + [-CrossSubscriptionRestoreState ] [-DefaultProfile ] + [-EncryptionSetting ] [-IdentityType ] + [-IdentityUserAssignedIdentity ] [-ImmutabilityState ] [-NoWait] + [-ResourceGuardOperationRequest ] [-SoftDeleteRetentionDurationInDay ] + [-SoftDeleteState ] [-Tag ] [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -83,6 +87,38 @@ 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. +### Example 4: Update vault CmkIdentityType from UserAssignedManagedIdentity to SystemAssignedManagedIdentity and CmkEncryptionKeyUri +```powershell +$cmkKeyUri = "https://samplekvazbckp.vault.azure.net/keys/testkey/3cd5235ad6ac4c11b40a6f35444bcbe1" + +Update-AzDataProtectionBackupVault -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -CmkIdentityType SystemAssigned -CmkEncryptionKeyUri $cmkKeyUri +``` + +```output +Name Location Type IdentityType +---- -------- ---- ------------ +vaultName southeastasia Microsoft.DataProtection/backupVaults SystemAssigned +``` + +This command is used to modify CmkIdentityType and CmkEncryptionKeyUri. +These parameters are optional and can be used independently. + +### Example 5: Update vault CmkIdentityType from SystemAssignedManagedIdentity to UserAssignedManagedIdentity +```powershell +$cmkIdentityId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/samplerg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sampleuami" + +Update-AzDataProtectionBackupVault -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -CmkIdentityType UserAssigned -CmkUserAssignedIdentityId $cmkIdentityId +``` + +```output +Name Location Type IdentityType +---- -------- ---- ------------ +vaultName southeastasia Microsoft.DataProtection/backupVaults UserAssigned +``` + +This command is used to change CmkIdentityType from SystemAssigned to UserAssgined. +CmkIdenityId is a required parameter. + ## PARAMETERS ### -AsJob @@ -116,6 +152,68 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -CmkEncryptionKeyUri +The Key URI of the CMK key to be used for encryption. +To enable auto-rotation of keys, exclude the version component from the Key URI. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -CmkEncryptionState +Enable CMK encryption state for a Backup Vault. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.EncryptionState +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -CmkIdentityType +The identity type to be used for CMK encryption - SystemAssigned or UserAssigned Identity. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.IdentityType +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -CmkUserAssignedIdentityId +This parameter is required if the identity type is UserAssigned. +Add the user assigned managed identity id to be used which has access permissions to the Key Vault. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +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. @@ -164,6 +262,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -EncryptionSetting +Customer Managed Key details of the resource. +To construct, see NOTES section for ENCRYPTIONSETTING properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +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 @@ -185,7 +299,7 @@ Gets or sets the user assigned identities. ```yaml Type: System.Collections.Hashtable Parameter Sets: (All) -Aliases: +Aliases: UserAssignedIdentity Required: False Position: Named @@ -257,6 +371,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ResourceGuardOperationRequest +ResourceGuardOperationRequests on which LAC check will be performed + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -SoftDeleteRetentionDurationInDay Soft delete retention duration in days. @@ -299,7 +428,7 @@ Aliases: Required: False Position: Named -Default value: (Get-AzContext).Subscription.Id +Default value: None Accept pipeline input: False Accept wildcard characters: False ``` @@ -319,6 +448,22 @@ 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 The name of the backup vault. @@ -374,7 +519,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResource +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResource ## NOTES diff --git a/src/DataProtection/DataProtection.Autorest/help/Update-AzDataProtectionResourceGuard.md b/src/DataProtection/DataProtection.Autorest/help/Update-AzDataProtectionResourceGuard.md index ad81e0b515cc..a1f3639495c5 100644 --- a/src/DataProtection/DataProtection.Autorest/help/Update-AzDataProtectionResourceGuard.md +++ b/src/DataProtection/DataProtection.Autorest/help/Update-AzDataProtectionResourceGuard.md @@ -47,7 +47,7 @@ The fourth command is used to exclude some critical operations from the resource ### -CriticalOperationExclusionList List of critical operations which are not protected by this resourceGuard. -Supported values are DeleteProtection, UpdateProtection, UpdatePolicy, GetSecurityPin, DeleteBackupInstance +Supported values are DeleteProtection, UpdateProtection, UpdatePolicy, GetSecurityPin, DeleteBackupInstance, RecoveryServicesDisableImmutability, DataProtectionDisableImmutability, RecoveryServicesModifyEncryptionSettings, DataProtectionModifyEncryptionSettings ```yaml Type: System.String[] @@ -204,7 +204,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResource +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource ## NOTES diff --git a/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionBackupVault.ps1 b/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionBackupVault.ps1 index 83d5fa75e898..dca52eea8312 100644 --- a/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionBackupVault.ps1 +++ b/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionBackupVault.ps1 @@ -28,11 +28,16 @@ Get-AzDataProtectionBackupVault -SubscriptionId "xxxx-xxx-xxxx" -ResourceGroupNa .Example $vault = Get-AzDataProtectionBackupVault -SubscriptionId "xxxx-xxx-xxxx" -ResourceGroupName hiaga-rg -VaultName hiaga-vault $vault.SecureScore +.Example +$vault = Get-AzDataProtectionBackupVault -SubscriptionId "xxxx-xxx-xxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" +$vault.EncryptionSetting |fl +$vault.EncryptionSetting.CmkIdentity |fl +$vault.EncryptionSetting.CmkKeyVaultProperty |fl .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResource .Notes COMPLEX PARAMETER PROPERTIES @@ -50,13 +55,14 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. [VaultName ]: The name of the backup vault. .Link https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionbackupvault #> function Get-AzDataProtectionBackupVault { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 index dbf7c5cf647b..56040fcfb585 100644 --- a/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionCrossRegionRestoreJob.ps1 +++ b/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionCrossRegionRestoreJob.ps1 @@ -25,9 +25,9 @@ Fetches list of Cross Region Restore job belonging to the vault {{ Add code here }} .Inputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreJobsRequest +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobsRequest .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResource .Notes COMPLEX PARAMETER PROPERTIES @@ -40,7 +40,7 @@ PARAMETER : Details of Backup Vault for which CR https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectioncrossregionrestorejob #> function Get-AzDataProtectionCrossRegionRestoreJob { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResource])] [CmdletBinding(DefaultParameterSetName='ListExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -72,7 +72,7 @@ param( [Parameter(ParameterSetName='List', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreJobsRequest] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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}, diff --git a/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionCrossRegionRestoreJobDetail.ps1 b/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionCrossRegionRestoreJobDetail.ps1 index e45ac0e3d7a0..99281127cd2b 100644 --- a/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionCrossRegionRestoreJobDetail.ps1 +++ b/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionCrossRegionRestoreJobDetail.ps1 @@ -25,11 +25,11 @@ Fetches the Cross Region Restore Job {{ Add code here }} .Inputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreJobRequest +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobRequest .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResource .Notes COMPLEX PARAMETER PROPERTIES @@ -47,6 +47,7 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. [VaultName ]: The name of the backup vault. @@ -58,7 +59,7 @@ PARAMETER : Details of CRR Job to be fetched https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectioncrossregionrestorejobdetail #> function Get-AzDataProtectionCrossRegionRestoreJobDetail { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResource])] [CmdletBinding(DefaultParameterSetName='GetExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Get', Mandatory)] @@ -96,7 +97,7 @@ param( [Parameter(ParameterSetName='Get', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreJobRequest] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobRequest] # Details of CRR Job to be fetched # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, diff --git a/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionFetchSecondaryRecoveryPoint.ps1 b/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionFetchSecondaryRecoveryPoint.ps1 index 1b442446d1e8..6aa32c343095 100644 --- a/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionFetchSecondaryRecoveryPoint.ps1 +++ b/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionFetchSecondaryRecoveryPoint.ps1 @@ -25,9 +25,9 @@ Returns a list of Secondary Recovery Points for a DataSource in a vault, that ca {{ Add code here }} .Inputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFetchSecondaryRPsRequestParameters +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFetchSecondaryRPsRequestParameters .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointResource .Notes COMPLEX PARAMETER PROPERTIES @@ -40,7 +40,7 @@ PARAMETER : Information about BI whose seco https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionfetchsecondaryrecoverypoint #> function Get-AzDataProtectionFetchSecondaryRecoveryPoint { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointResource])] [CmdletBinding(DefaultParameterSetName='ListExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -78,7 +78,7 @@ param( [Parameter(ParameterSetName='List', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFetchSecondaryRPsRequestParameters] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFetchSecondaryRPsRequestParameters] # Information about BI whose secondary RecoveryPoints are requested # Source region and # BI ARM path diff --git a/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionJob.ps1 b/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionJob.ps1 index ea2046f93b7f..ab0090a72266 100644 --- a/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionJob.ps1 +++ b/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionJob.ps1 @@ -29,7 +29,7 @@ Get-AzDataProtectionJob -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" - .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResource .Notes COMPLEX PARAMETER PROPERTIES @@ -47,13 +47,14 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [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.Api20231201.IAzureBackupJobResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResource])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] diff --git a/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionRecoveryPoint.ps1 b/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionRecoveryPoint.ps1 index bcd8c1a0db80..518472c151a8 100644 --- a/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionRecoveryPoint.ps1 +++ b/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionRecoveryPoint.ps1 @@ -30,12 +30,12 @@ $instance = $instance = Search-AzDataProtectionBackupInstanceInAzGraph -Datasour $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.Api20231201.IAzureBackupRecoveryPointResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointResource .Link https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionrecoverypoint #> function Get-AzDataProtectionRecoveryPoint { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 3fd1d27a5bea..45859cabaee0 100644 --- a/src/DataProtection/DataProtection.Autorest/internal/New-AzDataProtectionBackupInstance.ps1 +++ b/src/DataProtection/DataProtection.Autorest/internal/New-AzDataProtectionBackupInstance.ps1 @@ -70,9 +70,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.Api20231201.IBackupInstanceResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource .Notes COMPLEX PARAMETER PROPERTIES @@ -113,6 +113,7 @@ PARAMETER : BackupInstance Resource [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. + [ResourceGuardOperationRequest ]: ResourceGuardOperationRequests on which LAC check will be performed [ValidationType ]: Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again. PROPERTY : BackupInstanceResource properties @@ -147,12 +148,13 @@ PROPERTY : BackupInstanceResource properties [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. + [ResourceGuardOperationRequest ]: ResourceGuardOperationRequests on which LAC check will be performed [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.Api20231201.IBackupInstanceResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -183,23 +185,30 @@ param( # The value must be an UUID. ${SubscriptionId}, + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Header')] + [System.String] + # 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. + ${Token}, + [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResource] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupInstance] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppProxyResourceTags]))] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 263d871dbd7f..5461159e4ba9 100644 --- a/src/DataProtection/DataProtection.Autorest/internal/New-AzDataProtectionBackupPolicy.ps1 +++ b/src/DataProtection/DataProtection.Autorest/internal/New-AzDataProtectionBackupPolicy.ps1 @@ -116,9 +116,9 @@ Edit-AzDataProtectionPolicyTagClientObject -Policy $defaultPol -Name Monthly -Cr $pgflexPolicy = New-AzDataProtectionBackupPolicy -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -Name "pgflex-policy" -Policy $defaultPol .Inputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResource .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResource .Notes COMPLEX PARAMETER PROPERTIES @@ -131,7 +131,7 @@ PARAMETER : BaseBackupPolicy resource https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionbackuppolicy #> function New-AzDataProtectionBackupPolicy { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResource])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -164,7 +164,7 @@ param( [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResource] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 25c9c5034e3a..ed922012b20c 100644 --- a/src/DataProtection/DataProtection.Autorest/internal/New-AzDataProtectionBackupVault.ps1 +++ b/src/DataProtection/DataProtection.Autorest/internal/New-AzDataProtectionBackupVault.ps1 @@ -27,16 +27,43 @@ New-AzDataProtectionBackupVault -SubscriptionId $sub -ResourceGroupName sarath-r $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 +.Example +$storagesetting = New-AzDataProtectionBackupVaultStorageSettingObject -DataStoreType VaultStore -Type LocallyRedundant +$userAssignedIdentity = @{ + "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/samplerg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sampleuami" = @{ + clientId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + principalId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + } + "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/samplerg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sampleuami2" = @{ + clientId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + principalId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + } +} + +$cmkIdentityId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/samplerg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sampleuami" + +$cmkKeyUri = "https://samplekvazbckp.vault.azure.net/keys/testkey/3cd5235ad6ac4c11b40a6f35444bcbe1" + +New-AzDataProtectionBackupVault -SubscriptionId xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -Location "location" -StorageSetting $storagesetting -IdentityType UserAssigned -UserAssignedIdentity $userAssignedIdentity -CmkEncryptionState Enabled -CmkIdentityType UserAssigned -CmkUserAssignedIdentityId $cmkIdentityId -CmkEncryptionKeyUri $cmkKeyUri -CmkInfrastructureEncryption Enabled .Inputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResource .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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. +ENCRYPTIONSETTING : Customer Managed Key details of the resource. + [CmkIdentity ]: The details of the managed identity used for CMK + [IdentityId ]: The managed identity to be used which has access permissions to the Key Vault. Provide a value here in case identity types: 'UserAssigned' only. + [IdentityType ]: The identity type. 'SystemAssigned' and 'UserAssigned' are mutually exclusive. 'SystemAssigned' will use implicitly created managed identity. + [CmkInfrastructureEncryption ]: Enabling/Disabling the Double Encryption state + [CmkKeyVaultProperty ]: The properties of the Key Vault which hosts CMK + [KeyUri ]: The key uri of the Customer Managed Key + [State ]: Encryption state of the Backup Vault. + PARAMETER : Backup Vault Resource StorageSetting : Storage Settings [DatastoreType ]: Gets or sets the type of the datastore. @@ -51,8 +78,17 @@ PARAMETER : Backup Vault Resource [AzureMonitorAlertsForAllJobFailure ]: [CrossRegionRestoreState ]: CrossRegionRestore state [CrossSubscriptionRestoreState ]: CrossSubscriptionRestore state + [EncryptionSetting ]: Customer Managed Key details of the resource. + [CmkIdentity ]: The details of the managed identity used for CMK + [IdentityId ]: The managed identity to be used which has access permissions to the Key Vault. Provide a value here in case identity types: 'UserAssigned' only. + [IdentityType ]: The identity type. 'SystemAssigned' and 'UserAssigned' are mutually exclusive. 'SystemAssigned' will use implicitly created managed identity. + [CmkInfrastructureEncryption ]: Enabling/Disabling the Double Encryption state + [CmkKeyVaultProperty ]: The properties of the Key Vault which hosts CMK + [KeyUri ]: The key uri of the Customer Managed Key + [State ]: Encryption state of the Backup Vault. [ImmutabilityState ]: Immutability state [ReplicatedRegion ]: List of replicated regions for Backup Vault + [ResourceGuardOperationRequest ]: ResourceGuardOperationRequests on which LAC check will be performed [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 @@ -68,7 +104,7 @@ STORAGESETTING : Storage Settings https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionbackupvault #> function New-AzDataProtectionBackupVault { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResource])] [CmdletBinding(DefaultParameterSetName='Create', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -92,9 +128,16 @@ param( # The value must be an UUID. ${SubscriptionId}, + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Header')] + [System.String] + # 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. + ${Token}, + [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResource] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResource] # Backup Vault Resource # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, @@ -102,7 +145,7 @@ param( [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IStorageSetting[]] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStorageSetting[]] # Storage Settings # To construct, see NOTES section for STORAGESETTING properties and create a hash table. ${StorageSetting}, @@ -137,6 +180,13 @@ param( # Optional ETag. ${ETag}, + [Parameter(ParameterSetName='CreateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings] + # Customer Managed Key details of the resource. + # To construct, see NOTES section for ENCRYPTIONSETTING properties and create a hash table. + ${EncryptionSetting}, + [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.String] @@ -171,6 +221,13 @@ param( # List of replicated regions for Backup Vault ${ReplicatedRegion}, + [Parameter(ParameterSetName='CreateExpanded')] + [AllowEmptyCollection()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String[]] + # ResourceGuardOperationRequests on which LAC check will be performed + ${ResourceGuardOperationRequest}, + [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.Double] @@ -187,7 +244,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.Api20231201.IDppBaseTrackedResourceTags]))] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 ba3559b355de..1bca91d13386 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.Api20231201.IResourceGuardResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource .Notes COMPLEX PARAMETER PROPERTIES @@ -45,6 +45,7 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. [VaultName ]: The name of the backup vault. @@ -58,7 +59,7 @@ PARAMETER : . https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionresourceguard #> function New-AzDataProtectionResourceGuard { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource])] [CmdletBinding(DefaultParameterSetName='PutExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Put', Mandatory)] @@ -96,7 +97,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.Api20231201.IResourceGuardResource] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource] # . # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, @@ -126,7 +127,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.Api20231201.IDppBaseTrackedResourceTags]))] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 f517eef053fe..34cfde826068 100644 --- a/src/DataProtection/DataProtection.Autorest/internal/ProxyCmdletDefinitions.ps1 +++ b/src/DataProtection/DataProtection.Autorest/internal/ProxyCmdletDefinitions.ps1 @@ -28,11 +28,16 @@ Get-AzDataProtectionBackupVault -SubscriptionId "xxxx-xxx-xxxx" -ResourceGroupNa .Example $vault = Get-AzDataProtectionBackupVault -SubscriptionId "xxxx-xxx-xxxx" -ResourceGroupName hiaga-rg -VaultName hiaga-vault $vault.SecureScore +.Example +$vault = Get-AzDataProtectionBackupVault -SubscriptionId "xxxx-xxx-xxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" +$vault.EncryptionSetting |fl +$vault.EncryptionSetting.CmkIdentity |fl +$vault.EncryptionSetting.CmkKeyVaultProperty |fl .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResource .Notes COMPLEX PARAMETER PROPERTIES @@ -50,13 +55,14 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. [VaultName ]: The name of the backup vault. .Link https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionbackupvault #> function Get-AzDataProtectionBackupVault { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResource])] [CmdletBinding(DefaultParameterSetName='GetViaIdentity1', PositionalBinding=$false)] param( [Parameter(Mandatory, ValueFromPipeline)] @@ -169,11 +175,11 @@ Fetches the Cross Region Restore Job {{ Add code here }} .Inputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreJobRequest +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobRequest .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResource .Notes COMPLEX PARAMETER PROPERTIES @@ -191,6 +197,7 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. [VaultName ]: The name of the backup vault. @@ -202,7 +209,7 @@ PARAMETER : Details of CRR Job to be fetched https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectioncrossregionrestorejobdetail #> function Get-AzDataProtectionCrossRegionRestoreJobDetail { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResource])] [CmdletBinding(DefaultParameterSetName='GetExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Get', Mandatory)] @@ -240,7 +247,7 @@ param( [Parameter(ParameterSetName='Get', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreJobRequest] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobRequest] # Details of CRR Job to be fetched # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, @@ -380,9 +387,9 @@ Fetches list of Cross Region Restore job belonging to the vault {{ Add code here }} .Inputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreJobsRequest +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreJobsRequest .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResource .Notes COMPLEX PARAMETER PROPERTIES @@ -395,7 +402,7 @@ PARAMETER : Details of Backup Vault for which CR https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectioncrossregionrestorejob #> function Get-AzDataProtectionCrossRegionRestoreJob { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResource])] [CmdletBinding(DefaultParameterSetName='ListExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -427,7 +434,7 @@ param( [Parameter(ParameterSetName='List', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreJobsRequest] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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}, @@ -556,9 +563,9 @@ Returns a list of Secondary Recovery Points for a DataSource in a vault, that ca {{ Add code here }} .Inputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFetchSecondaryRPsRequestParameters +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFetchSecondaryRPsRequestParameters .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointResource .Notes COMPLEX PARAMETER PROPERTIES @@ -571,7 +578,7 @@ PARAMETER : Information about BI whose seco https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionfetchsecondaryrecoverypoint #> function Get-AzDataProtectionFetchSecondaryRecoveryPoint { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointResource])] [CmdletBinding(DefaultParameterSetName='ListExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -609,7 +616,7 @@ param( [Parameter(ParameterSetName='List', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IFetchSecondaryRPsRequestParameters] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IFetchSecondaryRPsRequestParameters] # Information about BI whose secondary RecoveryPoints are requested # Source region and # BI ARM path @@ -744,7 +751,7 @@ Get-AzDataProtectionJob -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" - .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResource .Notes COMPLEX PARAMETER PROPERTIES @@ -762,13 +769,14 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [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.Api20231201.IAzureBackupJobResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResource])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] @@ -929,12 +937,12 @@ $instance = $instance = Search-AzDataProtectionBackupInstanceInAzGraph -Datasour $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.Api20231201.IAzureBackupRecoveryPointResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointResource .Link https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionrecoverypoint #> function Get-AzDataProtectionRecoveryPoint { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointResource])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(Mandatory)] @@ -1132,9 +1140,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.Api20231201.IBackupInstanceResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource .Notes COMPLEX PARAMETER PROPERTIES @@ -1175,6 +1183,7 @@ PARAMETER : BackupInstance Resource [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. + [ResourceGuardOperationRequest ]: ResourceGuardOperationRequests on which LAC check will be performed [ValidationType ]: Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again. PROPERTY : BackupInstanceResource properties @@ -1209,12 +1218,13 @@ PROPERTY : BackupInstanceResource properties [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. + [ResourceGuardOperationRequest ]: ResourceGuardOperationRequests on which LAC check will be performed [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.Api20231201.IBackupInstanceResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -1245,23 +1255,30 @@ param( # The value must be an UUID. ${SubscriptionId}, + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Header')] + [System.String] + # 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. + ${Token}, + [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResource] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupInstance] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IDppProxyResourceTags]))] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppProxyResourceTags]))] [System.Collections.Hashtable] # Proxy Resource tags. ${Tag}, @@ -1481,9 +1498,9 @@ Edit-AzDataProtectionPolicyTagClientObject -Policy $defaultPol -Name Monthly -Cr $pgflexPolicy = New-AzDataProtectionBackupPolicy -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -Name "pgflex-policy" -Policy $defaultPol .Inputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResource .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResource .Notes COMPLEX PARAMETER PROPERTIES @@ -1496,7 +1513,7 @@ PARAMETER : BaseBackupPolicy resource https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionbackuppolicy #> function New-AzDataProtectionBackupPolicy { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResource])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -1529,7 +1546,7 @@ param( [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResource] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResource] # BaseBackupPolicy resource # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, @@ -1661,16 +1678,43 @@ New-AzDataProtectionBackupVault -SubscriptionId $sub -ResourceGroupName sarath-r $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 +.Example +$storagesetting = New-AzDataProtectionBackupVaultStorageSettingObject -DataStoreType VaultStore -Type LocallyRedundant +$userAssignedIdentity = @{ + "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/samplerg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sampleuami" = @{ + clientId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + principalId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + } + "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/samplerg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sampleuami2" = @{ + clientId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + principalId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + } +} + +$cmkIdentityId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/samplerg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sampleuami" + +$cmkKeyUri = "https://samplekvazbckp.vault.azure.net/keys/testkey/3cd5235ad6ac4c11b40a6f35444bcbe1" + +New-AzDataProtectionBackupVault -SubscriptionId xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -Location "location" -StorageSetting $storagesetting -IdentityType UserAssigned -UserAssignedIdentity $userAssignedIdentity -CmkEncryptionState Enabled -CmkIdentityType UserAssigned -CmkUserAssignedIdentityId $cmkIdentityId -CmkEncryptionKeyUri $cmkKeyUri -CmkInfrastructureEncryption Enabled .Inputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResource .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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. +ENCRYPTIONSETTING : Customer Managed Key details of the resource. + [CmkIdentity ]: The details of the managed identity used for CMK + [IdentityId ]: The managed identity to be used which has access permissions to the Key Vault. Provide a value here in case identity types: 'UserAssigned' only. + [IdentityType ]: The identity type. 'SystemAssigned' and 'UserAssigned' are mutually exclusive. 'SystemAssigned' will use implicitly created managed identity. + [CmkInfrastructureEncryption ]: Enabling/Disabling the Double Encryption state + [CmkKeyVaultProperty ]: The properties of the Key Vault which hosts CMK + [KeyUri ]: The key uri of the Customer Managed Key + [State ]: Encryption state of the Backup Vault. + PARAMETER : Backup Vault Resource StorageSetting : Storage Settings [DatastoreType ]: Gets or sets the type of the datastore. @@ -1685,8 +1729,17 @@ PARAMETER : Backup Vault Resource [AzureMonitorAlertsForAllJobFailure ]: [CrossRegionRestoreState ]: CrossRegionRestore state [CrossSubscriptionRestoreState ]: CrossSubscriptionRestore state + [EncryptionSetting ]: Customer Managed Key details of the resource. + [CmkIdentity ]: The details of the managed identity used for CMK + [IdentityId ]: The managed identity to be used which has access permissions to the Key Vault. Provide a value here in case identity types: 'UserAssigned' only. + [IdentityType ]: The identity type. 'SystemAssigned' and 'UserAssigned' are mutually exclusive. 'SystemAssigned' will use implicitly created managed identity. + [CmkInfrastructureEncryption ]: Enabling/Disabling the Double Encryption state + [CmkKeyVaultProperty ]: The properties of the Key Vault which hosts CMK + [KeyUri ]: The key uri of the Customer Managed Key + [State ]: Encryption state of the Backup Vault. [ImmutabilityState ]: Immutability state [ReplicatedRegion ]: List of replicated regions for Backup Vault + [ResourceGuardOperationRequest ]: ResourceGuardOperationRequests on which LAC check will be performed [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 @@ -1702,7 +1755,7 @@ STORAGESETTING : Storage Settings https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionbackupvault #> function New-AzDataProtectionBackupVault { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResource])] [CmdletBinding(DefaultParameterSetName='Create', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -1726,9 +1779,16 @@ param( # The value must be an UUID. ${SubscriptionId}, + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Header')] + [System.String] + # 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. + ${Token}, + [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResource] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResource] # Backup Vault Resource # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, @@ -1736,7 +1796,7 @@ param( [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IStorageSetting[]] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStorageSetting[]] # Storage Settings # To construct, see NOTES section for STORAGESETTING properties and create a hash table. ${StorageSetting}, @@ -1771,6 +1831,13 @@ param( # Optional ETag. ${ETag}, + [Parameter(ParameterSetName='CreateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings] + # Customer Managed Key details of the resource. + # To construct, see NOTES section for ENCRYPTIONSETTING properties and create a hash table. + ${EncryptionSetting}, + [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.String] @@ -1805,6 +1872,13 @@ param( # List of replicated regions for Backup Vault ${ReplicatedRegion}, + [Parameter(ParameterSetName='CreateExpanded')] + [AllowEmptyCollection()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String[]] + # ResourceGuardOperationRequests on which LAC check will be performed + ${ResourceGuardOperationRequest}, + [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.Double] @@ -1821,7 +1895,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.Api20231201.IDppBaseTrackedResourceTags]))] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceTags]))] [System.Collections.Hashtable] # Resource tags. ${Tag}, @@ -1948,11 +2022,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.Api20231201.IResourceGuardResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource .Notes COMPLEX PARAMETER PROPERTIES @@ -1970,6 +2044,7 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. [VaultName ]: The name of the backup vault. @@ -1983,7 +2058,7 @@ PARAMETER : . https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionresourceguard #> function New-AzDataProtectionResourceGuard { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource])] [CmdletBinding(DefaultParameterSetName='PutExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Put', Mandatory)] @@ -2021,7 +2096,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.Api20231201.IResourceGuardResource] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource] # . # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, @@ -2051,7 +2126,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.Api20231201.IDppBaseTrackedResourceTags]))] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDppBaseTrackedResourceTags]))] [System.Collections.Hashtable] # Resource tags. ${Tag}, @@ -2170,9 +2245,9 @@ Triggers Cross Region Restore for BackupInstance. {{ Add code here }} .Inputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreRequestObject +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreRequestObject .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo .Notes COMPLEX PARAMETER PROPERTIES @@ -2194,6 +2269,7 @@ PARAMETER : Cross Region Restore Request Objec 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. + [ResourceGuardOperationRequest ]: ResourceGuardOperationRequests on which LAC check will be performed [SourceResourceId ]: Fully qualified Azure Resource Manager ID of the datasource which is being recovered. RESTOREREQUESTOBJECT : Gets or sets the restore request object. @@ -2204,12 +2280,13 @@ RESTOREREQUESTOBJECT : Gets or sets the restore requ 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. + [ResourceGuardOperationRequest ]: ResourceGuardOperationRequests on which LAC check will be performed [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.Api20231201.IOperationJobExtendedInfo])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo])] [CmdletBinding(DefaultParameterSetName='Trigger', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -2235,21 +2312,21 @@ param( [Parameter(ParameterSetName='Trigger', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreRequestObject] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICrossRegionRestoreDetails] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRestoreRequest] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest] # Gets or sets the restore request object. # To construct, see NOTES section for RESTOREREQUESTOBJECT properties and create a hash table. ${RestoreRequestObject}, @@ -2482,9 +2559,9 @@ Test-AzDataProtectionBackupInstanceRestore -Name $instance[0].Name -ResourceGrou $restoreJobILR = Start-AzDataProtectionBackupInstanceRestore -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.BackupInstanceName -Parameter $restoreJobILR .Inputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo .Notes COMPLEX PARAMETER PROPERTIES @@ -2498,6 +2575,7 @@ PARAMETER : Azure backup restore request 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. + [ResourceGuardOperationRequest ]: ResourceGuardOperationRequests on which LAC check will be performed [SourceResourceId ]: Fully qualified Azure Resource Manager ID of the datasource which is being recovered. RESTORETARGETINFO : Gets or sets the restore target information. @@ -2507,7 +2585,7 @@ RESTORETARGETINFO : Gets or sets the restore target info https://learn.microsoft.com/powershell/module/az.dataprotection/start-azdataprotectionbackupinstancerestore #> function Start-AzDataProtectionBackupInstanceRestore { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo])] [CmdletBinding(DefaultParameterSetName='Trigger', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -2537,9 +2615,16 @@ param( # The value must be an UUID. ${SubscriptionId}, + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Header')] + [System.String] + # 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. + ${Token}, + [Parameter(ParameterSetName='Trigger', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest] # Azure backup restore request # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, @@ -2552,7 +2637,7 @@ param( [Parameter(ParameterSetName='TriggerExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBase] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBase] # Gets or sets the restore target information. # To construct, see NOTES section for RESTORETARGETINFO properties and create a hash table. ${RestoreTargetInfo}, @@ -2576,6 +2661,13 @@ param( # ARM URL for User Assigned Identity. ${IdentityDetailUserAssignedIdentityArmUrl}, + [Parameter(ParameterSetName='TriggerExpanded')] + [AllowEmptyCollection()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String[]] + # ResourceGuardOperationRequests on which LAC check will be performed + ${ResourceGuardOperationRequest}, + [Parameter(ParameterSetName='TriggerExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.String] @@ -2697,29 +2789,23 @@ end { <# .Synopsis -Validates whether Cross Region Restore can be triggered for DataSource. +This operation will stop protection of a backup instance and data will be held forever .Description -Validates whether Cross Region Restore can be triggered for DataSource. +This operation will stop protection of a backup instance and data will be held forever .Example -{{ Add code here }} -.Example -{{ Add code here }} +Stop-AzDataProtectionBackupInstanceProtection -ResourceGroupName "rgName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" -BackupInstanceName $backupInstance.BackupInstanceName .Inputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateCrossRegionRestoreRequestObject +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStopProtectionRequest .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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. -CROSSREGIONRESTOREDETAIL : Cross region restore details. - SourceBackupInstanceId : - SourceRegion : - INPUTOBJECT : Identity Parameter [BackupInstanceName ]: The name of the backup instance. [BackupPolicyName ]: @@ -2732,56 +2818,33 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [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. +PARAMETER : Request body of Stop protection when MUA is Enabled + [ResourceGuardOperationRequest ]: ResourceGuardOperationRequests on which LAC check will be performed .Link -https://learn.microsoft.com/powershell/module/az.dataprotection/test-azdataprotectionbackupinstancecrossregionrestore +https://learn.microsoft.com/powershell/module/az.dataprotection/stop-azdataprotectionbackupinstanceprotection #> -function Test-AzDataProtectionBackupInstanceCrossRegionRestore { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo])] -[CmdletBinding(DefaultParameterSetName='ValidateViaIdentity', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +function Stop-AzDataProtectionBackupInstanceProtection { +[OutputType([System.Boolean])] +[CmdletBinding(DefaultParameterSetName='StopExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( - [Parameter(ParameterSetName='Validate', Mandatory)] - [Parameter(ParameterSetName='ValidateExpanded', Mandatory)] + [Parameter(ParameterSetName='StopExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] [System.String] - # The name of the Azure region. - ${Location}, + # The name of the backup instance. + ${BackupInstanceName}, - [Parameter(ParameterSetName='Validate', Mandatory)] - [Parameter(ParameterSetName='ValidateExpanded', Mandatory)] + [Parameter(ParameterSetName='StopExpanded', 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')] + [Parameter(ParameterSetName='StopExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] @@ -2789,37 +2852,39 @@ param( # The value must be an UUID. ${SubscriptionId}, - [Parameter(ParameterSetName='ValidateViaIdentity', Mandatory, ValueFromPipeline)] - [Parameter(ParameterSetName='ValidateViaIdentityExpanded', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='StopExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [System.String] + # The name of the backup vault. + ${VaultName}, + + [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(ParameterSetName='Validate', Mandatory, ValueFromPipeline)] - [Parameter(ParameterSetName='ValidateViaIdentity', Mandatory, ValueFromPipeline)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateCrossRegionRestoreRequestObject] - # Cross Region Restore Request Object - # To construct, see NOTES section for PARAMETER properties and create a hash table. - ${Parameter}, + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Header')] + [System.String] + # 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. + ${Token}, - [Parameter(ParameterSetName='ValidateExpanded', Mandatory)] - [Parameter(ParameterSetName='ValidateViaIdentityExpanded', Mandatory)] + [Parameter(ParameterSetName='StopExpanded')] + [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreDetails] - # Cross region restore details. - # To construct, see NOTES section for CROSSREGIONRESTOREDETAIL properties and create a hash table. - ${CrossRegionRestoreDetail}, + [System.String[]] + # ResourceGuardOperationRequests on which LAC check will be performed + ${ResourceGuardOperationRequest}, - [Parameter(ParameterSetName='ValidateExpanded', Mandatory)] - [Parameter(ParameterSetName='ValidateViaIdentityExpanded', Mandatory)] + [Parameter(ParameterSetName='StopViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest] - # Gets or sets the restore request object. - # To construct, see NOTES section for RESTOREREQUESTOBJECT properties and create a hash table. - ${RestoreRequestObject}, + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStopProtectionRequest] + # Request body of Stop protection when MUA is Enabled + # To construct, see NOTES section for PARAMETER properties and create a hash table. + ${Parameter}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] @@ -2862,6 +2927,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] @@ -2891,12 +2962,10 @@ begin { $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'; + StopExpanded = 'Az.DataProtection.private\Stop-AzDataProtectionBackupInstanceProtection_StopExpanded'; + StopViaIdentity = 'Az.DataProtection.private\Stop-AzDataProtectionBackupInstanceProtection_StopViaIdentity'; } - if (('Validate', 'ValidateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + if (('StopExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { @@ -2938,62 +3007,23 @@ end { <# .Synopsis -Validate whether adhoc backup will be successful or not +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 -Validate whether adhoc backup will be successful or not +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 -$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 +Suspend-AzDataProtectionBackupInstanceBackup -ResourceGroupName "rgName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" -BackupInstanceName $backupInstance.BackupInstanceName .Inputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateForBackupRequest +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISuspendBackupRequest .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.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. -BACKUPINSTANCE : Backup Instance - 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. - INPUTOBJECT : Identity Parameter [BackupInstanceName ]: The name of the backup instance. [BackupPolicyName ]: @@ -3006,58 +3036,33 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. [VaultName ]: The name of the backup vault. -PARAMETER : Validate for backup request - BackupInstance : Backup Instance - 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 : Request body of Suspend backup when MUA is Enabled + [ResourceGuardOperationRequest ]: ResourceGuardOperationRequests on which LAC check will be performed .Link -https://learn.microsoft.com/powershell/module/az.dataprotection/test-azdataprotectionbackupinstancereadiness +https://learn.microsoft.com/powershell/module/az.dataprotection/suspend-azdataprotectionbackupinstancebackup #> -function Test-AzDataProtectionBackupInstanceReadiness { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo])] -[CmdletBinding(DefaultParameterSetName='ValidateViaIdentity', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +function Suspend-AzDataProtectionBackupInstanceBackup { +[OutputType([System.Boolean])] +[CmdletBinding(DefaultParameterSetName='SuspendExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( - [Parameter(ParameterSetName='Validate', Mandatory)] + [Parameter(ParameterSetName='SuspendExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [System.String] + # The name of the backup instance. + ${BackupInstanceName}, + + [Parameter(ParameterSetName='SuspendExpanded', 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='SuspendExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] @@ -3065,34 +3070,39 @@ param( # The value must be an UUID. ${SubscriptionId}, - [Parameter(ParameterSetName='Validate', Mandatory)] + [Parameter(ParameterSetName='SuspendExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] [System.String] # The name of the backup vault. ${VaultName}, - [Parameter(ParameterSetName='ValidateViaIdentity', Mandatory, ValueFromPipeline)] - [Parameter(ParameterSetName='ValidateViaIdentityExpanded', Mandatory, ValueFromPipeline)] + [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(ParameterSetName='Validate', Mandatory, ValueFromPipeline)] - [Parameter(ParameterSetName='ValidateViaIdentity', Mandatory, ValueFromPipeline)] + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Header')] + [System.String] + # 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. + ${Token}, + + [Parameter(ParameterSetName='SuspendExpanded')] + [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateForBackupRequest] - # Validate for backup request - # To construct, see NOTES section for PARAMETER properties and create a hash table. - ${Parameter}, + [System.String[]] + # ResourceGuardOperationRequests on which LAC check will be performed + ${ResourceGuardOperationRequest}, - [Parameter(ParameterSetName='ValidateViaIdentityExpanded', Mandatory)] + [Parameter(ParameterSetName='SuspendViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstance] - # Backup Instance - # To construct, see NOTES section for BACKUPINSTANCE properties and create a hash table. - ${BackupInstance}, + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISuspendBackupRequest] + # Request body of Suspend backup when MUA is Enabled + # To construct, see NOTES section for PARAMETER properties and create a hash table. + ${Parameter}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] @@ -3135,6 +3145,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] @@ -3164,11 +3180,10 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ - Validate = 'Az.DataProtection.private\Test-AzDataProtectionBackupInstanceReadiness_Validate'; - ValidateViaIdentity = 'Az.DataProtection.private\Test-AzDataProtectionBackupInstanceReadiness_ValidateViaIdentity'; - ValidateViaIdentityExpanded = 'Az.DataProtection.private\Test-AzDataProtectionBackupInstanceReadiness_ValidateViaIdentityExpanded'; + SuspendExpanded = 'Az.DataProtection.private\Suspend-AzDataProtectionBackupInstanceBackup_SuspendExpanded'; + SuspendViaIdentity = 'Az.DataProtection.private\Suspend-AzDataProtectionBackupInstanceBackup_SuspendViaIdentity'; } - if (('Validate') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + if (('SuspendExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $testPlayback = $false $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } if ($testPlayback) { @@ -3210,9 +3225,528 @@ end { <# .Synopsis -Validates if Restore can be triggered for a DataSource +Validates whether Cross Region Restore can be triggered for DataSource. .Description -Validates if Restore can be triggered for a DataSource +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.Api20240401.IValidateCrossRegionRestoreRequestObject +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection + [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. + [ResourceGuardOperationRequest ]: ResourceGuardOperationRequests on which LAC check will be performed + [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. + [ResourceGuardOperationRequest ]: ResourceGuardOperationRequests on which LAC check will be performed + [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.Api20240401.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.Api20240401.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.Api20240401.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.Api20240401.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')) { + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } + if ($testPlayback) { + $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') + } else { + $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 +Validate whether adhoc backup will be successful or not +.Description +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" +$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 + +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateForBackupRequest +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 + 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. + [ResourceGuardOperationRequest ]: ResourceGuardOperationRequests on which LAC check will be performed + [ValidationType ]: Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again. + +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 + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection + [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. + [VaultName ]: The name of the backup vault. + +PARAMETER : Validate for backup request + BackupInstance : Backup Instance + 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. + [ResourceGuardOperationRequest ]: ResourceGuardOperationRequests on which LAC check will be performed + [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/test-azdataprotectionbackupinstancereadiness +#> +function Test-AzDataProtectionBackupInstanceReadiness { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo])] +[CmdletBinding(DefaultParameterSetName='ValidateViaIdentity', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +param( + [Parameter(ParameterSetName='Validate', 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')] + [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='Validate', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [System.String] + # The name of the backup vault. + ${VaultName}, + + [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.Api20240401.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.Api20240401.IBackupInstance] + # Backup Instance + # To construct, see NOTES section for BACKUPINSTANCE properties and create a hash table. + ${BackupInstance}, + + [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-AzDataProtectionBackupInstanceReadiness_Validate'; + ValidateViaIdentity = 'Az.DataProtection.private\Test-AzDataProtectionBackupInstanceReadiness_ValidateViaIdentity'; + ValidateViaIdentityExpanded = 'Az.DataProtection.private\Test-AzDataProtectionBackupInstanceReadiness_ValidateViaIdentityExpanded'; + } + if (('Validate') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } + if ($testPlayback) { + $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') + } else { + $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 +Validates if Restore can be triggered for a DataSource +.Description +Validates if Restore can be triggered for a DataSource .Example $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") @@ -3223,11 +3757,11 @@ $validateRestore = Test-AzDataProtectionBackupInstanceRestore -Name $instances[0 $validateRestore = Test-AzDataProtectionBackupInstanceRestore -ResourceGroupName $ResourceGroupName -Name $instance[0].Name -VaultName $VaultName -RestoreRequest $RestoreRequestObject -SubscriptionId $SubscriptionId -RestoreToSecondaryRegion .Inputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateRestoreRequestObject +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateRestoreRequestObject .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo .Notes COMPLEX PARAMETER PROPERTIES @@ -3245,6 +3779,7 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. [VaultName ]: The name of the backup vault. @@ -3257,6 +3792,7 @@ PARAMETER : Validate restore request object 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. + [ResourceGuardOperationRequest ]: ResourceGuardOperationRequests on which LAC check will be performed [SourceResourceId ]: Fully qualified Azure Resource Manager ID of the datasource which is being recovered. RESTOREREQUESTOBJECT : Gets or sets the restore request object. @@ -3267,12 +3803,13 @@ RESTOREREQUESTOBJECT : Gets or sets the restore requ 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. + [ResourceGuardOperationRequest ]: ResourceGuardOperationRequests on which LAC check will be performed [SourceResourceId ]: Fully qualified Azure Resource Manager ID of the datasource which is being recovered. .Link https://learn.microsoft.com/powershell/module/az.dataprotection/test-azdataprotectionbackupinstancerestore #> function Test-AzDataProtectionBackupInstanceRestore { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo])] [CmdletBinding(DefaultParameterSetName='ValidateViaIdentity1', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Validate1', Mandatory)] @@ -3318,7 +3855,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.Api20231201.IValidateRestoreRequestObject] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateRestoreRequestObject] # Validate restore request object # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, @@ -3326,7 +3863,7 @@ param( [Parameter(ParameterSetName='ValidateExpanded1', Mandatory)] [Parameter(ParameterSetName='ValidateViaIdentityExpanded1', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest] # Gets or sets the restore request object. # To construct, see NOTES section for RESTOREREQUESTOBJECT properties and create a hash table. ${RestoreRequestObject}, @@ -3497,7 +4034,7 @@ param( [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.String[]] - # . + # ResourceGuardOperationRequests on which LAC check will be performed ${ResourceGuardOperationRequest}, [Parameter()] @@ -3608,3 +4145,268 @@ end { } } } + +<# +.Synopsis +Updates a BackupVault resource belonging to a resource group. +For example, updating tags for a resource. +.Description +Updates a BackupVault resource belonging to a resource group. +For example, updating tags for a resource. +.Example +$tag = @{"Owner"="sarath";"Purpose"="AzureBackupTesting"} +Update-AzDataProtectionBackupVault -SubscriptionId "xxx-xxx-xxx" -ResourceGroupName sarath-rg -VaultName sarath-vault -Tag $tag +.Example +Update-AzDataProtectionBackupVault -ResourceGroupName "rgName" -VaultName "vaultName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -AzureMonitorAlertsForAllJobFailure 'Disabled' +.Example +Update-AzDataProtectionBackupVault -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -CrossSubscriptionRestoreState Disabled -ImmutabilityState Disabled -SoftDeleteRetentionDurationInDay 99 -SoftDeleteState Off +.Example +$cmkKeyUri = "https://samplekvazbckp.vault.azure.net/keys/testkey/3cd5235ad6ac4c11b40a6f35444bcbe1" + +Update-AzDataProtectionBackupVault -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -CmkIdentityType SystemAssigned -CmkEncryptionKeyUri $cmkKeyUri +.Example +$cmkIdentityId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/samplerg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sampleuami" + +Update-AzDataProtectionBackupVault -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -CmkIdentityType UserAssigned -CmkUserAssignedIdentityId $cmkIdentityId + +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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. + +ENCRYPTIONSETTING : Customer Managed Key details of the resource. + [CmkIdentity ]: The details of the managed identity used for CMK + [IdentityId ]: The managed identity to be used which has access permissions to the Key Vault. Provide a value here in case identity types: 'UserAssigned' only. + [IdentityType ]: The identity type. 'SystemAssigned' and 'UserAssigned' are mutually exclusive. 'SystemAssigned' will use implicitly created managed identity. + [CmkInfrastructureEncryption ]: Enabling/Disabling the Double Encryption state + [CmkKeyVaultProperty ]: The properties of the Key Vault which hosts CMK + [KeyUri ]: The key uri of the Customer Managed Key + [State ]: Encryption state of the Backup Vault. +.Link +https://learn.microsoft.com/powershell/module/az.dataprotection/update-azdataprotectionbackupvault +#> +function Update-AzDataProtectionBackupVault { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResource])] +[CmdletBinding(DefaultParameterSetName='UpdateExpanded', 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()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Header')] + [System.String] + # 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. + ${Token}, + + [Parameter()] + [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()] + [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()] + [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()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings] + # Customer Managed Key details of the resource. + # To construct, see NOTES section for ENCRYPTIONSETTING properties and create a hash table. + ${EncryptionSetting}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # The identityType which can be either SystemAssigned, UserAssigned, 'SystemAssigned,UserAssigned' or None + ${IdentityType}, + + [Parameter()] + [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()] + [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()] + [AllowEmptyCollection()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String[]] + # ResourceGuardOperationRequests on which LAC check will be performed + ${ResourceGuardOperationRequest}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.Double] + # Soft delete retention duration in days. + ${SoftDeleteRetentionDurationInDay}, + + [Parameter()] + [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()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputTags]))] + [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 = @{ + UpdateExpanded = 'Az.DataProtection.private\Update-AzDataProtectionBackupVault_UpdateExpanded'; + } + if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } + if ($testPlayback) { + $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') + } else { + $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-AzDataProtectionBackupInstanceCrossRegionRestore.ps1 b/src/DataProtection/DataProtection.Autorest/internal/Start-AzDataProtectionBackupInstanceCrossRegionRestore.ps1 index f0c008148996..c90291dbf6a9 100644 --- a/src/DataProtection/DataProtection.Autorest/internal/Start-AzDataProtectionBackupInstanceCrossRegionRestore.ps1 +++ b/src/DataProtection/DataProtection.Autorest/internal/Start-AzDataProtectionBackupInstanceCrossRegionRestore.ps1 @@ -25,9 +25,9 @@ Triggers Cross Region Restore for BackupInstance. {{ Add code here }} .Inputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreRequestObject +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreRequestObject .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo .Notes COMPLEX PARAMETER PROPERTIES @@ -49,6 +49,7 @@ PARAMETER : Cross Region Restore Request Objec 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. + [ResourceGuardOperationRequest ]: ResourceGuardOperationRequests on which LAC check will be performed [SourceResourceId ]: Fully qualified Azure Resource Manager ID of the datasource which is being recovered. RESTOREREQUESTOBJECT : Gets or sets the restore request object. @@ -59,12 +60,13 @@ RESTOREREQUESTOBJECT : Gets or sets the restore requ 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. + [ResourceGuardOperationRequest ]: ResourceGuardOperationRequests on which LAC check will be performed [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.Api20231201.IOperationJobExtendedInfo])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo])] [CmdletBinding(DefaultParameterSetName='Trigger', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -90,21 +92,21 @@ param( [Parameter(ParameterSetName='Trigger', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreRequestObject] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.ICrossRegionRestoreDetails] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IAzureBackupRestoreRequest] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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-AzDataProtectionBackupInstanceRestore.ps1 b/src/DataProtection/DataProtection.Autorest/internal/Start-AzDataProtectionBackupInstanceRestore.ps1 index 6bbb033b5a58..bb426387a00f 100644 --- a/src/DataProtection/DataProtection.Autorest/internal/Start-AzDataProtectionBackupInstanceRestore.ps1 +++ b/src/DataProtection/DataProtection.Autorest/internal/Start-AzDataProtectionBackupInstanceRestore.ps1 @@ -129,9 +129,9 @@ Test-AzDataProtectionBackupInstanceRestore -Name $instance[0].Name -ResourceGrou $restoreJobILR = Start-AzDataProtectionBackupInstanceRestore -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.BackupInstanceName -Parameter $restoreJobILR .Inputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo .Notes COMPLEX PARAMETER PROPERTIES @@ -145,6 +145,7 @@ PARAMETER : Azure backup restore request 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. + [ResourceGuardOperationRequest ]: ResourceGuardOperationRequests on which LAC check will be performed [SourceResourceId ]: Fully qualified Azure Resource Manager ID of the datasource which is being recovered. RESTORETARGETINFO : Gets or sets the restore target information. @@ -154,7 +155,7 @@ RESTORETARGETINFO : Gets or sets the restore target info https://learn.microsoft.com/powershell/module/az.dataprotection/start-azdataprotectionbackupinstancerestore #> function Start-AzDataProtectionBackupInstanceRestore { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo])] [CmdletBinding(DefaultParameterSetName='Trigger', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -184,9 +185,16 @@ param( # The value must be an UUID. ${SubscriptionId}, + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Header')] + [System.String] + # 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. + ${Token}, + [Parameter(ParameterSetName='Trigger', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest] # Azure backup restore request # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, @@ -199,7 +207,7 @@ param( [Parameter(ParameterSetName='TriggerExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IRestoreTargetInfoBase] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBase] # Gets or sets the restore target information. # To construct, see NOTES section for RESTORETARGETINFO properties and create a hash table. ${RestoreTargetInfo}, @@ -223,6 +231,13 @@ param( # ARM URL for User Assigned Identity. ${IdentityDetailUserAssignedIdentityArmUrl}, + [Parameter(ParameterSetName='TriggerExpanded')] + [AllowEmptyCollection()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String[]] + # ResourceGuardOperationRequests on which LAC check will be performed + ${ResourceGuardOperationRequest}, + [Parameter(ParameterSetName='TriggerExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.String] diff --git a/src/DataProtection/DataProtection.Autorest/internal/Stop-AzDataProtectionBackupInstanceProtection.ps1 b/src/DataProtection/DataProtection.Autorest/internal/Stop-AzDataProtectionBackupInstanceProtection.ps1 new file mode 100644 index 000000000000..558d2bb1d145 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/internal/Stop-AzDataProtectionBackupInstanceProtection.ps1 @@ -0,0 +1,233 @@ + +# ---------------------------------------------------------------------------------- +# 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 +This operation will stop protection of a backup instance and data will be held forever +.Description +This operation will stop protection of a backup instance and data will be held forever +.Example +Stop-AzDataProtectionBackupInstanceProtection -ResourceGroupName "rgName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" -BackupInstanceName $backupInstance.BackupInstanceName + +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStopProtectionRequest +.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 + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection + [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. + [VaultName ]: The name of the backup vault. + +PARAMETER : Request body of Stop protection when MUA is Enabled + [ResourceGuardOperationRequest ]: ResourceGuardOperationRequests on which LAC check will be performed +.Link +https://learn.microsoft.com/powershell/module/az.dataprotection/stop-azdataprotectionbackupinstanceprotection +#> +function Stop-AzDataProtectionBackupInstanceProtection { +[OutputType([System.Boolean])] +[CmdletBinding(DefaultParameterSetName='StopExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +param( + [Parameter(ParameterSetName='StopExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [System.String] + # The name of the backup instance. + ${BackupInstanceName}, + + [Parameter(ParameterSetName='StopExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [System.String] + # The name of the resource group. + # The name is case insensitive. + ${ResourceGroupName}, + + [Parameter(ParameterSetName='StopExpanded')] + [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='StopExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [System.String] + # The name of the backup vault. + ${VaultName}, + + [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()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Header')] + [System.String] + # 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. + ${Token}, + + [Parameter(ParameterSetName='StopExpanded')] + [AllowEmptyCollection()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String[]] + # ResourceGuardOperationRequests on which LAC check will be performed + ${ResourceGuardOperationRequest}, + + [Parameter(ParameterSetName='StopViaIdentity', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStopProtectionRequest] + # Request body of Stop protection when MUA is Enabled + # To construct, see NOTES section for PARAMETER properties and create a hash table. + ${Parameter}, + + [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 + + $mapping = @{ + StopExpanded = 'Az.DataProtection.private\Stop-AzDataProtectionBackupInstanceProtection_StopExpanded'; + StopViaIdentity = 'Az.DataProtection.private\Stop-AzDataProtectionBackupInstanceProtection_StopViaIdentity'; + } + if (('StopExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } + if ($testPlayback) { + $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') + } else { + $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/Suspend-AzDataProtectionBackupInstanceBackup.ps1 b/src/DataProtection/DataProtection.Autorest/internal/Suspend-AzDataProtectionBackupInstanceBackup.ps1 new file mode 100644 index 000000000000..597b03de266f --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/internal/Suspend-AzDataProtectionBackupInstanceBackup.ps1 @@ -0,0 +1,233 @@ + +# ---------------------------------------------------------------------------------- +# 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 +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 backup for a backup instance and retains the backup data as per the policy (except latest Recovery point, which will be retained forever) +.Example +Suspend-AzDataProtectionBackupInstanceBackup -ResourceGroupName "rgName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" -BackupInstanceName $backupInstance.BackupInstanceName + +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISuspendBackupRequest +.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 + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection + [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. + [VaultName ]: The name of the backup vault. + +PARAMETER : Request body of Suspend backup when MUA is Enabled + [ResourceGuardOperationRequest ]: ResourceGuardOperationRequests on which LAC check will be performed +.Link +https://learn.microsoft.com/powershell/module/az.dataprotection/suspend-azdataprotectionbackupinstancebackup +#> +function Suspend-AzDataProtectionBackupInstanceBackup { +[OutputType([System.Boolean])] +[CmdletBinding(DefaultParameterSetName='SuspendExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +param( + [Parameter(ParameterSetName='SuspendExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [System.String] + # The name of the backup instance. + ${BackupInstanceName}, + + [Parameter(ParameterSetName='SuspendExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [System.String] + # The name of the resource group. + # The name is case insensitive. + ${ResourceGroupName}, + + [Parameter(ParameterSetName='SuspendExpanded')] + [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='SuspendExpanded', 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()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Header')] + [System.String] + # 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. + ${Token}, + + [Parameter(ParameterSetName='SuspendExpanded')] + [AllowEmptyCollection()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String[]] + # ResourceGuardOperationRequests on which LAC check will be performed + ${ResourceGuardOperationRequest}, + + [Parameter(ParameterSetName='SuspendViaIdentity', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISuspendBackupRequest] + # Request body of Suspend backup when MUA is Enabled + # To construct, see NOTES section for PARAMETER properties and create a hash table. + ${Parameter}, + + [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 + + $mapping = @{ + SuspendExpanded = 'Az.DataProtection.private\Suspend-AzDataProtectionBackupInstanceBackup_SuspendExpanded'; + SuspendViaIdentity = 'Az.DataProtection.private\Suspend-AzDataProtectionBackupInstanceBackup_SuspendViaIdentity'; + } + if (('SuspendExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } + if ($testPlayback) { + $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') + } else { + $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 index 3ca66fb8c68d..afbbc471f7cd 100644 --- a/src/DataProtection/DataProtection.Autorest/internal/Test-AzDataProtectionBackupInstanceCrossRegionRestore.ps1 +++ b/src/DataProtection/DataProtection.Autorest/internal/Test-AzDataProtectionBackupInstanceCrossRegionRestore.ps1 @@ -25,11 +25,11 @@ Validates whether Cross Region Restore can be triggered for DataSource. {{ Add code here }} .Inputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateCrossRegionRestoreRequestObject +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateCrossRegionRestoreRequestObject .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo .Notes COMPLEX PARAMETER PROPERTIES @@ -51,6 +51,7 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. [VaultName ]: The name of the backup vault. @@ -66,6 +67,7 @@ PARAMETER : Cross Region Restore Reque 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. + [ResourceGuardOperationRequest ]: ResourceGuardOperationRequests on which LAC check will be performed [SourceResourceId ]: Fully qualified Azure Resource Manager ID of the datasource which is being recovered. RESTOREREQUESTOBJECT : Gets or sets the restore request object. @@ -76,12 +78,13 @@ RESTOREREQUESTOBJECT : Gets or sets the restore requ 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. + [ResourceGuardOperationRequest ]: ResourceGuardOperationRequests on which LAC check will be performed [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.Api20231201.IOperationJobExtendedInfo])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo])] [CmdletBinding(DefaultParameterSetName='ValidateViaIdentity', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Validate', Mandatory)] @@ -119,7 +122,7 @@ param( [Parameter(ParameterSetName='Validate', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='ValidateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateCrossRegionRestoreRequestObject] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateCrossRegionRestoreRequestObject] # Cross Region Restore Request Object # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, @@ -127,7 +130,7 @@ param( [Parameter(ParameterSetName='ValidateExpanded', Mandatory)] [Parameter(ParameterSetName='ValidateViaIdentityExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ICrossRegionRestoreDetails] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ICrossRegionRestoreDetails] # Cross region restore details. # To construct, see NOTES section for CROSSREGIONRESTOREDETAIL properties and create a hash table. ${CrossRegionRestoreDetail}, @@ -135,7 +138,7 @@ param( [Parameter(ParameterSetName='ValidateExpanded', Mandatory)] [Parameter(ParameterSetName='ValidateViaIdentityExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Test-AzDataProtectionBackupInstanceReadiness.ps1 b/src/DataProtection/DataProtection.Autorest/internal/Test-AzDataProtectionBackupInstanceReadiness.ps1 index 2c3570ef4009..d34cfcd9c82d 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.Api20231201.IValidateForBackupRequest +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateForBackupRequest .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo .Notes COMPLEX PARAMETER PROPERTIES @@ -70,6 +70,7 @@ BACKUPINSTANCE : Backup Instance [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. + [ResourceGuardOperationRequest ]: ResourceGuardOperationRequests on which LAC check will be performed [ValidationType ]: Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again. INPUTOBJECT : Identity Parameter @@ -84,6 +85,7 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. [VaultName ]: The name of the backup vault. @@ -120,12 +122,13 @@ PARAMETER : Validate for backup request [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. + [ResourceGuardOperationRequest ]: ResourceGuardOperationRequests on which LAC check will be performed [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/test-azdataprotectionbackupinstancereadiness #> function Test-AzDataProtectionBackupInstanceReadiness { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo])] [CmdletBinding(DefaultParameterSetName='ValidateViaIdentity', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Validate', Mandatory)] @@ -160,14 +163,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.Api20231201.IValidateForBackupRequest] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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.Api20231201.IBackupInstance] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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 3d67a4bf1951..a42f2de85c8c 100644 --- a/src/DataProtection/DataProtection.Autorest/internal/Test-AzDataProtectionBackupInstanceRestore.ps1 +++ b/src/DataProtection/DataProtection.Autorest/internal/Test-AzDataProtectionBackupInstanceRestore.ps1 @@ -29,11 +29,11 @@ $validateRestore = Test-AzDataProtectionBackupInstanceRestore -Name $instances[0 $validateRestore = Test-AzDataProtectionBackupInstanceRestore -ResourceGroupName $ResourceGroupName -Name $instance[0].Name -VaultName $VaultName -RestoreRequest $RestoreRequestObject -SubscriptionId $SubscriptionId -RestoreToSecondaryRegion .Inputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IValidateRestoreRequestObject +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateRestoreRequestObject .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo .Notes COMPLEX PARAMETER PROPERTIES @@ -51,6 +51,7 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [ResourceGuardProxyName ]: name of the resource guard proxy [ResourceGuardsName ]: The name of ResourceGuard + [ResourceId ]: ARM path of the resource to be protected using Microsoft.DataProtection [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. [VaultName ]: The name of the backup vault. @@ -63,6 +64,7 @@ PARAMETER : Validate restore request object 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. + [ResourceGuardOperationRequest ]: ResourceGuardOperationRequests on which LAC check will be performed [SourceResourceId ]: Fully qualified Azure Resource Manager ID of the datasource which is being recovered. RESTOREREQUESTOBJECT : Gets or sets the restore request object. @@ -73,12 +75,13 @@ RESTOREREQUESTOBJECT : Gets or sets the restore requ 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. + [ResourceGuardOperationRequest ]: ResourceGuardOperationRequests on which LAC check will be performed [SourceResourceId ]: Fully qualified Azure Resource Manager ID of the datasource which is being recovered. .Link https://learn.microsoft.com/powershell/module/az.dataprotection/test-azdataprotectionbackupinstancerestore #> function Test-AzDataProtectionBackupInstanceRestore { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo])] [CmdletBinding(DefaultParameterSetName='ValidateViaIdentity1', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Validate1', Mandatory)] @@ -124,7 +127,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.Api20231201.IValidateRestoreRequestObject] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IValidateRestoreRequestObject] # Validate restore request object # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, @@ -132,7 +135,7 @@ param( [Parameter(ParameterSetName='ValidateExpanded1', Mandatory)] [Parameter(ParameterSetName='ValidateViaIdentityExpanded1', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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/Unlock-AzDataProtectionDppResourceGuardProxyDelete.ps1 b/src/DataProtection/DataProtection.Autorest/internal/Unlock-AzDataProtectionDppResourceGuardProxyDelete.ps1 index 682daa5d683f..8cae1e615b89 100644 --- a/src/DataProtection/DataProtection.Autorest/internal/Unlock-AzDataProtectionDppResourceGuardProxyDelete.ps1 +++ b/src/DataProtection/DataProtection.Autorest/internal/Unlock-AzDataProtectionDppResourceGuardProxyDelete.ps1 @@ -65,7 +65,7 @@ param( [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.String[]] - # . + # ResourceGuardOperationRequests on which LAC check will be performed ${ResourceGuardOperationRequest}, [Parameter()] diff --git a/src/DataProtection/DataProtection.Autorest/internal/Update-AzDataProtectionBackupVault.ps1 b/src/DataProtection/DataProtection.Autorest/internal/Update-AzDataProtectionBackupVault.ps1 new file mode 100644 index 000000000000..f7c85ea83592 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/internal/Update-AzDataProtectionBackupVault.ps1 @@ -0,0 +1,280 @@ + +# ---------------------------------------------------------------------------------- +# 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 +Updates a BackupVault resource belonging to a resource group. +For example, updating tags for a resource. +.Description +Updates a BackupVault resource belonging to a resource group. +For example, updating tags for a resource. +.Example +$tag = @{"Owner"="sarath";"Purpose"="AzureBackupTesting"} +Update-AzDataProtectionBackupVault -SubscriptionId "xxx-xxx-xxx" -ResourceGroupName sarath-rg -VaultName sarath-vault -Tag $tag +.Example +Update-AzDataProtectionBackupVault -ResourceGroupName "rgName" -VaultName "vaultName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -AzureMonitorAlertsForAllJobFailure 'Disabled' +.Example +Update-AzDataProtectionBackupVault -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -CrossSubscriptionRestoreState Disabled -ImmutabilityState Disabled -SoftDeleteRetentionDurationInDay 99 -SoftDeleteState Off +.Example +$cmkKeyUri = "https://samplekvazbckp.vault.azure.net/keys/testkey/3cd5235ad6ac4c11b40a6f35444bcbe1" + +Update-AzDataProtectionBackupVault -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -CmkIdentityType SystemAssigned -CmkEncryptionKeyUri $cmkKeyUri +.Example +$cmkIdentityId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/samplerg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sampleuami" + +Update-AzDataProtectionBackupVault -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -CmkIdentityType UserAssigned -CmkUserAssignedIdentityId $cmkIdentityId + +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.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. + +ENCRYPTIONSETTING : Customer Managed Key details of the resource. + [CmkIdentity ]: The details of the managed identity used for CMK + [IdentityId ]: The managed identity to be used which has access permissions to the Key Vault. Provide a value here in case identity types: 'UserAssigned' only. + [IdentityType ]: The identity type. 'SystemAssigned' and 'UserAssigned' are mutually exclusive. 'SystemAssigned' will use implicitly created managed identity. + [CmkInfrastructureEncryption ]: Enabling/Disabling the Double Encryption state + [CmkKeyVaultProperty ]: The properties of the Key Vault which hosts CMK + [KeyUri ]: The key uri of the Customer Managed Key + [State ]: Encryption state of the Backup Vault. +.Link +https://learn.microsoft.com/powershell/module/az.dataprotection/update-azdataprotectionbackupvault +#> +function Update-AzDataProtectionBackupVault { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResource])] +[CmdletBinding(DefaultParameterSetName='UpdateExpanded', 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()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Header')] + [System.String] + # 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. + ${Token}, + + [Parameter()] + [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()] + [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()] + [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()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings] + # Customer Managed Key details of the resource. + # To construct, see NOTES section for ENCRYPTIONSETTING properties and create a hash table. + ${EncryptionSetting}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # The identityType which can be either SystemAssigned, UserAssigned, 'SystemAssigned,UserAssigned' or None + ${IdentityType}, + + [Parameter()] + [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()] + [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()] + [AllowEmptyCollection()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String[]] + # ResourceGuardOperationRequests on which LAC check will be performed + ${ResourceGuardOperationRequest}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.Double] + # Soft delete retention duration in days. + ${SoftDeleteRetentionDurationInDay}, + + [Parameter()] + [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()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IPatchResourceRequestInputTags]))] + [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 = @{ + UpdateExpanded = 'Az.DataProtection.private\Update-AzDataProtectionBackupVault_UpdateExpanded'; + } + if (('UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + $testPlayback = $false + $PSBoundParameters['HttpPipelinePrepend'] | Foreach-Object { if ($_) { $testPlayback = $testPlayback -or ('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PipelineMock' -eq $_.Target.GetType().FullName -and 'Playback' -eq $_.Target.Mode) } } + if ($testPlayback) { + $PSBoundParameters['SubscriptionId'] = . (Join-Path $PSScriptRoot '..' 'utils' 'Get-SubscriptionIdTestSafe.ps1') + } else { + $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/test/Backup-AzDataProtectionBackupInstanceAdhoc.Recording.json b/src/DataProtection/DataProtection.Autorest/test/Backup-AzDataProtectionBackupInstanceAdhoc.Recording.json index 4faeade588e3..9e4730d1f9f4 100644 --- a/src/DataProtection/DataProtection.Autorest/test/Backup-AzDataProtectionBackupInstanceAdhoc.Recording.json +++ b/src/DataProtection/DataProtection.Autorest/test/Backup-AzDataProtectionBackupInstanceAdhoc.Recording.json @@ -1,13 +1,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/backupInstances?api-version=2023-12-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=2024-04-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-12-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=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "1" ], - "x-ms-client-request-id": [ "b6ef88a1-9589-498a-8bdd-4e8a391b5485" ], + "x-ms-client-request-id": [ "9e8a47ae-99d5-4710-912c-297aee2d1058" ], "CommandName": [ "Get-AzDataProtectionBackupInstance" ], "FullCommandName": [ "Get-AzDataProtectionBackupInstance_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -22,15 +22,16 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1999" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "ff8fbc03-9b68-4186-ab24-15e47e1b70a2" ], - "x-ms-correlation-request-id": [ "ff8fbc03-9b68-4186-ab24-15e47e1b70a2" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240416T110421Z:ff8fbc03-9b68-4186-ab24-15e47e1b70a2" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1999" ], + "x-ms-request-id": [ "6692d1c6-54f4-40fb-b5c6-68eaa46bb974" ], + "x-ms-correlation-request-id": [ "6692d1c6-54f4-40fb-b5c6-68eaa46bb974" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T141844Z:6692d1c6-54f4-40fb-b5c6-68eaa46bb974" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: A40214FF4170425FB8AE0B8B673A2314 Ref B: MAA201060515051 Ref C: 2024-04-16T11:04:20Z" ], - "Date": [ "Tue, 16 Apr 2024 11:04:21 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 0EE6A4CBB5024F749FA7D7B660A4800F Ref B: MAA201060513019 Ref C: 2024-04-21T14:18:41Z" ], + "Date": [ "Sun, 21 Apr 2024 14:18:43 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1504" ], @@ -41,10 +42,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-12-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=2024-04-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-12-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=2024-04-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,19 +60,19 @@ "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/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2RmNmQxYmFkLTZmZDYtNDFjNS1hYTE5LWJkODY0MzA1MDNmMg==?api-version=2023-12-01\u0026t=638488622636596507\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=SZ6Oabl_rrCnGiuu3uOoSsNgF80gL6SyuXhaAE9mOfDDGdbJ9WpvBYk_uxifY93PvO3Tfk0RnGdftfAMbrWh-xRVztnFTAWF5i0FEQkmQJHuBX1ulUBKe-vTHz-5KVs_TxEy-WpdoTngzJzzXvS9lVP790q0UqgFIIpqpUCWzZRnkjh5CsnFAPwIHrhqY4KGyhGWm6n9lEkw6N7yTTW-77PM18zhpuVCBrhCcyk2hdojJEahOX-sT6LYpIfZhxPXBcqjGhmTV4fExI0Rfm9IB1JkDRlGfZYiloYif54vZhuJac1MZI4tpPBbfanKvV6FC6gvilAZs9yix2jmmJaMgw\u0026h=IcWpgoQ_addudH-9dkjua5D2rqpBNFYNxLnXTJjfazg" ], + "Location": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2E0OWU1ZjhiLTlkZGYtNDNiYi04M2Q2LTFhN2NiODIxMTk1OQ==?api-version=2024-04-01\u0026t=638493059255773935\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=Dee938aerhmPGxQNNURtP39c1NzD5jgKygAiK98HJzZQ5ngPxKX4a6EToeu-nqO4TkmtdHWFw5jLJEh8NjmZDft2MjQ85GmY5k-tOTR359uJxazdWzqZbnSw_JCKF1ZvCI4qQpdSXjAvBsLJoZts61crrxHyAMRsfKbBeJtFhCZ0wEP-1-3vEbVuGXeI5fvxL3yq8AT6aQT4ymmCoDsValra_6Aotn1zrAnSiMasBFvNZJgUOEHFu6aV88zb9KL0YLFbEfSLpS4tuDHOJtC4cttUvwNr_sGRF88t99HxPKtDSQtWk2FlJJEA4N9V8FvzVQHT-MDDsOOu-9zBYOBnOA\u0026h=xt2-ikqcm1gAfshQwvyFyCy1TJGpe6rm3b4FZOyRx0U" ], "Retry-After": [ "30" ], "X-Content-Type-Options": [ "nosniff" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2RmNmQxYmFkLTZmZDYtNDFjNS1hYTE5LWJkODY0MzA1MDNmMg==?api-version=2023-12-01\u0026t=638488622636439898\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=0hrttrRq9SC_cNYN7U5oWUdo1MC5vl8XW_bckLnvIMfCuMuEG7pE07SIurAfB-4YGxaqqgFZmSGROdtV3eqPFo1tCyzKPJx5eP8w65TB0W7IuumJpbnoxsDwThM0HVaNaOCiaNgupMvo3IFNm0zJ7FhfwsqLyb-PZIyARX0TllDTm0zPINNQysWC-ibVsbXnAmzDF6_cXOX141HkXJxVZ5NrmfsGfK0thj1H64wGEPrgtGIulWlqFAY_U_Nk9t66Yf4V_ScsWckkRUsRmAagIyNK4pW2qmJZ-cC8XFlHOn0CKK4D1m76njlIE5O2YrbpG6-RAA3FBUsv6zIVgdhkyg\u0026h=BwwtZlkrd7rnP7Peag6UqgTRCQQ1o706pLegaIkfwFw" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2E0OWU1ZjhiLTlkZGYtNDNiYi04M2Q2LTFhN2NiODIxMTk1OQ==?api-version=2024-04-01\u0026t=638493059255617700\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=FKRZa3GgL8vCrIGqjMuTB-0vUNCLjVUfz9YH9Qiq8IXoV3ymhFAnJMrN1w6a0pYTFWQnCgThJk9MP_IKxJcbN4vsbs180-5iCNybWjfoslqUyFQjGuVGFjQQwUDbs6oxzYSMy9hXWMq-DtRqLDISMxCLW1M76Ivr-XkqckA2ZbvChm-NDnHXcL2cQNY1TPFGs4qxNIBmVM8DzindA1cXDCIDN4zuPX8cm5K4A_Dd7tM521oS4vAB98hctJO86h8_BUIVkeTvv3-E_W4bWkU1HGANy-8ukVx4YgJY9rmHPsBtFU-w0li816Hv8TwbbJpJMltVytI0xmdxlTgoXdRLhQ\u0026h=IJqyL2kcL0xaHBDMGs6VeFO6bHif5tsWEbWPva-_n2c" ], "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-request-id": [ "41378771-2ed2-4f91-b717-06fbfba18bf2" ], - "x-ms-correlation-request-id": [ "41378771-2ed2-4f91-b717-06fbfba18bf2" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240416T110423Z:41378771-2ed2-4f91-b717-06fbfba18bf2" ], + "x-ms-request-id": [ "6eb9414e-d4a2-467e-8199-fce3b0f8ac48" ], + "x-ms-correlation-request-id": [ "6eb9414e-d4a2-467e-8199-fce3b0f8ac48" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T141845Z:6eb9414e-d4a2-467e-8199-fce3b0f8ac48" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 976397806C2F41DF9D00F13FE2AFF918 Ref B: MAA201060515051 Ref C: 2024-04-16T11:04:22Z" ], - "Date": [ "Tue, 16 Apr 2024 11:04:23 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 9CBBF738EF9F4BD480B378C36CE4BB6F Ref B: MAA201060513019 Ref C: 2024-04-21T14:18:44Z" ], + "Date": [ "Sun, 21 Apr 2024 14:18:44 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -81,16 +82,16 @@ "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/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2RmNmQxYmFkLTZmZDYtNDFjNS1hYTE5LWJkODY0MzA1MDNmMg==?api-version=2023-12-01\u0026t=638488622636439898\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=0hrttrRq9SC_cNYN7U5oWUdo1MC5vl8XW_bckLnvIMfCuMuEG7pE07SIurAfB-4YGxaqqgFZmSGROdtV3eqPFo1tCyzKPJx5eP8w65TB0W7IuumJpbnoxsDwThM0HVaNaOCiaNgupMvo3IFNm0zJ7FhfwsqLyb-PZIyARX0TllDTm0zPINNQysWC-ibVsbXnAmzDF6_cXOX141HkXJxVZ5NrmfsGfK0thj1H64wGEPrgtGIulWlqFAY_U_Nk9t66Yf4V_ScsWckkRUsRmAagIyNK4pW2qmJZ-cC8XFlHOn0CKK4D1m76njlIE5O2YrbpG6-RAA3FBUsv6zIVgdhkyg\u0026h=BwwtZlkrd7rnP7Peag6UqgTRCQQ1o706pLegaIkfwFw+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/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2E0OWU1ZjhiLTlkZGYtNDNiYi04M2Q2LTFhN2NiODIxMTk1OQ==?api-version=2024-04-01\u0026t=638493059255617700\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=FKRZa3GgL8vCrIGqjMuTB-0vUNCLjVUfz9YH9Qiq8IXoV3ymhFAnJMrN1w6a0pYTFWQnCgThJk9MP_IKxJcbN4vsbs180-5iCNybWjfoslqUyFQjGuVGFjQQwUDbs6oxzYSMy9hXWMq-DtRqLDISMxCLW1M76Ivr-XkqckA2ZbvChm-NDnHXcL2cQNY1TPFGs4qxNIBmVM8DzindA1cXDCIDN4zuPX8cm5K4A_Dd7tM521oS4vAB98hctJO86h8_BUIVkeTvv3-E_W4bWkU1HGANy-8ukVx4YgJY9rmHPsBtFU-w0li816Hv8TwbbJpJMltVytI0xmdxlTgoXdRLhQ\u0026h=IJqyL2kcL0xaHBDMGs6VeFO6bHif5tsWEbWPva-_n2c+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/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2RmNmQxYmFkLTZmZDYtNDFjNS1hYTE5LWJkODY0MzA1MDNmMg==?api-version=2023-12-01\u0026t=638488622636439898\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=0hrttrRq9SC_cNYN7U5oWUdo1MC5vl8XW_bckLnvIMfCuMuEG7pE07SIurAfB-4YGxaqqgFZmSGROdtV3eqPFo1tCyzKPJx5eP8w65TB0W7IuumJpbnoxsDwThM0HVaNaOCiaNgupMvo3IFNm0zJ7FhfwsqLyb-PZIyARX0TllDTm0zPINNQysWC-ibVsbXnAmzDF6_cXOX141HkXJxVZ5NrmfsGfK0thj1H64wGEPrgtGIulWlqFAY_U_Nk9t66Yf4V_ScsWckkRUsRmAagIyNK4pW2qmJZ-cC8XFlHOn0CKK4D1m76njlIE5O2YrbpG6-RAA3FBUsv6zIVgdhkyg\u0026h=BwwtZlkrd7rnP7Peag6UqgTRCQQ1o706pLegaIkfwFw", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2E0OWU1ZjhiLTlkZGYtNDNiYi04M2Q2LTFhN2NiODIxMTk1OQ==?api-version=2024-04-01\u0026t=638493059255617700\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=FKRZa3GgL8vCrIGqjMuTB-0vUNCLjVUfz9YH9Qiq8IXoV3ymhFAnJMrN1w6a0pYTFWQnCgThJk9MP_IKxJcbN4vsbs180-5iCNybWjfoslqUyFQjGuVGFjQQwUDbs6oxzYSMy9hXWMq-DtRqLDISMxCLW1M76Ivr-XkqckA2ZbvChm-NDnHXcL2cQNY1TPFGs4qxNIBmVM8DzindA1cXDCIDN4zuPX8cm5K4A_Dd7tM521oS4vAB98hctJO86h8_BUIVkeTvv3-E_W4bWkU1HGANy-8ukVx4YgJY9rmHPsBtFU-w0li816Hv8TwbbJpJMltVytI0xmdxlTgoXdRLhQ\u0026h=IJqyL2kcL0xaHBDMGs6VeFO6bHif5tsWEbWPva-_n2c", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "bf7b5690-f7f3-41cc-b457-a56b160a9866" ], + "x-ms-client-request-id": [ "7a4c8fbd-0ac9-4ea4-8886-4e9b9b388640" ], "CommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc" ], "FullCommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc_BackupExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -104,35 +105,36 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "6c5b4672-7864-4679-a690-f61d0fc81943" ], - "x-ms-correlation-request-id": [ "6c5b4672-7864-4679-a690-f61d0fc81943" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240416T110454Z:6c5b4672-7864-4679-a690-f61d0fc81943" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], + "x-ms-request-id": [ "ef5c5022-29d7-42ac-ab0c-2cd218dd3f08" ], + "x-ms-correlation-request-id": [ "ef5c5022-29d7-42ac-ab0c-2cd218dd3f08" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T141917Z:ef5c5022-29d7-42ac-ab0c-2cd218dd3f08" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 612F0D7BE0DC475EBA410F3BCE857DBD Ref B: MAA201060515051 Ref C: 2024-04-16T11:04:53Z" ], - "Date": [ "Tue, 16 Apr 2024 11:04:54 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 0912A817DE414458A6D4585CFFFE939B Ref B: MAA201060513019 Ref C: 2024-04-21T14:19:15Z" ], + "Date": [ "Sun, 21 Apr 2024 14:19:16 GMT" ] }, "ContentHeaders": { "Content-Length": [ "739" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2RmNmQxYmFkLTZmZDYtNDFjNS1hYTE5LWJkODY0MzA1MDNmMg==\",\"name\":\"ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2RmNmQxYmFkLTZmZDYtNDFjNS1hYTE5LWJkODY0MzA1MDNmMg==\",\"status\":\"Succeeded\",\"startTime\":\"2024-04-16T11:04:23.4471036Z\",\"endTime\":\"2024-04-16T11:04:24Z\",\"properties\":{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"objectType\":\"OperationJobExtendedInfo\"}}", + "Content": "{\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2E0OWU1ZjhiLTlkZGYtNDNiYi04M2Q2LTFhN2NiODIxMTk1OQ==\",\"name\":\"ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2E0OWU1ZjhiLTlkZGYtNDNiYi04M2Q2LTFhN2NiODIxMTk1OQ==\",\"status\":\"Succeeded\",\"startTime\":\"2024-04-21T14:18:45.3605811Z\",\"endTime\":\"2024-04-21T14:18:46Z\",\"properties\":{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"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/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2RmNmQxYmFkLTZmZDYtNDFjNS1hYTE5LWJkODY0MzA1MDNmMg==?api-version=2023-12-01\u0026t=638488622636596507\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=SZ6Oabl_rrCnGiuu3uOoSsNgF80gL6SyuXhaAE9mOfDDGdbJ9WpvBYk_uxifY93PvO3Tfk0RnGdftfAMbrWh-xRVztnFTAWF5i0FEQkmQJHuBX1ulUBKe-vTHz-5KVs_TxEy-WpdoTngzJzzXvS9lVP790q0UqgFIIpqpUCWzZRnkjh5CsnFAPwIHrhqY4KGyhGWm6n9lEkw6N7yTTW-77PM18zhpuVCBrhCcyk2hdojJEahOX-sT6LYpIfZhxPXBcqjGhmTV4fExI0Rfm9IB1JkDRlGfZYiloYif54vZhuJac1MZI4tpPBbfanKvV6FC6gvilAZs9yix2jmmJaMgw\u0026h=IcWpgoQ_addudH-9dkjua5D2rqpBNFYNxLnXTJjfazg+4": { + "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2E0OWU1ZjhiLTlkZGYtNDNiYi04M2Q2LTFhN2NiODIxMTk1OQ==?api-version=2024-04-01\u0026t=638493059255773935\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=Dee938aerhmPGxQNNURtP39c1NzD5jgKygAiK98HJzZQ5ngPxKX4a6EToeu-nqO4TkmtdHWFw5jLJEh8NjmZDft2MjQ85GmY5k-tOTR359uJxazdWzqZbnSw_JCKF1ZvCI4qQpdSXjAvBsLJoZts61crrxHyAMRsfKbBeJtFhCZ0wEP-1-3vEbVuGXeI5fvxL3yq8AT6aQT4ymmCoDsValra_6Aotn1zrAnSiMasBFvNZJgUOEHFu6aV88zb9KL0YLFbEfSLpS4tuDHOJtC4cttUvwNr_sGRF88t99HxPKtDSQtWk2FlJJEA4N9V8FvzVQHT-MDDsOOu-9zBYOBnOA\u0026h=xt2-ikqcm1gAfshQwvyFyCy1TJGpe6rm3b4FZOyRx0U+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2RmNmQxYmFkLTZmZDYtNDFjNS1hYTE5LWJkODY0MzA1MDNmMg==?api-version=2023-12-01\u0026t=638488622636596507\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=SZ6Oabl_rrCnGiuu3uOoSsNgF80gL6SyuXhaAE9mOfDDGdbJ9WpvBYk_uxifY93PvO3Tfk0RnGdftfAMbrWh-xRVztnFTAWF5i0FEQkmQJHuBX1ulUBKe-vTHz-5KVs_TxEy-WpdoTngzJzzXvS9lVP790q0UqgFIIpqpUCWzZRnkjh5CsnFAPwIHrhqY4KGyhGWm6n9lEkw6N7yTTW-77PM18zhpuVCBrhCcyk2hdojJEahOX-sT6LYpIfZhxPXBcqjGhmTV4fExI0Rfm9IB1JkDRlGfZYiloYif54vZhuJac1MZI4tpPBbfanKvV6FC6gvilAZs9yix2jmmJaMgw\u0026h=IcWpgoQ_addudH-9dkjua5D2rqpBNFYNxLnXTJjfazg", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2E0OWU1ZjhiLTlkZGYtNDNiYi04M2Q2LTFhN2NiODIxMTk1OQ==?api-version=2024-04-01\u0026t=638493059255773935\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=Dee938aerhmPGxQNNURtP39c1NzD5jgKygAiK98HJzZQ5ngPxKX4a6EToeu-nqO4TkmtdHWFw5jLJEh8NjmZDft2MjQ85GmY5k-tOTR359uJxazdWzqZbnSw_JCKF1ZvCI4qQpdSXjAvBsLJoZts61crrxHyAMRsfKbBeJtFhCZ0wEP-1-3vEbVuGXeI5fvxL3yq8AT6aQT4ymmCoDsValra_6Aotn1zrAnSiMasBFvNZJgUOEHFu6aV88zb9KL0YLFbEfSLpS4tuDHOJtC4cttUvwNr_sGRF88t99HxPKtDSQtWk2FlJJEA4N9V8FvzVQHT-MDDsOOu-9zBYOBnOA\u0026h=xt2-ikqcm1gAfshQwvyFyCy1TJGpe6rm3b4FZOyRx0U", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "bf7b5690-f7f3-41cc-b457-a56b160a9866" ], + "x-ms-client-request-id": [ "7a4c8fbd-0ac9-4ea4-8886-4e9b9b388640" ], "CommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc" ], "FullCommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc_BackupExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -149,34 +151,34 @@ "Retry-After": [ "30" ], "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2RmNmQxYmFkLTZmZDYtNDFjNS1hYTE5LWJkODY0MzA1MDNmMg==?api-version=2023-12-01\u0026t=638488622960624411\u0026c=MIIHHjCCBgagAwIBAgITfwKWMg6goKCq4WwU2AAEApYyDjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMTAzMDI3WhcNMjUwMTI0MTAzMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALMk1pBZQQoNY8tos8XBaEjHjcdWubRHrQk5CqKcX3tpFfukMI0_PVZK-Kr7xkZFQTYp_ItaM2RPRDXx-0W9-mmrUBKvdcQ0rdjcSXDek7GvWS29F5sDHojD1v3e9k2jJa4cVSWwdIguvXmdUa57t1EHxqtDzTL4WmjXitzY8QOIHLMRLyXUNg3Gqfxch40cmQeBoN4rVMlP31LizDfdwRyT1qghK7vgvworA3D9rE00aM0n7TcBH9I0mu-96JE0gSX1FWXctlEcmdwQmXj_U0sZCu11_Yr6Oa34bmUQHGc3hDvO226L1Au-QsLuRWFLbKJ-0wmSV5b3CbU1kweD5LUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBQuoVkxdNhVmd-S8fHDZYn-1n9OaDAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG6_wraDi57hTBBW8zI9n7Dnd66DCf9ok7v4gM1-qxp2gZjb_eEnriIZQcCD3jLvW4q5_59OicwRN13rP_GY33E9HLUgw245zqSCIGd6gYnaCyxPNdhEa-W6-ZBBw1iWX8l-RJqDOUYwkrI7Lw-iea9CuiTbLjw_BJ5NGmd8D5GOVxFRnhJ7RBRrwa6p2_UqZqvdg8kneiyymbidRJCOZ_xkZ8OwL-ini_ge44CIEB7rvqwdf7DfwOjoDr7JU88gM0QgcE7kzx7cVUZpaJAXXhxLvOcb0MBuRiEyexrV6HrbOTafc9naJB26ejIXNHLsuIhpMMa5NEK60hGauLEMNlY\u0026s=HSLw7ISLWsJh5fcOFYzFUnLNDzdCzhSw75ULusu8DJsgdHOMG0w7zu2i7SzzxlhTpt7gGN3ZuGPlJUhJ_jq064-0bNiA2P-yp9P20--eRASXIebNGfTJ8QNio5IVolhD-adpN00MKuF46pmNNjrwm5Vb10RECshSWKKeKMcmeZXqiWOtWIFngypjOFJ69M5upzQwEBZuSu8OdEIH5zgCLt-SNMskfy_2hs8zmaAR5Ju5E6rPIWxob8BCabR5DU8YfD_oX3TQgBQzkfZ07SgyWJzGlaGw2Jks77sO7xF7Qjc9U_fax8j7xYqJ686IHk4FJkEUl77ELxYLpy0SHpioBQ\u0026h=E6IVHSlLFeeL7h-nOaWBXM5GMGWsxzPp8VeDTMXL_qA" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2E0OWU1ZjhiLTlkZGYtNDNiYi04M2Q2LTFhN2NiODIxMTk1OQ==?api-version=2024-04-01\u0026t=638493059579516690\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=ODEU2JsEOMEPaJjjnQg9zcPHJ8SNvAC5BpVrfH9_Zax2kjuutYg4fnX0ET_xEMNXNGbY8uyJBPymyZylGPKA4lhMQ9EBUM3gUhVBjvX0z46xLsRAUf51fbBjvZ8n1-IOpr-IPB1BfAAj-9U2i1cdH5nIlvgQjdtXh-myjNv4Y-GAMJ9xRNI_i8ODxVS62JxLfcJlHlpzZXFSs4a-HRCQ_DpI8sY1AERVV2TTr0rQVLeVBy66T8Hbki85_yFVA47AOMD28G9iPExxyC-khZyKSHJnOk7JyDyOKYptqijmzcGIqIyZoz3tu2O0YIXFvjPGLqQaXhqPaiZ4JB-LBoCRmg\u0026h=s0Kvxc3BjK6Dwo6VzbZm6X5Q-eanl34pE96Wbw0sd6U" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "f933e687-fb6f-4882-b1a9-2e391c6e55b5" ], - "x-ms-correlation-request-id": [ "f933e687-fb6f-4882-b1a9-2e391c6e55b5" ], - "x-ms-routing-request-id": [ "CENTRALINDIA:20240416T110456Z:f933e687-fb6f-4882-b1a9-2e391c6e55b5" ], + "x-ms-request-id": [ "eaec4f5f-dac4-402b-acdf-9f3522a3075f" ], + "x-ms-correlation-request-id": [ "eaec4f5f-dac4-402b-acdf-9f3522a3075f" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T141917Z:eaec4f5f-dac4-402b-acdf-9f3522a3075f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 90BCB7572BAA40AD86236F0A7F897EF1 Ref B: MAA201060515051 Ref C: 2024-04-16T11:04:54Z" ], - "Date": [ "Tue, 16 Apr 2024 11:04:55 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 88297BC823DD44378D21B22C14E66BB0 Ref B: MAA201060513019 Ref C: 2024-04-21T14:19:17Z" ], + "Date": [ "Sun, 21 Apr 2024 14:19:17 GMT" ] }, "ContentHeaders": { "Content-Length": [ "246" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"objectType\":\"OperationJobExtendedInfo\"}", + "Content": "{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-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/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "5" ], - "x-ms-client-request-id": [ "7523097d-aa9e-4218-a7a8-55120ea1e965" ], + "x-ms-client-request-id": [ "bff35963-89cf-42b2-ac21-ceb4a4b1b4e8" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -194,32 +196,32 @@ "X-Content-Type-Options": [ "nosniff" ], "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "e2d03352-fb4f-4299-b293-3bd22474d21f" ], - "x-ms-correlation-request-id": [ "e2d03352-fb4f-4299-b293-3bd22474d21f" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240416T110502Z:e2d03352-fb4f-4299-b293-3bd22474d21f" ], + "x-ms-request-id": [ "f5a434af-2b86-4d07-b1a9-bb731ece2aef" ], + "x-ms-correlation-request-id": [ "f5a434af-2b86-4d07-b1a9-bb731ece2aef" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T141924Z:f5a434af-2b86-4d07-b1a9-bb731ece2aef" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 73A2F66D351349E9948EC5E04E27FD18 Ref B: MAA201060515051 Ref C: 2024-04-16T11:05:01Z" ], - "Date": [ "Tue, 16 Apr 2024 11:05:02 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 7219826A4D22414AA8D8F82A45A3D530 Ref B: MAA201060513019 Ref C: 2024-04-21T14:19:23Z" ], + "Date": [ "Sun, 21 Apr 2024 14:19:23 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2179" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"bf7b5690-f7f3-41cc-b457-a56b160a9866\",\"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\u00272024-04-16T11%3A04%3A23.8974998Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-16T11:04:23.6577116Z\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"name\":\"f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"7a4c8fbd-0ac9-4ea4-8886-4e9b9b388640\",\"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\u00272024-04-21T14%3A18%3A45.9028956Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:18:45.5515574Z\",\"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/7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"name\":\"7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-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/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "6" ], - "x-ms-client-request-id": [ "b30fc311-d8ae-4fb8-9602-6c6d1b371add" ], + "x-ms-client-request-id": [ "7e8bfcb3-721a-4dc0-bf5d-1bf628e7f66b" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -235,33 +237,34 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "403f3b7d-a0a0-466d-8281-590db217d2f4" ], - "x-ms-correlation-request-id": [ "403f3b7d-a0a0-466d-8281-590db217d2f4" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240416T110508Z:403f3b7d-a0a0-466d-8281-590db217d2f4" ], + "x-ms-request-id": [ "ddaa8156-52ca-4ceb-b1d1-6926e7d71f9b" ], + "x-ms-correlation-request-id": [ "ddaa8156-52ca-4ceb-b1d1-6926e7d71f9b" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T141930Z:ddaa8156-52ca-4ceb-b1d1-6926e7d71f9b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 773456FD46FC4F49AC2F1B391F5516C3 Ref B: MAA201060515051 Ref C: 2024-04-16T11:05:07Z" ], - "Date": [ "Tue, 16 Apr 2024 11:05:08 GMT" ] + "X-MSEdge-Ref": [ "Ref A: FAE5FBE6875F4BBD9847EBA6FD0932AE Ref B: MAA201060513019 Ref C: 2024-04-21T14:19:29Z" ], + "Date": [ "Sun, 21 Apr 2024 14:19:29 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2179" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"bf7b5690-f7f3-41cc-b457-a56b160a9866\",\"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\u00272024-04-16T11%3A04%3A23.8974998Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-16T11:04:23.6577116Z\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"name\":\"f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"7a4c8fbd-0ac9-4ea4-8886-4e9b9b388640\",\"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\u00272024-04-21T14%3A18%3A45.9028956Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:18:45.5515574Z\",\"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/7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"name\":\"7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-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/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "7" ], - "x-ms-client-request-id": [ "41d78422-0426-44e1-ac4a-40dc02a0ef72" ], + "x-ms-client-request-id": [ "5c3271c3-d678-4b0e-8d57-de4267f8ddb6" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -277,33 +280,34 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "92353384-e59e-4295-add1-b3aab1cfe22b" ], - "x-ms-correlation-request-id": [ "92353384-e59e-4295-add1-b3aab1cfe22b" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240416T110515Z:92353384-e59e-4295-add1-b3aab1cfe22b" ], + "x-ms-request-id": [ "75f55bf1-a0d9-4944-afd3-0ba924175c5f" ], + "x-ms-correlation-request-id": [ "75f55bf1-a0d9-4944-afd3-0ba924175c5f" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T141937Z:75f55bf1-a0d9-4944-afd3-0ba924175c5f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: DEE1E90508F9415FA7FFB3C412C5CDEE Ref B: MAA201060515051 Ref C: 2024-04-16T11:05:13Z" ], - "Date": [ "Tue, 16 Apr 2024 11:05:15 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 743C7968E9624BDE8A0A9AAB887CC973 Ref B: MAA201060513019 Ref C: 2024-04-21T14:19:35Z" ], + "Date": [ "Sun, 21 Apr 2024 14:19:36 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2179" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"bf7b5690-f7f3-41cc-b457-a56b160a9866\",\"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\u00272024-04-16T11%3A04%3A23.8974998Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-16T11:04:23.6577116Z\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"name\":\"f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"7a4c8fbd-0ac9-4ea4-8886-4e9b9b388640\",\"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\u00272024-04-21T14%3A18%3A45.9028956Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:18:45.5515574Z\",\"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/7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"name\":\"7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-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/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "8" ], - "x-ms-client-request-id": [ "af04fac3-2c15-4d50-8ff7-23363cd9a6cc" ], + "x-ms-client-request-id": [ "ec6acb2c-7bda-4522-8ad6-647eec1a2f9d" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -319,33 +323,34 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "c8484bd4-e66d-4f2a-8d8b-1c9c1efc4bf3" ], - "x-ms-correlation-request-id": [ "c8484bd4-e66d-4f2a-8d8b-1c9c1efc4bf3" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240416T110521Z:c8484bd4-e66d-4f2a-8d8b-1c9c1efc4bf3" ], + "x-ms-request-id": [ "6e81aa8c-793d-453c-b45e-b34da4260dad" ], + "x-ms-correlation-request-id": [ "6e81aa8c-793d-453c-b45e-b34da4260dad" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240421T141944Z:6e81aa8c-793d-453c-b45e-b34da4260dad" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 622F04DBC51840B783BD97F15071643E Ref B: MAA201060515051 Ref C: 2024-04-16T11:05:20Z" ], - "Date": [ "Tue, 16 Apr 2024 11:05:21 GMT" ] + "X-MSEdge-Ref": [ "Ref A: BA71BA2ED4094317BA50E041CFB50BD8 Ref B: MAA201060513019 Ref C: 2024-04-21T14:19:42Z" ], + "Date": [ "Sun, 21 Apr 2024 14:19:43 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2179" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"bf7b5690-f7f3-41cc-b457-a56b160a9866\",\"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\u00272024-04-16T11%3A04%3A23.8974998Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-16T11:04:23.6577116Z\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"name\":\"f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"7a4c8fbd-0ac9-4ea4-8886-4e9b9b388640\",\"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\u00272024-04-21T14%3A18%3A45.9028956Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:18:45.5515574Z\",\"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/7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"name\":\"7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-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/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "9" ], - "x-ms-client-request-id": [ "90a2d694-bf09-4ad0-b9bb-7d9043bb8626" ], + "x-ms-client-request-id": [ "f7ea4f78-7a2a-49c8-bf11-4591d4c6eb50" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -361,33 +366,34 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "9b72e1ed-ac9a-45a0-8930-781b5924dc4c" ], - "x-ms-correlation-request-id": [ "9b72e1ed-ac9a-45a0-8930-781b5924dc4c" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240416T110527Z:9b72e1ed-ac9a-45a0-8930-781b5924dc4c" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "d2b19927-c5fe-4671-9d86-f02879d02231" ], + "x-ms-correlation-request-id": [ "d2b19927-c5fe-4671-9d86-f02879d02231" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T141950Z:d2b19927-c5fe-4671-9d86-f02879d02231" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: A67B246051524E1C929684E970FBDFE7 Ref B: MAA201060515051 Ref C: 2024-04-16T11:05:27Z" ], - "Date": [ "Tue, 16 Apr 2024 11:05:27 GMT" ] + "X-MSEdge-Ref": [ "Ref A: B4DA3793B02F4E96B3B0C2FF4E9168A7 Ref B: MAA201060513019 Ref C: 2024-04-21T14:19:49Z" ], + "Date": [ "Sun, 21 Apr 2024 14:19:49 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2179" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"bf7b5690-f7f3-41cc-b457-a56b160a9866\",\"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\u00272024-04-16T11%3A04%3A23.8974998Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-16T11:04:23.6577116Z\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"name\":\"f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"7a4c8fbd-0ac9-4ea4-8886-4e9b9b388640\",\"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\u00272024-04-21T14%3A18%3A45.9028956Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:18:45.5515574Z\",\"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/7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"name\":\"7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-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/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "10" ], - "x-ms-client-request-id": [ "ddac4a00-92d3-4ad5-9c09-63d4e84ec480" ], + "x-ms-client-request-id": [ "df55df87-ff59-4113-af25-f163a9153493" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -405,32 +411,32 @@ "X-Content-Type-Options": [ "nosniff" ], "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "916fc9f6-85cc-4bf9-ab0a-6e7a970b3513" ], - "x-ms-correlation-request-id": [ "916fc9f6-85cc-4bf9-ab0a-6e7a970b3513" ], - "x-ms-routing-request-id": [ "JIOINDIACENTRAL:20240416T110534Z:916fc9f6-85cc-4bf9-ab0a-6e7a970b3513" ], + "x-ms-request-id": [ "eb94624c-0983-4919-840a-27a4b84f0ca0" ], + "x-ms-correlation-request-id": [ "eb94624c-0983-4919-840a-27a4b84f0ca0" ], + "x-ms-routing-request-id": [ "JIOINDIACENTRAL:20240421T141958Z:eb94624c-0983-4919-840a-27a4b84f0ca0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: F39C0B0E995D4597973891C78574735D Ref B: MAA201060515051 Ref C: 2024-04-16T11:05:32Z" ], - "Date": [ "Tue, 16 Apr 2024 11:05:33 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 9CDDC47154E541E2BF271107D7812FDD Ref B: MAA201060513019 Ref C: 2024-04-21T14:19:55Z" ], + "Date": [ "Sun, 21 Apr 2024 14:19:57 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2179" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"bf7b5690-f7f3-41cc-b457-a56b160a9866\",\"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\u00272024-04-16T11%3A04%3A23.8974998Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-16T11:04:23.6577116Z\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"name\":\"f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"7a4c8fbd-0ac9-4ea4-8886-4e9b9b388640\",\"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\u00272024-04-21T14%3A18%3A45.9028956Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:18:45.5515574Z\",\"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/7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"name\":\"7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-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/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "11" ], - "x-ms-client-request-id": [ "0b5658f7-844f-4754-887c-330b5fd308f7" ], + "x-ms-client-request-id": [ "2b8dfee8-0996-4add-8852-804eb89cff38" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -448,32 +454,32 @@ "X-Content-Type-Options": [ "nosniff" ], "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "eab9fe4a-0737-463f-beb7-a176944359b3" ], - "x-ms-correlation-request-id": [ "eab9fe4a-0737-463f-beb7-a176944359b3" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240416T110540Z:eab9fe4a-0737-463f-beb7-a176944359b3" ], + "x-ms-request-id": [ "6e1eac43-2b42-4f7f-b1cb-9b0d3602e3b0" ], + "x-ms-correlation-request-id": [ "6e1eac43-2b42-4f7f-b1cb-9b0d3602e3b0" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240421T142004Z:6e1eac43-2b42-4f7f-b1cb-9b0d3602e3b0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: CC04ED5E3195449BB55194519504693D Ref B: MAA201060515051 Ref C: 2024-04-16T11:05:39Z" ], - "Date": [ "Tue, 16 Apr 2024 11:05:40 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 1454648B580341648C58305411561271 Ref B: MAA201060513019 Ref C: 2024-04-21T14:20:03Z" ], + "Date": [ "Sun, 21 Apr 2024 14:20:03 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2179" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"bf7b5690-f7f3-41cc-b457-a56b160a9866\",\"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\u00272024-04-16T11%3A04%3A23.8974998Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-16T11:04:23.6577116Z\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"name\":\"f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"7a4c8fbd-0ac9-4ea4-8886-4e9b9b388640\",\"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\u00272024-04-21T14%3A18%3A45.9028956Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:18:45.5515574Z\",\"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/7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"name\":\"7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-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/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "12" ], - "x-ms-client-request-id": [ "81ff65aa-6f1d-4188-b994-1e4270d297fa" ], + "x-ms-client-request-id": [ "1063f69c-2d14-4c68-a9ea-e8703bfb7da9" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -491,32 +497,32 @@ "X-Content-Type-Options": [ "nosniff" ], "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "453b3ad3-db49-4a0a-8a24-965e4a8985bb" ], - "x-ms-correlation-request-id": [ "453b3ad3-db49-4a0a-8a24-965e4a8985bb" ], - "x-ms-routing-request-id": [ "CENTRALINDIA:20240416T110547Z:453b3ad3-db49-4a0a-8a24-965e4a8985bb" ], + "x-ms-request-id": [ "da26127a-2952-428f-8daf-70ae4d395c9a" ], + "x-ms-correlation-request-id": [ "da26127a-2952-428f-8daf-70ae4d395c9a" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T142011Z:da26127a-2952-428f-8daf-70ae4d395c9a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 499B489B7F5243F89762B07022E355DA Ref B: MAA201060515051 Ref C: 2024-04-16T11:05:45Z" ], - "Date": [ "Tue, 16 Apr 2024 11:05:46 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 9DA6E5EC5CC641EC97043FC9EC1F11A3 Ref B: MAA201060513019 Ref C: 2024-04-21T14:20:10Z" ], + "Date": [ "Sun, 21 Apr 2024 14:20:10 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2179" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"bf7b5690-f7f3-41cc-b457-a56b160a9866\",\"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\u00272024-04-16T11%3A04%3A23.8974998Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-16T11:04:23.6577116Z\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"name\":\"f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"7a4c8fbd-0ac9-4ea4-8886-4e9b9b388640\",\"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\u00272024-04-21T14%3A18%3A45.9028956Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:18:45.5515574Z\",\"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/7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"name\":\"7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-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/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "13" ], - "x-ms-client-request-id": [ "be86cc6c-2d20-43a1-9a1d-20c96f625e36" ], + "x-ms-client-request-id": [ "e6b7d08a-8566-4f42-8e61-c1ef4abbfe3b" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -532,33 +538,34 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "cbb3965a-146f-4792-8067-dac7a618a77c" ], - "x-ms-correlation-request-id": [ "cbb3965a-146f-4792-8067-dac7a618a77c" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240416T110553Z:cbb3965a-146f-4792-8067-dac7a618a77c" ], + "x-ms-request-id": [ "fcebd63a-0294-4995-9595-2e3450aefcfb" ], + "x-ms-correlation-request-id": [ "fcebd63a-0294-4995-9595-2e3450aefcfb" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T142017Z:fcebd63a-0294-4995-9595-2e3450aefcfb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 4BF587FFC5F9477B8D298C86DDA5292F Ref B: MAA201060515051 Ref C: 2024-04-16T11:05:52Z" ], - "Date": [ "Tue, 16 Apr 2024 11:05:52 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 0BF7FB4F7B5D45CF8E5C2A011DDEA355 Ref B: MAA201060513019 Ref C: 2024-04-21T14:20:16Z" ], + "Date": [ "Sun, 21 Apr 2024 14:20:16 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2179" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"bf7b5690-f7f3-41cc-b457-a56b160a9866\",\"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\u00272024-04-16T11%3A04%3A23.8974998Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-16T11:04:23.6577116Z\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"name\":\"f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"7a4c8fbd-0ac9-4ea4-8886-4e9b9b388640\",\"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\u00272024-04-21T14%3A18%3A45.9028956Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:18:45.5515574Z\",\"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/7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"name\":\"7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-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/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "14" ], - "x-ms-client-request-id": [ "ac497846-4ce0-41b7-86a2-3b0ce0216299" ], + "x-ms-client-request-id": [ "e45aeefc-0af7-4d22-9b65-9751f1bcde9f" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -576,32 +583,32 @@ "X-Content-Type-Options": [ "nosniff" ], "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "080b3c70-c074-4b55-831f-864840b23c8b" ], - "x-ms-correlation-request-id": [ "080b3c70-c074-4b55-831f-864840b23c8b" ], - "x-ms-routing-request-id": [ "JIOINDIACENTRAL:20240416T110559Z:080b3c70-c074-4b55-831f-864840b23c8b" ], + "x-ms-request-id": [ "6c3c4c6c-8423-47d5-9afd-5b83d1f67a01" ], + "x-ms-correlation-request-id": [ "6c3c4c6c-8423-47d5-9afd-5b83d1f67a01" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T142023Z:6c3c4c6c-8423-47d5-9afd-5b83d1f67a01" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 258F3D3798134DDA94B90FED28302DDE Ref B: MAA201060515051 Ref C: 2024-04-16T11:05:58Z" ], - "Date": [ "Tue, 16 Apr 2024 11:05:59 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 9B429D0A78DF4CABB4EC154D91965CD8 Ref B: MAA201060513019 Ref C: 2024-04-21T14:20:22Z" ], + "Date": [ "Sun, 21 Apr 2024 14:20:23 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2179" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"bf7b5690-f7f3-41cc-b457-a56b160a9866\",\"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\u00272024-04-16T11%3A04%3A23.8974998Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-16T11:04:23.6577116Z\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"name\":\"f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"7a4c8fbd-0ac9-4ea4-8886-4e9b9b388640\",\"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\u00272024-04-21T14%3A18%3A45.9028956Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:18:45.5515574Z\",\"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/7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"name\":\"7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-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/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "15" ], - "x-ms-client-request-id": [ "7a51adbe-facd-4fe5-a972-79044d0c0183" ], + "x-ms-client-request-id": [ "043de960-3416-4f0d-b6d7-470bd88740f6" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -619,32 +626,32 @@ "X-Content-Type-Options": [ "nosniff" ], "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "9ab6e99c-16ca-45dc-b706-d8ff8e56e7b1" ], - "x-ms-correlation-request-id": [ "9ab6e99c-16ca-45dc-b706-d8ff8e56e7b1" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240416T110606Z:9ab6e99c-16ca-45dc-b706-d8ff8e56e7b1" ], + "x-ms-request-id": [ "39c0a383-cd74-4dec-88db-24ffec1c1aa3" ], + "x-ms-correlation-request-id": [ "39c0a383-cd74-4dec-88db-24ffec1c1aa3" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T142030Z:39c0a383-cd74-4dec-88db-24ffec1c1aa3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 12F846A35774448B9588CAFE2B9E2155 Ref B: MAA201060515051 Ref C: 2024-04-16T11:06:05Z" ], - "Date": [ "Tue, 16 Apr 2024 11:06:06 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 17D03EB83A1F42E28032426099CE3F55 Ref B: MAA201060513019 Ref C: 2024-04-21T14:20:28Z" ], + "Date": [ "Sun, 21 Apr 2024 14:20:30 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2179" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"bf7b5690-f7f3-41cc-b457-a56b160a9866\",\"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\u00272024-04-16T11%3A04%3A23.8974998Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-16T11:04:23.6577116Z\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"name\":\"f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"7a4c8fbd-0ac9-4ea4-8886-4e9b9b388640\",\"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\u00272024-04-21T14%3A18%3A45.9028956Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:18:45.5515574Z\",\"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/7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"name\":\"7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-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/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "16" ], - "x-ms-client-request-id": [ "ff872edd-4cf1-4bd2-a6fc-9d56f9841f35" ], + "x-ms-client-request-id": [ "954938bb-3696-4987-adf9-81ddf8b2910d" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -662,32 +669,32 @@ "X-Content-Type-Options": [ "nosniff" ], "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "e938b252-e4d6-4882-93d0-604fefbb2dfb" ], - "x-ms-correlation-request-id": [ "e938b252-e4d6-4882-93d0-604fefbb2dfb" ], - "x-ms-routing-request-id": [ "JIOINDIACENTRAL:20240416T110613Z:e938b252-e4d6-4882-93d0-604fefbb2dfb" ], + "x-ms-request-id": [ "d03a4c05-e26b-4f05-bebf-f290cbf74cf2" ], + "x-ms-correlation-request-id": [ "d03a4c05-e26b-4f05-bebf-f290cbf74cf2" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T142037Z:d03a4c05-e26b-4f05-bebf-f290cbf74cf2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 59D8FD7D43BC49FCB5BA3A14A4BC59F1 Ref B: MAA201060515051 Ref C: 2024-04-16T11:06:12Z" ], - "Date": [ "Tue, 16 Apr 2024 11:06:13 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 257B8A6F63234200AF45D860B770CFA5 Ref B: MAA201060513019 Ref C: 2024-04-21T14:20:36Z" ], + "Date": [ "Sun, 21 Apr 2024 14:20:37 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2179" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"bf7b5690-f7f3-41cc-b457-a56b160a9866\",\"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\u00272024-04-16T11%3A04%3A23.8974998Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-16T11:04:23.6577116Z\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"name\":\"f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"7a4c8fbd-0ac9-4ea4-8886-4e9b9b388640\",\"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\u00272024-04-21T14%3A18%3A45.9028956Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:18:45.5515574Z\",\"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/7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"name\":\"7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-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/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "17" ], - "x-ms-client-request-id": [ "2ae908d6-754a-47df-b763-ca26d5e4f2c3" ], + "x-ms-client-request-id": [ "00689c6d-a45d-4a0b-b092-ffba1519e6e4" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -705,32 +712,32 @@ "X-Content-Type-Options": [ "nosniff" ], "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "94c603c7-2c40-4cff-8798-d3606f50439b" ], - "x-ms-correlation-request-id": [ "94c603c7-2c40-4cff-8798-d3606f50439b" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240416T110619Z:94c603c7-2c40-4cff-8798-d3606f50439b" ], + "x-ms-request-id": [ "bfd95276-41b5-490a-bd2e-1f1972b90a91" ], + "x-ms-correlation-request-id": [ "bfd95276-41b5-490a-bd2e-1f1972b90a91" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T142044Z:bfd95276-41b5-490a-bd2e-1f1972b90a91" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 2AA57C9D7F034D07BF64FF136285A002 Ref B: MAA201060515051 Ref C: 2024-04-16T11:06:18Z" ], - "Date": [ "Tue, 16 Apr 2024 11:06:19 GMT" ] + "X-MSEdge-Ref": [ "Ref A: ED5337F737F74AC589B79A319C6798D0 Ref B: MAA201060513019 Ref C: 2024-04-21T14:20:42Z" ], + "Date": [ "Sun, 21 Apr 2024 14:20:44 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2179" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"bf7b5690-f7f3-41cc-b457-a56b160a9866\",\"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\u00272024-04-16T11%3A04%3A23.8974998Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-16T11:04:23.6577116Z\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"name\":\"f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"7a4c8fbd-0ac9-4ea4-8886-4e9b9b388640\",\"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\u00272024-04-21T14%3A18%3A45.9028956Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:18:45.5515574Z\",\"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/7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"name\":\"7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-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/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "18" ], - "x-ms-client-request-id": [ "1823fc48-eec7-4663-bc96-4fc9f5ee892f" ], + "x-ms-client-request-id": [ "48ffb0eb-e1cb-4b24-9320-0b7c7143bd26" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -748,32 +755,32 @@ "X-Content-Type-Options": [ "nosniff" ], "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "3eecc6a7-5982-4f49-932d-f33b9e04e134" ], - "x-ms-correlation-request-id": [ "3eecc6a7-5982-4f49-932d-f33b9e04e134" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240416T110626Z:3eecc6a7-5982-4f49-932d-f33b9e04e134" ], + "x-ms-request-id": [ "b9f0c430-6239-446c-96f6-08d82e3ed059" ], + "x-ms-correlation-request-id": [ "b9f0c430-6239-446c-96f6-08d82e3ed059" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T142051Z:b9f0c430-6239-446c-96f6-08d82e3ed059" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 5C1D67818D634AC58BCE29FC582A9EFA Ref B: MAA201060515051 Ref C: 2024-04-16T11:06:24Z" ], - "Date": [ "Tue, 16 Apr 2024 11:06:25 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 853E061C065744E1AC4C233C3D71CCCE Ref B: MAA201060513019 Ref C: 2024-04-21T14:20:49Z" ], + "Date": [ "Sun, 21 Apr 2024 14:20:50 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2179" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"bf7b5690-f7f3-41cc-b457-a56b160a9866\",\"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\u00272024-04-16T11%3A04%3A23.8974998Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-16T11:04:23.6577116Z\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"name\":\"f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"7a4c8fbd-0ac9-4ea4-8886-4e9b9b388640\",\"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\u00272024-04-21T14%3A18%3A45.9028956Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:18:45.5515574Z\",\"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/7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"name\":\"7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-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/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "19" ], - "x-ms-client-request-id": [ "e68b67aa-54cf-480b-b837-bbea42443d6f" ], + "x-ms-client-request-id": [ "f19c9408-a615-4eca-bc25-cde714988cf5" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -790,33 +797,33 @@ "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-throttling-version": [ "v1" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "196d3a54-dad9-4d73-9b40-2cdaaebfd69d" ], - "x-ms-correlation-request-id": [ "196d3a54-dad9-4d73-9b40-2cdaaebfd69d" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240416T110631Z:196d3a54-dad9-4d73-9b40-2cdaaebfd69d" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "07810203-212f-4d72-92b3-c40f7b39ef5a" ], + "x-ms-correlation-request-id": [ "07810203-212f-4d72-92b3-c40f7b39ef5a" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T142057Z:07810203-212f-4d72-92b3-c40f7b39ef5a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 12D9E5084C3740C08792CF7AA87E9D26 Ref B: MAA201060515051 Ref C: 2024-04-16T11:06:31Z" ], - "Date": [ "Tue, 16 Apr 2024 11:06:31 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 8348ACBBD8084D4AAF91DAE71DE0B704 Ref B: MAA201060513019 Ref C: 2024-04-21T14:20:56Z" ], + "Date": [ "Sun, 21 Apr 2024 14:20:57 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2179" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"bf7b5690-f7f3-41cc-b457-a56b160a9866\",\"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\u00272024-04-16T11%3A04%3A23.8974998Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-16T11:04:23.6577116Z\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"name\":\"f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"7a4c8fbd-0ac9-4ea4-8886-4e9b9b388640\",\"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\u00272024-04-21T14%3A18%3A45.9028956Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:18:45.5515574Z\",\"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/7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"name\":\"7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-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/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "20" ], - "x-ms-client-request-id": [ "18a8518e-96c4-4094-b77c-4105db003e23" ], + "x-ms-client-request-id": [ "c579bd53-b7e6-4cba-9683-47215e2bafc0" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -834,32 +841,32 @@ "X-Content-Type-Options": [ "nosniff" ], "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "18da8d13-1db4-4811-b8e0-ca582732f8dd" ], - "x-ms-correlation-request-id": [ "18da8d13-1db4-4811-b8e0-ca582732f8dd" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240416T110638Z:18da8d13-1db4-4811-b8e0-ca582732f8dd" ], + "x-ms-request-id": [ "886a8a14-4566-459d-965b-377e362553ff" ], + "x-ms-correlation-request-id": [ "886a8a14-4566-459d-965b-377e362553ff" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240421T142103Z:886a8a14-4566-459d-965b-377e362553ff" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 739E2E4182E94BCEB129B1976A4880DF Ref B: MAA201060515051 Ref C: 2024-04-16T11:06:36Z" ], - "Date": [ "Tue, 16 Apr 2024 11:06:37 GMT" ] + "X-MSEdge-Ref": [ "Ref A: F8E1C0B904DA4C4E89B294C746D7989E Ref B: MAA201060513019 Ref C: 2024-04-21T14:21:02Z" ], + "Date": [ "Sun, 21 Apr 2024 14:21:03 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2179" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"bf7b5690-f7f3-41cc-b457-a56b160a9866\",\"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\u00272024-04-16T11%3A04%3A23.8974998Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-16T11:04:23.6577116Z\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"name\":\"f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"7a4c8fbd-0ac9-4ea4-8886-4e9b9b388640\",\"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\u00272024-04-21T14%3A18%3A45.9028956Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:18:45.5515574Z\",\"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/7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"name\":\"7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-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/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "21" ], - "x-ms-client-request-id": [ "8c5bb5d4-7cb9-43b2-9a44-e54404780aaf" ], + "x-ms-client-request-id": [ "291ec272-2039-498a-bc00-f2f87d87e62d" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -876,33 +883,33 @@ "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-throttling-version": [ "v1" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "3139c5d5-4f08-4d8d-9932-be629ff08824" ], - "x-ms-correlation-request-id": [ "3139c5d5-4f08-4d8d-9932-be629ff08824" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240416T110644Z:3139c5d5-4f08-4d8d-9932-be629ff08824" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], + "x-ms-request-id": [ "6c815484-9fb9-4f8c-b37d-ad21571cf1b1" ], + "x-ms-correlation-request-id": [ "6c815484-9fb9-4f8c-b37d-ad21571cf1b1" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T142110Z:6c815484-9fb9-4f8c-b37d-ad21571cf1b1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 235A9352481A49F682585FE8F0ED620F Ref B: MAA201060515051 Ref C: 2024-04-16T11:06:43Z" ], - "Date": [ "Tue, 16 Apr 2024 11:06:44 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 121BBC1FCF4047FA9669748C79C35A17 Ref B: MAA201060513019 Ref C: 2024-04-21T14:21:09Z" ], + "Date": [ "Sun, 21 Apr 2024 14:21:10 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2179" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"bf7b5690-f7f3-41cc-b457-a56b160a9866\",\"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\u00272024-04-16T11%3A04%3A23.8974998Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-16T11:04:23.6577116Z\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"name\":\"f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"7a4c8fbd-0ac9-4ea4-8886-4e9b9b388640\",\"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\u00272024-04-21T14%3A18%3A45.9028956Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:18:45.5515574Z\",\"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/7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"name\":\"7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-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/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "22" ], - "x-ms-client-request-id": [ "9982c243-a611-4c64-b9bc-c0a79abf3401" ], + "x-ms-client-request-id": [ "f71d03e9-f605-493f-8f13-86b39f226ef7" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -918,33 +925,34 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "28b4ce2c-5b94-4142-a78e-ab01144fe1a7" ], - "x-ms-correlation-request-id": [ "28b4ce2c-5b94-4142-a78e-ab01144fe1a7" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240416T110650Z:28b4ce2c-5b94-4142-a78e-ab01144fe1a7" ], + "x-ms-request-id": [ "63b715e2-5170-45f9-936f-b27c4961dc58" ], + "x-ms-correlation-request-id": [ "63b715e2-5170-45f9-936f-b27c4961dc58" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T142116Z:63b715e2-5170-45f9-936f-b27c4961dc58" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: E822AB5FDDAF49C098A1C160915B28EF Ref B: MAA201060515051 Ref C: 2024-04-16T11:06:49Z" ], - "Date": [ "Tue, 16 Apr 2024 11:06:50 GMT" ] + "X-MSEdge-Ref": [ "Ref A: AE827F65F050415EAE5F533D02C9D7A2 Ref B: MAA201060513019 Ref C: 2024-04-21T14:21:15Z" ], + "Date": [ "Sun, 21 Apr 2024 14:21:16 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2179" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"bf7b5690-f7f3-41cc-b457-a56b160a9866\",\"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\u00272024-04-16T11%3A04%3A23.8974998Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-16T11:04:23.6577116Z\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"name\":\"f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"7a4c8fbd-0ac9-4ea4-8886-4e9b9b388640\",\"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\u00272024-04-21T14%3A18%3A45.9028956Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:18:45.5515574Z\",\"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/7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"name\":\"7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-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/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "23" ], - "x-ms-client-request-id": [ "2b401fcf-8888-4296-8d54-3d35f6399b3c" ], + "x-ms-client-request-id": [ "fdc29e82-5572-4cc8-a764-f53a4c9513e3" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -960,33 +968,34 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "bebb063b-aa9b-4408-b946-105eef8e4e9b" ], - "x-ms-correlation-request-id": [ "bebb063b-aa9b-4408-b946-105eef8e4e9b" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240416T110656Z:bebb063b-aa9b-4408-b946-105eef8e4e9b" ], + "x-ms-request-id": [ "38fb28ae-8b22-4615-bfa2-36ea976f14d9" ], + "x-ms-correlation-request-id": [ "38fb28ae-8b22-4615-bfa2-36ea976f14d9" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T142122Z:38fb28ae-8b22-4615-bfa2-36ea976f14d9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 4EC475CEC12B47C9B0F1508864E9EC66 Ref B: MAA201060515051 Ref C: 2024-04-16T11:06:55Z" ], - "Date": [ "Tue, 16 Apr 2024 11:06:56 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 5CC12F94212F45FBB1C775F41DBEF47E Ref B: MAA201060513019 Ref C: 2024-04-21T14:21:21Z" ], + "Date": [ "Sun, 21 Apr 2024 14:21:22 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2179" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"bf7b5690-f7f3-41cc-b457-a56b160a9866\",\"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\u00272024-04-16T11%3A04%3A23.8974998Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-16T11:04:23.6577116Z\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"name\":\"f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"7a4c8fbd-0ac9-4ea4-8886-4e9b9b388640\",\"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\u00272024-04-21T14%3A18%3A45.9028956Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:18:45.5515574Z\",\"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/7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"name\":\"7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-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/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "24" ], - "x-ms-client-request-id": [ "fd3065bd-883f-4f9f-adec-a3ef4448ca6b" ], + "x-ms-client-request-id": [ "59e57142-7913-46e6-aed7-54d65c9ddc61" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -1002,33 +1011,34 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "9fc6b00d-649b-4015-a0ab-e4e8a3cf8ffa" ], - "x-ms-correlation-request-id": [ "9fc6b00d-649b-4015-a0ab-e4e8a3cf8ffa" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240416T110702Z:9fc6b00d-649b-4015-a0ab-e4e8a3cf8ffa" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "0494c74a-90e0-46c0-a835-d0a1ad485d1e" ], + "x-ms-correlation-request-id": [ "0494c74a-90e0-46c0-a835-d0a1ad485d1e" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T142129Z:0494c74a-90e0-46c0-a835-d0a1ad485d1e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 0635210315894693ACC93BC8B5B3F54C Ref B: MAA201060515051 Ref C: 2024-04-16T11:07:02Z" ], - "Date": [ "Tue, 16 Apr 2024 11:07:02 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 914E3B1F90DC491392D718FAFEF748BE Ref B: MAA201060513019 Ref C: 2024-04-21T14:21:27Z" ], + "Date": [ "Sun, 21 Apr 2024 14:21:28 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2179" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"bf7b5690-f7f3-41cc-b457-a56b160a9866\",\"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\u00272024-04-16T11%3A04%3A23.8974998Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-16T11:04:23.6577116Z\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"name\":\"f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"7a4c8fbd-0ac9-4ea4-8886-4e9b9b388640\",\"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\u00272024-04-21T14%3A18%3A45.9028956Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:18:45.5515574Z\",\"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/7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"name\":\"7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-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/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "25" ], - "x-ms-client-request-id": [ "90d37094-c98a-4fec-8db7-eb4e6e6af830" ], + "x-ms-client-request-id": [ "596f36c8-ca02-4da5-8d40-248071773ae1" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -1044,33 +1054,34 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "1232fdbc-4e26-48d6-9e6b-b7fda456a759" ], - "x-ms-correlation-request-id": [ "1232fdbc-4e26-48d6-9e6b-b7fda456a759" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240416T110708Z:1232fdbc-4e26-48d6-9e6b-b7fda456a759" ], + "x-ms-request-id": [ "fd56f9ff-20f4-4290-8436-bf80ceb94b97" ], + "x-ms-correlation-request-id": [ "fd56f9ff-20f4-4290-8436-bf80ceb94b97" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T142135Z:fd56f9ff-20f4-4290-8436-bf80ceb94b97" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: FE0F99AAF7C048E19C437C1131654E61 Ref B: MAA201060515051 Ref C: 2024-04-16T11:07:07Z" ], - "Date": [ "Tue, 16 Apr 2024 11:07:08 GMT" ] + "X-MSEdge-Ref": [ "Ref A: C91C971250984C1BA8FD8CD9BBADC3C0 Ref B: MAA201060513019 Ref C: 2024-04-21T14:21:34Z" ], + "Date": [ "Sun, 21 Apr 2024 14:21:35 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2179" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"bf7b5690-f7f3-41cc-b457-a56b160a9866\",\"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\u00272024-04-16T11%3A04%3A23.8974998Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-16T11:04:23.6577116Z\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"name\":\"f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"7a4c8fbd-0ac9-4ea4-8886-4e9b9b388640\",\"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\u00272024-04-21T14%3A18%3A45.9028956Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:18:45.5515574Z\",\"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/7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"name\":\"7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-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/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "26" ], - "x-ms-client-request-id": [ "fa897b32-e056-432a-b588-527e424f539c" ], + "x-ms-client-request-id": [ "b82c601b-8515-4599-83b5-181122a16d9b" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -1088,32 +1099,32 @@ "X-Content-Type-Options": [ "nosniff" ], "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "8b1cebee-e3ee-41f1-b445-d3bb41d520ea" ], - "x-ms-correlation-request-id": [ "8b1cebee-e3ee-41f1-b445-d3bb41d520ea" ], - "x-ms-routing-request-id": [ "JIOINDIACENTRAL:20240416T110716Z:8b1cebee-e3ee-41f1-b445-d3bb41d520ea" ], + "x-ms-request-id": [ "22e14ccb-12d0-4e09-9c27-c568dfe006e9" ], + "x-ms-correlation-request-id": [ "22e14ccb-12d0-4e09-9c27-c568dfe006e9" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T142142Z:22e14ccb-12d0-4e09-9c27-c568dfe006e9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: FC2B17F31EA247678657AA04F37C09C9 Ref B: MAA201060515051 Ref C: 2024-04-16T11:07:14Z" ], - "Date": [ "Tue, 16 Apr 2024 11:07:15 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 09BC51D7B6F94360A1DB05BB9B8DFEE6 Ref B: MAA201060513019 Ref C: 2024-04-21T14:21:40Z" ], + "Date": [ "Sun, 21 Apr 2024 14:21:42 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2179" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"bf7b5690-f7f3-41cc-b457-a56b160a9866\",\"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\u00272024-04-16T11%3A04%3A23.8974998Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-16T11:04:23.6577116Z\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"name\":\"f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"7a4c8fbd-0ac9-4ea4-8886-4e9b9b388640\",\"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\u00272024-04-21T14%3A18%3A45.9028956Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:18:45.5515574Z\",\"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/7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"name\":\"7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-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/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "27" ], - "x-ms-client-request-id": [ "d55a02e8-178f-4801-a22c-bdb63e6dde0c" ], + "x-ms-client-request-id": [ "41b4bbe2-d399-458b-b6f0-d4226a994697" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -1129,33 +1140,34 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "5e275db7-ebde-4d24-a99e-17af99b348ab" ], - "x-ms-correlation-request-id": [ "5e275db7-ebde-4d24-a99e-17af99b348ab" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240416T110722Z:5e275db7-ebde-4d24-a99e-17af99b348ab" ], + "x-ms-request-id": [ "424feb03-7c89-4a17-a9b6-b1b96c88fb23" ], + "x-ms-correlation-request-id": [ "424feb03-7c89-4a17-a9b6-b1b96c88fb23" ], + "x-ms-routing-request-id": [ "JIOINDIACENTRAL:20240421T142149Z:424feb03-7c89-4a17-a9b6-b1b96c88fb23" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 6CEF507DD9BD4373BDBF83E12170C244 Ref B: MAA201060515051 Ref C: 2024-04-16T11:07:21Z" ], - "Date": [ "Tue, 16 Apr 2024 11:07:22 GMT" ] + "X-MSEdge-Ref": [ "Ref A: B9D65021650B461CA885BADEE862EA5A Ref B: MAA201060513019 Ref C: 2024-04-21T14:21:47Z" ], + "Date": [ "Sun, 21 Apr 2024 14:21:49 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2179" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"bf7b5690-f7f3-41cc-b457-a56b160a9866\",\"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\u00272024-04-16T11%3A04%3A23.8974998Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-16T11:04:23.6577116Z\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"name\":\"f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"7a4c8fbd-0ac9-4ea4-8886-4e9b9b388640\",\"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\u00272024-04-21T14%3A18%3A45.9028956Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:18:45.5515574Z\",\"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/7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"name\":\"7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-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/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/7111d796-7ebd-48e4-ba03-5b0fe980970b?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "28" ], - "x-ms-client-request-id": [ "e5f1db9d-a020-4927-89f6-86b90630f030" ], + "x-ms-client-request-id": [ "e818ca8b-8e93-4de8-aff8-de2f1ea33057" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -1173,74 +1185,32 @@ "X-Content-Type-Options": [ "nosniff" ], "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "08714c39-9fe3-49ba-9b57-0575b75836a9" ], - "x-ms-correlation-request-id": [ "08714c39-9fe3-49ba-9b57-0575b75836a9" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240416T110728Z:08714c39-9fe3-49ba-9b57-0575b75836a9" ], + "x-ms-request-id": [ "149f7e28-93c5-4afc-b8aa-36c3d54d0ae2" ], + "x-ms-correlation-request-id": [ "149f7e28-93c5-4afc-b8aa-36c3d54d0ae2" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T142156Z:149f7e28-93c5-4afc-b8aa-36c3d54d0ae2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: EB9D815651FD4949B0C56669D8C96842 Ref B: MAA201060515051 Ref C: 2024-04-16T11:07:27Z" ], - "Date": [ "Tue, 16 Apr 2024 11:07:28 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 87CF8EC8975946079155CC43235987CD Ref B: MAA201060513019 Ref C: 2024-04-21T14:21:55Z" ], + "Date": [ "Sun, 21 Apr 2024 14:21:56 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2179" ], + "Content-Length": [ "2457" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"bf7b5690-f7f3-41cc-b457-a56b160a9866\",\"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\u00272024-04-16T11%3A04%3A23.8974998Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-16T11:04:23.6577116Z\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"name\":\"f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"7a4c8fbd-0ac9-4ea4-8886-4e9b9b388640\",\"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\u00272024-04-21T14%3A21%3A53.914021Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:18:45.5515574Z\",\"endTime\":\"2024-04-21T14:21:53.7067113Z\",\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"Completed\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT3M8.1551539S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":{\"recoveryPointID\":\"f80e5046c0a144b0a49ad96ce0e35dcb\",\"recoveryPointTime\":\"0001-01-01T00:00:00Z\"},\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"Completed\",\"taskProgress\":null,\"additionalDetails\":{\"OriginalDatasourceSizeInBytes\":\"68719476736\",\"TaskId\":\"7a4c8fbd-0ac9-4ea4-8886-4e9b9b388640\",\"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/7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"name\":\"7111d796-7ebd-48e4-ba03-5b0fe980970b\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-01+29": { + "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=2024-04-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/backupJobs/f9ee6d51-6d06-4535-8a69-8a21ba34dfad?api-version=2023-12-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=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "29" ], - "x-ms-client-request-id": [ "2ada08e4-a81e-4597-a571-f44d5f6dc675" ], - "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], - "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "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-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "79e52bcb-b151-44b9-b615-8a26838cadc6" ], - "x-ms-correlation-request-id": [ "79e52bcb-b151-44b9-b615-8a26838cadc6" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240416T110735Z:79e52bcb-b151-44b9-b615-8a26838cadc6" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: C67886B46A524BA997C99D0257C72B86 Ref B: MAA201060515051 Ref C: 2024-04-16T11:07:34Z" ], - "Date": [ "Tue, 16 Apr 2024 11:07:35 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "2458" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"activityID\":\"bf7b5690-f7f3-41cc-b457-a56b160a9866\",\"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\u00272024-04-16T11%3A07%3A30.4713455Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-16T11:04:23.6577116Z\",\"endTime\":\"2024-04-16T11:07:30.1666891Z\",\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"Completed\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT3M6.5089775S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":{\"recoveryPointID\":\"d0ba3f71325f48709868556675d22d1b\",\"recoveryPointTime\":\"0001-01-01T00:00:00Z\"},\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"Completed\",\"taskProgress\":null,\"additionalDetails\":{\"OriginalDatasourceSizeInBytes\":\"68719476736\",\"TaskId\":\"bf7b5690-f7f3-41cc-b457-a56b160a9866\",\"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/f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"name\":\"f9ee6d51-6d06-4535-8a69-8a21ba34dfad\",\"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-12-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-12-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "30" ], - "x-ms-client-request-id": [ "faffacc2-48f6-4858-9845-ef63183323f3" ], + "x-ms-client-request-id": [ "5afb5b37-12db-47d2-993a-3c500af2ea95" ], "CommandName": [ "Get-AzDataProtectionBackupVault" ], "FullCommandName": [ "Get-AzDataProtectionBackupVault_Get2" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -1255,34 +1225,35 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "499" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "ab351df6-9ceb-4422-89d2-d332b04c8cd9" ], - "x-ms-correlation-request-id": [ "ab351df6-9ceb-4422-89d2-d332b04c8cd9" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240416T110737Z:ab351df6-9ceb-4422-89d2-d332b04c8cd9" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "499" ], + "x-ms-request-id": [ "b3d322ca-ba35-40e3-a992-ed9d1e8ae9d4" ], + "x-ms-correlation-request-id": [ "b3d322ca-ba35-40e3-a992-ed9d1e8ae9d4" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T142158Z:b3d322ca-ba35-40e3-a992-ed9d1e8ae9d4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 1CA21F5A757D4C4793485721FE3DA484 Ref B: MAA201060515051 Ref C: 2024-04-16T11:07:36Z" ], - "Date": [ "Tue, 16 Apr 2024 11:07:37 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 18F97F8F4B7D4ACDA89040BAA813EE98 Ref B: MAA201060513019 Ref C: 2024-04-21T14:21:56Z" ], + "Date": [ "Sun, 21 Apr 2024 14:21:58 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "817" ], + "Content-Length": [ "844" ], "Content-Type": [ "application/json; charset=utf-8" ], "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,\"featureSettings\":{\"crossRegionRestoreSettings\":{\"state\":\"Enabled\"}},\"secureScore\":\"None\",\"replicatedRegions\":[\"eastus2euap\"]},\"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\",\"bcdrSecurityLevel\":\"Poor\",\"replicatedRegions\":[\"eastus2euap\"]},\"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-12-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=2024-04-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-12-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=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "31" ], - "x-ms-client-request-id": [ "305a2f9f-1f94-4cb0-be25-614383df7936" ], + "x-ms-unique-id": [ "30" ], + "x-ms-client-request-id": [ "fdefb2e6-6865-4799-b958-7a0177f1a935" ], "CommandName": [ "Get-AzDataProtectionBackupPolicy" ], "FullCommandName": [ "Get-AzDataProtectionBackupPolicy_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -1300,13 +1271,13 @@ "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "e563b8f9-62cd-4107-912b-528f93e07266" ], - "x-ms-correlation-request-id": [ "e563b8f9-62cd-4107-912b-528f93e07266" ], - "x-ms-routing-request-id": [ "CENTRALINDIA:20240416T110739Z:e563b8f9-62cd-4107-912b-528f93e07266" ], + "x-ms-request-id": [ "9c902b24-116e-475c-8e91-57b3f4f6dccd" ], + "x-ms-correlation-request-id": [ "9c902b24-116e-475c-8e91-57b3f4f6dccd" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T142159Z:9c902b24-116e-475c-8e91-57b3f4f6dccd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 13861DBA48BD4080BD551DC8F51A6176 Ref B: MAA201060515051 Ref C: 2024-04-16T11:07:37Z" ], - "Date": [ "Tue, 16 Apr 2024 11:07:38 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 10ED7691D5CB4F57A41EF18245E4DB2F Ref B: MAA201060513019 Ref C: 2024-04-21T14:21:58Z" ], + "Date": [ "Sun, 21 Apr 2024 14:21:59 GMT" ] }, "ContentHeaders": { "Content-Length": [ "15305" ], @@ -1317,15 +1288,15 @@ "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-12-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=2024-04-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-12-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=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "32" ], - "x-ms-client-request-id": [ "1bc3e539-d5f1-459b-84b9-6cd99fb62a89" ], + "x-ms-unique-id": [ "31" ], + "x-ms-client-request-id": [ "6357012f-a951-4187-861d-dcc1a30b5b09" ], "CommandName": [ "Get-AzDataProtectionBackupInstance" ], "FullCommandName": [ "Get-AzDataProtectionBackupInstance_List" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -1340,15 +1311,16 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1999" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "4b618fac-8377-4669-acb1-e370ed845125" ], - "x-ms-correlation-request-id": [ "4b618fac-8377-4669-acb1-e370ed845125" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240416T110740Z:4b618fac-8377-4669-acb1-e370ed845125" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1999" ], + "x-ms-request-id": [ "2f14f007-b656-4186-8608-26e167fef030" ], + "x-ms-correlation-request-id": [ "2f14f007-b656-4186-8608-26e167fef030" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T142200Z:2f14f007-b656-4186-8608-26e167fef030" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 8D4241B7D8294608ACCA260686DE2CFD Ref B: MAA201060515051 Ref C: 2024-04-16T11:07:39Z" ], - "Date": [ "Tue, 16 Apr 2024 11:07:39 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 4DC6F1B1AA584DA9BF5D061A59FC2D35 Ref B: MAA201060513019 Ref C: 2024-04-21T14:21:59Z" ], + "Date": [ "Sun, 21 Apr 2024 14:22:00 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1879" ], @@ -1359,10 +1331,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-d63f9173-e53b-4d5c-bca1-0aca87410065/backup?api-version=2023-12-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-d63f9173-e53b-4d5c-bca1-0aca87410065/backup?api-version=2024-04-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-d63f9173-e53b-4d5c-bca1-0aca87410065/backup?api-version=2023-12-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-d63f9173-e53b-4d5c-bca1-0aca87410065/backup?api-version=2024-04-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": { @@ -1377,19 +1349,19 @@ "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/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2ZkMDBjMDljLWFiMjUtNGUwZC05NWE2LTZkZWVmMWI4MDZhZg==?api-version=2023-12-01\u0026t=638488624615299586\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=q2wkBoxT-c3ZR-m-rTZPALusWKSr5YpJWud8ab57t10JD2l7Ae-ZOUkayFmmqIzWEbLkXM0TNgvlyow5dPnfuMgftQq_C3Gi3rIqL-6NAl3sqBoL4ZUeDUiNO74Q-dhuGMzfD7STNLKy7wv0e-oVxhKe3w9l2qNWH0GU9rsARyfE01ucJKNCX3VB340m4LHmNB15jQaMM1E_UV9vvQA4MRAd8sl1O4htYJJ0g0toBKl_fk_WGrQ13WVovSOAh1uh0DuFrrAcoonbFeS6dzUPJ2dhP0m7slqOWT5UaH_RgwgBjDVpVAH8vX-qVY-WF_D-uwR4-pLzYhC9HNyBlsLc4Q\u0026h=DjURdS3sKEmhQ9H1W3VVcUxpPjwj44RhY4P-8mrF2mo" ], + "Location": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzA3OTQ5MzFiLWM5MTctNGQ4MC1hYmUzLWE5ZWUyYmE5MGE5Zg==?api-version=2024-04-01\u0026t=638493061222935143\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=AHXwmUgQWkQzvzLC-syu8Aw0W_-jEmUopz6ZQXSqeYNTZBuNRFt81e-2adCu0fNmwMdf3cmuqO0wty7S-mlBCXJIl7BmIsWOz0_2u1TRXDX9OrgBEiq663E8TztWK25lgB4r0_WwKaHA8J-MazcOhinItFVmnUA8r2T4y9wRimgOXLN7fcpy1b_GSaoeIR3h_j09KJA0JdN-az2jHXMoS2gSU8k48h3wGVi41fsGoTmTbs5Co22-ut7mdutdcV-OYschFSZ4mZ3lrgcbuo0OVQrbA35IQa1AXGYWOVyZpYPNfFZRUk_bD3u7Ojx1WuPYl0drrfqu3BrLnzf6JZQooQ\u0026h=6AO6QZuIzuyaHooLgbbITrygB4YQEJFmP1ZY7LXeO-0" ], "Retry-After": [ "30" ], "X-Content-Type-Options": [ "nosniff" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2ZkMDBjMDljLWFiMjUtNGUwZC05NWE2LTZkZWVmMWI4MDZhZg==?api-version=2023-12-01\u0026t=638488624615299586\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=LBY4G_XHLNfa_nTCtR7r0-9xUABQZZkYxv45ibZvn18I4R6xMo_iLvSDMJkEu56ACnSS-7jDnWqE3ueSgj5BVXFWTPkbYqARQ8BFV_zxjA6cNo1M2xzhLxRlTo5LOM8qyZvsMLs41kNWRqQ9rkvhqoj1M0CdVr3w76KyqUjyXrm6dEJWE4pxC_qYNd2YZt7vdJAj4PeFBNcNWtoJ8f4UmwM2Li_lsWM4AtbR0IBR7jYID2VioiMUV95PdQwad2GDGPbYHO21PkzPilw-wKNNKNmjpR4NkMpjwix_6XfIv2bAKTLnsL-n9aVu0AgbR2sAZXRm7iW6Hwhz9FYaHmfj9Q\u0026h=kvAcDbkRWZOYfqXU6wbp-2ybnf3GNumKMwsvwzS7RKo" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzA3OTQ5MzFiLWM5MTctNGQ4MC1hYmUzLWE5ZWUyYmE5MGE5Zg==?api-version=2024-04-01\u0026t=638493061222935143\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=Br_Hnc4d6StKqrF42akjJeGr37z2jk1vFX-LCDgwjsETiuDU0W74v1sX4JmmLL6xMswVgkwOfuMe5j86ip1HSW_A2k1TVJb7QNkry47tK-iOvW-wOdViRXbPRWzcpYo1Wfpv850xky4EENODPbvcVu3_WeuuhlLGqcUhZLRK8GPns9kcJx0qC8wAGdMq5f10JyUGxvDj6LOWOB9F3wVgvWKDy0k9cGkVMOCUyfmeAlgQ0Kn2iMZAQFslbJqcHhWqAj4IuLSFxGQtURQJfl05rcmCP8NKVpxQJDA_2IkODo1rQyYuP95sJOpoZZZQzjVlxE6EStbmOlMUNAp8ogAglA\u0026h=tXtAiodIS2xfYZuR6cqXc6pDf5z-xfEHiHXNabPq8bA" ], "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-request-id": [ "f39ac0ae-9365-4d15-9aff-33da99668719" ], - "x-ms-correlation-request-id": [ "f39ac0ae-9365-4d15-9aff-33da99668719" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240416T110741Z:f39ac0ae-9365-4d15-9aff-33da99668719" ], + "x-ms-request-id": [ "0c627b21-b5be-4b17-91c7-1d6cbec1ff84" ], + "x-ms-correlation-request-id": [ "0c627b21-b5be-4b17-91c7-1d6cbec1ff84" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T142202Z:0c627b21-b5be-4b17-91c7-1d6cbec1ff84" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 199D275C98C949828DF3A78EEAB2BB12 Ref B: MAA201060515051 Ref C: 2024-04-16T11:07:40Z" ], - "Date": [ "Tue, 16 Apr 2024 11:07:41 GMT" ] + "X-MSEdge-Ref": [ "Ref A: EDF7D286CC4E4C7E9A7AEC7E1241E1A7 Ref B: MAA201060513019 Ref C: 2024-04-21T14:22:00Z" ], + "Date": [ "Sun, 21 Apr 2024 14:22:02 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -1399,16 +1371,16 @@ "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/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2ZkMDBjMDljLWFiMjUtNGUwZC05NWE2LTZkZWVmMWI4MDZhZg==?api-version=2023-12-01\u0026t=638488624615299586\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=LBY4G_XHLNfa_nTCtR7r0-9xUABQZZkYxv45ibZvn18I4R6xMo_iLvSDMJkEu56ACnSS-7jDnWqE3ueSgj5BVXFWTPkbYqARQ8BFV_zxjA6cNo1M2xzhLxRlTo5LOM8qyZvsMLs41kNWRqQ9rkvhqoj1M0CdVr3w76KyqUjyXrm6dEJWE4pxC_qYNd2YZt7vdJAj4PeFBNcNWtoJ8f4UmwM2Li_lsWM4AtbR0IBR7jYID2VioiMUV95PdQwad2GDGPbYHO21PkzPilw-wKNNKNmjpR4NkMpjwix_6XfIv2bAKTLnsL-n9aVu0AgbR2sAZXRm7iW6Hwhz9FYaHmfj9Q\u0026h=kvAcDbkRWZOYfqXU6wbp-2ybnf3GNumKMwsvwzS7RKo+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/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzA3OTQ5MzFiLWM5MTctNGQ4MC1hYmUzLWE5ZWUyYmE5MGE5Zg==?api-version=2024-04-01\u0026t=638493061222935143\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=Br_Hnc4d6StKqrF42akjJeGr37z2jk1vFX-LCDgwjsETiuDU0W74v1sX4JmmLL6xMswVgkwOfuMe5j86ip1HSW_A2k1TVJb7QNkry47tK-iOvW-wOdViRXbPRWzcpYo1Wfpv850xky4EENODPbvcVu3_WeuuhlLGqcUhZLRK8GPns9kcJx0qC8wAGdMq5f10JyUGxvDj6LOWOB9F3wVgvWKDy0k9cGkVMOCUyfmeAlgQ0Kn2iMZAQFslbJqcHhWqAj4IuLSFxGQtURQJfl05rcmCP8NKVpxQJDA_2IkODo1rQyYuP95sJOpoZZZQzjVlxE6EStbmOlMUNAp8ogAglA\u0026h=tXtAiodIS2xfYZuR6cqXc6pDf5z-xfEHiHXNabPq8bA+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/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2ZkMDBjMDljLWFiMjUtNGUwZC05NWE2LTZkZWVmMWI4MDZhZg==?api-version=2023-12-01\u0026t=638488624615299586\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=LBY4G_XHLNfa_nTCtR7r0-9xUABQZZkYxv45ibZvn18I4R6xMo_iLvSDMJkEu56ACnSS-7jDnWqE3ueSgj5BVXFWTPkbYqARQ8BFV_zxjA6cNo1M2xzhLxRlTo5LOM8qyZvsMLs41kNWRqQ9rkvhqoj1M0CdVr3w76KyqUjyXrm6dEJWE4pxC_qYNd2YZt7vdJAj4PeFBNcNWtoJ8f4UmwM2Li_lsWM4AtbR0IBR7jYID2VioiMUV95PdQwad2GDGPbYHO21PkzPilw-wKNNKNmjpR4NkMpjwix_6XfIv2bAKTLnsL-n9aVu0AgbR2sAZXRm7iW6Hwhz9FYaHmfj9Q\u0026h=kvAcDbkRWZOYfqXU6wbp-2ybnf3GNumKMwsvwzS7RKo", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzA3OTQ5MzFiLWM5MTctNGQ4MC1hYmUzLWE5ZWUyYmE5MGE5Zg==?api-version=2024-04-01\u0026t=638493061222935143\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=Br_Hnc4d6StKqrF42akjJeGr37z2jk1vFX-LCDgwjsETiuDU0W74v1sX4JmmLL6xMswVgkwOfuMe5j86ip1HSW_A2k1TVJb7QNkry47tK-iOvW-wOdViRXbPRWzcpYo1Wfpv850xky4EENODPbvcVu3_WeuuhlLGqcUhZLRK8GPns9kcJx0qC8wAGdMq5f10JyUGxvDj6LOWOB9F3wVgvWKDy0k9cGkVMOCUyfmeAlgQ0Kn2iMZAQFslbJqcHhWqAj4IuLSFxGQtURQJfl05rcmCP8NKVpxQJDA_2IkODo1rQyYuP95sJOpoZZZQzjVlxE6EStbmOlMUNAp8ogAglA\u0026h=tXtAiodIS2xfYZuR6cqXc6pDf5z-xfEHiHXNabPq8bA", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "34" ], - "x-ms-client-request-id": [ "fe9c40d3-c518-4d55-955e-5b653aafd91a" ], + "x-ms-unique-id": [ "33" ], + "x-ms-client-request-id": [ "2ae300ce-2f7f-47b2-b749-f9d96db6e1cd" ], "CommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc" ], "FullCommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc_BackupExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -1425,33 +1397,33 @@ "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], - "x-ms-request-id": [ "3a95075c-55d2-4431-b416-a746fa1eccd5" ], - "x-ms-correlation-request-id": [ "3a95075c-55d2-4431-b416-a746fa1eccd5" ], - "x-ms-routing-request-id": [ "JIOINDIACENTRAL:20240416T110813Z:3a95075c-55d2-4431-b416-a746fa1eccd5" ], + "x-ms-request-id": [ "5e1601a1-cbba-4c5f-8fda-84c2c15f4af1" ], + "x-ms-correlation-request-id": [ "5e1601a1-cbba-4c5f-8fda-84c2c15f4af1" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T142234Z:5e1601a1-cbba-4c5f-8fda-84c2c15f4af1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 0823DACF557D497CA832981C820F320B Ref B: MAA201060515051 Ref C: 2024-04-16T11:08:11Z" ], - "Date": [ "Tue, 16 Apr 2024 11:08:12 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 50AB0D8012AE4754A55E583B1A3F9643 Ref B: MAA201060513019 Ref C: 2024-04-21T14:22:32Z" ], + "Date": [ "Sun, 21 Apr 2024 14:22:34 GMT" ] }, "ContentHeaders": { "Content-Length": [ "737" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2ZkMDBjMDljLWFiMjUtNGUwZC05NWE2LTZkZWVmMWI4MDZhZg==\",\"name\":\"ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2ZkMDBjMDljLWFiMjUtNGUwZC05NWE2LTZkZWVmMWI4MDZhZg==\",\"status\":\"Succeeded\",\"startTime\":\"2024-04-16T11:07:41.3176025Z\",\"endTime\":\"2024-04-16T11:07:42Z\",\"properties\":{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/oss-pstest-rg/providers/Microsoft.DataProtection/BackupVaults/oss-pstest-vault/backupJobs/88bc9e70-d8e7-4428-bdfc-9eae0be90bfb\",\"objectType\":\"OperationJobExtendedInfo\"}}", + "Content": "{\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzA3OTQ5MzFiLWM5MTctNGQ4MC1hYmUzLWE5ZWUyYmE5MGE5Zg==\",\"name\":\"ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzA3OTQ5MzFiLWM5MTctNGQ4MC1hYmUzLWE5ZWUyYmE5MGE5Zg==\",\"status\":\"Succeeded\",\"startTime\":\"2024-04-21T14:22:02.0756886Z\",\"endTime\":\"2024-04-21T14:22:03Z\",\"properties\":{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/oss-pstest-rg/providers/Microsoft.DataProtection/BackupVaults/oss-pstest-vault/backupJobs/2fa0cbcc-a508-45bb-9e54-026324da85dd\",\"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/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2ZkMDBjMDljLWFiMjUtNGUwZC05NWE2LTZkZWVmMWI4MDZhZg==?api-version=2023-12-01\u0026t=638488624615299586\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=q2wkBoxT-c3ZR-m-rTZPALusWKSr5YpJWud8ab57t10JD2l7Ae-ZOUkayFmmqIzWEbLkXM0TNgvlyow5dPnfuMgftQq_C3Gi3rIqL-6NAl3sqBoL4ZUeDUiNO74Q-dhuGMzfD7STNLKy7wv0e-oVxhKe3w9l2qNWH0GU9rsARyfE01ucJKNCX3VB340m4LHmNB15jQaMM1E_UV9vvQA4MRAd8sl1O4htYJJ0g0toBKl_fk_WGrQ13WVovSOAh1uh0DuFrrAcoonbFeS6dzUPJ2dhP0m7slqOWT5UaH_RgwgBjDVpVAH8vX-qVY-WF_D-uwR4-pLzYhC9HNyBlsLc4Q\u0026h=DjURdS3sKEmhQ9H1W3VVcUxpPjwj44RhY4P-8mrF2mo+6": { + "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+OssBackup+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzA3OTQ5MzFiLWM5MTctNGQ4MC1hYmUzLWE5ZWUyYmE5MGE5Zg==?api-version=2024-04-01\u0026t=638493061222935143\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=AHXwmUgQWkQzvzLC-syu8Aw0W_-jEmUopz6ZQXSqeYNTZBuNRFt81e-2adCu0fNmwMdf3cmuqO0wty7S-mlBCXJIl7BmIsWOz0_2u1TRXDX9OrgBEiq663E8TztWK25lgB4r0_WwKaHA8J-MazcOhinItFVmnUA8r2T4y9wRimgOXLN7fcpy1b_GSaoeIR3h_j09KJA0JdN-az2jHXMoS2gSU8k48h3wGVi41fsGoTmTbs5Co22-ut7mdutdcV-OYschFSZ4mZ3lrgcbuo0OVQrbA35IQa1AXGYWOVyZpYPNfFZRUk_bD3u7Ojx1WuPYl0drrfqu3BrLnzf6JZQooQ\u0026h=6AO6QZuIzuyaHooLgbbITrygB4YQEJFmP1ZY7LXeO-0+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2ZkMDBjMDljLWFiMjUtNGUwZC05NWE2LTZkZWVmMWI4MDZhZg==?api-version=2023-12-01\u0026t=638488624615299586\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=q2wkBoxT-c3ZR-m-rTZPALusWKSr5YpJWud8ab57t10JD2l7Ae-ZOUkayFmmqIzWEbLkXM0TNgvlyow5dPnfuMgftQq_C3Gi3rIqL-6NAl3sqBoL4ZUeDUiNO74Q-dhuGMzfD7STNLKy7wv0e-oVxhKe3w9l2qNWH0GU9rsARyfE01ucJKNCX3VB340m4LHmNB15jQaMM1E_UV9vvQA4MRAd8sl1O4htYJJ0g0toBKl_fk_WGrQ13WVovSOAh1uh0DuFrrAcoonbFeS6dzUPJ2dhP0m7slqOWT5UaH_RgwgBjDVpVAH8vX-qVY-WF_D-uwR4-pLzYhC9HNyBlsLc4Q\u0026h=DjURdS3sKEmhQ9H1W3VVcUxpPjwj44RhY4P-8mrF2mo", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzA3OTQ5MzFiLWM5MTctNGQ4MC1hYmUzLWE5ZWUyYmE5MGE5Zg==?api-version=2024-04-01\u0026t=638493061222935143\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=AHXwmUgQWkQzvzLC-syu8Aw0W_-jEmUopz6ZQXSqeYNTZBuNRFt81e-2adCu0fNmwMdf3cmuqO0wty7S-mlBCXJIl7BmIsWOz0_2u1TRXDX9OrgBEiq663E8TztWK25lgB4r0_WwKaHA8J-MazcOhinItFVmnUA8r2T4y9wRimgOXLN7fcpy1b_GSaoeIR3h_j09KJA0JdN-az2jHXMoS2gSU8k48h3wGVi41fsGoTmTbs5Co22-ut7mdutdcV-OYschFSZ4mZ3lrgcbuo0OVQrbA35IQa1AXGYWOVyZpYPNfFZRUk_bD3u7Ojx1WuPYl0drrfqu3BrLnzf6JZQooQ\u0026h=6AO6QZuIzuyaHooLgbbITrygB4YQEJFmP1ZY7LXeO-0", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "35" ], - "x-ms-client-request-id": [ "fe9c40d3-c518-4d55-955e-5b653aafd91a" ], + "x-ms-unique-id": [ "34" ], + "x-ms-client-request-id": [ "2ae300ce-2f7f-47b2-b749-f9d96db6e1cd" ], "CommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc" ], "FullCommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc_BackupExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -1466,35 +1438,36 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Retry-After": [ "30" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2ZkMDBjMDljLWFiMjUtNGUwZC05NWE2LTZkZWVmMWI4MDZhZg==?api-version=2023-12-01\u0026t=638488624940538952\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=eM0cVgCjQXj9_d7xlLzw0pF0elDdO-OFdM0vAsg5xhU62pquj1KTf_T2bcLWaQ3-cdupdw0a7kx5TxSULmliC-HlnBzYlXn6TALILA7q3C6C3OY4Di5kZeJ1XDomlkVn45-PEmGt0jGG0QN5ejJIDQmmU-CK1QI9PajYjA2HygZXXhRQ4lqj-HvAWNZRJWHOvAG3NIPlp-BLDrSWBz_LZevaExQlsHjqGXsWvsbzkvjFbvgax3bmLPKGujc269MOje1C3e5Y-tXN5Vu03OsMJKDpZlPH4a86TpJlJ5QIa_po70gCt6VXeNi13Mwj_d4eorSZA6pZhnGw1W_EAtMVKg\u0026h=-p3-Syz3ZjepDxleXgGsFGOC7rHtSDQfE50d2OrwqfE" ], - "x-ms-request-id": [ "b7f21900-8197-4187-bb89-0d64c518094a" ], - "x-ms-correlation-request-id": [ "b7f21900-8197-4187-bb89-0d64c518094a" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240416T110814Z:b7f21900-8197-4187-bb89-0d64c518094a" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzA3OTQ5MzFiLWM5MTctNGQ4MC1hYmUzLWE5ZWUyYmE5MGE5Zg==?api-version=2024-04-01\u0026t=638493061553107107\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=YPV2ZhgpmGW9dLqDoQnuJ6pIC-yaIDk-uGrpgcLldwa5Ifey8WoipmbwHQUpfHDL0rvQhaJToanlqMx8SpChQrH4Zk4ncy8-H8H2T7fnkMaESjxIYk4iXKoyIsHAyyryM1ahc7Ppk98vbO-I-FxvrDeQ0A4fWuQuKTeo7rf8rcTYAizGE6vUDWT5bZj9IMDauCrEUuw18WMnISEr6E9qOwRmV29ktkKlTWZMUwECoxAiTFcb80wZyz-iplp7btzlyUszVcpaYiHqZzBmmDPwF9ZQscib_8tGkm3T01zy2N6a17C2_HmbTH3x6lCCOWH_PiYNAk6EG3Fj9VvLMi3ybg\u0026h=WGf_9zdfi780LjAQ4lMXvXFgzfZADKYDMN2D6dnCQVk" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "12fa8114-3738-45b5-ad36-4dee6d8be746" ], + "x-ms-correlation-request-id": [ "12fa8114-3738-45b5-ad36-4dee6d8be746" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T142235Z:12fa8114-3738-45b5-ad36-4dee6d8be746" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: AD7449E5E8974B13BBBEE20AF5D48C94 Ref B: MAA201060515051 Ref C: 2024-04-16T11:08:13Z" ], - "Date": [ "Tue, 16 Apr 2024 11:08:13 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 97C4A87DEA7047DE97E106325F7E487C Ref B: MAA201060513019 Ref C: 2024-04-21T14:22:34Z" ], + "Date": [ "Sun, 21 Apr 2024 14:22:35 GMT" ] }, "ContentHeaders": { "Content-Length": [ "245" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/oss-pstest-rg/providers/Microsoft.DataProtection/BackupVaults/oss-pstest-vault/backupJobs/88bc9e70-d8e7-4428-bdfc-9eae0be90bfb\",\"objectType\":\"OperationJobExtendedInfo\"}", + "Content": "{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/oss-pstest-rg/providers/Microsoft.DataProtection/BackupVaults/oss-pstest-vault/backupJobs/2fa0cbcc-a508-45bb-9e54-026324da85dd\",\"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/88bc9e70-d8e7-4428-bdfc-9eae0be90bfb?api-version=2023-12-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/2fa0cbcc-a508-45bb-9e54-026324da85dd?api-version=2024-04-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/88bc9e70-d8e7-4428-bdfc-9eae0be90bfb?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/2fa0cbcc-a508-45bb-9e54-026324da85dd?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "36" ], - "x-ms-client-request-id": [ "bd712693-fce8-469b-8c2f-1e43f1f40903" ], + "x-ms-unique-id": [ "35" ], + "x-ms-client-request-id": [ "acc37e66-bb41-4366-b6ec-4493aaf3b109" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -1510,33 +1483,34 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "14902b22-d96f-45f8-a82e-f8a21c43de79" ], - "x-ms-correlation-request-id": [ "14902b22-d96f-45f8-a82e-f8a21c43de79" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240416T110825Z:14902b22-d96f-45f8-a82e-f8a21c43de79" ], + "x-ms-request-id": [ "e45fb201-26be-4e1c-bf7c-b7c0ad720d29" ], + "x-ms-correlation-request-id": [ "e45fb201-26be-4e1c-bf7c-b7c0ad720d29" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T142247Z:e45fb201-26be-4e1c-bf7c-b7c0ad720d29" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 540B93926C9742098D899A3108B228BB Ref B: MAA201060515051 Ref C: 2024-04-16T11:08:24Z" ], - "Date": [ "Tue, 16 Apr 2024 11:08:24 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 4DB97EB5899F491E9E9FFCDC50222CEC Ref B: MAA201060513019 Ref C: 2024-04-21T14:22:45Z" ], + "Date": [ "Sun, 21 Apr 2024 14:22:47 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2248" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"fe9c40d3-c518-4d55-955e-5b653aafd91a\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-04-16T11%3A07%3A41.7015884Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-16T11:07:41.5435821Z\",\"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/88bc9e70-d8e7-4428-bdfc-9eae0be90bfb\",\"name\":\"88bc9e70-d8e7-4428-bdfc-9eae0be90bfb\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"2ae300ce-2f7f-47b2-b749-f9d96db6e1cd\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-04-21T14%3A22%3A02.6419523Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:22:02.3195587Z\",\"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/2fa0cbcc-a508-45bb-9e54-026324da85dd\",\"name\":\"2fa0cbcc-a508-45bb-9e54-026324da85dd\",\"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/88bc9e70-d8e7-4428-bdfc-9eae0be90bfb?api-version=2023-12-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/2fa0cbcc-a508-45bb-9e54-026324da85dd?api-version=2024-04-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/88bc9e70-d8e7-4428-bdfc-9eae0be90bfb?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/2fa0cbcc-a508-45bb-9e54-026324da85dd?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "37" ], - "x-ms-client-request-id": [ "f5a973cc-7afb-4f96-bf6f-216414312fe4" ], + "x-ms-unique-id": [ "36" ], + "x-ms-client-request-id": [ "6f6e1036-8ea8-4545-98e8-acb6ed0a4177" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -1554,32 +1528,32 @@ "X-Content-Type-Options": [ "nosniff" ], "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "4dca3b37-b47a-46a3-96dd-4b6de98f2ff3" ], - "x-ms-correlation-request-id": [ "4dca3b37-b47a-46a3-96dd-4b6de98f2ff3" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240416T110836Z:4dca3b37-b47a-46a3-96dd-4b6de98f2ff3" ], + "x-ms-request-id": [ "113a957e-b9c3-46f9-b5d0-87dd696374d3" ], + "x-ms-correlation-request-id": [ "113a957e-b9c3-46f9-b5d0-87dd696374d3" ], + "x-ms-routing-request-id": [ "JIOINDIACENTRAL:20240421T142259Z:113a957e-b9c3-46f9-b5d0-87dd696374d3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: DCB597D0B0684F22BAE1BA0AC64BCD4A Ref B: MAA201060515051 Ref C: 2024-04-16T11:08:35Z" ], - "Date": [ "Tue, 16 Apr 2024 11:08:36 GMT" ] + "X-MSEdge-Ref": [ "Ref A: EEC0A5B0D43742BF889157A1937866F9 Ref B: MAA201060513019 Ref C: 2024-04-21T14:22:57Z" ], + "Date": [ "Sun, 21 Apr 2024 14:22:58 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2248" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"fe9c40d3-c518-4d55-955e-5b653aafd91a\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-04-16T11%3A07%3A41.7015884Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-16T11:07:41.5435821Z\",\"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/88bc9e70-d8e7-4428-bdfc-9eae0be90bfb\",\"name\":\"88bc9e70-d8e7-4428-bdfc-9eae0be90bfb\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"2ae300ce-2f7f-47b2-b749-f9d96db6e1cd\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-04-21T14%3A22%3A02.6419523Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:22:02.3195587Z\",\"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/2fa0cbcc-a508-45bb-9e54-026324da85dd\",\"name\":\"2fa0cbcc-a508-45bb-9e54-026324da85dd\",\"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/88bc9e70-d8e7-4428-bdfc-9eae0be90bfb?api-version=2023-12-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/2fa0cbcc-a508-45bb-9e54-026324da85dd?api-version=2024-04-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/88bc9e70-d8e7-4428-bdfc-9eae0be90bfb?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/2fa0cbcc-a508-45bb-9e54-026324da85dd?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "38" ], - "x-ms-client-request-id": [ "3385d32d-b85e-47a7-b99b-437f98f03b0e" ], + "x-ms-unique-id": [ "37" ], + "x-ms-client-request-id": [ "1b45ca43-23db-4ccb-b483-640a19c93acf" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -1597,32 +1571,32 @@ "X-Content-Type-Options": [ "nosniff" ], "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "4b9e71e8-436e-4df8-abe0-7cc929a4872d" ], - "x-ms-correlation-request-id": [ "4b9e71e8-436e-4df8-abe0-7cc929a4872d" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240416T110847Z:4b9e71e8-436e-4df8-abe0-7cc929a4872d" ], + "x-ms-request-id": [ "9cd81390-1aee-48c5-8353-6b2e4c2418b4" ], + "x-ms-correlation-request-id": [ "9cd81390-1aee-48c5-8353-6b2e4c2418b4" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T142310Z:9cd81390-1aee-48c5-8353-6b2e4c2418b4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: D707A644BF144FF2B8577087613FF4C9 Ref B: MAA201060515051 Ref C: 2024-04-16T11:08:46Z" ], - "Date": [ "Tue, 16 Apr 2024 11:08:47 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 14EEBA50EA2B40D5BB3C8A0716D2FDD5 Ref B: MAA201060513019 Ref C: 2024-04-21T14:23:09Z" ], + "Date": [ "Sun, 21 Apr 2024 14:23:09 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2248" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"fe9c40d3-c518-4d55-955e-5b653aafd91a\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-04-16T11%3A07%3A41.7015884Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-16T11:07:41.5435821Z\",\"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/88bc9e70-d8e7-4428-bdfc-9eae0be90bfb\",\"name\":\"88bc9e70-d8e7-4428-bdfc-9eae0be90bfb\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"2ae300ce-2f7f-47b2-b749-f9d96db6e1cd\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-04-21T14%3A22%3A02.6419523Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:22:02.3195587Z\",\"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/2fa0cbcc-a508-45bb-9e54-026324da85dd\",\"name\":\"2fa0cbcc-a508-45bb-9e54-026324da85dd\",\"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/88bc9e70-d8e7-4428-bdfc-9eae0be90bfb?api-version=2023-12-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/2fa0cbcc-a508-45bb-9e54-026324da85dd?api-version=2024-04-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/88bc9e70-d8e7-4428-bdfc-9eae0be90bfb?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/2fa0cbcc-a508-45bb-9e54-026324da85dd?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "39" ], - "x-ms-client-request-id": [ "84f5cda7-886c-434a-b678-56419418ef85" ], + "x-ms-unique-id": [ "38" ], + "x-ms-client-request-id": [ "1f4b3013-8d42-48c4-b8f9-129bc6bef139" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -1639,33 +1613,33 @@ "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-throttling-version": [ "v1" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "f5fff0fb-8ee2-41ab-ad9b-c5b15996bce9" ], - "x-ms-correlation-request-id": [ "f5fff0fb-8ee2-41ab-ad9b-c5b15996bce9" ], - "x-ms-routing-request-id": [ "CENTRALINDIA:20240416T110859Z:f5fff0fb-8ee2-41ab-ad9b-c5b15996bce9" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "197" ], + "x-ms-request-id": [ "62f3a65b-257c-4e84-a333-5bfa10edbd6a" ], + "x-ms-correlation-request-id": [ "62f3a65b-257c-4e84-a333-5bfa10edbd6a" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T142321Z:62f3a65b-257c-4e84-a333-5bfa10edbd6a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 9002FB06518E4826A77A8F002E977E92 Ref B: MAA201060515051 Ref C: 2024-04-16T11:08:58Z" ], - "Date": [ "Tue, 16 Apr 2024 11:08:58 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 253D62E475F5472884FF1CEA0369216B Ref B: MAA201060513019 Ref C: 2024-04-21T14:23:20Z" ], + "Date": [ "Sun, 21 Apr 2024 14:23:21 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2248" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"fe9c40d3-c518-4d55-955e-5b653aafd91a\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-04-16T11%3A07%3A41.7015884Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-16T11:07:41.5435821Z\",\"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/88bc9e70-d8e7-4428-bdfc-9eae0be90bfb\",\"name\":\"88bc9e70-d8e7-4428-bdfc-9eae0be90bfb\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"2ae300ce-2f7f-47b2-b749-f9d96db6e1cd\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-04-21T14%3A22%3A02.6419523Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:22:02.3195587Z\",\"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/2fa0cbcc-a508-45bb-9e54-026324da85dd\",\"name\":\"2fa0cbcc-a508-45bb-9e54-026324da85dd\",\"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/88bc9e70-d8e7-4428-bdfc-9eae0be90bfb?api-version=2023-12-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/2fa0cbcc-a508-45bb-9e54-026324da85dd?api-version=2024-04-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/88bc9e70-d8e7-4428-bdfc-9eae0be90bfb?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/2fa0cbcc-a508-45bb-9e54-026324da85dd?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "40" ], - "x-ms-client-request-id": [ "abfdb208-d4ec-4c82-8d28-6df038aab362" ], + "x-ms-unique-id": [ "39" ], + "x-ms-client-request-id": [ "36600fc0-6494-4389-a2e5-676c1e1bc776" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -1682,33 +1656,33 @@ "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-throttling-version": [ "v1" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "1943cdb6-e326-453f-b3c9-08de54731130" ], - "x-ms-correlation-request-id": [ "1943cdb6-e326-453f-b3c9-08de54731130" ], - "x-ms-routing-request-id": [ "CENTRALINDIA:20240416T110911Z:1943cdb6-e326-453f-b3c9-08de54731130" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], + "x-ms-request-id": [ "1eb5d904-d919-412a-a74a-4f38b4874897" ], + "x-ms-correlation-request-id": [ "1eb5d904-d919-412a-a74a-4f38b4874897" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T142332Z:1eb5d904-d919-412a-a74a-4f38b4874897" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 111182A6F6EB41F59E897B1FBF23B4EB Ref B: MAA201060515051 Ref C: 2024-04-16T11:09:09Z" ], - "Date": [ "Tue, 16 Apr 2024 11:09:10 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 40E633130D874620950FF5EA9EB1FB66 Ref B: MAA201060513019 Ref C: 2024-04-21T14:23:31Z" ], + "Date": [ "Sun, 21 Apr 2024 14:23:32 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2248" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"fe9c40d3-c518-4d55-955e-5b653aafd91a\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-04-16T11%3A07%3A41.7015884Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-16T11:07:41.5435821Z\",\"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/88bc9e70-d8e7-4428-bdfc-9eae0be90bfb\",\"name\":\"88bc9e70-d8e7-4428-bdfc-9eae0be90bfb\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"2ae300ce-2f7f-47b2-b749-f9d96db6e1cd\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-04-21T14%3A22%3A02.6419523Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:22:02.3195587Z\",\"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/2fa0cbcc-a508-45bb-9e54-026324da85dd\",\"name\":\"2fa0cbcc-a508-45bb-9e54-026324da85dd\",\"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/88bc9e70-d8e7-4428-bdfc-9eae0be90bfb?api-version=2023-12-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/2fa0cbcc-a508-45bb-9e54-026324da85dd?api-version=2024-04-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/88bc9e70-d8e7-4428-bdfc-9eae0be90bfb?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/2fa0cbcc-a508-45bb-9e54-026324da85dd?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "41" ], - "x-ms-client-request-id": [ "e04018d7-17fe-4603-82c9-b7dfe2bc6933" ], + "x-ms-unique-id": [ "40" ], + "x-ms-client-request-id": [ "cc057773-cdb0-4bc0-bcc6-b05488063b28" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -1726,20 +1700,20 @@ "X-Content-Type-Options": [ "nosniff" ], "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "725451b8-4f05-4364-8be0-49de3aab7c60" ], - "x-ms-correlation-request-id": [ "725451b8-4f05-4364-8be0-49de3aab7c60" ], - "x-ms-routing-request-id": [ "JIOINDIACENTRAL:20240416T110922Z:725451b8-4f05-4364-8be0-49de3aab7c60" ], + "x-ms-request-id": [ "2aadf8ce-8a81-451e-b5a7-d88d29419434" ], + "x-ms-correlation-request-id": [ "2aadf8ce-8a81-451e-b5a7-d88d29419434" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240421T142344Z:2aadf8ce-8a81-451e-b5a7-d88d29419434" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 333FC26E163D47AD89D18B5FE14D69C9 Ref B: MAA201060515051 Ref C: 2024-04-16T11:09:21Z" ], - "Date": [ "Tue, 16 Apr 2024 11:09:22 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 22094A2F0DAD4C3F80923A5DF3EF1D20 Ref B: MAA201060513019 Ref C: 2024-04-21T14:23:42Z" ], + "Date": [ "Sun, 21 Apr 2024 14:23:43 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2528" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"fe9c40d3-c518-4d55-955e-5b653aafd91a\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-04-16T11%3A09%3A15.8677712Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-16T11:07:41.5435821Z\",\"endTime\":\"2024-04-16T11:09:15.6761334Z\",\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"Completed\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT1M34.1325513S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":2063.0,\"targetRecoverPoint\":{\"recoveryPointID\":\"15a26dbc6525489e956bd184d2fd28cb\",\"recoveryPointTime\":\"0001-01-01T00:00:00Z\"},\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"Completed\",\"taskProgress\":null,\"additionalDetails\":{\"OriginalDatasourceSizeInBytes\":\"8876703\",\"TaskId\":\"fe9c40d3-c518-4d55-955e-5b653aafd91a\",\"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/88bc9e70-d8e7-4428-bdfc-9eae0be90bfb\",\"name\":\"88bc9e70-d8e7-4428-bdfc-9eae0be90bfb\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"2ae300ce-2f7f-47b2-b749-f9d96db6e1cd\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-04-21T14%3A23%3A39.1906798Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:22:02.3195587Z\",\"endTime\":\"2024-04-21T14:23:38.9523095Z\",\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"Completed\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT1M36.6327508S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":2063.0,\"targetRecoverPoint\":{\"recoveryPointID\":\"1e5dfb4e5e2c458ead32b96350a0d54b\",\"recoveryPointTime\":\"0001-01-01T00:00:00Z\"},\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"Completed\",\"taskProgress\":null,\"additionalDetails\":{\"OriginalDatasourceSizeInBytes\":\"8876703\",\"TaskId\":\"2ae300ce-2f7f-47b2-b749-f9d96db6e1cd\",\"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/2fa0cbcc-a508-45bb-9e54-026324da85dd\",\"name\":\"2fa0cbcc-a508-45bb-9e54-026324da85dd\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } } diff --git a/src/DataProtection/DataProtection.Autorest/test/CmkEncryptionScenario.Recording.json b/src/DataProtection/DataProtection.Autorest/test/CmkEncryptionScenario.Recording.json new file mode 100644 index 000000000000..feab02a55fed --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/test/CmkEncryptionScenario.Recording.json @@ -0,0 +1,246 @@ +{ + "CmkEncryptionScenario+[NoContext]+Get-AzDataProtectionBackupVault+$GET+https://management.azure.com/subscriptions/191973cd-9c54-41e0-ac19-25dd9a92d5a8/resourceGroups/jeevan-wrk-vms/providers/Microsoft.DataProtection/backupVaults/pstestvault-automated?api-version=2024-04-01+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/191973cd-9c54-41e0-ac19-25dd9a92d5a8/resourceGroups/jeevan-wrk-vms/providers/Microsoft.DataProtection/backupVaults/pstestvault-automated?api-version=2024-04-01", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "1" ], + "x-ms-client-request-id": [ "df87f606-f6c5-475f-a682-62ff7f024974" ], + "CommandName": [ "Get-AzDataProtectionBackupVault" ], + "FullCommandName": [ "Get-AzDataProtectionBackupVault_Get2" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v10.2.0", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-throttling-version": [ "v1" ], + "X-Content-Type-Options": [ "nosniff" ], + "Server": [ "Kestrel" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "499" ], + "x-ms-request-id": [ "7bbbc74f-7d31-4fe6-b4fe-6617ab0b0c5c" ], + "x-ms-correlation-request-id": [ "7bbbc74f-7d31-4fe6-b4fe-6617ab0b0c5c" ], + "x-ms-routing-request-id": [ "WESTEUROPE:20240422T041236Z:7bbbc74f-7d31-4fe6-b4fe-6617ab0b0c5c" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Mon, 22 Apr 2024 04:12:36 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1376" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"location\":\"eastasia\",\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/191973cd-9c54-41e0-ac19-25dd9a92d5a8/resourcegroups/jeevan-wrk-vms/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userMSIpstest\":{\"clientId\":\"3ffad3da-29a4-4823-8f7b-e174994e01af\",\"principalId\":\"fef4c24f-c831-4909-bb46-c3b1eaef110d\"}},\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"storageSettings\":[{\"datastoreType\":\"VaultStore\",\"type\":\"LocallyRedundant\"}],\"isVaultProtectedByResourceGuard\":false,\"securitySettings\":{\"softDeleteSettings\":{\"state\":\"On\",\"retentionDurationInDays\":14.0},\"encryptionSettings\":{\"state\":\"Enabled\",\"keyVaultProperties\":{\"keyUri\":\"https://jeevantestkeyvaultcmk.vault.azure.net/keys/pstest/3cd5235ad6ac4c11b40a6f35444bcbe1\"},\"kekIdentity\":{\"identityType\":\"UserAssigned\",\"identityId\":\"/subscriptions/191973cd-9c54-41e0-ac19-25dd9a92d5a8/resourcegroups/jeevan-wrk-vms/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userMSIpstest\"},\"infrastructureEncryption\":\"Enabled\"}},\"secureScore\":\"None\",\"bcdrSecurityLevel\":\"Poor\",\"replicatedRegions\":[]},\"id\":\"/subscriptions/191973cd-9c54-41e0-ac19-25dd9a92d5a8/resourceGroups/jeevan-wrk-vms/providers/Microsoft.DataProtection/backupVaults/pstestvault-automated\",\"name\":\"pstestvault-automated\",\"type\":\"Microsoft.DataProtection/backupVaults\"}", + "isContentBase64": false + } + }, + "CmkEncryptionScenario+[NoContext]+New-AzDataProtectionBackupVault+$PUT+https://management.azure.com/subscriptions/191973cd-9c54-41e0-ac19-25dd9a92d5a8/resourceGroups/jeevan-wrk-vms/providers/Microsoft.DataProtection/backupVaults/pstestvault-automated?api-version=2024-04-01+1": { + "Request": { + "Method": "PUT", + "RequestUri": "https://management.azure.com/subscriptions/191973cd-9c54-41e0-ac19-25dd9a92d5a8/resourceGroups/jeevan-wrk-vms/providers/Microsoft.DataProtection/backupVaults/pstestvault-automated?api-version=2024-04-01", + "Content": "{\r\n \"location\": \"eastasia\",\r\n \"identity\": {\r\n \"type\": \"UserAssigned\",\r\n \"userAssignedIdentities\": {\r\n \"/subscriptions/191973cd-9c54-41e0-ac19-25dd9a92d5a8/resourcegroups/jeevan-wrk-vms/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userMSIpstest\": {\r\n }\r\n }\r\n },\r\n \"properties\": {\r\n \"securitySettings\": {\r\n \"encryptionSettings\": {\r\n \"state\": \"Enabled\",\r\n \"keyVaultProperties\": {\r\n \"keyUri\": \"https://jeevantestkeyvaultcmk.vault.azure.net/keys/pstest/3cd5235ad6ac4c11b40a6f35444bcbe1\"\r\n },\r\n \"kekIdentity\": {\r\n \"identityType\": \"UserAssigned\",\r\n \"identityId\": \"/subscriptions/191973cd-9c54-41e0-ac19-25dd9a92d5a8/resourcegroups/jeevan-wrk-vms/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userMSIpstest\"\r\n },\r\n \"infrastructureEncryption\": \"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": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "1023" ] + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-throttling-version": [ "v1" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-arm-resource-system-data": [ "{\"lastModifiedBy\":\"karmahajan@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-04-22T04:12:37.0625743Z\"}" ], + "Server": [ "Kestrel" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "99" ], + "x-ms-request-id": [ "28a65c6c-10a6-435c-9915-0df72dc385aa" ], + "x-ms-correlation-request-id": [ "28a65c6c-10a6-435c-9915-0df72dc385aa" ], + "x-ms-routing-request-id": [ "WESTEUROPE:20240422T041238Z:28a65c6c-10a6-435c-9915-0df72dc385aa" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Mon, 22 Apr 2024 04:12:38 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1376" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"location\":\"eastasia\",\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/191973cd-9c54-41e0-ac19-25dd9a92d5a8/resourcegroups/jeevan-wrk-vms/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userMSIpstest\":{\"clientId\":\"3ffad3da-29a4-4823-8f7b-e174994e01af\",\"principalId\":\"fef4c24f-c831-4909-bb46-c3b1eaef110d\"}},\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"storageSettings\":[{\"datastoreType\":\"VaultStore\",\"type\":\"LocallyRedundant\"}],\"isVaultProtectedByResourceGuard\":false,\"securitySettings\":{\"softDeleteSettings\":{\"state\":\"On\",\"retentionDurationInDays\":14.0},\"encryptionSettings\":{\"state\":\"Enabled\",\"keyVaultProperties\":{\"keyUri\":\"https://jeevantestkeyvaultcmk.vault.azure.net/keys/pstest/3cd5235ad6ac4c11b40a6f35444bcbe1\"},\"kekIdentity\":{\"identityType\":\"UserAssigned\",\"identityId\":\"/subscriptions/191973cd-9c54-41e0-ac19-25dd9a92d5a8/resourcegroups/jeevan-wrk-vms/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userMSIpstest\"},\"infrastructureEncryption\":\"Enabled\"}},\"secureScore\":\"None\",\"bcdrSecurityLevel\":\"Poor\",\"replicatedRegions\":[]},\"id\":\"/subscriptions/191973cd-9c54-41e0-ac19-25dd9a92d5a8/resourceGroups/jeevan-wrk-vms/providers/Microsoft.DataProtection/backupVaults/pstestvault-automated\",\"name\":\"pstestvault-automated\",\"type\":\"Microsoft.DataProtection/backupVaults\"}", + "isContentBase64": false + } + }, + "CmkEncryptionScenario+[NoContext]+New-AzDataProtectionBackupVault+$GET+https://management.azure.com/subscriptions/191973cd-9c54-41e0-ac19-25dd9a92d5a8/resourceGroups/jeevan-wrk-vms/providers/Microsoft.DataProtection/backupVaults/pstestvault-automated?api-version=2024-04-01+2": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/191973cd-9c54-41e0-ac19-25dd9a92d5a8/resourceGroups/jeevan-wrk-vms/providers/Microsoft.DataProtection/backupVaults/pstestvault-automated?api-version=2024-04-01", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "3" ], + "x-ms-client-request-id": [ "c4124ad5-78b3-48f6-ba2f-9e1b7ac0e24d" ], + "CommandName": [ "Az.DataProtection.Internal\\New-AzDataProtectionBackupVault" ], + "FullCommandName": [ "New-AzDataProtectionBackupVault_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v10.2.0", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-throttling-version": [ "v1" ], + "X-Content-Type-Options": [ "nosniff" ], + "Server": [ "Kestrel" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "498" ], + "x-ms-request-id": [ "dbceb4d8-ec34-41e7-8741-c352d80ec4db" ], + "x-ms-correlation-request-id": [ "dbceb4d8-ec34-41e7-8741-c352d80ec4db" ], + "x-ms-routing-request-id": [ "WESTEUROPE:20240422T041309Z:dbceb4d8-ec34-41e7-8741-c352d80ec4db" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Mon, 22 Apr 2024 04:13:08 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1376" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"location\":\"eastasia\",\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/191973cd-9c54-41e0-ac19-25dd9a92d5a8/resourcegroups/jeevan-wrk-vms/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userMSIpstest\":{\"clientId\":\"3ffad3da-29a4-4823-8f7b-e174994e01af\",\"principalId\":\"fef4c24f-c831-4909-bb46-c3b1eaef110d\"}},\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"storageSettings\":[{\"datastoreType\":\"VaultStore\",\"type\":\"LocallyRedundant\"}],\"isVaultProtectedByResourceGuard\":false,\"securitySettings\":{\"softDeleteSettings\":{\"state\":\"On\",\"retentionDurationInDays\":14.0},\"encryptionSettings\":{\"state\":\"Enabled\",\"keyVaultProperties\":{\"keyUri\":\"https://jeevantestkeyvaultcmk.vault.azure.net/keys/pstest/3cd5235ad6ac4c11b40a6f35444bcbe1\"},\"kekIdentity\":{\"identityType\":\"UserAssigned\",\"identityId\":\"/subscriptions/191973cd-9c54-41e0-ac19-25dd9a92d5a8/resourcegroups/jeevan-wrk-vms/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userMSIpstest\"},\"infrastructureEncryption\":\"Enabled\"}},\"secureScore\":\"None\",\"bcdrSecurityLevel\":\"Poor\",\"replicatedRegions\":[]},\"id\":\"/subscriptions/191973cd-9c54-41e0-ac19-25dd9a92d5a8/resourceGroups/jeevan-wrk-vms/providers/Microsoft.DataProtection/backupVaults/pstestvault-automated\",\"name\":\"pstestvault-automated\",\"type\":\"Microsoft.DataProtection/backupVaults\"}", + "isContentBase64": false + } + }, + "CmkEncryptionScenario+[NoContext]+New-AzDataProtectionBackupVault+$GET+https://management.azure.com/subscriptions/191973cd-9c54-41e0-ac19-25dd9a92d5a8/resourceGroups/jeevan-wrk-vms/providers/Microsoft.DataProtection/backupVaults/pstestvault-automated?api-version=2024-04-01+3": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/191973cd-9c54-41e0-ac19-25dd9a92d5a8/resourceGroups/jeevan-wrk-vms/providers/Microsoft.DataProtection/backupVaults/pstestvault-automated?api-version=2024-04-01", + "Content": null, + "isContentBase64": false, + "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "4" ], + "x-ms-client-request-id": [ "c4124ad5-78b3-48f6-ba2f-9e1b7ac0e24d" ], + "CommandName": [ "Az.DataProtection.Internal\\New-AzDataProtectionBackupVault" ], + "FullCommandName": [ "New-AzDataProtectionBackupVault_CreateExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v10.2.0", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-throttling-version": [ "v1" ], + "X-Content-Type-Options": [ "nosniff" ], + "Server": [ "Kestrel" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "497" ], + "x-ms-request-id": [ "a3f98f7d-b590-4bb0-9066-70804b6bf018" ], + "x-ms-correlation-request-id": [ "a3f98f7d-b590-4bb0-9066-70804b6bf018" ], + "x-ms-routing-request-id": [ "WESTEUROPE:20240422T041309Z:a3f98f7d-b590-4bb0-9066-70804b6bf018" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Mon, 22 Apr 2024 04:13:08 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1376" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"location\":\"eastasia\",\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/191973cd-9c54-41e0-ac19-25dd9a92d5a8/resourcegroups/jeevan-wrk-vms/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userMSIpstest\":{\"clientId\":\"3ffad3da-29a4-4823-8f7b-e174994e01af\",\"principalId\":\"fef4c24f-c831-4909-bb46-c3b1eaef110d\"}},\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"storageSettings\":[{\"datastoreType\":\"VaultStore\",\"type\":\"LocallyRedundant\"}],\"isVaultProtectedByResourceGuard\":false,\"securitySettings\":{\"softDeleteSettings\":{\"state\":\"On\",\"retentionDurationInDays\":14.0},\"encryptionSettings\":{\"state\":\"Enabled\",\"keyVaultProperties\":{\"keyUri\":\"https://jeevantestkeyvaultcmk.vault.azure.net/keys/pstest/3cd5235ad6ac4c11b40a6f35444bcbe1\"},\"kekIdentity\":{\"identityType\":\"UserAssigned\",\"identityId\":\"/subscriptions/191973cd-9c54-41e0-ac19-25dd9a92d5a8/resourcegroups/jeevan-wrk-vms/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userMSIpstest\"},\"infrastructureEncryption\":\"Enabled\"}},\"secureScore\":\"None\",\"bcdrSecurityLevel\":\"Poor\",\"replicatedRegions\":[]},\"id\":\"/subscriptions/191973cd-9c54-41e0-ac19-25dd9a92d5a8/resourceGroups/jeevan-wrk-vms/providers/Microsoft.DataProtection/backupVaults/pstestvault-automated\",\"name\":\"pstestvault-automated\",\"type\":\"Microsoft.DataProtection/backupVaults\"}", + "isContentBase64": false + } + }, + "CmkEncryptionScenario+[NoContext]+Update-AzDataProtectionBackupVault+$GET+https://management.azure.com/subscriptions/191973cd-9c54-41e0-ac19-25dd9a92d5a8/resourceGroups/jeevan-wrk-vms/providers/Microsoft.DataProtection/backupVaults/pstestvault-automated?api-version=2024-04-01+1": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/191973cd-9c54-41e0-ac19-25dd9a92d5a8/resourceGroups/jeevan-wrk-vms/providers/Microsoft.DataProtection/backupVaults/pstestvault-automated?api-version=2024-04-01", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "5" ], + "x-ms-client-request-id": [ "30879aec-f316-4da3-a853-8b777d199987" ], + "CommandName": [ "Az.DataProtection\\Get-AzDataProtectionBackupVault" ], + "FullCommandName": [ "Get-AzDataProtectionBackupVault_Get2" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v10.2.0", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-throttling-version": [ "v1" ], + "X-Content-Type-Options": [ "nosniff" ], + "Server": [ "Kestrel" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "496" ], + "x-ms-request-id": [ "3057b474-573c-4f1c-b37a-1fed389105f1" ], + "x-ms-correlation-request-id": [ "3057b474-573c-4f1c-b37a-1fed389105f1" ], + "x-ms-routing-request-id": [ "WESTEUROPE:20240422T041310Z:3057b474-573c-4f1c-b37a-1fed389105f1" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Mon, 22 Apr 2024 04:13:09 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1376" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"location\":\"eastasia\",\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/191973cd-9c54-41e0-ac19-25dd9a92d5a8/resourcegroups/jeevan-wrk-vms/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userMSIpstest\":{\"clientId\":\"3ffad3da-29a4-4823-8f7b-e174994e01af\",\"principalId\":\"fef4c24f-c831-4909-bb46-c3b1eaef110d\"}},\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"storageSettings\":[{\"datastoreType\":\"VaultStore\",\"type\":\"LocallyRedundant\"}],\"isVaultProtectedByResourceGuard\":false,\"securitySettings\":{\"softDeleteSettings\":{\"state\":\"On\",\"retentionDurationInDays\":14.0},\"encryptionSettings\":{\"state\":\"Enabled\",\"keyVaultProperties\":{\"keyUri\":\"https://jeevantestkeyvaultcmk.vault.azure.net/keys/pstest/3cd5235ad6ac4c11b40a6f35444bcbe1\"},\"kekIdentity\":{\"identityType\":\"UserAssigned\",\"identityId\":\"/subscriptions/191973cd-9c54-41e0-ac19-25dd9a92d5a8/resourcegroups/jeevan-wrk-vms/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userMSIpstest\"},\"infrastructureEncryption\":\"Enabled\"}},\"secureScore\":\"None\",\"bcdrSecurityLevel\":\"Poor\",\"replicatedRegions\":[]},\"id\":\"/subscriptions/191973cd-9c54-41e0-ac19-25dd9a92d5a8/resourceGroups/jeevan-wrk-vms/providers/Microsoft.DataProtection/backupVaults/pstestvault-automated\",\"name\":\"pstestvault-automated\",\"type\":\"Microsoft.DataProtection/backupVaults\"}", + "isContentBase64": false + } + }, + "CmkEncryptionScenario+[NoContext]+Update-AzDataProtectionBackupVault+$PATCH+https://management.azure.com/subscriptions/191973cd-9c54-41e0-ac19-25dd9a92d5a8/resourceGroups/jeevan-wrk-vms/providers/Microsoft.DataProtection/backupVaults/pstestvault-automated?api-version=2024-04-01+2": { + "Request": { + "Method": "PATCH", + "RequestUri": "https://management.azure.com/subscriptions/191973cd-9c54-41e0-ac19-25dd9a92d5a8/resourceGroups/jeevan-wrk-vms/providers/Microsoft.DataProtection/backupVaults/pstestvault-automated?api-version=2024-04-01", + "Content": "{\r\n \"properties\": {\r\n \"securitySettings\": {\r\n \"encryptionSettings\": {\r\n \"state\": \"Enabled\",\r\n \"keyVaultProperties\": {\r\n \"keyUri\": \"https://jeevantestkeyvaultcmk.vault.azure.net/keys/pstest/3cd5235ad6ac4c11b40a6f35444bcbe1\"\r\n },\r\n \"kekIdentity\": {\r\n \"identityType\": \"UserAssigned\",\r\n \"identityId\": \"/subscriptions/191973cd-9c54-41e0-ac19-25dd9a92d5a8/resourcegroups/jeevan-wrk-vms/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userMSIpstest\"\r\n },\r\n \"infrastructureEncryption\": \"Enabled\"\r\n }\r\n }\r\n }\r\n}", + "isContentBase64": false, + "Headers": { + }, + "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "600" ] + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "x-ms-throttling-version": [ "v1" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-arm-resource-system-data": [ "{\"lastModifiedBy\":\"karmahajan@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-04-22T04:13:10.6559453Z\"}" ], + "Server": [ "Kestrel" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "98" ], + "x-ms-request-id": [ "ddba63b3-ad38-4460-bf38-7f57c7503930" ], + "x-ms-correlation-request-id": [ "ddba63b3-ad38-4460-bf38-7f57c7503930" ], + "x-ms-routing-request-id": [ "WESTEUROPE:20240422T041310Z:ddba63b3-ad38-4460-bf38-7f57c7503930" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Mon, 22 Apr 2024 04:13:09 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "1376" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"location\":\"eastasia\",\"identity\":{\"type\":\"UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/191973cd-9c54-41e0-ac19-25dd9a92d5a8/resourcegroups/jeevan-wrk-vms/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userMSIpstest\":{\"clientId\":\"3ffad3da-29a4-4823-8f7b-e174994e01af\",\"principalId\":\"fef4c24f-c831-4909-bb46-c3b1eaef110d\"}},\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"storageSettings\":[{\"datastoreType\":\"VaultStore\",\"type\":\"LocallyRedundant\"}],\"isVaultProtectedByResourceGuard\":false,\"securitySettings\":{\"softDeleteSettings\":{\"state\":\"On\",\"retentionDurationInDays\":14.0},\"encryptionSettings\":{\"state\":\"Enabled\",\"keyVaultProperties\":{\"keyUri\":\"https://jeevantestkeyvaultcmk.vault.azure.net/keys/pstest/3cd5235ad6ac4c11b40a6f35444bcbe1\"},\"kekIdentity\":{\"identityType\":\"UserAssigned\",\"identityId\":\"/subscriptions/191973cd-9c54-41e0-ac19-25dd9a92d5a8/resourcegroups/jeevan-wrk-vms/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userMSIpstest\"},\"infrastructureEncryption\":\"Enabled\"}},\"secureScore\":\"None\",\"bcdrSecurityLevel\":\"Poor\",\"replicatedRegions\":[]},\"id\":\"/subscriptions/191973cd-9c54-41e0-ac19-25dd9a92d5a8/resourceGroups/jeevan-wrk-vms/providers/Microsoft.DataProtection/backupVaults/pstestvault-automated\",\"name\":\"pstestvault-automated\",\"type\":\"Microsoft.DataProtection/backupVaults\"}", + "isContentBase64": false + } + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/test/CmkEncryptionScenario.Tests.ps1 b/src/DataProtection/DataProtection.Autorest/test/CmkEncryptionScenario.Tests.ps1 new file mode 100644 index 000000000000..c3e0a04e6e20 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/test/CmkEncryptionScenario.Tests.ps1 @@ -0,0 +1,50 @@ +$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' +if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' +} +. ($loadEnvPath) +$TestRecordingFile = Join-Path $PSScriptRoot 'CmkEncryptionScenario.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 'CmkEncryptionScenario' { + + It 'Get-AzDataProtectionBackupVault' { + $vault = Get-AzDataProtectionBackupVault -SubscriptionId $env.TestCmkEncryption.SubscriptionId -ResourceGroupName $env.TestCmkEncryption.ResourceGroupName -VaultName $env.TestCmkEncryption.VaultName + + $vault.EncryptionSetting.State | Should be "Enabled" + $vault.EncryptionSetting.CmkInfrastructureEncryption | Should be "Enabled" + $vault.EncryptionSetting.CmkIdentity.IdentityType | Should be "UserAssigned" + $vault.EncryptionSetting.CmkIdentity.IdentityId | Should be $env.TestCmkEncryption.CmkUserAssignedIdentityId + $vault.EncryptionSetting.CmkKeyVaultProperty.KeyUri | Should be $env.TestCmkEncryption.CmkEncryptionKeyUriUpdated + } + + It 'New-AzDataProtectionBackupVault' { + $storagesetting = New-AzDataProtectionBackupVaultStorageSettingObject -Type LocallyRedundant -DataStoreType VaultStore + + $userAssignedIdentity = @{$env.TestCmkEncryption.CmkUserAssignedIdentityId = @{}} + + $vault = New-AzDataProtectionBackupVault -SubscriptionId $env.TestCmkEncryption.SubscriptionId -ResourceGroupName $env.TestCmkEncryption.ResourceGroupName -VaultName $env.TestCmkEncryption.VaultName -Location $env.TestCmkEncryption.Location -StorageSetting $storagesetting -IdentityType UserAssigned -UserAssignedIdentity $userAssignedIdentity -CmkEncryptionState Enabled -CmkIdentityType UserAssigned -CmkUserAssignedIdentityId $env.TestCmkEncryption.CmkUserAssignedIdentityId -CmkEncryptionKeyUri $env.TestCmkEncryption.CmkEncryptionKeyUri -CmkInfrastructureEncryption Enabled + + $vault.EncryptionSetting.State | Should be "Enabled" + $vault.EncryptionSetting.CmkInfrastructureEncryption | Should be "Enabled" + $vault.EncryptionSetting.CmkIdentity.IdentityType | Should be "UserAssigned" + $vault.EncryptionSetting.CmkIdentity.IdentityId | Should be $env.TestCmkEncryption.CmkUserAssignedIdentityId + $vault.EncryptionSetting.CmkKeyVaultProperty.KeyUri | Should be $env.TestCmkEncryption.CmkEncryptionKeyUri + } + + It 'Update-AzDataProtectionBackupVault' { + + $vault = Update-AzDataProtectionBackupVault -SubscriptionId $env.TestCmkEncryption.SubscriptionId -ResourceGroupName $env.TestCmkEncryption.ResourceGroupName -VaultName $env.TestCmkEncryption.VaultName -CmkEncryptionKeyUri $env.TestCmkEncryption.CmkEncryptionKeyUriUpdated + + $vault.EncryptionSetting.State | Should be "Enabled" + $vault.EncryptionSetting.CmkInfrastructureEncryption | Should be "Enabled" + $vault.EncryptionSetting.CmkIdentity.IdentityType | Should be "UserAssigned" + $vault.EncryptionSetting.CmkIdentity.IdentityId | Should be $env.TestCmkEncryption.CmkUserAssignedIdentityId + $vault.EncryptionSetting.CmkKeyVaultProperty.KeyUri | Should be $env.TestCmkEncryption.CmkEncryptionKeyUriUpdated + } +} diff --git a/src/DataProtection/DataProtection.Autorest/test/DiskBackupScenario.Recording.json b/src/DataProtection/DataProtection.Autorest/test/DiskBackupScenario.Recording.json index ceb6f1e4d226..b8d5fc781575 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-12-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=2024-04-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-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "1" ], - "x-ms-client-request-id": [ "94b3419a-d5d3-458f-94bc-b8b4a22de10c" ], + "x-ms-unique-id": [ "43" ], + "x-ms-client-request-id": [ "08d65cb2-6b7e-448a-9c35-167361c53f44" ], "CommandName": [ "Get-AzDataProtectionBackupVault" ], "FullCommandName": [ "Get-AzDataProtectionBackupVault_Get2" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -22,38 +22,39 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "499" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "47e0cc30-16c2-4236-a580-60b5d9cda38b" ], - "x-ms-correlation-request-id": [ "47e0cc30-16c2-4236-a580-60b5d9cda38b" ], - "x-ms-routing-request-id": [ "JIOINDIACENTRAL:20240324T194034Z:47e0cc30-16c2-4236-a580-60b5d9cda38b" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "499" ], + "x-ms-request-id": [ "4eb550fa-1908-492e-b496-93626778b565" ], + "x-ms-correlation-request-id": [ "4eb550fa-1908-492e-b496-93626778b565" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T142347Z:4eb550fa-1908-492e-b496-93626778b565" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 18C7C2194CA449CD8E180687C4087E6E Ref B: MAA201060516049 Ref C: 2024-03-24T19:40:33Z" ], - "Date": [ "Sun, 24 Mar 2024 19:40:34 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 6D58C4EAA15640D7B25E5B8033EED8E8 Ref B: MAA201060513019 Ref C: 2024-04-21T14:23:45Z" ], + "Date": [ "Sun, 21 Apr 2024 14:23:47 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1001" ], + "Content-Length": [ "1028" ], "Content-Type": [ "application/json; charset=utf-8" ], "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\",\"replicatedRegions\":[\"eastus2euap\"]},\"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\",\"bcdrSecurityLevel\":\"Good\",\"replicatedRegions\":[\"eastus2euap\"]},\"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-12-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=2024-04-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-12-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=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "28125dd8-8f1a-4f3e-95fc-01a045169fd1" ], + "x-ms-unique-id": [ "44" ], + "x-ms-client-request-id": [ "168e7a30-e4b5-4492-bd78-ef0c3860af0e" ], "CommandName": [ "Get-AzDataProtectionBackupInstance" ], "FullCommandName": [ "Get-AzDataProtectionBackupInstance_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -64,15 +65,16 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1999" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "91dbef0c-5768-470f-b0ce-f4fc98a210dc" ], - "x-ms-correlation-request-id": [ "91dbef0c-5768-470f-b0ce-f4fc98a210dc" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194036Z:91dbef0c-5768-470f-b0ce-f4fc98a210dc" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1999" ], + "x-ms-request-id": [ "6d2ecd0a-d74d-487e-8901-2de6763e37ac" ], + "x-ms-correlation-request-id": [ "6d2ecd0a-d74d-487e-8901-2de6763e37ac" ], + "x-ms-routing-request-id": [ "JIOINDIACENTRAL:20240421T142349Z:6d2ecd0a-d74d-487e-8901-2de6763e37ac" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: D810AE9E00084D3085279E1F8F207C11 Ref B: MAA201060516049 Ref C: 2024-03-24T19:40:34Z" ], - "Date": [ "Sun, 24 Mar 2024 19:40:36 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 1D7D25DF20EC4045B3ADA6EB91FD8E7A Ref B: MAA201060513019 Ref C: 2024-04-21T14:23:47Z" ], + "Date": [ "Sun, 21 Apr 2024 14:23:49 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1504" ], @@ -83,19 +85,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-12-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=2024-04-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-12-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=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "9ad1548a-cedd-4bd6-97e0-29e523a926a8" ], + "x-ms-unique-id": [ "45" ], + "x-ms-client-request-id": [ "c4ea6e3d-c468-46d6-8a24-ff53a4cca152" ], "CommandName": [ "Get-AzDataProtectionBackupInstance" ], "FullCommandName": [ "Get-AzDataProtectionBackupInstance_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -106,15 +108,16 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1999" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "47ff329e-3d47-4989-ad17-883c857e57e0" ], - "x-ms-correlation-request-id": [ "47ff329e-3d47-4989-ad17-883c857e57e0" ], - "x-ms-routing-request-id": [ "CENTRALINDIA:20240324T194037Z:47ff329e-3d47-4989-ad17-883c857e57e0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1999" ], + "x-ms-request-id": [ "07d75f86-2e3b-4f73-9917-b6d4dbf6702d" ], + "x-ms-correlation-request-id": [ "07d75f86-2e3b-4f73-9917-b6d4dbf6702d" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T142351Z:07d75f86-2e3b-4f73-9917-b6d4dbf6702d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 5EA845B10B614983B35F734AD6A561FD Ref B: MAA201060516049 Ref C: 2024-03-24T19:40:36Z" ], - "Date": [ "Sun, 24 Mar 2024 19:40:37 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 27E1AD2583724305B14F9DE6E8306755 Ref B: MAA201060513019 Ref C: 2024-04-21T14:23:49Z" ], + "Date": [ "Sun, 21 Apr 2024 14:23:51 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1492" ], @@ -125,19 +128,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-12-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=2024-04-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-12-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=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "fb9fed6a-5ac2-4d96-bda9-d413f7b97b7f" ], + "x-ms-unique-id": [ "46" ], + "x-ms-client-request-id": [ "3eaa86ca-5594-4845-90cb-e5155fc54eec" ], "CommandName": [ "Get-AzDataProtectionBackupPolicy" ], "FullCommandName": [ "Get-AzDataProtectionBackupPolicy_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -148,15 +151,16 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "7081dd71-9c87-40b5-84e6-9847878b554e" ], - "x-ms-correlation-request-id": [ "7081dd71-9c87-40b5-84e6-9847878b554e" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194039Z:7081dd71-9c87-40b5-84e6-9847878b554e" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "5c809ccd-916d-4c53-b154-e2b496678ca0" ], + "x-ms-correlation-request-id": [ "5c809ccd-916d-4c53-b154-e2b496678ca0" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T142352Z:5c809ccd-916d-4c53-b154-e2b496678ca0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: DA780726280D4FCEBD723E04D5E40067 Ref B: MAA201060516049 Ref C: 2024-03-24T19:40:37Z" ], - "Date": [ "Sun, 24 Mar 2024 19:40:39 GMT" ] + "X-MSEdge-Ref": [ "Ref A: FEAA9F3971DA4C2CB400920260D6B86F Ref B: MAA201060513019 Ref C: 2024-04-21T14:23:51Z" ], + "Date": [ "Sun, 21 Apr 2024 14:23:52 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1094" ], @@ -167,10 +171,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-12-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=2024-04-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-12-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=2024-04-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,18 +189,19 @@ "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/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzc4YjFlZDJhLTVlZDUtNGU0NS05YjhiLTFlNDg0NGJkYWFiZA==?api-version=2023-12-01\u0026t=638469060409288431\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=lqlMeT2kYSVlU7wLlXSh1Q26u3e-1qQ2WBlSViq6DsUhsqC0XMXJ7seNPiQ--HVou433ckJeyVcH2gB-1bQcSfLhmUTlbQc4EBe5LigomiFkNszS91IHjxjxgUB3NbR_v6UVMOCcdA1NSIVlSYZizWUDjXF5zbywTf2qc-UP5tI-UrklrH1qP5AjKbqvTZ1mI_cqsdPnBMD5ODtsWy7t3xK_1iYgw0wPcr7mdIt5FnQpnBM4TN0b4Vcz7Fsb4iC2t_ga7Kem9Kya7Qe45sBdHanFzBnNm2oFFExbLEglsgs5Bts-z-tpebwiUjvwWk8FUbI0C4OSMg3AQzvLbVyhXQ\u0026h=ai68zxPY_zetvPHupezZ-0HgxVa8JL-C-Lox6bDhFPg" ], + "Location": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzJkNjY2MjEwLTdhZTktNDQ3NS1iN2U4LTg2YzIzNzcwYTdjNQ==?api-version=2024-04-01\u0026t=638493062347848834\u0026c=MIIHHjCCBgagAwIBAgITfwKWMg6goKCq4WwU2AAEApYyDjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMTAzMDI3WhcNMjUwMTI0MTAzMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALMk1pBZQQoNY8tos8XBaEjHjcdWubRHrQk5CqKcX3tpFfukMI0_PVZK-Kr7xkZFQTYp_ItaM2RPRDXx-0W9-mmrUBKvdcQ0rdjcSXDek7GvWS29F5sDHojD1v3e9k2jJa4cVSWwdIguvXmdUa57t1EHxqtDzTL4WmjXitzY8QOIHLMRLyXUNg3Gqfxch40cmQeBoN4rVMlP31LizDfdwRyT1qghK7vgvworA3D9rE00aM0n7TcBH9I0mu-96JE0gSX1FWXctlEcmdwQmXj_U0sZCu11_Yr6Oa34bmUQHGc3hDvO226L1Au-QsLuRWFLbKJ-0wmSV5b3CbU1kweD5LUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBQuoVkxdNhVmd-S8fHDZYn-1n9OaDAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG6_wraDi57hTBBW8zI9n7Dnd66DCf9ok7v4gM1-qxp2gZjb_eEnriIZQcCD3jLvW4q5_59OicwRN13rP_GY33E9HLUgw245zqSCIGd6gYnaCyxPNdhEa-W6-ZBBw1iWX8l-RJqDOUYwkrI7Lw-iea9CuiTbLjw_BJ5NGmd8D5GOVxFRnhJ7RBRrwa6p2_UqZqvdg8kneiyymbidRJCOZ_xkZ8OwL-ini_ge44CIEB7rvqwdf7DfwOjoDr7JU88gM0QgcE7kzx7cVUZpaJAXXhxLvOcb0MBuRiEyexrV6HrbOTafc9naJB26ejIXNHLsuIhpMMa5NEK60hGauLEMNlY\u0026s=aCKoQNUzjeuqjw7pgoUyVDZ9XfQl4uh5-849PQPQX9F1-MbI31sLOtiKh_g-Zi5MCl0E1MUid8JgegjyabqNTDnEY_-LclYi_Zgql99-7dosk302r6dl3E5hLFBpYOzgqbo03iEUWOWgRERJmQncwFyWticTTDlq4D88ILjsQsDBD1PpuOpEuoOYxOQZ7dOcJuGtEqkFGGdIYmZ9W_XSE0kwyZ6K9trARrqSsSDSjbgkWHMFhgeE4fuieOqrfyo5hYkd1oIkGPh3D7UCKFpCrakebNVRP-dBeOrN--5OWNDgTVbRAol4PYllyxvDumtUX7Exkd4IQzGfCCJzDK1Btw\u0026h=aSF0GKuAUjcQvR0P8ayjEhnVsYkkyqpz-p-tnT8NQgk" ], "Retry-After": [ "30" ], "X-Content-Type-Options": [ "nosniff" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzc4YjFlZDJhLTVlZDUtNGU0NS05YjhiLTFlNDg0NGJkYWFiZA==?api-version=2023-12-01\u0026t=638469060409288431\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=Gvtz9fQupZLTMk0xbFeQB8oOG9xnZfzZyNy3g9tMeXDca-y6D80UGcxGx8EMFKZ_5WeNCeF2CrSvlSzXcKC1-8RBSGd0L1v9LpV1OhNUPrZdO2_hrLtbhIqMHeU6z4fF5FtJs8F4GLlX5ejhbwmj4hUdnlVXJp7S1Z1rorZFGpAWkdwQ5_Xl0MIsgdFwGYNxrJfGTNXrkV2dohiibikqG_ifNZ3AndfLx3chJ_1phdvEJuId2gfvY0CmV2OMwamNDuwkQS6G1PrT4i2VtGIJgvfXvlSq5dtcssBDplteHucWRpmyChNCZe7RGAGBlMG4S-a6vdSuiuDFuM3ZSmok9Q\u0026h=twDd0cGaaRa2UbkA13npU-RuwzejmF95F64AhGW0K34" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzJkNjY2MjEwLTdhZTktNDQ3NS1iN2U4LTg2YzIzNzcwYTdjNQ==?api-version=2024-04-01\u0026t=638493062347692226\u0026c=MIIHHjCCBgagAwIBAgITfwKWMg6goKCq4WwU2AAEApYyDjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMTAzMDI3WhcNMjUwMTI0MTAzMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALMk1pBZQQoNY8tos8XBaEjHjcdWubRHrQk5CqKcX3tpFfukMI0_PVZK-Kr7xkZFQTYp_ItaM2RPRDXx-0W9-mmrUBKvdcQ0rdjcSXDek7GvWS29F5sDHojD1v3e9k2jJa4cVSWwdIguvXmdUa57t1EHxqtDzTL4WmjXitzY8QOIHLMRLyXUNg3Gqfxch40cmQeBoN4rVMlP31LizDfdwRyT1qghK7vgvworA3D9rE00aM0n7TcBH9I0mu-96JE0gSX1FWXctlEcmdwQmXj_U0sZCu11_Yr6Oa34bmUQHGc3hDvO226L1Au-QsLuRWFLbKJ-0wmSV5b3CbU1kweD5LUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBQuoVkxdNhVmd-S8fHDZYn-1n9OaDAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG6_wraDi57hTBBW8zI9n7Dnd66DCf9ok7v4gM1-qxp2gZjb_eEnriIZQcCD3jLvW4q5_59OicwRN13rP_GY33E9HLUgw245zqSCIGd6gYnaCyxPNdhEa-W6-ZBBw1iWX8l-RJqDOUYwkrI7Lw-iea9CuiTbLjw_BJ5NGmd8D5GOVxFRnhJ7RBRrwa6p2_UqZqvdg8kneiyymbidRJCOZ_xkZ8OwL-ini_ge44CIEB7rvqwdf7DfwOjoDr7JU88gM0QgcE7kzx7cVUZpaJAXXhxLvOcb0MBuRiEyexrV6HrbOTafc9naJB26ejIXNHLsuIhpMMa5NEK60hGauLEMNlY\u0026s=sm6fPclGRz1wE5tnGfykT4rvhJ4ubRfQzV5JnKQgwlo7fyUkk0sQmVhNnUlW-nYW-fJKN2MxV-_cpR86QUYDoQ9PbgecfW0QLdYCaptP3BwQtiUJL700DB6K8GtIB4uccyyHLNhqIpDjMEohLo_o9IEO8F-SjDZkwH6x_Di1ywfwp9JYFpXN2W1LMzxMVjWYCKPPKQtIYj_ed8P8hzOcvcxlVF0i1P51IeTgvauJopmYo00fEApIBRtAp6n3pJNrBFtcFTUguZKV4BZoW-LlRW4gFDhxeNIK5HbqeYihQ1mLmTejT3LB2jkTmjhREfTYswMpAc3ZeJQKdxyNehRoQw\u0026h=mELBBbSOabub66c2L620P1UjShQikt9Yz3lbE5P08WI" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-request-id": [ "d729f89a-3d85-4ab5-84ea-992f2c00c9f6" ], - "x-ms-correlation-request-id": [ "d729f89a-3d85-4ab5-84ea-992f2c00c9f6" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194040Z:d729f89a-3d85-4ab5-84ea-992f2c00c9f6" ], + "x-ms-request-id": [ "7cb1c4c3-3b2f-4ea9-8122-2e2adc163580" ], + "x-ms-correlation-request-id": [ "7cb1c4c3-3b2f-4ea9-8122-2e2adc163580" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240421T142354Z:7cb1c4c3-3b2f-4ea9-8122-2e2adc163580" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: D2896F8E377D4B88BDE51183154856B8 Ref B: MAA201060516049 Ref C: 2024-03-24T19:40:39Z" ], - "Date": [ "Sun, 24 Mar 2024 19:40:40 GMT" ] + "X-MSEdge-Ref": [ "Ref A: AF36AF00ED4D4B6F8FB79C76E23448D9 Ref B: MAA201060513019 Ref C: 2024-04-21T14:23:52Z" ], + "Date": [ "Sun, 21 Apr 2024 14:23:54 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -206,20 +211,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/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzc4YjFlZDJhLTVlZDUtNGU0NS05YjhiLTFlNDg0NGJkYWFiZA==?api-version=2023-12-01\u0026t=638469060409288431\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=Gvtz9fQupZLTMk0xbFeQB8oOG9xnZfzZyNy3g9tMeXDca-y6D80UGcxGx8EMFKZ_5WeNCeF2CrSvlSzXcKC1-8RBSGd0L1v9LpV1OhNUPrZdO2_hrLtbhIqMHeU6z4fF5FtJs8F4GLlX5ejhbwmj4hUdnlVXJp7S1Z1rorZFGpAWkdwQ5_Xl0MIsgdFwGYNxrJfGTNXrkV2dohiibikqG_ifNZ3AndfLx3chJ_1phdvEJuId2gfvY0CmV2OMwamNDuwkQS6G1PrT4i2VtGIJgvfXvlSq5dtcssBDplteHucWRpmyChNCZe7RGAGBlMG4S-a6vdSuiuDFuM3ZSmok9Q\u0026h=twDd0cGaaRa2UbkA13npU-RuwzejmF95F64AhGW0K34+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/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzJkNjY2MjEwLTdhZTktNDQ3NS1iN2U4LTg2YzIzNzcwYTdjNQ==?api-version=2024-04-01\u0026t=638493062347692226\u0026c=MIIHHjCCBgagAwIBAgITfwKWMg6goKCq4WwU2AAEApYyDjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMTAzMDI3WhcNMjUwMTI0MTAzMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALMk1pBZQQoNY8tos8XBaEjHjcdWubRHrQk5CqKcX3tpFfukMI0_PVZK-Kr7xkZFQTYp_ItaM2RPRDXx-0W9-mmrUBKvdcQ0rdjcSXDek7GvWS29F5sDHojD1v3e9k2jJa4cVSWwdIguvXmdUa57t1EHxqtDzTL4WmjXitzY8QOIHLMRLyXUNg3Gqfxch40cmQeBoN4rVMlP31LizDfdwRyT1qghK7vgvworA3D9rE00aM0n7TcBH9I0mu-96JE0gSX1FWXctlEcmdwQmXj_U0sZCu11_Yr6Oa34bmUQHGc3hDvO226L1Au-QsLuRWFLbKJ-0wmSV5b3CbU1kweD5LUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBQuoVkxdNhVmd-S8fHDZYn-1n9OaDAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG6_wraDi57hTBBW8zI9n7Dnd66DCf9ok7v4gM1-qxp2gZjb_eEnriIZQcCD3jLvW4q5_59OicwRN13rP_GY33E9HLUgw245zqSCIGd6gYnaCyxPNdhEa-W6-ZBBw1iWX8l-RJqDOUYwkrI7Lw-iea9CuiTbLjw_BJ5NGmd8D5GOVxFRnhJ7RBRrwa6p2_UqZqvdg8kneiyymbidRJCOZ_xkZ8OwL-ini_ge44CIEB7rvqwdf7DfwOjoDr7JU88gM0QgcE7kzx7cVUZpaJAXXhxLvOcb0MBuRiEyexrV6HrbOTafc9naJB26ejIXNHLsuIhpMMa5NEK60hGauLEMNlY\u0026s=sm6fPclGRz1wE5tnGfykT4rvhJ4ubRfQzV5JnKQgwlo7fyUkk0sQmVhNnUlW-nYW-fJKN2MxV-_cpR86QUYDoQ9PbgecfW0QLdYCaptP3BwQtiUJL700DB6K8GtIB4uccyyHLNhqIpDjMEohLo_o9IEO8F-SjDZkwH6x_Di1ywfwp9JYFpXN2W1LMzxMVjWYCKPPKQtIYj_ed8P8hzOcvcxlVF0i1P51IeTgvauJopmYo00fEApIBRtAp6n3pJNrBFtcFTUguZKV4BZoW-LlRW4gFDhxeNIK5HbqeYihQ1mLmTejT3LB2jkTmjhREfTYswMpAc3ZeJQKdxyNehRoQw\u0026h=mELBBbSOabub66c2L620P1UjShQikt9Yz3lbE5P08WI+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/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzc4YjFlZDJhLTVlZDUtNGU0NS05YjhiLTFlNDg0NGJkYWFiZA==?api-version=2023-12-01\u0026t=638469060409288431\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=Gvtz9fQupZLTMk0xbFeQB8oOG9xnZfzZyNy3g9tMeXDca-y6D80UGcxGx8EMFKZ_5WeNCeF2CrSvlSzXcKC1-8RBSGd0L1v9LpV1OhNUPrZdO2_hrLtbhIqMHeU6z4fF5FtJs8F4GLlX5ejhbwmj4hUdnlVXJp7S1Z1rorZFGpAWkdwQ5_Xl0MIsgdFwGYNxrJfGTNXrkV2dohiibikqG_ifNZ3AndfLx3chJ_1phdvEJuId2gfvY0CmV2OMwamNDuwkQS6G1PrT4i2VtGIJgvfXvlSq5dtcssBDplteHucWRpmyChNCZe7RGAGBlMG4S-a6vdSuiuDFuM3ZSmok9Q\u0026h=twDd0cGaaRa2UbkA13npU-RuwzejmF95F64AhGW0K34", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzJkNjY2MjEwLTdhZTktNDQ3NS1iN2U4LTg2YzIzNzcwYTdjNQ==?api-version=2024-04-01\u0026t=638493062347692226\u0026c=MIIHHjCCBgagAwIBAgITfwKWMg6goKCq4WwU2AAEApYyDjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMTAzMDI3WhcNMjUwMTI0MTAzMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALMk1pBZQQoNY8tos8XBaEjHjcdWubRHrQk5CqKcX3tpFfukMI0_PVZK-Kr7xkZFQTYp_ItaM2RPRDXx-0W9-mmrUBKvdcQ0rdjcSXDek7GvWS29F5sDHojD1v3e9k2jJa4cVSWwdIguvXmdUa57t1EHxqtDzTL4WmjXitzY8QOIHLMRLyXUNg3Gqfxch40cmQeBoN4rVMlP31LizDfdwRyT1qghK7vgvworA3D9rE00aM0n7TcBH9I0mu-96JE0gSX1FWXctlEcmdwQmXj_U0sZCu11_Yr6Oa34bmUQHGc3hDvO226L1Au-QsLuRWFLbKJ-0wmSV5b3CbU1kweD5LUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBQuoVkxdNhVmd-S8fHDZYn-1n9OaDAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG6_wraDi57hTBBW8zI9n7Dnd66DCf9ok7v4gM1-qxp2gZjb_eEnriIZQcCD3jLvW4q5_59OicwRN13rP_GY33E9HLUgw245zqSCIGd6gYnaCyxPNdhEa-W6-ZBBw1iWX8l-RJqDOUYwkrI7Lw-iea9CuiTbLjw_BJ5NGmd8D5GOVxFRnhJ7RBRrwa6p2_UqZqvdg8kneiyymbidRJCOZ_xkZ8OwL-ini_ge44CIEB7rvqwdf7DfwOjoDr7JU88gM0QgcE7kzx7cVUZpaJAXXhxLvOcb0MBuRiEyexrV6HrbOTafc9naJB26ejIXNHLsuIhpMMa5NEK60hGauLEMNlY\u0026s=sm6fPclGRz1wE5tnGfykT4rvhJ4ubRfQzV5JnKQgwlo7fyUkk0sQmVhNnUlW-nYW-fJKN2MxV-_cpR86QUYDoQ9PbgecfW0QLdYCaptP3BwQtiUJL700DB6K8GtIB4uccyyHLNhqIpDjMEohLo_o9IEO8F-SjDZkwH6x_Di1ywfwp9JYFpXN2W1LMzxMVjWYCKPPKQtIYj_ed8P8hzOcvcxlVF0i1P51IeTgvauJopmYo00fEApIBRtAp6n3pJNrBFtcFTUguZKV4BZoW-LlRW4gFDhxeNIK5HbqeYihQ1mLmTejT3LB2jkTmjhREfTYswMpAc3ZeJQKdxyNehRoQw\u0026h=mELBBbSOabub66c2L620P1UjShQikt9Yz3lbE5P08WI", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "6" ], - "x-ms-client-request-id": [ "74c0ec37-bf2a-44a1-a849-cb7a816d4e46" ], + "x-ms-unique-id": [ "48" ], + "x-ms-client-request-id": [ "f60ad5cb-3053-4da3-a885-e4e04cb852d6" ], "CommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc" ], "FullCommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc_BackupExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -229,39 +234,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "bcbb1fd9-3f4c-4be4-ae22-9ba51e9a3dee" ], - "x-ms-correlation-request-id": [ "bcbb1fd9-3f4c-4be4-ae22-9ba51e9a3dee" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194112Z:bcbb1fd9-3f4c-4be4-ae22-9ba51e9a3dee" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], + "x-ms-request-id": [ "5f7ec95d-d249-4348-9823-38ef37457ecd" ], + "x-ms-correlation-request-id": [ "5f7ec95d-d249-4348-9823-38ef37457ecd" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T142426Z:5f7ec95d-d249-4348-9823-38ef37457ecd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: F4C356030990488B8B3EBAD9FACAAEE0 Ref B: MAA201060516049 Ref C: 2024-03-24T19:41:11Z" ], - "Date": [ "Sun, 24 Mar 2024 19:41:11 GMT" ] + "X-MSEdge-Ref": [ "Ref A: CB03ED1F132A40B3A046330FA6B09D06 Ref B: MAA201060513019 Ref C: 2024-04-21T14:24:24Z" ], + "Date": [ "Sun, 21 Apr 2024 14:24:26 GMT" ] }, "ContentHeaders": { "Content-Length": [ "739" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzc4YjFlZDJhLTVlZDUtNGU0NS05YjhiLTFlNDg0NGJkYWFiZA==\",\"name\":\"ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzc4YjFlZDJhLTVlZDUtNGU0NS05YjhiLTFlNDg0NGJkYWFiZA==\",\"status\":\"Succeeded\",\"startTime\":\"2024-03-24T19:40:40.7008337Z\",\"endTime\":\"2024-03-24T19:40:41Z\",\"properties\":{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"objectType\":\"OperationJobExtendedInfo\"}}", + "Content": "{\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzJkNjY2MjEwLTdhZTktNDQ3NS1iN2U4LTg2YzIzNzcwYTdjNQ==\",\"name\":\"ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzJkNjY2MjEwLTdhZTktNDQ3NS1iN2U4LTg2YzIzNzcwYTdjNQ==\",\"status\":\"Succeeded\",\"startTime\":\"2024-04-21T14:23:54.5814606Z\",\"endTime\":\"2024-04-21T14:23:55Z\",\"properties\":{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"objectType\":\"OperationJobExtendedInfo\"}}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzc4YjFlZDJhLTVlZDUtNGU0NS05YjhiLTFlNDg0NGJkYWFiZA==?api-version=2023-12-01\u0026t=638469060409288431\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=lqlMeT2kYSVlU7wLlXSh1Q26u3e-1qQ2WBlSViq6DsUhsqC0XMXJ7seNPiQ--HVou433ckJeyVcH2gB-1bQcSfLhmUTlbQc4EBe5LigomiFkNszS91IHjxjxgUB3NbR_v6UVMOCcdA1NSIVlSYZizWUDjXF5zbywTf2qc-UP5tI-UrklrH1qP5AjKbqvTZ1mI_cqsdPnBMD5ODtsWy7t3xK_1iYgw0wPcr7mdIt5FnQpnBM4TN0b4Vcz7Fsb4iC2t_ga7Kem9Kya7Qe45sBdHanFzBnNm2oFFExbLEglsgs5Bts-z-tpebwiUjvwWk8FUbI0C4OSMg3AQzvLbVyhXQ\u0026h=ai68zxPY_zetvPHupezZ-0HgxVa8JL-C-Lox6bDhFPg+7": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzJkNjY2MjEwLTdhZTktNDQ3NS1iN2U4LTg2YzIzNzcwYTdjNQ==?api-version=2024-04-01\u0026t=638493062347848834\u0026c=MIIHHjCCBgagAwIBAgITfwKWMg6goKCq4WwU2AAEApYyDjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMTAzMDI3WhcNMjUwMTI0MTAzMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALMk1pBZQQoNY8tos8XBaEjHjcdWubRHrQk5CqKcX3tpFfukMI0_PVZK-Kr7xkZFQTYp_ItaM2RPRDXx-0W9-mmrUBKvdcQ0rdjcSXDek7GvWS29F5sDHojD1v3e9k2jJa4cVSWwdIguvXmdUa57t1EHxqtDzTL4WmjXitzY8QOIHLMRLyXUNg3Gqfxch40cmQeBoN4rVMlP31LizDfdwRyT1qghK7vgvworA3D9rE00aM0n7TcBH9I0mu-96JE0gSX1FWXctlEcmdwQmXj_U0sZCu11_Yr6Oa34bmUQHGc3hDvO226L1Au-QsLuRWFLbKJ-0wmSV5b3CbU1kweD5LUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBQuoVkxdNhVmd-S8fHDZYn-1n9OaDAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG6_wraDi57hTBBW8zI9n7Dnd66DCf9ok7v4gM1-qxp2gZjb_eEnriIZQcCD3jLvW4q5_59OicwRN13rP_GY33E9HLUgw245zqSCIGd6gYnaCyxPNdhEa-W6-ZBBw1iWX8l-RJqDOUYwkrI7Lw-iea9CuiTbLjw_BJ5NGmd8D5GOVxFRnhJ7RBRrwa6p2_UqZqvdg8kneiyymbidRJCOZ_xkZ8OwL-ini_ge44CIEB7rvqwdf7DfwOjoDr7JU88gM0QgcE7kzx7cVUZpaJAXXhxLvOcb0MBuRiEyexrV6HrbOTafc9naJB26ejIXNHLsuIhpMMa5NEK60hGauLEMNlY\u0026s=aCKoQNUzjeuqjw7pgoUyVDZ9XfQl4uh5-849PQPQX9F1-MbI31sLOtiKh_g-Zi5MCl0E1MUid8JgegjyabqNTDnEY_-LclYi_Zgql99-7dosk302r6dl3E5hLFBpYOzgqbo03iEUWOWgRERJmQncwFyWticTTDlq4D88ILjsQsDBD1PpuOpEuoOYxOQZ7dOcJuGtEqkFGGdIYmZ9W_XSE0kwyZ6K9trARrqSsSDSjbgkWHMFhgeE4fuieOqrfyo5hYkd1oIkGPh3D7UCKFpCrakebNVRP-dBeOrN--5OWNDgTVbRAol4PYllyxvDumtUX7Exkd4IQzGfCCJzDK1Btw\u0026h=aSF0GKuAUjcQvR0P8ayjEhnVsYkkyqpz-p-tnT8NQgk+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzc4YjFlZDJhLTVlZDUtNGU0NS05YjhiLTFlNDg0NGJkYWFiZA==?api-version=2023-12-01\u0026t=638469060409288431\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=lqlMeT2kYSVlU7wLlXSh1Q26u3e-1qQ2WBlSViq6DsUhsqC0XMXJ7seNPiQ--HVou433ckJeyVcH2gB-1bQcSfLhmUTlbQc4EBe5LigomiFkNszS91IHjxjxgUB3NbR_v6UVMOCcdA1NSIVlSYZizWUDjXF5zbywTf2qc-UP5tI-UrklrH1qP5AjKbqvTZ1mI_cqsdPnBMD5ODtsWy7t3xK_1iYgw0wPcr7mdIt5FnQpnBM4TN0b4Vcz7Fsb4iC2t_ga7Kem9Kya7Qe45sBdHanFzBnNm2oFFExbLEglsgs5Bts-z-tpebwiUjvwWk8FUbI0C4OSMg3AQzvLbVyhXQ\u0026h=ai68zxPY_zetvPHupezZ-0HgxVa8JL-C-Lox6bDhFPg", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzJkNjY2MjEwLTdhZTktNDQ3NS1iN2U4LTg2YzIzNzcwYTdjNQ==?api-version=2024-04-01\u0026t=638493062347848834\u0026c=MIIHHjCCBgagAwIBAgITfwKWMg6goKCq4WwU2AAEApYyDjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMTAzMDI3WhcNMjUwMTI0MTAzMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALMk1pBZQQoNY8tos8XBaEjHjcdWubRHrQk5CqKcX3tpFfukMI0_PVZK-Kr7xkZFQTYp_ItaM2RPRDXx-0W9-mmrUBKvdcQ0rdjcSXDek7GvWS29F5sDHojD1v3e9k2jJa4cVSWwdIguvXmdUa57t1EHxqtDzTL4WmjXitzY8QOIHLMRLyXUNg3Gqfxch40cmQeBoN4rVMlP31LizDfdwRyT1qghK7vgvworA3D9rE00aM0n7TcBH9I0mu-96JE0gSX1FWXctlEcmdwQmXj_U0sZCu11_Yr6Oa34bmUQHGc3hDvO226L1Au-QsLuRWFLbKJ-0wmSV5b3CbU1kweD5LUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBQuoVkxdNhVmd-S8fHDZYn-1n9OaDAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG6_wraDi57hTBBW8zI9n7Dnd66DCf9ok7v4gM1-qxp2gZjb_eEnriIZQcCD3jLvW4q5_59OicwRN13rP_GY33E9HLUgw245zqSCIGd6gYnaCyxPNdhEa-W6-ZBBw1iWX8l-RJqDOUYwkrI7Lw-iea9CuiTbLjw_BJ5NGmd8D5GOVxFRnhJ7RBRrwa6p2_UqZqvdg8kneiyymbidRJCOZ_xkZ8OwL-ini_ge44CIEB7rvqwdf7DfwOjoDr7JU88gM0QgcE7kzx7cVUZpaJAXXhxLvOcb0MBuRiEyexrV6HrbOTafc9naJB26ejIXNHLsuIhpMMa5NEK60hGauLEMNlY\u0026s=aCKoQNUzjeuqjw7pgoUyVDZ9XfQl4uh5-849PQPQX9F1-MbI31sLOtiKh_g-Zi5MCl0E1MUid8JgegjyabqNTDnEY_-LclYi_Zgql99-7dosk302r6dl3E5hLFBpYOzgqbo03iEUWOWgRERJmQncwFyWticTTDlq4D88ILjsQsDBD1PpuOpEuoOYxOQZ7dOcJuGtEqkFGGdIYmZ9W_XSE0kwyZ6K9trARrqSsSDSjbgkWHMFhgeE4fuieOqrfyo5hYkd1oIkGPh3D7UCKFpCrakebNVRP-dBeOrN--5OWNDgTVbRAol4PYllyxvDumtUX7Exkd4IQzGfCCJzDK1Btw\u0026h=aSF0GKuAUjcQvR0P8ayjEhnVsYkkyqpz-p-tnT8NQgk", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "7" ], - "x-ms-client-request-id": [ "74c0ec37-bf2a-44a1-a849-cb7a816d4e46" ], + "x-ms-unique-id": [ "49" ], + "x-ms-client-request-id": [ "f60ad5cb-3053-4da3-a885-e4e04cb852d6" ], "CommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc" ], "FullCommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc_BackupExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -272,39 +278,40 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Retry-After": [ "30" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzc4YjFlZDJhLTVlZDUtNGU0NS05YjhiLTFlNDg0NGJkYWFiZA==?api-version=2023-12-01\u0026t=638469060725386808\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=nV2CO_GiijFYVzjmRASPndCAzi__iudgphpdaLtI--1lNTpcdsv0QvVnLSKCqvnZCocxhUo2GG1dfNjix7j-ePYPjdRANAOLEwulYyc5KV5fFuw9NktTMAILo3QuX3i3FjdfvhitI-Qe7ANTHP0WK4VKJtrIIgvjSLb62bg29gh_BYAzY_9gI4m6VScVmVCJtgcYoZoFm4dOC199lM-GDpcPV8qi05BcHRBsykiI48G6UeZtaqdcr7vK-qqM_idwnTbmjK3m3np2ZhQjGU4KzlFYrQAtHzODJ-pFRrIAuII1UAexG0_UmPV_Ipgef5752A9jkuRSHns_A114YeohKg\u0026h=FDk-9CKmt7NgrAUfA_f5gEc41DeOLyvtu3HQnreJHXs" ], - "x-ms-request-id": [ "054c6e33-9bd3-421c-a9b2-3a68f4fbdeb6" ], - "x-ms-correlation-request-id": [ "054c6e33-9bd3-421c-a9b2-3a68f4fbdeb6" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194112Z:054c6e33-9bd3-421c-a9b2-3a68f4fbdeb6" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzJkNjY2MjEwLTdhZTktNDQ3NS1iN2U4LTg2YzIzNzcwYTdjNQ==?api-version=2024-04-01\u0026t=638493062681462978\u0026c=MIIHHjCCBgagAwIBAgITfwKW7CzhHP5y3OJv9wAEApbsLDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMjI1MDAwWhcNMjUwMTI0MjI1MDAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMdLBpeMT45PrN0PVwT2qCTSx3AfLEvwe5P5doB25hgw3G_LW7hBtO2tLKJzuhM3uxJW8gFuOx1MuVnjrBRL4d98ph5IjRZ4OFOXwSKPpL7V4IUYdhN5VF0QLCF_PC0Q0Ks_YBQrZS0XfQPzwrt3SylvrV_mQ61ZqoLZdN4cU3gNwWYxAyJJ1x0sUGxczNhOE_klwSa8CDqE51O960b9vUxQXNyQ5W7WiNv9zjmFsiNFk-dJ66Rm0Ip7Io6Ff7OXoPSjNoHZmYQbNikuFQWY7Tw8INzs9KRqPTq8u9WjLeJm1t81XrrVulos6wd1dPREDUZ-UO54M5BV3ztdx9ShgfUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBSiiBrqZUTzRyEtvkUcyxy1eSSo9DAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAIJcAqCwQ4xKJpAGA_PQX052uxYLuR_vWJXfYr6OD0DQB_HaQQajLwTsdm5YRsAduP063zHHZTaM1PGSBvU2VPUeg4JcB7u9DTGzCXJXX-B7s0gVBu-LtRKcElnj2yIUaJm591km020QN8oZPjqanSfJu_4wJo3FjgVkqZIZZbfs40OaLRTr5gN1FvFi8nrvRCFs3C4qOksSLM7sRZGE8YJejGsw_DZdTeroabL3FrAMOTVKDlDEW11fJ3mGT4fkrxz-IvPnJJ02dbjUIsB0fporGNuIDWYhMm6XV5LbYoOlLlkLKqppqGysFNj4rQvXypr9KM9XjEBbK1vdB59IRE4\u0026s=PRcnDaPMvMut8XLcMohb4wTtbk51LkN22xaGMt5ac23iTKFmq4D_CXlAlrUawh8VHJoUwd4F4AVIx9oMU7VGRnNdfzBK_1tBcDf5XVFFsAcY3VAUHVQ_9islmw5blQ4l2_oSs9G3uioZ79eH3bdboNfp0oEVketBtLPreRMNGUohw1Ufp8n68Vjwiq7ACRcd3XtfHjGMkcL_mkhXvmo2MQxV9_-4DCq5oziVD-nx7rexT-lqaAt9ZTdHIP1OCOS8MmY7IZ5MuT7i1Y_bVcPCcZAz0izBau0RK2NPLoV4ksfgL9qxvrZvCWTBsWTgyeIX9LgnpxJvWJXydK3Cyx2zrw\u0026h=DL4Xg_3lMO6pjwcvOA9G3MfEQnz8Gk-c5ret50H0GDQ" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "fc8fc7f5-4b3d-4b27-8583-03e80fc4613e" ], + "x-ms-correlation-request-id": [ "fc8fc7f5-4b3d-4b27-8583-03e80fc4613e" ], + "x-ms-routing-request-id": [ "JIOINDIACENTRAL:20240421T142428Z:fc8fc7f5-4b3d-4b27-8583-03e80fc4613e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: F8C001238F5D4DB3A9B8E36C1FB07A02 Ref B: MAA201060516049 Ref C: 2024-03-24T19:41:12Z" ], - "Date": [ "Sun, 24 Mar 2024 19:41:12 GMT" ] + "X-MSEdge-Ref": [ "Ref A: DDCAEFCB29EA4CE589C4C01841A08E1B Ref B: MAA201060513019 Ref C: 2024-04-21T14:24:26Z" ], + "Date": [ "Sun, 21 Apr 2024 14:24:27 GMT" ] }, "ContentHeaders": { "Content-Length": [ "246" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"objectType\":\"OperationJobExtendedInfo\"}", + "Content": "{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "8" ], - "x-ms-client-request-id": [ "316ee68e-bf2a-4272-94f0-27d34b01b8e0" ], + "x-ms-unique-id": [ "50" ], + "x-ms-client-request-id": [ "73899027-82f5-4cbb-bd95-8db62382f4d5" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -316,37 +323,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "6f710c56-29da-427d-b1af-68f8187a3e52" ], - "x-ms-correlation-request-id": [ "6f710c56-29da-427d-b1af-68f8187a3e52" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194118Z:6f710c56-29da-427d-b1af-68f8187a3e52" ], + "x-ms-request-id": [ "2680a0a5-6525-437c-9c86-1561f797b4c5" ], + "x-ms-correlation-request-id": [ "2680a0a5-6525-437c-9c86-1561f797b4c5" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T142434Z:2680a0a5-6525-437c-9c86-1561f797b4c5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 04FAF217CA4F43A391D20E13403783CC Ref B: MAA201060516049 Ref C: 2024-03-24T19:41:17Z" ], - "Date": [ "Sun, 24 Mar 2024 19:41:18 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 62C7A999A9384B979980D7EBC50C5211 Ref B: MAA201060513019 Ref C: 2024-04-21T14:24:33Z" ], + "Date": [ "Sun, 21 Apr 2024 14:24:34 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2179" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"74c0ec37-bf2a-44a1-a849-cb7a816d4e46\",\"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\u00272024-03-24T19%3A40%3A41.2514429Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:40:40.9409192Z\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"name\":\"84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"f60ad5cb-3053-4da3-a885-e4e04cb852d6\",\"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\u00272024-04-21T14%3A23%3A54.9762337Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:23:54.7750289Z\",\"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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"name\":\"fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-01+9": { + "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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "9" ], - "x-ms-client-request-id": [ "4fe430fa-c915-410f-852a-d0ae65abf1f9" ], + "x-ms-unique-id": [ "51" ], + "x-ms-client-request-id": [ "c25e93c5-01bb-4ba5-a900-b689eace4ef7" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -358,37 +366,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "37ea2082-dc57-417c-b095-a22d9bc04242" ], - "x-ms-correlation-request-id": [ "37ea2082-dc57-417c-b095-a22d9bc04242" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194124Z:37ea2082-dc57-417c-b095-a22d9bc04242" ], + "x-ms-request-id": [ "4ab0cc5e-67c8-49f8-a8a9-8c1d4f77f44c" ], + "x-ms-correlation-request-id": [ "4ab0cc5e-67c8-49f8-a8a9-8c1d4f77f44c" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240421T142441Z:4ab0cc5e-67c8-49f8-a8a9-8c1d4f77f44c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 5B6C3790558041F89DA46BC42A252ED2 Ref B: MAA201060516049 Ref C: 2024-03-24T19:41:23Z" ], - "Date": [ "Sun, 24 Mar 2024 19:41:24 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 4A9FCE9A8DBA4C468F89A201074BCFBC Ref B: MAA201060513019 Ref C: 2024-04-21T14:24:39Z" ], + "Date": [ "Sun, 21 Apr 2024 14:24:40 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2179" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"74c0ec37-bf2a-44a1-a849-cb7a816d4e46\",\"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\u00272024-03-24T19%3A40%3A41.2514429Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:40:40.9409192Z\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"name\":\"84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"f60ad5cb-3053-4da3-a885-e4e04cb852d6\",\"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\u00272024-04-21T14%3A23%3A54.9762337Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:23:54.7750289Z\",\"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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"name\":\"fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "10" ], - "x-ms-client-request-id": [ "67d17cf2-4817-40fc-95b8-84865275622c" ], + "x-ms-unique-id": [ "52" ], + "x-ms-client-request-id": [ "d8702659-0764-49e6-acc3-d82993074e13" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -400,37 +409,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "d81c8807-9038-4ccc-b630-75bfaa4a69f1" ], - "x-ms-correlation-request-id": [ "d81c8807-9038-4ccc-b630-75bfaa4a69f1" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194131Z:d81c8807-9038-4ccc-b630-75bfaa4a69f1" ], + "x-ms-request-id": [ "f4f58bfb-e505-4f1a-a84f-c7ad2e173c1c" ], + "x-ms-correlation-request-id": [ "f4f58bfb-e505-4f1a-a84f-c7ad2e173c1c" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T142447Z:f4f58bfb-e505-4f1a-a84f-c7ad2e173c1c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 09F118E01B2C45A99133EC3B7568A4ED Ref B: MAA201060516049 Ref C: 2024-03-24T19:41:30Z" ], - "Date": [ "Sun, 24 Mar 2024 19:41:31 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 88C6C3294A394C5D9DD9202471ECA721 Ref B: MAA201060513019 Ref C: 2024-04-21T14:24:46Z" ], + "Date": [ "Sun, 21 Apr 2024 14:24:47 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2179" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"74c0ec37-bf2a-44a1-a849-cb7a816d4e46\",\"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\u00272024-03-24T19%3A40%3A41.2514429Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:40:40.9409192Z\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"name\":\"84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"f60ad5cb-3053-4da3-a885-e4e04cb852d6\",\"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\u00272024-04-21T14%3A23%3A54.9762337Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:23:54.7750289Z\",\"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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"name\":\"fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "11" ], - "x-ms-client-request-id": [ "b50ee257-7817-4aea-911a-eb26c97c6947" ], + "x-ms-unique-id": [ "53" ], + "x-ms-client-request-id": [ "c08df6f5-e9d7-4ca1-8bd8-34c1ba0fd393" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -442,37 +452,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "51c198c2-1b4b-41d1-bf62-ee57dd1b4061" ], - "x-ms-correlation-request-id": [ "51c198c2-1b4b-41d1-bf62-ee57dd1b4061" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194137Z:51c198c2-1b4b-41d1-bf62-ee57dd1b4061" ], + "x-ms-request-id": [ "1852b7b7-df11-4b7e-bf19-a0b44b83fa6e" ], + "x-ms-correlation-request-id": [ "1852b7b7-df11-4b7e-bf19-a0b44b83fa6e" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240421T142454Z:1852b7b7-df11-4b7e-bf19-a0b44b83fa6e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 7F26621F41754734A947B4E73A69A4F5 Ref B: MAA201060516049 Ref C: 2024-03-24T19:41:36Z" ], - "Date": [ "Sun, 24 Mar 2024 19:41:37 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 91C578F7994546659761AD51A50C056B Ref B: MAA201060513019 Ref C: 2024-04-21T14:24:52Z" ], + "Date": [ "Sun, 21 Apr 2024 14:24:53 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2179" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"74c0ec37-bf2a-44a1-a849-cb7a816d4e46\",\"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\u00272024-03-24T19%3A40%3A41.2514429Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:40:40.9409192Z\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"name\":\"84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"f60ad5cb-3053-4da3-a885-e4e04cb852d6\",\"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\u00272024-04-21T14%3A23%3A54.9762337Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:23:54.7750289Z\",\"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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"name\":\"fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "12" ], - "x-ms-client-request-id": [ "978e8a96-28ad-4057-9ca8-55a52280ed70" ], + "x-ms-unique-id": [ "54" ], + "x-ms-client-request-id": [ "dff5b8e7-2ba0-43dd-8289-5dc960edc235" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -484,79 +495,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "2947c42e-908a-4d3e-ad41-7868275256f1" ], - "x-ms-correlation-request-id": [ "2947c42e-908a-4d3e-ad41-7868275256f1" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194143Z:2947c42e-908a-4d3e-ad41-7868275256f1" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 9D87D5DCEC7D4A3DB271807C2037841E Ref B: MAA201060516049 Ref C: 2024-03-24T19:41:42Z" ], - "Date": [ "Sun, 24 Mar 2024 19:41:43 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "2179" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"activityID\":\"74c0ec37-bf2a-44a1-a849-cb7a816d4e46\",\"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\u00272024-03-24T19%3A40%3A41.2514429Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:40:40.9409192Z\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"name\":\"84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "13" ], - "x-ms-client-request-id": [ "71832589-b9db-4e9b-abed-69517bc23f82" ], - "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], - "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "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-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "09b3b4ec-f4d2-459b-8893-c79a34ea912d" ], - "x-ms-correlation-request-id": [ "09b3b4ec-f4d2-459b-8893-c79a34ea912d" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194149Z:09b3b4ec-f4d2-459b-8893-c79a34ea912d" ], + "x-ms-request-id": [ "c50a1e9f-dc1f-4bd0-9439-c8337918e7b1" ], + "x-ms-correlation-request-id": [ "c50a1e9f-dc1f-4bd0-9439-c8337918e7b1" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240421T142500Z:c50a1e9f-dc1f-4bd0-9439-c8337918e7b1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 4C870FDB162F4F8E8D4C26B362A57CFD Ref B: MAA201060516049 Ref C: 2024-03-24T19:41:48Z" ], - "Date": [ "Sun, 24 Mar 2024 19:41:49 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 57460092BF674F58B17FF44B154ECF31 Ref B: MAA201060513019 Ref C: 2024-04-21T14:24:59Z" ], + "Date": [ "Sun, 21 Apr 2024 14:25:00 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2179" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"74c0ec37-bf2a-44a1-a849-cb7a816d4e46\",\"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\u00272024-03-24T19%3A40%3A41.2514429Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:40:40.9409192Z\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"name\":\"84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"f60ad5cb-3053-4da3-a885-e4e04cb852d6\",\"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\u00272024-04-21T14%3A23%3A54.9762337Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:23:54.7750289Z\",\"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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"name\":\"fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "14" ], - "x-ms-client-request-id": [ "3f80dffa-89da-4bec-b58e-74701643577a" ], + "x-ms-unique-id": [ "55" ], + "x-ms-client-request-id": [ "958c40ce-de1e-44c0-bf09-9581567fee79" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -568,37 +538,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "0e7d6cd2-e724-4064-9ec0-72743db9070c" ], - "x-ms-correlation-request-id": [ "0e7d6cd2-e724-4064-9ec0-72743db9070c" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194156Z:0e7d6cd2-e724-4064-9ec0-72743db9070c" ], + "x-ms-request-id": [ "fa0d8688-73e0-44cc-ba95-45dc07f2ffcf" ], + "x-ms-correlation-request-id": [ "fa0d8688-73e0-44cc-ba95-45dc07f2ffcf" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T142507Z:fa0d8688-73e0-44cc-ba95-45dc07f2ffcf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 93CBE7900D1D497D9E155ACA88635443 Ref B: MAA201060516049 Ref C: 2024-03-24T19:41:54Z" ], - "Date": [ "Sun, 24 Mar 2024 19:41:56 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 10C93B2F32C44C579DDF2EAB29A787CB Ref B: MAA201060513019 Ref C: 2024-04-21T14:25:05Z" ], + "Date": [ "Sun, 21 Apr 2024 14:25:06 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2179" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"74c0ec37-bf2a-44a1-a849-cb7a816d4e46\",\"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\u00272024-03-24T19%3A40%3A41.2514429Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:40:40.9409192Z\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"name\":\"84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"f60ad5cb-3053-4da3-a885-e4e04cb852d6\",\"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\u00272024-04-21T14%3A23%3A54.9762337Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:23:54.7750289Z\",\"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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"name\":\"fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "15" ], - "x-ms-client-request-id": [ "6e688061-cf1b-4ef2-8233-c363d7a24bba" ], + "x-ms-unique-id": [ "56" ], + "x-ms-client-request-id": [ "1807083d-5a80-414a-baf2-55541ede7187" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -610,37 +581,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "909e15ad-f81e-4d22-98fa-d9ab37333744" ], - "x-ms-correlation-request-id": [ "909e15ad-f81e-4d22-98fa-d9ab37333744" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194202Z:909e15ad-f81e-4d22-98fa-d9ab37333744" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], + "x-ms-request-id": [ "68aa400a-8126-4bea-94ad-f1bb59f69455" ], + "x-ms-correlation-request-id": [ "68aa400a-8126-4bea-94ad-f1bb59f69455" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T142513Z:68aa400a-8126-4bea-94ad-f1bb59f69455" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 6B85B18B1613436EB48D0EFF40C20716 Ref B: MAA201060516049 Ref C: 2024-03-24T19:42:01Z" ], - "Date": [ "Sun, 24 Mar 2024 19:42:02 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 7D6EA8E06E2A40C18278E3CC64EAA1A1 Ref B: MAA201060513019 Ref C: 2024-04-21T14:25:12Z" ], + "Date": [ "Sun, 21 Apr 2024 14:25:12 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2179" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"74c0ec37-bf2a-44a1-a849-cb7a816d4e46\",\"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\u00272024-03-24T19%3A40%3A41.2514429Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:40:40.9409192Z\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"name\":\"84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"f60ad5cb-3053-4da3-a885-e4e04cb852d6\",\"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\u00272024-04-21T14%3A23%3A54.9762337Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:23:54.7750289Z\",\"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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"name\":\"fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "16" ], - "x-ms-client-request-id": [ "c8995819-93b3-4e87-8a63-a99961d0ed91" ], + "x-ms-unique-id": [ "57" ], + "x-ms-client-request-id": [ "7713d773-278a-4dbf-b27b-54180df10571" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -652,37 +624,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "9fa201b2-6f3a-4da3-8491-af6946ccda77" ], - "x-ms-correlation-request-id": [ "9fa201b2-6f3a-4da3-8491-af6946ccda77" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194208Z:9fa201b2-6f3a-4da3-8491-af6946ccda77" ], + "x-ms-request-id": [ "ae150c6b-dfe7-4adc-831a-218e9a8c88d1" ], + "x-ms-correlation-request-id": [ "ae150c6b-dfe7-4adc-831a-218e9a8c88d1" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T142519Z:ae150c6b-dfe7-4adc-831a-218e9a8c88d1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 83A3FCDE6FC94E32B60104EDFF33B3AC Ref B: MAA201060516049 Ref C: 2024-03-24T19:42:07Z" ], - "Date": [ "Sun, 24 Mar 2024 19:42:08 GMT" ] + "X-MSEdge-Ref": [ "Ref A: BC6D06E464194AEDAB2EA4FFCB3244A5 Ref B: MAA201060513019 Ref C: 2024-04-21T14:25:18Z" ], + "Date": [ "Sun, 21 Apr 2024 14:25:19 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2179" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"74c0ec37-bf2a-44a1-a849-cb7a816d4e46\",\"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\u00272024-03-24T19%3A40%3A41.2514429Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:40:40.9409192Z\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"name\":\"84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"f60ad5cb-3053-4da3-a885-e4e04cb852d6\",\"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\u00272024-04-21T14%3A23%3A54.9762337Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:23:54.7750289Z\",\"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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"name\":\"fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "17" ], - "x-ms-client-request-id": [ "55d23fcb-eb97-4298-bfff-e82378b6600b" ], + "x-ms-unique-id": [ "58" ], + "x-ms-client-request-id": [ "281eb154-6255-48c6-935f-caf9b4abcb10" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -694,37 +667,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "637bbc73-6ee7-4ad5-b371-c7e1f3540c64" ], - "x-ms-correlation-request-id": [ "637bbc73-6ee7-4ad5-b371-c7e1f3540c64" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194214Z:637bbc73-6ee7-4ad5-b371-c7e1f3540c64" ], + "x-ms-request-id": [ "60fdaa47-109e-45ad-8f0c-995e368411f7" ], + "x-ms-correlation-request-id": [ "60fdaa47-109e-45ad-8f0c-995e368411f7" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240421T142526Z:60fdaa47-109e-45ad-8f0c-995e368411f7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 2DD05F6408424E95A445C19842553D6D Ref B: MAA201060516049 Ref C: 2024-03-24T19:42:13Z" ], - "Date": [ "Sun, 24 Mar 2024 19:42:14 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 02937FD54E2E4EC88016393D8D8E62B0 Ref B: MAA201060513019 Ref C: 2024-04-21T14:25:24Z" ], + "Date": [ "Sun, 21 Apr 2024 14:25:25 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2179" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"74c0ec37-bf2a-44a1-a849-cb7a816d4e46\",\"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\u00272024-03-24T19%3A40%3A41.2514429Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:40:40.9409192Z\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"name\":\"84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"f60ad5cb-3053-4da3-a885-e4e04cb852d6\",\"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\u00272024-04-21T14%3A23%3A54.9762337Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:23:54.7750289Z\",\"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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"name\":\"fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "18" ], - "x-ms-client-request-id": [ "dcf12e8a-3b04-4d88-a7bc-fd895f8539b7" ], + "x-ms-unique-id": [ "59" ], + "x-ms-client-request-id": [ "1105b7ed-8cd1-4927-96fc-3851586ece6e" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -736,37 +710,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "b6fa1ca3-9369-421c-9177-18c32698c338" ], - "x-ms-correlation-request-id": [ "b6fa1ca3-9369-421c-9177-18c32698c338" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194221Z:b6fa1ca3-9369-421c-9177-18c32698c338" ], + "x-ms-request-id": [ "d5bb6815-1970-4c0e-887f-1168bbc66eb2" ], + "x-ms-correlation-request-id": [ "d5bb6815-1970-4c0e-887f-1168bbc66eb2" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T142532Z:d5bb6815-1970-4c0e-887f-1168bbc66eb2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 8BD3E06355C3439D9D546EFFBF87F0D6 Ref B: MAA201060516049 Ref C: 2024-03-24T19:42:19Z" ], - "Date": [ "Sun, 24 Mar 2024 19:42:20 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 80181F3F06A24DA9A93B0E0758C5BFDF Ref B: MAA201060513019 Ref C: 2024-04-21T14:25:31Z" ], + "Date": [ "Sun, 21 Apr 2024 14:25:31 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2179" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"74c0ec37-bf2a-44a1-a849-cb7a816d4e46\",\"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\u00272024-03-24T19%3A40%3A41.2514429Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:40:40.9409192Z\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"name\":\"84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"f60ad5cb-3053-4da3-a885-e4e04cb852d6\",\"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\u00272024-04-21T14%3A23%3A54.9762337Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:23:54.7750289Z\",\"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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"name\":\"fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "19" ], - "x-ms-client-request-id": [ "00847277-ba6a-4e4b-8d9f-51a426c0a5e2" ], + "x-ms-unique-id": [ "60" ], + "x-ms-client-request-id": [ "73f9b8e6-99ea-4b4c-9ea4-f5aa41e56625" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -778,37 +753,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "6cf9f170-c40f-4472-b20e-412e39ea6990" ], - "x-ms-correlation-request-id": [ "6cf9f170-c40f-4472-b20e-412e39ea6990" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194227Z:6cf9f170-c40f-4472-b20e-412e39ea6990" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], + "x-ms-request-id": [ "b84acac4-361a-4c0b-9600-eba304d42d46" ], + "x-ms-correlation-request-id": [ "b84acac4-361a-4c0b-9600-eba304d42d46" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T142538Z:b84acac4-361a-4c0b-9600-eba304d42d46" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 85C88E8393F24903918BD3024FB35465 Ref B: MAA201060516049 Ref C: 2024-03-24T19:42:26Z" ], - "Date": [ "Sun, 24 Mar 2024 19:42:27 GMT" ] + "X-MSEdge-Ref": [ "Ref A: D0AB0EA5665042C58C8AE3CDFCCFF658 Ref B: MAA201060513019 Ref C: 2024-04-21T14:25:37Z" ], + "Date": [ "Sun, 21 Apr 2024 14:25:38 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2179" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"74c0ec37-bf2a-44a1-a849-cb7a816d4e46\",\"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\u00272024-03-24T19%3A40%3A41.2514429Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:40:40.9409192Z\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"name\":\"84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"f60ad5cb-3053-4da3-a885-e4e04cb852d6\",\"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\u00272024-04-21T14%3A23%3A54.9762337Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:23:54.7750289Z\",\"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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"name\":\"fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "20" ], - "x-ms-client-request-id": [ "14495b83-1b37-4001-8571-08c2e565fcea" ], + "x-ms-unique-id": [ "61" ], + "x-ms-client-request-id": [ "82b654d2-df64-4d00-b112-9ee634d0f482" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -820,37 +796,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "aec316a5-85e3-4bd6-902c-0301d22d0268" ], - "x-ms-correlation-request-id": [ "aec316a5-85e3-4bd6-902c-0301d22d0268" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194234Z:aec316a5-85e3-4bd6-902c-0301d22d0268" ], + "x-ms-request-id": [ "a9553a19-c9c8-4d41-ba0e-a9e86bb5bbc4" ], + "x-ms-correlation-request-id": [ "a9553a19-c9c8-4d41-ba0e-a9e86bb5bbc4" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240421T142545Z:a9553a19-c9c8-4d41-ba0e-a9e86bb5bbc4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: B36E9E0D6F304BDEA2F3CEF9E2FFD47A Ref B: MAA201060516049 Ref C: 2024-03-24T19:42:33Z" ], - "Date": [ "Sun, 24 Mar 2024 19:42:34 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 934A88F6BBAA437DB83602AFB069AF3B Ref B: MAA201060513019 Ref C: 2024-04-21T14:25:43Z" ], + "Date": [ "Sun, 21 Apr 2024 14:25:44 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2179" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"74c0ec37-bf2a-44a1-a849-cb7a816d4e46\",\"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\u00272024-03-24T19%3A40%3A41.2514429Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:40:40.9409192Z\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"name\":\"84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"f60ad5cb-3053-4da3-a885-e4e04cb852d6\",\"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\u00272024-04-21T14%3A23%3A54.9762337Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:23:54.7750289Z\",\"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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"name\":\"fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "21" ], - "x-ms-client-request-id": [ "b6403d3c-5ca7-4590-b51d-9c3b3e450d70" ], + "x-ms-unique-id": [ "62" ], + "x-ms-client-request-id": [ "51f26e70-eeff-429b-8301-1002f40b3cb0" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -862,37 +839,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "1ddf77b9-6c3c-426c-a562-cc8b39171db8" ], - "x-ms-correlation-request-id": [ "1ddf77b9-6c3c-426c-a562-cc8b39171db8" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194241Z:1ddf77b9-6c3c-426c-a562-cc8b39171db8" ], + "x-ms-request-id": [ "bf98f4dd-5750-47a7-8cd1-5d320fa779d2" ], + "x-ms-correlation-request-id": [ "bf98f4dd-5750-47a7-8cd1-5d320fa779d2" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T142552Z:bf98f4dd-5750-47a7-8cd1-5d320fa779d2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: F7995BB881264A078590035131064AD4 Ref B: MAA201060516049 Ref C: 2024-03-24T19:42:40Z" ], - "Date": [ "Sun, 24 Mar 2024 19:42:40 GMT" ] + "X-MSEdge-Ref": [ "Ref A: CE27EE8F2F204B4FA4C6E40222804881 Ref B: MAA201060513019 Ref C: 2024-04-21T14:25:50Z" ], + "Date": [ "Sun, 21 Apr 2024 14:25:51 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2179" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"74c0ec37-bf2a-44a1-a849-cb7a816d4e46\",\"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\u00272024-03-24T19%3A40%3A41.2514429Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:40:40.9409192Z\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"name\":\"84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"f60ad5cb-3053-4da3-a885-e4e04cb852d6\",\"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\u00272024-04-21T14%3A23%3A54.9762337Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:23:54.7750289Z\",\"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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"name\":\"fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "22" ], - "x-ms-client-request-id": [ "651e452f-461a-49df-867e-34330e393c36" ], + "x-ms-unique-id": [ "63" ], + "x-ms-client-request-id": [ "83d9fed2-8976-4fce-b69b-ebde4416d864" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -904,37 +882,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "197" ], - "x-ms-request-id": [ "b8d21593-6e65-4390-bab8-028a10feafe3" ], - "x-ms-correlation-request-id": [ "b8d21593-6e65-4390-bab8-028a10feafe3" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194247Z:b8d21593-6e65-4390-bab8-028a10feafe3" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "4989606a-6356-4375-bc83-dd26de3a49f2" ], + "x-ms-correlation-request-id": [ "4989606a-6356-4375-bc83-dd26de3a49f2" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T142558Z:4989606a-6356-4375-bc83-dd26de3a49f2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 50B9097213A44B2A99EAC066DDE31D4C Ref B: MAA201060516049 Ref C: 2024-03-24T19:42:46Z" ], - "Date": [ "Sun, 24 Mar 2024 19:42:46 GMT" ] + "X-MSEdge-Ref": [ "Ref A: A86B6D69A57A4A6EA6EA081A5B3413E5 Ref B: MAA201060513019 Ref C: 2024-04-21T14:25:57Z" ], + "Date": [ "Sun, 21 Apr 2024 14:25:58 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2179" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"74c0ec37-bf2a-44a1-a849-cb7a816d4e46\",\"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\u00272024-03-24T19%3A40%3A41.2514429Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:40:40.9409192Z\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"name\":\"84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"f60ad5cb-3053-4da3-a885-e4e04cb852d6\",\"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\u00272024-04-21T14%3A23%3A54.9762337Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:23:54.7750289Z\",\"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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"name\":\"fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "23" ], - "x-ms-client-request-id": [ "d688b56b-622e-436d-833e-5c2fe699a572" ], + "x-ms-unique-id": [ "64" ], + "x-ms-client-request-id": [ "53b238b0-c57d-4acc-98b7-6597cba58fc0" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -946,37 +925,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "0e03ed91-34aa-4ee5-81d1-d22cc85e9e1e" ], - "x-ms-correlation-request-id": [ "0e03ed91-34aa-4ee5-81d1-d22cc85e9e1e" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194253Z:0e03ed91-34aa-4ee5-81d1-d22cc85e9e1e" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "bcc426da-0fb5-4ed3-a8da-9da84ad08d0b" ], + "x-ms-correlation-request-id": [ "bcc426da-0fb5-4ed3-a8da-9da84ad08d0b" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T142604Z:bcc426da-0fb5-4ed3-a8da-9da84ad08d0b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 448AA11A482942BF9BD9726F220A2B43 Ref B: MAA201060516049 Ref C: 2024-03-24T19:42:52Z" ], - "Date": [ "Sun, 24 Mar 2024 19:42:53 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 43F862300AE242B99BE25E281A4709C1 Ref B: MAA201060513019 Ref C: 2024-04-21T14:26:03Z" ], + "Date": [ "Sun, 21 Apr 2024 14:26:04 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2179" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"74c0ec37-bf2a-44a1-a849-cb7a816d4e46\",\"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\u00272024-03-24T19%3A40%3A41.2514429Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:40:40.9409192Z\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"name\":\"84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"f60ad5cb-3053-4da3-a885-e4e04cb852d6\",\"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\u00272024-04-21T14%3A23%3A54.9762337Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:23:54.7750289Z\",\"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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"name\":\"fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "24" ], - "x-ms-client-request-id": [ "29230a04-95c6-4737-83d2-eb99ff860bc2" ], + "x-ms-unique-id": [ "65" ], + "x-ms-client-request-id": [ "ef77abf0-9ac8-49f1-a0db-3a369783a612" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -988,37 +968,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "c52ba841-d093-45f8-8258-72cdfc8db6ae" ], - "x-ms-correlation-request-id": [ "c52ba841-d093-45f8-8258-72cdfc8db6ae" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194259Z:c52ba841-d093-45f8-8258-72cdfc8db6ae" ], + "x-ms-request-id": [ "62da5449-f3d3-48a7-9282-60170b193d6d" ], + "x-ms-correlation-request-id": [ "62da5449-f3d3-48a7-9282-60170b193d6d" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240421T142611Z:62da5449-f3d3-48a7-9282-60170b193d6d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: AB95FB73B7464EC1887D7E3CA98CB3F8 Ref B: MAA201060516049 Ref C: 2024-03-24T19:42:58Z" ], - "Date": [ "Sun, 24 Mar 2024 19:42:59 GMT" ] + "X-MSEdge-Ref": [ "Ref A: C64034A990E74434B8F131D997E04035 Ref B: MAA201060513019 Ref C: 2024-04-21T14:26:09Z" ], + "Date": [ "Sun, 21 Apr 2024 14:26:10 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2179" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"74c0ec37-bf2a-44a1-a849-cb7a816d4e46\",\"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\u00272024-03-24T19%3A40%3A41.2514429Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:40:40.9409192Z\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"name\":\"84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"f60ad5cb-3053-4da3-a885-e4e04cb852d6\",\"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\u00272024-04-21T14%3A23%3A54.9762337Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:23:54.7750289Z\",\"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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"name\":\"fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "25" ], - "x-ms-client-request-id": [ "565910ee-6cfb-49b9-85f1-71c9449dc047" ], + "x-ms-unique-id": [ "66" ], + "x-ms-client-request-id": [ "fb591460-8677-4c00-b482-b37eab8bbabf" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1030,37 +1011,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "d931bf31-c90b-41fe-bdc2-3c30876fb4fa" ], - "x-ms-correlation-request-id": [ "d931bf31-c90b-41fe-bdc2-3c30876fb4fa" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194305Z:d931bf31-c90b-41fe-bdc2-3c30876fb4fa" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "b0c1bdcf-90a5-497d-915b-839a4b9fc0f5" ], + "x-ms-correlation-request-id": [ "b0c1bdcf-90a5-497d-915b-839a4b9fc0f5" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T142617Z:b0c1bdcf-90a5-497d-915b-839a4b9fc0f5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 6B2E7970965A40EA9A1CD4062658C4EF Ref B: MAA201060516049 Ref C: 2024-03-24T19:43:04Z" ], - "Date": [ "Sun, 24 Mar 2024 19:43:05 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 4CFDBF587F504E1DA63F484975F6698A Ref B: MAA201060513019 Ref C: 2024-04-21T14:26:16Z" ], + "Date": [ "Sun, 21 Apr 2024 14:26:16 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2179" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"74c0ec37-bf2a-44a1-a849-cb7a816d4e46\",\"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\u00272024-03-24T19%3A40%3A41.2514429Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:40:40.9409192Z\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"name\":\"84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"f60ad5cb-3053-4da3-a885-e4e04cb852d6\",\"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\u00272024-04-21T14%3A23%3A54.9762337Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:23:54.7750289Z\",\"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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"name\":\"fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "26" ], - "x-ms-client-request-id": [ "c5742cfc-b48a-46d5-84fe-691f2bfcde2e" ], + "x-ms-unique-id": [ "67" ], + "x-ms-client-request-id": [ "b9473d7f-a5e3-4637-9096-79587ca53e49" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1072,37 +1054,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "4dbb27dd-5371-4dc4-bf31-8be9414d6172" ], - "x-ms-correlation-request-id": [ "4dbb27dd-5371-4dc4-bf31-8be9414d6172" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194312Z:4dbb27dd-5371-4dc4-bf31-8be9414d6172" ], + "x-ms-request-id": [ "91233e74-b10a-4801-8b5b-a78d1e503edc" ], + "x-ms-correlation-request-id": [ "91233e74-b10a-4801-8b5b-a78d1e503edc" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240421T142623Z:91233e74-b10a-4801-8b5b-a78d1e503edc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 473133B38B9B4BB4A3B97B2AEE5B8346 Ref B: MAA201060516049 Ref C: 2024-03-24T19:43:10Z" ], - "Date": [ "Sun, 24 Mar 2024 19:43:11 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 866AB879F32D4CC9A471E3D9DB171D03 Ref B: MAA201060513019 Ref C: 2024-04-21T14:26:22Z" ], + "Date": [ "Sun, 21 Apr 2024 14:26:23 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2179" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"74c0ec37-bf2a-44a1-a849-cb7a816d4e46\",\"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\u00272024-03-24T19%3A40%3A41.2514429Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:40:40.9409192Z\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"name\":\"84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"f60ad5cb-3053-4da3-a885-e4e04cb852d6\",\"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\u00272024-04-21T14%3A23%3A54.9762337Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:23:54.7750289Z\",\"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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"name\":\"fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "27" ], - "x-ms-client-request-id": [ "6fb3adf6-39ac-4900-9f15-cd1c71ac2659" ], + "x-ms-unique-id": [ "68" ], + "x-ms-client-request-id": [ "4b631289-2771-447a-9541-e2baffa67dfc" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1114,37 +1097,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "e986ef28-3b5d-4454-803a-c5e74a85c740" ], - "x-ms-correlation-request-id": [ "e986ef28-3b5d-4454-803a-c5e74a85c740" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194318Z:e986ef28-3b5d-4454-803a-c5e74a85c740" ], + "x-ms-request-id": [ "79729bd6-da42-452e-8dbd-480deec4087c" ], + "x-ms-correlation-request-id": [ "79729bd6-da42-452e-8dbd-480deec4087c" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T142629Z:79729bd6-da42-452e-8dbd-480deec4087c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 64A6C86962C94B9B9484C7A85C0D2DB1 Ref B: MAA201060516049 Ref C: 2024-03-24T19:43:17Z" ], - "Date": [ "Sun, 24 Mar 2024 19:43:17 GMT" ] + "X-MSEdge-Ref": [ "Ref A: BA40C3F2328A421C8F5B0CA8F4F50EFF Ref B: MAA201060513019 Ref C: 2024-04-21T14:26:28Z" ], + "Date": [ "Sun, 21 Apr 2024 14:26:29 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2179" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"74c0ec37-bf2a-44a1-a849-cb7a816d4e46\",\"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\u00272024-03-24T19%3A40%3A41.2514429Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:40:40.9409192Z\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"name\":\"84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"f60ad5cb-3053-4da3-a885-e4e04cb852d6\",\"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\u00272024-04-21T14%3A23%3A54.9762337Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:23:54.7750289Z\",\"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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"name\":\"fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "28" ], - "x-ms-client-request-id": [ "73d29130-9390-4413-9ddf-27d040a34369" ], + "x-ms-unique-id": [ "69" ], + "x-ms-client-request-id": [ "18cc0ed5-87c8-455e-8486-60350e8d8e07" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1156,37 +1140,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "4c002a1d-a964-420d-8a1a-a011ade27bd8" ], - "x-ms-correlation-request-id": [ "4c002a1d-a964-420d-8a1a-a011ade27bd8" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194323Z:4c002a1d-a964-420d-8a1a-a011ade27bd8" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "91d40086-604e-4c4a-b096-cacdf02f59e1" ], + "x-ms-correlation-request-id": [ "91d40086-604e-4c4a-b096-cacdf02f59e1" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T142636Z:91d40086-604e-4c4a-b096-cacdf02f59e1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 3C47E59FB611481EB51CE43E803B3312 Ref B: MAA201060516049 Ref C: 2024-03-24T19:43:23Z" ], - "Date": [ "Sun, 24 Mar 2024 19:43:23 GMT" ] + "X-MSEdge-Ref": [ "Ref A: D7664025B5EE4C809E9FC33935028274 Ref B: MAA201060513019 Ref C: 2024-04-21T14:26:35Z" ], + "Date": [ "Sun, 21 Apr 2024 14:26:36 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2179" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"74c0ec37-bf2a-44a1-a849-cb7a816d4e46\",\"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\u00272024-03-24T19%3A40%3A41.2514429Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:40:40.9409192Z\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"name\":\"84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"f60ad5cb-3053-4da3-a885-e4e04cb852d6\",\"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\u00272024-04-21T14%3A23%3A54.9762337Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:23:54.7750289Z\",\"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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"name\":\"fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "29" ], - "x-ms-client-request-id": [ "557b9d79-2c85-4a19-812d-699455799dce" ], + "x-ms-unique-id": [ "70" ], + "x-ms-client-request-id": [ "da4dc68a-8ae3-4145-8514-37d1413dc1bf" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1198,37 +1183,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "220e9822-5eec-4ee4-b094-e2ded92c43ef" ], - "x-ms-correlation-request-id": [ "220e9822-5eec-4ee4-b094-e2ded92c43ef" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194330Z:220e9822-5eec-4ee4-b094-e2ded92c43ef" ], + "x-ms-request-id": [ "e475809e-4cb8-4a96-9668-f8382d0f4fe9" ], + "x-ms-correlation-request-id": [ "e475809e-4cb8-4a96-9668-f8382d0f4fe9" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T142643Z:e475809e-4cb8-4a96-9668-f8382d0f4fe9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: DFCB24C431724E82B78CE11304601D25 Ref B: MAA201060516049 Ref C: 2024-03-24T19:43:29Z" ], - "Date": [ "Sun, 24 Mar 2024 19:43:29 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 824040D427E44DF896E6B949C39AC5C7 Ref B: MAA201060513019 Ref C: 2024-04-21T14:26:42Z" ], + "Date": [ "Sun, 21 Apr 2024 14:26:42 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2179" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"74c0ec37-bf2a-44a1-a849-cb7a816d4e46\",\"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\u00272024-03-24T19%3A40%3A41.2514429Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:40:40.9409192Z\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"name\":\"84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"f60ad5cb-3053-4da3-a885-e4e04cb852d6\",\"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\u00272024-04-21T14%3A23%3A54.9762337Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:23:54.7750289Z\",\"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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"name\":\"fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "30" ], - "x-ms-client-request-id": [ "43cec063-0fd8-4845-8d8b-9404734e861e" ], + "x-ms-unique-id": [ "71" ], + "x-ms-client-request-id": [ "113c281d-8509-4b86-a3eb-9853a67c4f8a" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1240,37 +1226,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "a5b30373-f503-4a40-a8b0-27e532ee346e" ], - "x-ms-correlation-request-id": [ "a5b30373-f503-4a40-a8b0-27e532ee346e" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194336Z:a5b30373-f503-4a40-a8b0-27e532ee346e" ], + "x-ms-request-id": [ "c76c914a-5d79-4199-91c2-f8674df20a47" ], + "x-ms-correlation-request-id": [ "c76c914a-5d79-4199-91c2-f8674df20a47" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T142650Z:c76c914a-5d79-4199-91c2-f8674df20a47" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: E8FF69ED81F7481EB8761908C4E4AF53 Ref B: MAA201060516049 Ref C: 2024-03-24T19:43:35Z" ], - "Date": [ "Sun, 24 Mar 2024 19:43:35 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 5B59E49461964C2987F223224AD62A00 Ref B: MAA201060513019 Ref C: 2024-04-21T14:26:48Z" ], + "Date": [ "Sun, 21 Apr 2024 14:26:49 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2179" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"74c0ec37-bf2a-44a1-a849-cb7a816d4e46\",\"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\u00272024-03-24T19%3A40%3A41.2514429Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:40:40.9409192Z\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"name\":\"84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"f60ad5cb-3053-4da3-a885-e4e04cb852d6\",\"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\u00272024-04-21T14%3A23%3A54.9762337Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:23:54.7750289Z\",\"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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"name\":\"fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "31" ], - "x-ms-client-request-id": [ "78b84207-23da-43c1-b074-f2cf7eede3e7" ], + "x-ms-unique-id": [ "72" ], + "x-ms-client-request-id": [ "d88c52b1-1215-4b71-bd0f-1030dc38438f" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1282,37 +1269,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "fe363e92-c78c-4627-8e0a-ef4478c18a68" ], - "x-ms-correlation-request-id": [ "fe363e92-c78c-4627-8e0a-ef4478c18a68" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194342Z:fe363e92-c78c-4627-8e0a-ef4478c18a68" ], + "x-ms-request-id": [ "fe2a89d8-afee-4489-9e93-28040f6e0110" ], + "x-ms-correlation-request-id": [ "fe2a89d8-afee-4489-9e93-28040f6e0110" ], + "x-ms-routing-request-id": [ "JIOINDIACENTRAL:20240421T142656Z:fe2a89d8-afee-4489-9e93-28040f6e0110" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: CF37C0DAEBCD47CFBD4A79A5F432794C Ref B: MAA201060516049 Ref C: 2024-03-24T19:43:41Z" ], - "Date": [ "Sun, 24 Mar 2024 19:43:42 GMT" ] + "X-MSEdge-Ref": [ "Ref A: A5629246D15B43E2B5B2FD22161DE570 Ref B: MAA201060513019 Ref C: 2024-04-21T14:26:55Z" ], + "Date": [ "Sun, 21 Apr 2024 14:26:56 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2179" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"74c0ec37-bf2a-44a1-a849-cb7a816d4e46\",\"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\u00272024-03-24T19%3A40%3A41.2514429Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:40:40.9409192Z\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"name\":\"84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"f60ad5cb-3053-4da3-a885-e4e04cb852d6\",\"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\u00272024-04-21T14%3A23%3A54.9762337Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:23:54.7750289Z\",\"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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"name\":\"fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-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/84ffb2a8-c721-48ac-beda-d1daff55c2e5?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/fe1a7dcb-f09d-4074-8edc-3a8254563ea9?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "32" ], - "x-ms-client-request-id": [ "13c13d72-230d-47ca-97b9-ca2bb8de439e" ], + "x-ms-unique-id": [ "73" ], + "x-ms-client-request-id": [ "086860f7-e4f3-4b85-961b-b2ce6073d2ec" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1324,37 +1312,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "9e0db963-d5bc-4205-87b6-d5ac8509732c" ], - "x-ms-correlation-request-id": [ "9e0db963-d5bc-4205-87b6-d5ac8509732c" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194349Z:9e0db963-d5bc-4205-87b6-d5ac8509732c" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], + "x-ms-request-id": [ "f9e38f86-10c1-4e94-a41f-b14cd0f70fa1" ], + "x-ms-correlation-request-id": [ "f9e38f86-10c1-4e94-a41f-b14cd0f70fa1" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T142703Z:f9e38f86-10c1-4e94-a41f-b14cd0f70fa1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 2ACE0C5D967941CC8E3A45C4AF5944A5 Ref B: MAA201060516049 Ref C: 2024-03-24T19:43:47Z" ], - "Date": [ "Sun, 24 Mar 2024 19:43:48 GMT" ] + "X-MSEdge-Ref": [ "Ref A: CC9D3BAF6B7842CE876ED634B77C0CA2 Ref B: MAA201060513019 Ref C: 2024-04-21T14:27:01Z" ], + "Date": [ "Sun, 21 Apr 2024 14:27:02 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2457" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"74c0ec37-bf2a-44a1-a849-cb7a816d4e46\",\"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\u00272024-03-24T19%3A43%3A48.011036Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:40:40.9409192Z\",\"endTime\":\"2024-03-24T19:43:47.7312445Z\",\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"Completed\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT3M6.7903253S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":{\"recoveryPointID\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"0001-01-01T00:00:00Z\"},\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"Completed\",\"taskProgress\":null,\"additionalDetails\":{\"OriginalDatasourceSizeInBytes\":\"68719476736\",\"TaskId\":\"74c0ec37-bf2a-44a1-a849-cb7a816d4e46\",\"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/84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"name\":\"84ffb2a8-c721-48ac-beda-d1daff55c2e5\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"f60ad5cb-3053-4da3-a885-e4e04cb852d6\",\"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\u00272024-04-21T14%3A27%3A02.1598303Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:23:54.7750289Z\",\"endTime\":\"2024-04-21T14:27:01.6700269Z\",\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"Completed\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT3M6.894998S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":{\"recoveryPointID\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"0001-01-01T00:00:00Z\"},\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"Completed\",\"taskProgress\":null,\"additionalDetails\":{\"OriginalDatasourceSizeInBytes\":\"68719476736\",\"TaskId\":\"f60ad5cb-3053-4da3-a885-e4e04cb852d6\",\"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/fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"name\":\"fe1a7dcb-f09d-4074-8edc-3a8254563ea9\",\"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-12-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/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints?api-version=2024-04-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/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints?api-version=2023-12-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=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "33" ], - "x-ms-client-request-id": [ "6e0adf86-2ba5-4504-b4ef-30bf9485fdea" ], + "x-ms-unique-id": [ "74" ], + "x-ms-client-request-id": [ "884fba6b-c54d-47df-a39e-ace522923141" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionRecoveryPoint" ], "FullCommandName": [ "Get-AzDataProtectionRecoveryPoint_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1365,30 +1354,31 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "99" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "1c669f10-1abe-4826-92da-06e9afe51790" ], - "x-ms-correlation-request-id": [ "1c669f10-1abe-4826-92da-06e9afe51790" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194350Z:1c669f10-1abe-4826-92da-06e9afe51790" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "99" ], + "x-ms-request-id": [ "972b4aee-2426-4053-9c36-00b0f9f50550" ], + "x-ms-correlation-request-id": [ "972b4aee-2426-4053-9c36-00b0f9f50550" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T142704Z:972b4aee-2426-4053-9c36-00b0f9f50550" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: EF431549793746269DC59BF14E51052E Ref B: MAA201060516049 Ref C: 2024-03-24T19:43:49Z" ], - "Date": [ "Sun, 24 Mar 2024 19:43:50 GMT" ] + "X-MSEdge-Ref": [ "Ref A: E79A31E522384F488DA83CB01063CEAA Ref B: MAA201060513019 Ref C: 2024-04-21T14:27:03Z" ], + "Date": [ "Sun, 21 Apr 2024 14:27:04 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "52859" ], + "Content-Length": [ "51709" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.8998760Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-24T19:41:35.8785349Z\",\"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/b4a2b4d0f79e4a50b6831dbddf000d45\",\"name\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"94ffab520de6474b8fa0448bb7c2e2ab\",\"recoveryPointTime\":\"2024-03-24T17:02:33.2955273Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"94ffab520de6474b8fa0448bb7c2e2ab\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-24T17:01:23.9256035Z\",\"expiryTime\":\"2024-03-31T17:01:23.9256035Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-31T17:01:23.9256035Z\",\"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/94ffab520de6474b8fa0448bb7c2e2ab\",\"name\":\"94ffab520de6474b8fa0448bb7c2e2ab\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"8b25eb90f9d64498b8599151ff0c4cab\",\"recoveryPointTime\":\"2024-03-24T16:43:54.2950891Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"8b25eb90f9d64498b8599151ff0c4cab\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-24T16:42:44.7877655Z\",\"expiryTime\":\"2024-03-31T16:42:44.7877655Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-31T16:42:44.7877655Z\",\"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/8b25eb90f9d64498b8599151ff0c4cab\",\"name\":\"8b25eb90f9d64498b8599151ff0c4cab\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"e775cf7a6464401795ddbf2cff392c20\",\"recoveryPointTime\":\"2024-03-24T13:05:50.3976674Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"e775cf7a6464401795ddbf2cff392c20\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-24T13:04:39.9689378Z\",\"expiryTime\":\"2024-03-31T13:04:39.9689378Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-31T13:04:39.9689378Z\",\"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/e775cf7a6464401795ddbf2cff392c20\",\"name\":\"e775cf7a6464401795ddbf2cff392c20\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"7cd3546b104e470782a02d9cd620e80f\",\"recoveryPointTime\":\"2024-03-24T13:02:35.4177351Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"7cd3546b104e470782a02d9cd620e80f\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-24T13:01:25.9437273Z\",\"expiryTime\":\"2024-03-31T13:01:25.9437273Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-31T13:01:25.9437273Z\",\"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/7cd3546b104e470782a02d9cd620e80f\",\"name\":\"7cd3546b104e470782a02d9cd620e80f\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"c743bf6852254e65923cf2e3943ffca6\",\"recoveryPointTime\":\"2024-03-24T11:01:10.2110281Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"c743bf6852254e65923cf2e3943ffca6\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-24T11:00:00.4465146Z\",\"expiryTime\":\"2024-03-31T11:00:00.4465146Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-31T11:00:00.4465146Z\",\"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/c743bf6852254e65923cf2e3943ffca6\",\"name\":\"c743bf6852254e65923cf2e3943ffca6\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"10bdb67bb6b04bdab27bee2f0ba11aa8\",\"recoveryPointTime\":\"2024-03-24T09:02:21.4817430Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"10bdb67bb6b04bdab27bee2f0ba11aa8\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-24T09:01:10.3829268Z\",\"expiryTime\":\"2024-03-31T09:01:10.3829268Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-31T09:01:10.3829268Z\",\"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/10bdb67bb6b04bdab27bee2f0ba11aa8\",\"name\":\"10bdb67bb6b04bdab27bee2f0ba11aa8\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"38880ee8effa4f3ba11001ffa1b475a9\",\"recoveryPointTime\":\"2024-03-24T05:02:17.0653991Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"38880ee8effa4f3ba11001ffa1b475a9\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-24T05:01:06.7362184Z\",\"expiryTime\":\"2024-03-31T05:01:06.7362184Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-31T05:01:06.7362184Z\",\"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/38880ee8effa4f3ba11001ffa1b475a9\",\"name\":\"38880ee8effa4f3ba11001ffa1b475a9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"6bf1e8193b5f4430a5779fc5182bfb1b\",\"recoveryPointTime\":\"2024-03-24T01:02:40.4540929Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"6bf1e8193b5f4430a5779fc5182bfb1b\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-24T01:01:30.3353335Z\",\"expiryTime\":\"2024-03-31T01:01:30.3353335Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-31T01:01:30.3353335Z\",\"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/6bf1e8193b5f4430a5779fc5182bfb1b\",\"name\":\"6bf1e8193b5f4430a5779fc5182bfb1b\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"23d75f3b59ba4f779988646367e24a3b\",\"recoveryPointTime\":\"2024-03-23T21:02:15.8684301Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"23d75f3b59ba4f779988646367e24a3b\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-23T21:01:06.1197040Z\",\"expiryTime\":\"2024-03-30T21:01:06.1197040Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-30T21:01:06.1197040Z\",\"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/23d75f3b59ba4f779988646367e24a3b\",\"name\":\"23d75f3b59ba4f779988646367e24a3b\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"aac3e93a56ed4da2ada0ccd717f3ea17\",\"recoveryPointTime\":\"2024-03-23T17:02:25.4214943Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"aac3e93a56ed4da2ada0ccd717f3ea17\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-23T17:01:15.5668264Z\",\"expiryTime\":\"2024-03-30T17:01:15.5668264Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-30T17:01:15.5668264Z\",\"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/aac3e93a56ed4da2ada0ccd717f3ea17\",\"name\":\"aac3e93a56ed4da2ada0ccd717f3ea17\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"9d065de3d9a3435ea80683e13d51871f\",\"recoveryPointTime\":\"2024-03-23T13:02:40.9802519Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"9d065de3d9a3435ea80683e13d51871f\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-23T13:01:31.2792664Z\",\"expiryTime\":\"2024-03-30T13:01:31.2792664Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-30T13:01:31.2792664Z\",\"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/9d065de3d9a3435ea80683e13d51871f\",\"name\":\"9d065de3d9a3435ea80683e13d51871f\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"a284fbec13a5460fbe0ae07adbd516cc\",\"recoveryPointTime\":\"2024-03-23T09:02:38.9976216Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"a284fbec13a5460fbe0ae07adbd516cc\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-23T09:01:28.9152523Z\",\"expiryTime\":\"2024-03-30T09:01:28.9152523Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-30T09:01:28.9152523Z\",\"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/a284fbec13a5460fbe0ae07adbd516cc\",\"name\":\"a284fbec13a5460fbe0ae07adbd516cc\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"6b7fbddee03f4d02a6cceea3e10320b9\",\"recoveryPointTime\":\"2024-03-23T05:02:20.7058427Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"6b7fbddee03f4d02a6cceea3e10320b9\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-23T05:01:10.5979454Z\",\"expiryTime\":\"2024-03-30T05:01:10.5979454Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-30T05:01:10.5979454Z\",\"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/6b7fbddee03f4d02a6cceea3e10320b9\",\"name\":\"6b7fbddee03f4d02a6cceea3e10320b9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"fec8fea2d22d4608be86d471906d9ad7\",\"recoveryPointTime\":\"2024-03-23T01:02:33.0595335Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"fec8fea2d22d4608be86d471906d9ad7\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-23T01:01:23.2438860Z\",\"expiryTime\":\"2024-03-30T01:01:23.2438860Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-30T01:01:23.2438860Z\",\"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/fec8fea2d22d4608be86d471906d9ad7\",\"name\":\"fec8fea2d22d4608be86d471906d9ad7\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"0f52e224011b4349b02758b069b92487\",\"recoveryPointTime\":\"2024-03-22T21:02:38.5384436Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"0f52e224011b4349b02758b069b92487\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-22T21:01:28.4206119Z\",\"expiryTime\":\"2024-03-29T21:01:28.4206119Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-29T21:01:28.4206119Z\",\"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/0f52e224011b4349b02758b069b92487\",\"name\":\"0f52e224011b4349b02758b069b92487\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"f76252a99ffb4476bc878beb9488fd64\",\"recoveryPointTime\":\"2024-03-22T17:02:34.7483324Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"f76252a99ffb4476bc878beb9488fd64\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-22T17:01:24.7735312Z\",\"expiryTime\":\"2024-03-29T17:01:24.7735312Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-29T17:01:24.7735312Z\",\"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/f76252a99ffb4476bc878beb9488fd64\",\"name\":\"f76252a99ffb4476bc878beb9488fd64\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"803a01db80e54b10a7c3e4fa097d40e4\",\"recoveryPointTime\":\"2024-03-22T13:02:12.8799430Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"803a01db80e54b10a7c3e4fa097d40e4\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-22T13:01:02.5696172Z\",\"expiryTime\":\"2024-03-29T13:01:02.5696172Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-29T13:01:02.5696172Z\",\"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/803a01db80e54b10a7c3e4fa097d40e4\",\"name\":\"803a01db80e54b10a7c3e4fa097d40e4\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"88b3244dc4334013a01b55be7bcf4843\",\"recoveryPointTime\":\"2024-03-22T09:02:17.5099451Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"88b3244dc4334013a01b55be7bcf4843\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-22T09:01:07.9367497Z\",\"expiryTime\":\"2024-03-29T09:01:07.9367497Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-29T09:01:07.9367497Z\",\"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/88b3244dc4334013a01b55be7bcf4843\",\"name\":\"88b3244dc4334013a01b55be7bcf4843\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"b77c62069fb34b3d8df66e552eb9d943\",\"recoveryPointTime\":\"2024-03-22T05:02:17.3858581Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"b77c62069fb34b3d8df66e552eb9d943\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-22T05:01:07.4645636Z\",\"expiryTime\":\"2024-03-29T05:01:07.4645636Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-29T05:01:07.4645636Z\",\"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/b77c62069fb34b3d8df66e552eb9d943\",\"name\":\"b77c62069fb34b3d8df66e552eb9d943\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"975d8b609b9b4b5bb157a5b32f3c593f\",\"recoveryPointTime\":\"2024-03-22T01:02:28.0296302Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"975d8b609b9b4b5bb157a5b32f3c593f\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-22T01:01:17.7844867Z\",\"expiryTime\":\"2024-03-29T01:01:17.7844867Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-29T01:01:17.7844867Z\",\"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/975d8b609b9b4b5bb157a5b32f3c593f\",\"name\":\"975d8b609b9b4b5bb157a5b32f3c593f\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"09212a28add845f68bbe965c7d838f18\",\"recoveryPointTime\":\"2024-03-21T21:02:20.6668191Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"09212a28add845f68bbe965c7d838f18\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-21T21:01:10.5767788Z\",\"expiryTime\":\"2024-03-28T21:01:10.5767788Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-28T21:01:10.5767788Z\",\"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/09212a28add845f68bbe965c7d838f18\",\"name\":\"09212a28add845f68bbe965c7d838f18\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"48ad912eb81945fa98d865d5aab59f49\",\"recoveryPointTime\":\"2024-03-21T17:02:38.5813775Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"48ad912eb81945fa98d865d5aab59f49\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-21T17:01:28.5136520Z\",\"expiryTime\":\"2024-03-28T17:01:28.5136520Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-28T17:01:28.5136520Z\",\"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/48ad912eb81945fa98d865d5aab59f49\",\"name\":\"48ad912eb81945fa98d865d5aab59f49\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"921c7be0239e4088849f3d489eb76672\",\"recoveryPointTime\":\"2024-03-21T13:02:32.5300754Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"921c7be0239e4088849f3d489eb76672\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-21T13:01:22.5423147Z\",\"expiryTime\":\"2024-03-28T13:01:22.5423147Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-28T13:01:22.5423147Z\",\"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/921c7be0239e4088849f3d489eb76672\",\"name\":\"921c7be0239e4088849f3d489eb76672\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"4f6b2426523f46afb1fab7b772fe0aa7\",\"recoveryPointTime\":\"2024-03-21T09:02:15.3216116Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"4f6b2426523f46afb1fab7b772fe0aa7\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-21T09:01:05.7619560Z\",\"expiryTime\":\"2024-03-28T09:01:05.7619560Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-28T09:01:05.7619560Z\",\"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/4f6b2426523f46afb1fab7b772fe0aa7\",\"name\":\"4f6b2426523f46afb1fab7b772fe0aa7\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"25fc0c39c5f343138a8f351f984f04f1\",\"recoveryPointTime\":\"2024-03-21T05:02:25.8224447Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"25fc0c39c5f343138a8f351f984f04f1\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-21T05:01:14.2743042Z\",\"expiryTime\":\"2024-03-28T05:01:14.2743042Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-28T05:01:14.2743042Z\",\"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/25fc0c39c5f343138a8f351f984f04f1\",\"name\":\"25fc0c39c5f343138a8f351f984f04f1\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"737ec6692c7b48d5ab92c4aef002b05f\",\"recoveryPointTime\":\"2024-03-21T01:02:13.7379840Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"737ec6692c7b48d5ab92c4aef002b05f\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-21T01:01:04.5821454Z\",\"expiryTime\":\"2024-03-28T01:01:04.5821454Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-28T01:01:04.5821454Z\",\"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/737ec6692c7b48d5ab92c4aef002b05f\",\"name\":\"737ec6692c7b48d5ab92c4aef002b05f\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"39cad3eefa694654bb6ab6b0f3404aa6\",\"recoveryPointTime\":\"2024-03-20T21:02:18.5479180Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"39cad3eefa694654bb6ab6b0f3404aa6\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-20T21:01:09.4205083Z\",\"expiryTime\":\"2024-03-27T21:01:09.4205083Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-27T21:01:09.4205083Z\",\"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/39cad3eefa694654bb6ab6b0f3404aa6\",\"name\":\"39cad3eefa694654bb6ab6b0f3404aa6\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"ff3c996cb29b409b81450650cb337450\",\"recoveryPointTime\":\"2024-03-20T17:02:21.4107837Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"ff3c996cb29b409b81450650cb337450\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-20T17:01:11.4174674Z\",\"expiryTime\":\"2024-03-27T17:01:11.4174674Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-27T17:01:11.4174674Z\",\"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/ff3c996cb29b409b81450650cb337450\",\"name\":\"ff3c996cb29b409b81450650cb337450\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"76691e4cd0a348f0aa546f0b2cedf408\",\"recoveryPointTime\":\"2024-03-20T13:02:22.0719140Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"76691e4cd0a348f0aa546f0b2cedf408\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-20T13:01:11.8558895Z\",\"expiryTime\":\"2024-03-27T13:01:11.8558895Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-27T13:01:11.8558895Z\",\"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/76691e4cd0a348f0aa546f0b2cedf408\",\"name\":\"76691e4cd0a348f0aa546f0b2cedf408\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"f9e69843d2b0488aa8c9a98f07900385\",\"recoveryPointTime\":\"2024-03-20T09:02:17.3126047Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"f9e69843d2b0488aa8c9a98f07900385\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-20T09:01:07.8414123Z\",\"expiryTime\":\"2024-03-27T09:01:07.8414123Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-27T09:01:07.8414123Z\",\"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/f9e69843d2b0488aa8c9a98f07900385\",\"name\":\"f9e69843d2b0488aa8c9a98f07900385\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"60f5cb3e74124e3c9fdf516cdff3f279\",\"recoveryPointTime\":\"2024-03-20T05:02:21.6977589Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"60f5cb3e74124e3c9fdf516cdff3f279\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-20T05:01:11.5007476Z\",\"expiryTime\":\"2024-03-27T05:01:11.5007476Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-27T05:01:11.5007476Z\",\"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/60f5cb3e74124e3c9fdf516cdff3f279\",\"name\":\"60f5cb3e74124e3c9fdf516cdff3f279\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"53fe6104d2494a29baa0ab35dc07a082\",\"recoveryPointTime\":\"2024-03-20T01:02:38.0716226Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"53fe6104d2494a29baa0ab35dc07a082\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-20T01:01:27.9164461Z\",\"expiryTime\":\"2024-03-27T01:01:27.9164461Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-27T01:01:27.9164461Z\",\"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/53fe6104d2494a29baa0ab35dc07a082\",\"name\":\"53fe6104d2494a29baa0ab35dc07a082\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"55eb1798e92a40ef8061fdb27ad1966a\",\"recoveryPointTime\":\"2024-03-19T21:02:20.1626033Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"55eb1798e92a40ef8061fdb27ad1966a\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-19T21:01:10.5980855Z\",\"expiryTime\":\"2024-03-26T21:01:10.5980855Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-26T21:01:10.5980855Z\",\"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/55eb1798e92a40ef8061fdb27ad1966a\",\"name\":\"55eb1798e92a40ef8061fdb27ad1966a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"70d4248f7b99411aa13007a285f6e941\",\"recoveryPointTime\":\"2024-03-19T17:02:42.1637645Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"70d4248f7b99411aa13007a285f6e941\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-19T17:01:32.3471801Z\",\"expiryTime\":\"2024-03-26T17:01:32.3471801Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-26T17:01:32.3471801Z\",\"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/70d4248f7b99411aa13007a285f6e941\",\"name\":\"70d4248f7b99411aa13007a285f6e941\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"0b27497987864ccda7e8e3053141b54e\",\"recoveryPointTime\":\"2024-03-19T13:02:25.6739271Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"0b27497987864ccda7e8e3053141b54e\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-19T13:01:16.0458208Z\",\"expiryTime\":\"2024-03-26T13:01:16.0458208Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-26T13:01:16.0458208Z\",\"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/0b27497987864ccda7e8e3053141b54e\",\"name\":\"0b27497987864ccda7e8e3053141b54e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"965451546bba4a22adc3026ffae81dc2\",\"recoveryPointTime\":\"2024-03-19T09:02:17.3560466Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"965451546bba4a22adc3026ffae81dc2\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-19T09:01:07.3367444Z\",\"expiryTime\":\"2024-03-26T09:01:07.3367444Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-26T09:01:07.3367444Z\",\"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/965451546bba4a22adc3026ffae81dc2\",\"name\":\"965451546bba4a22adc3026ffae81dc2\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"3b9d0bcca16441889ae86be80f229b2a\",\"recoveryPointTime\":\"2024-03-19T05:02:34.7389044Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"3b9d0bcca16441889ae86be80f229b2a\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-19T05:01:25.1695840Z\",\"expiryTime\":\"2024-03-26T05:01:25.1695840Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-26T05:01:25.1695840Z\",\"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/3b9d0bcca16441889ae86be80f229b2a\",\"name\":\"3b9d0bcca16441889ae86be80f229b2a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"2afe4693d10f4d92a94caee62a4458c1\",\"recoveryPointTime\":\"2024-03-19T01:02:11.5773297Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"2afe4693d10f4d92a94caee62a4458c1\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-19T01:01:01.2899906Z\",\"expiryTime\":\"2024-03-26T01:01:01.2899906Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-26T01:01:01.2899906Z\",\"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/2afe4693d10f4d92a94caee62a4458c1\",\"name\":\"2afe4693d10f4d92a94caee62a4458c1\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"86b9d47882434662b04424b24c631a6b\",\"recoveryPointTime\":\"2024-03-18T21:02:34.7011384Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"86b9d47882434662b04424b24c631a6b\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-18T21:01:23.4278491Z\",\"expiryTime\":\"2024-03-25T21:01:23.4278491Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-25T21:01:23.4278491Z\",\"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/86b9d47882434662b04424b24c631a6b\",\"name\":\"86b9d47882434662b04424b24c631a6b\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"1191139dddcd4e159736bf5d502e54c3\",\"recoveryPointTime\":\"2024-03-18T17:02:21.9590775Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"1191139dddcd4e159736bf5d502e54c3\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-18T17:01:12.2070611Z\",\"expiryTime\":\"2024-03-25T17:01:12.2070611Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-25T17:01:12.2070611Z\",\"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/1191139dddcd4e159736bf5d502e54c3\",\"name\":\"1191139dddcd4e159736bf5d502e54c3\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"dbf2208b51d743fa87cb3998bc1d1327\",\"recoveryPointTime\":\"2024-03-18T13:02:21.7234564Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"dbf2208b51d743fa87cb3998bc1d1327\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-18T13:01:09.1151983Z\",\"expiryTime\":\"2024-03-25T13:01:09.1151983Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-25T13:01:09.1151983Z\",\"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/dbf2208b51d743fa87cb3998bc1d1327\",\"name\":\"dbf2208b51d743fa87cb3998bc1d1327\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"3f35238c9cdc45bc9ecc1b050e8c60d2\",\"recoveryPointTime\":\"2024-03-18T09:02:20.2688645Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"3f35238c9cdc45bc9ecc1b050e8c60d2\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-18T09:01:10.7453265Z\",\"expiryTime\":\"2024-03-25T09:01:10.7453265Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-25T09:01:10.7453265Z\",\"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/3f35238c9cdc45bc9ecc1b050e8c60d2\",\"name\":\"3f35238c9cdc45bc9ecc1b050e8c60d2\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"5f49cf21892c4b16828a2074587e262c\",\"recoveryPointTime\":\"2024-03-18T05:02:25.3655245Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"5f49cf21892c4b16828a2074587e262c\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-18T05:01:15.2563209Z\",\"expiryTime\":\"2024-03-25T05:01:15.2563209Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-25T05:01:15.2563209Z\",\"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/5f49cf21892c4b16828a2074587e262c\",\"name\":\"5f49cf21892c4b16828a2074587e262c\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"0327911c74064731a63bc097269a0e3a\",\"recoveryPointTime\":\"2024-03-18T01:02:21.6524196Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"0327911c74064731a63bc097269a0e3a\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-18T01:01:10.7028423Z\",\"expiryTime\":\"2024-03-25T01:01:10.7028423Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-25T01:01:10.7028423Z\",\"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/0327911c74064731a63bc097269a0e3a\",\"name\":\"0327911c74064731a63bc097269a0e3a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"15167fccc62c4c749aafdab3c17eba24\",\"recoveryPointTime\":\"2024-03-17T21:02:39.5924545Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"15167fccc62c4c749aafdab3c17eba24\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-17T21:01:29.8859845Z\",\"expiryTime\":\"2024-03-24T21:01:29.8859845Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-24T21:01:29.8859845Z\",\"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/15167fccc62c4c749aafdab3c17eba24\",\"name\":\"15167fccc62c4c749aafdab3c17eba24\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"}]}", + "Content": "{\"value\":[{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-21T14:25:05.5297876Z\",\"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/9d6eb9590b5c47a29c088ebe213444c6\",\"name\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"f80e5046c0a144b0a49ad96ce0e35dcb\",\"recoveryPointTime\":\"2024-04-21T14:21:07.5493596Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"f80e5046c0a144b0a49ad96ce0e35dcb\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-21T14:19:55.3039238Z\",\"expiryTime\":\"2024-04-28T14:19:55.3039238Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-28T14:19:55.3039238Z\",\"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/f80e5046c0a144b0a49ad96ce0e35dcb\",\"name\":\"f80e5046c0a144b0a49ad96ce0e35dcb\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"1eb4fe1a19d84895997999cc8ec522c6\",\"recoveryPointTime\":\"2024-04-21T13:02:26.7377388Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"1eb4fe1a19d84895997999cc8ec522c6\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-21T13:01:15.3916968Z\",\"expiryTime\":\"2024-04-28T13:01:15.3916968Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-28T13:01:15.3916968Z\",\"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/1eb4fe1a19d84895997999cc8ec522c6\",\"name\":\"1eb4fe1a19d84895997999cc8ec522c6\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"9755bdfbff734453bfd85275c10a0065\",\"recoveryPointTime\":\"2024-04-21T09:02:45.3758483Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"9755bdfbff734453bfd85275c10a0065\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-21T09:01:33.1294429Z\",\"expiryTime\":\"2024-04-28T09:01:33.1294429Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-28T09:01:33.1294429Z\",\"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/9755bdfbff734453bfd85275c10a0065\",\"name\":\"9755bdfbff734453bfd85275c10a0065\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"a047bc1d812247c0ba9ab6503cfa7bca\",\"recoveryPointTime\":\"2024-04-21T05:02:35.9909330Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"a047bc1d812247c0ba9ab6503cfa7bca\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-21T05:01:21.7564013Z\",\"expiryTime\":\"2024-04-28T05:01:21.7564013Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-28T05:01:21.7564013Z\",\"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/a047bc1d812247c0ba9ab6503cfa7bca\",\"name\":\"a047bc1d812247c0ba9ab6503cfa7bca\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"12f802cdb2334a3abed10f04d0fbf586\",\"recoveryPointTime\":\"2024-04-21T01:02:41.4064418Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"12f802cdb2334a3abed10f04d0fbf586\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-21T01:01:27.9796570Z\",\"expiryTime\":\"2024-04-28T01:01:27.9796570Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-28T01:01:27.9796570Z\",\"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/12f802cdb2334a3abed10f04d0fbf586\",\"name\":\"12f802cdb2334a3abed10f04d0fbf586\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"83f7411a9595400b85a416a33a6c4b07\",\"recoveryPointTime\":\"2024-04-20T21:02:37.6731770Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"83f7411a9595400b85a416a33a6c4b07\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-20T21:01:25.4379180Z\",\"expiryTime\":\"2024-04-27T21:01:25.4379180Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-27T21:01:25.4379180Z\",\"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/83f7411a9595400b85a416a33a6c4b07\",\"name\":\"83f7411a9595400b85a416a33a6c4b07\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"31ed73c9f8494de6b1eab557a6a41a39\",\"recoveryPointTime\":\"2024-04-20T17:02:35.1075782Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"31ed73c9f8494de6b1eab557a6a41a39\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-20T17:01:23.1171626Z\",\"expiryTime\":\"2024-04-27T17:01:23.1171626Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-27T17:01:23.1171626Z\",\"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/31ed73c9f8494de6b1eab557a6a41a39\",\"name\":\"31ed73c9f8494de6b1eab557a6a41a39\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"6ecef4361f4545959773509f14a0dfac\",\"recoveryPointTime\":\"2024-04-20T13:02:35.1524130Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"6ecef4361f4545959773509f14a0dfac\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-20T13:01:21.3804489Z\",\"expiryTime\":\"2024-04-27T13:01:21.3804489Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-27T13:01:21.3804489Z\",\"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/6ecef4361f4545959773509f14a0dfac\",\"name\":\"6ecef4361f4545959773509f14a0dfac\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"5d16dfa9cdbf430c9bb78d398696a983\",\"recoveryPointTime\":\"2024-04-20T09:02:39.6536085Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"5d16dfa9cdbf430c9bb78d398696a983\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-20T09:01:26.8320324Z\",\"expiryTime\":\"2024-04-27T09:01:26.8320324Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-27T09:01:26.8320324Z\",\"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/5d16dfa9cdbf430c9bb78d398696a983\",\"name\":\"5d16dfa9cdbf430c9bb78d398696a983\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"25682aa2645b4b269165e0d2f792cf60\",\"recoveryPointTime\":\"2024-04-20T05:02:39.3093908Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"25682aa2645b4b269165e0d2f792cf60\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-20T05:01:25.1074368Z\",\"expiryTime\":\"2024-04-27T05:01:25.1074368Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-27T05:01:25.1074368Z\",\"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/25682aa2645b4b269165e0d2f792cf60\",\"name\":\"25682aa2645b4b269165e0d2f792cf60\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"0f62cb5adbb14fc6be0adee07aedb059\",\"recoveryPointTime\":\"2024-04-20T01:02:39.0706944Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"0f62cb5adbb14fc6be0adee07aedb059\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-20T01:01:26.8436477Z\",\"expiryTime\":\"2024-04-27T01:01:26.8436477Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-27T01:01:26.8436477Z\",\"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/0f62cb5adbb14fc6be0adee07aedb059\",\"name\":\"0f62cb5adbb14fc6be0adee07aedb059\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"eae19c8d81dc4a9d91214acba5225cc8\",\"recoveryPointTime\":\"2024-04-19T21:15:19.3948938Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"eae19c8d81dc4a9d91214acba5225cc8\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-19T21:14:05.4346523Z\",\"expiryTime\":\"2024-04-26T21:14:05.4346523Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-26T21:14:05.4346523Z\",\"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/eae19c8d81dc4a9d91214acba5225cc8\",\"name\":\"eae19c8d81dc4a9d91214acba5225cc8\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"17f1fe574ba843cf8d8d22885f614a03\",\"recoveryPointTime\":\"2024-04-19T17:02:35.8317860Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"17f1fe574ba843cf8d8d22885f614a03\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-19T17:01:23.9286358Z\",\"expiryTime\":\"2024-04-26T17:01:23.9286358Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-26T17:01:23.9286358Z\",\"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/17f1fe574ba843cf8d8d22885f614a03\",\"name\":\"17f1fe574ba843cf8d8d22885f614a03\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"002539668b0b4a3abacae55547d8d8cc\",\"recoveryPointTime\":\"2024-04-19T13:02:37.5837686Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"002539668b0b4a3abacae55547d8d8cc\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-19T13:01:25.5112945Z\",\"expiryTime\":\"2024-04-26T13:01:25.5112945Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-26T13:01:25.5112945Z\",\"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/002539668b0b4a3abacae55547d8d8cc\",\"name\":\"002539668b0b4a3abacae55547d8d8cc\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"b14a785f0bad49a49474dc928c0c72cf\",\"recoveryPointTime\":\"2024-04-19T09:02:37.9230471Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"b14a785f0bad49a49474dc928c0c72cf\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-19T09:01:26.4718651Z\",\"expiryTime\":\"2024-04-26T09:01:26.4718651Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-26T09:01:26.4718651Z\",\"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/b14a785f0bad49a49474dc928c0c72cf\",\"name\":\"b14a785f0bad49a49474dc928c0c72cf\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"41160d7caf8d4215b9a03169738fe85b\",\"recoveryPointTime\":\"2024-04-19T05:02:25.3283808Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"41160d7caf8d4215b9a03169738fe85b\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-19T05:01:13.1497966Z\",\"expiryTime\":\"2024-04-26T05:01:13.1497966Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-26T05:01:13.1497966Z\",\"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/41160d7caf8d4215b9a03169738fe85b\",\"name\":\"41160d7caf8d4215b9a03169738fe85b\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"21f15db6d8e74479a1224ddd4d4a2010\",\"recoveryPointTime\":\"2024-04-19T01:02:31.7201512Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"21f15db6d8e74479a1224ddd4d4a2010\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-19T01:01:20.5078660Z\",\"expiryTime\":\"2024-04-26T01:01:20.5078660Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-26T01:01:20.5078660Z\",\"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/21f15db6d8e74479a1224ddd4d4a2010\",\"name\":\"21f15db6d8e74479a1224ddd4d4a2010\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"13b6255f82334f3d887a750769243d30\",\"recoveryPointTime\":\"2024-04-18T21:02:25.6241770Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"13b6255f82334f3d887a750769243d30\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-18T21:01:14.4854081Z\",\"expiryTime\":\"2024-04-25T21:01:14.4854081Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-25T21:01:14.4854081Z\",\"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/13b6255f82334f3d887a750769243d30\",\"name\":\"13b6255f82334f3d887a750769243d30\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"f0138f13c0bb4cd3b78f12d85d73e1e7\",\"recoveryPointTime\":\"2024-04-18T17:02:28.5274780Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"f0138f13c0bb4cd3b78f12d85d73e1e7\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-18T17:01:16.4633639Z\",\"expiryTime\":\"2024-04-25T17:01:16.4633639Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-25T17:01:16.4633639Z\",\"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/f0138f13c0bb4cd3b78f12d85d73e1e7\",\"name\":\"f0138f13c0bb4cd3b78f12d85d73e1e7\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"c1539cbb4d8348fcbc8c157c7ad9cbaa\",\"recoveryPointTime\":\"2024-04-18T13:02:33.6517767Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"c1539cbb4d8348fcbc8c157c7ad9cbaa\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-18T13:01:21.9784978Z\",\"expiryTime\":\"2024-04-25T13:01:21.9784978Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-25T13:01:21.9784978Z\",\"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/c1539cbb4d8348fcbc8c157c7ad9cbaa\",\"name\":\"c1539cbb4d8348fcbc8c157c7ad9cbaa\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"aaa6943bd76844d685e7bbb13909d2e5\",\"recoveryPointTime\":\"2024-04-18T09:02:24.6396837Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"aaa6943bd76844d685e7bbb13909d2e5\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-18T09:01:11.9721627Z\",\"expiryTime\":\"2024-04-25T09:01:11.9721627Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-25T09:01:11.9721627Z\",\"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/aaa6943bd76844d685e7bbb13909d2e5\",\"name\":\"aaa6943bd76844d685e7bbb13909d2e5\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"c5f163c60dd9451bbf0ff7e7525f68a0\",\"recoveryPointTime\":\"2024-04-18T05:02:39.8497479Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"c5f163c60dd9451bbf0ff7e7525f68a0\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-18T05:01:26.4642773Z\",\"expiryTime\":\"2024-04-25T05:01:26.4642773Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-25T05:01:26.4642773Z\",\"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/c5f163c60dd9451bbf0ff7e7525f68a0\",\"name\":\"c5f163c60dd9451bbf0ff7e7525f68a0\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"585f1f09878d44d5899bf5f411560151\",\"recoveryPointTime\":\"2024-04-18T01:02:24.3985971Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"585f1f09878d44d5899bf5f411560151\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-18T01:01:10.6427153Z\",\"expiryTime\":\"2024-04-25T01:01:10.6427153Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-25T01:01:10.6427153Z\",\"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/585f1f09878d44d5899bf5f411560151\",\"name\":\"585f1f09878d44d5899bf5f411560151\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"130b7ebbaac1451cafeacae20d17144d\",\"recoveryPointTime\":\"2024-04-17T21:02:42.2459656Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"130b7ebbaac1451cafeacae20d17144d\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-17T21:01:30.2562133Z\",\"expiryTime\":\"2024-04-24T21:01:30.2562133Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-24T21:01:30.2562133Z\",\"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/130b7ebbaac1451cafeacae20d17144d\",\"name\":\"130b7ebbaac1451cafeacae20d17144d\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"837e0cd372a1480286a9222eb5759494\",\"recoveryPointTime\":\"2024-04-17T17:02:28.3943795Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"837e0cd372a1480286a9222eb5759494\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-17T17:01:15.2904190Z\",\"expiryTime\":\"2024-04-24T17:01:15.2904190Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-24T17:01:15.2904190Z\",\"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/837e0cd372a1480286a9222eb5759494\",\"name\":\"837e0cd372a1480286a9222eb5759494\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"26928c0e137943b3999c2486bd570534\",\"recoveryPointTime\":\"2024-04-17T13:02:37.2590301Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"26928c0e137943b3999c2486bd570534\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-17T13:01:14.2851557Z\",\"expiryTime\":\"2024-04-24T13:01:14.2851557Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-24T13:01:14.2851557Z\",\"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/26928c0e137943b3999c2486bd570534\",\"name\":\"26928c0e137943b3999c2486bd570534\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"a160abba20914970b86168c11d1f2052\",\"recoveryPointTime\":\"2024-04-17T09:02:17.8980516Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"a160abba20914970b86168c11d1f2052\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-17T09:01:05.7467661Z\",\"expiryTime\":\"2024-04-24T09:01:05.7467661Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-24T09:01:05.7467661Z\",\"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/a160abba20914970b86168c11d1f2052\",\"name\":\"a160abba20914970b86168c11d1f2052\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"b307d53cb6e7413d95f5dc3cb0bb2bad\",\"recoveryPointTime\":\"2024-04-17T05:02:40.2984202Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"b307d53cb6e7413d95f5dc3cb0bb2bad\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-17T05:01:28.7908795Z\",\"expiryTime\":\"2024-04-24T05:01:28.7908795Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-24T05:01:28.7908795Z\",\"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/b307d53cb6e7413d95f5dc3cb0bb2bad\",\"name\":\"b307d53cb6e7413d95f5dc3cb0bb2bad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"7caf471c8c0f48f3b9d9b00965b3c606\",\"recoveryPointTime\":\"2024-04-17T01:02:33.9285649Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"7caf471c8c0f48f3b9d9b00965b3c606\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-17T01:01:21.9730790Z\",\"expiryTime\":\"2024-04-24T01:01:21.9730790Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-24T01:01:21.9730790Z\",\"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/7caf471c8c0f48f3b9d9b00965b3c606\",\"name\":\"7caf471c8c0f48f3b9d9b00965b3c606\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"4541aa0f8e22453d89797ab79515459f\",\"recoveryPointTime\":\"2024-04-16T21:02:44.6892117Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"4541aa0f8e22453d89797ab79515459f\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-16T21:01:32.2542012Z\",\"expiryTime\":\"2024-04-23T21:01:32.2542012Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-23T21:01:32.2542012Z\",\"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/4541aa0f8e22453d89797ab79515459f\",\"name\":\"4541aa0f8e22453d89797ab79515459f\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"17cb1845fc124a8b9cb8514b4d3df96f\",\"recoveryPointTime\":\"2024-04-16T17:02:33.9289412Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"17cb1845fc124a8b9cb8514b4d3df96f\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-16T17:01:20.6061100Z\",\"expiryTime\":\"2024-04-23T17:01:20.6061100Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-23T17:01:20.6061100Z\",\"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/17cb1845fc124a8b9cb8514b4d3df96f\",\"name\":\"17cb1845fc124a8b9cb8514b4d3df96f\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"be3ad936228a428aaca28be8f4a5c5b4\",\"recoveryPointTime\":\"2024-04-16T13:02:41.4582333Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"be3ad936228a428aaca28be8f4a5c5b4\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-16T13:01:28.8259864Z\",\"expiryTime\":\"2024-04-23T13:01:28.8259864Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-23T13:01:28.8259864Z\",\"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/be3ad936228a428aaca28be8f4a5c5b4\",\"name\":\"be3ad936228a428aaca28be8f4a5c5b4\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"d0ba3f71325f48709868556675d22d1b\",\"recoveryPointTime\":\"2024-04-16T11:06:45.9889729Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"d0ba3f71325f48709868556675d22d1b\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-16T11:05:34.3060633Z\",\"expiryTime\":\"2024-04-23T11:05:34.3060633Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-23T11:05:34.3060633Z\",\"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/d0ba3f71325f48709868556675d22d1b\",\"name\":\"d0ba3f71325f48709868556675d22d1b\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"3929a6fb358e4355ba94b50b11780118\",\"recoveryPointTime\":\"2024-04-16T09:02:23.0103966Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"3929a6fb358e4355ba94b50b11780118\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-16T09:01:10.5142660Z\",\"expiryTime\":\"2024-04-23T09:01:10.5142660Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-23T09:01:10.5142660Z\",\"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/3929a6fb358e4355ba94b50b11780118\",\"name\":\"3929a6fb358e4355ba94b50b11780118\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"9f904472888d4de7b8779ddb381d9c3b\",\"recoveryPointTime\":\"2024-04-16T05:02:33.7202615Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"9f904472888d4de7b8779ddb381d9c3b\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-16T05:01:21.7276813Z\",\"expiryTime\":\"2024-04-23T05:01:21.7276813Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-23T05:01:21.7276813Z\",\"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/9f904472888d4de7b8779ddb381d9c3b\",\"name\":\"9f904472888d4de7b8779ddb381d9c3b\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"ba45d59adc7b4e8bbcf7a60cb0cb956b\",\"recoveryPointTime\":\"2024-04-16T01:02:24.1701120Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"ba45d59adc7b4e8bbcf7a60cb0cb956b\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-16T01:01:11.2162048Z\",\"expiryTime\":\"2024-04-23T01:01:11.2162048Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-23T01:01:11.2162048Z\",\"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/ba45d59adc7b4e8bbcf7a60cb0cb956b\",\"name\":\"ba45d59adc7b4e8bbcf7a60cb0cb956b\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"c4310d7b2a624354a58ee948a2042b57\",\"recoveryPointTime\":\"2024-04-15T21:02:32.7135610Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"c4310d7b2a624354a58ee948a2042b57\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-15T21:01:20.6689471Z\",\"expiryTime\":\"2024-04-22T21:01:20.6689471Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-22T21:01:20.6689471Z\",\"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/c4310d7b2a624354a58ee948a2042b57\",\"name\":\"c4310d7b2a624354a58ee948a2042b57\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"d4b91d8774c84abc890395b4f18a265a\",\"recoveryPointTime\":\"2024-04-15T17:02:25.9511699Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"d4b91d8774c84abc890395b4f18a265a\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-15T17:01:11.6568396Z\",\"expiryTime\":\"2024-04-22T17:01:11.6568396Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-22T17:01:11.6568396Z\",\"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/d4b91d8774c84abc890395b4f18a265a\",\"name\":\"d4b91d8774c84abc890395b4f18a265a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"e60d8168597d47dd856c0ff445ed0679\",\"recoveryPointTime\":\"2024-04-15T13:02:15.5538452Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"e60d8168597d47dd856c0ff445ed0679\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-15T13:01:03.8374519Z\",\"expiryTime\":\"2024-04-22T13:01:03.8374519Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-22T13:01:03.8374519Z\",\"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/e60d8168597d47dd856c0ff445ed0679\",\"name\":\"e60d8168597d47dd856c0ff445ed0679\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"1ad8a37666974ab7ae8879eb2191d24c\",\"recoveryPointTime\":\"2024-04-15T09:02:26.2395947Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"1ad8a37666974ab7ae8879eb2191d24c\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-15T09:01:14.5204758Z\",\"expiryTime\":\"2024-04-22T09:01:14.5204758Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-22T09:01:14.5204758Z\",\"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/1ad8a37666974ab7ae8879eb2191d24c\",\"name\":\"1ad8a37666974ab7ae8879eb2191d24c\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"7f62d5060d4f42adbe617fb7eac77930\",\"recoveryPointTime\":\"2024-04-15T05:02:32.7940746Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"7f62d5060d4f42adbe617fb7eac77930\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-15T05:01:20.0822259Z\",\"expiryTime\":\"2024-04-22T05:01:20.0822259Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-22T05:01:20.0822259Z\",\"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/7f62d5060d4f42adbe617fb7eac77930\",\"name\":\"7f62d5060d4f42adbe617fb7eac77930\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"0729a7cfa9e74d6d89d65093073e341f\",\"recoveryPointTime\":\"2024-04-15T01:02:30.9596524Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"0729a7cfa9e74d6d89d65093073e341f\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-15T01:01:18.8603288Z\",\"expiryTime\":\"2024-04-22T01:01:18.8603288Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-22T01:01:18.8603288Z\",\"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/0729a7cfa9e74d6d89d65093073e341f\",\"name\":\"0729a7cfa9e74d6d89d65093073e341f\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"dec20de9a10a4c699cc48d2c03929f19\",\"recoveryPointTime\":\"2024-04-14T21:02:44.1058644Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"dec20de9a10a4c699cc48d2c03929f19\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-14T21:01:31.6653873Z\",\"expiryTime\":\"2024-04-21T21:01:31.6653873Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-21T21:01:31.6653873Z\",\"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/dec20de9a10a4c699cc48d2c03929f19\",\"name\":\"dec20de9a10a4c699cc48d2c03929f19\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"cacbe34657174fdba709a1fecbbd038f\",\"recoveryPointTime\":\"2024-04-14T17:02:28.9272127Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"cacbe34657174fdba709a1fecbbd038f\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-14T17:01:09.9708137Z\",\"expiryTime\":\"2024-04-21T17:01:09.9708137Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-21T17:01:09.9708137Z\",\"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/cacbe34657174fdba709a1fecbbd038f\",\"name\":\"cacbe34657174fdba709a1fecbbd038f\",\"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-12-01+34": { + "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=2024-04-01+33": { "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-12-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-24-03-2024-1-11-11\",\r\n \"resourceLocation\": \"centraluseuap\",\r\n \"resourceName\": \"pstest-restoreddisk-24-03-2024-1-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-24-03-2024-1-11-11\"\r\n }\r\n },\r\n \"sourceDataStoreType\": \"OperationalStore\",\r\n \"recoveryPointId\": \"b4a2b4d0f79e4a50b6831dbddf000d45\"\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=2024-04-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-03-2024-1-11-11\",\r\n \"resourceLocation\": \"centraluseuap\",\r\n \"resourceName\": \"pstest-restoreddisk-25-03-2024-1-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-03-2024-1-11-11\"\r\n }\r\n },\r\n \"sourceDataStoreType\": \"OperationalStore\",\r\n \"recoveryPointId\": \"9d6eb9590b5c47a29c088ebe213444c6\"\r\n}", "isContentBase64": false, "Headers": { }, @@ -1402,18 +1392,19 @@ "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/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzBjMDAxZGVmLWI0NzUtNDFhMS1iZmU3LTkyYzA2ODNhYTA5Yg==?api-version=2023-12-01\u0026t=638469062316565460\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=eoNjRVrakbWCHtmq5mMYjGPx33kUolXOBzC7NM4t-NhijY-S0jNB9hrjRqST3iTx3rqm3YAdlAd2PGGqWtaQutkHo_UzvEVeMuxw7RnCJiVR14Zfk17als64gqiiHTStRMnZdpmDtrC_CmV-rVTH8tDMIKPV3lT0r9M4dL_nJrcnOrD1HbZ3Xv5B8bpfGhupnIQ06VVkTXAEqpI40NxsFQnYS55mlu1IcSlwwYBgjRAVHS7g54StNhAfF1oMPAgkdFOvpN21CMEw8RFtzPdSxlktkMu90GVs_R8oEXq7FTY8yY5KMZaSE-lxExuttJ01GETfy7lAbvXw_W6xa4APOQ\u0026h=YzR7Mtcn7EEHQLfPkjCw91bgCk3cIA1m2yjqir26m0c" ], + "Location": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzU3YjIxNDM0LWI2YjYtNDhjNC05ZTlmLTEzY2MwODI1MGRjMQ==?api-version=2024-04-01\u0026t=638493064262571961\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=VtkpkFuGhOx-Ih7zU47PY-MpZVjGL4JwyosDEzzAEhRtZ1zo9pZay6uIjYYzJmKHVzFdHtUvPhfSK5SSgPgG0zP83zcE1zGmvZCgsV66_aE74_fZQEaOjnqrkiE5KV_WGoLd8jr6LBBJqkedcs9aauioUEOrlIVGW9BKzsrx5eSOQBC_M6h87Nu2DMtAolcrTPQzW_YyPEJULBDYnRLIfppiVZBIUkroYeuQPrQWExfCcQu_KVqpwNGMB6csoX4SkICVXHSaSnpPPTHRvL0igQU3k29boHofT8NaFdUDbIodN6G81F7PJw9W_7anbUDfWY2d9y20hXCgVNWe5jWI0Q\u0026h=CArQ7CFh1VK3fk0ekJlsuFwcxzpItLVIUwyHsPhS8Jw" ], "Retry-After": [ "30" ], "X-Content-Type-Options": [ "nosniff" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzBjMDAxZGVmLWI0NzUtNDFhMS1iZmU3LTkyYzA2ODNhYTA5Yg==?api-version=2023-12-01\u0026t=638469062316565460\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=MkGKBq0s90L9H4yy2fDavdTz1GQwz105zuvxaFh4XLvJRL7apLU_ej4I-f2RenQjuv1M9AScW7PmbArNIJNrQmy2dkVMttx207tsYtZ7sekW9wn3eQBBcj4rbDGqFgf85yUY4jjTQJ-2yRrakjrYCaf8kBR7_mAFtCkMo6BZG0btIgPrfq8AdaJhC75YNAqHY9F2snzYYOm72ewzXnW9D8luWU9ltj_pUoJdvm80Aq-v2sh8MlCxsn2w8Iz-ZgCGoq-J0hdF0fNabQMZIH6hU0rhhLPIFEOqOUiHYV60WtA16cTcO7_mDS9rLEmacm1u0Qh1yD5z3_Gapl3lB2PTtQ\u0026h=nn9S1U1VAYq3bEe6LNi_fBvf24SJQgX2zL3nlS6VrPI" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzU3YjIxNDM0LWI2YjYtNDhjNC05ZTlmLTEzY2MwODI1MGRjMQ==?api-version=2024-04-01\u0026t=638493064262416585\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=vrMvtqfRFDJtc-aGJPI2vkxVb_4sOITG4P5utns3WUKSSBKloV1b49373MlXUWGX-eqQn6q_okakXA8gLawBVb1KuqumFmbTFEIuzdiDXAEQPlVp-k3a4MutnaqdLfFkOsT-MFElfnvTj9s-3V449FK3xCF9HCRGFKNHmvvXoao1x_c8gIoF71uCO35VBVE9sApXTqN2VYYEpR1bAKqV0O8OrUI61anZ3aH_ea26YIJNO7PdbEmFwjOejhWSxZMt9fwWCZgrlcK7CeHxknJ_cO2yk5b4ckM6MBgm1PGXWKJSQCfDf0_m54OSdwQpbletFVjXElJIbp2bcYUMiOKNCA\u0026h=J-GrQqtIDqCEOiEdEwBN3I7sH5B4Dx40QB1RDzeuelo" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-request-id": [ "d3bd4e21-ba44-41eb-ae26-aadde4664ffd" ], - "x-ms-correlation-request-id": [ "d3bd4e21-ba44-41eb-ae26-aadde4664ffd" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194351Z:d3bd4e21-ba44-41eb-ae26-aadde4664ffd" ], + "x-ms-request-id": [ "89ad7fea-8780-4e90-9ef4-4e67ddf24606" ], + "x-ms-correlation-request-id": [ "89ad7fea-8780-4e90-9ef4-4e67ddf24606" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T142706Z:89ad7fea-8780-4e90-9ef4-4e67ddf24606" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: F9E9BA2E399440D89470C339FDCDEE24 Ref B: MAA201060516049 Ref C: 2024-03-24T19:43:51Z" ], - "Date": [ "Sun, 24 Mar 2024 19:43:51 GMT" ] + "X-MSEdge-Ref": [ "Ref A: BD2D88FAD4014C54B67D4055C49AC8ED Ref B: MAA201060513019 Ref C: 2024-04-21T14:27:05Z" ], + "Date": [ "Sun, 21 Apr 2024 14:27:05 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -1423,20 +1414,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/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzBjMDAxZGVmLWI0NzUtNDFhMS1iZmU3LTkyYzA2ODNhYTA5Yg==?api-version=2023-12-01\u0026t=638469062316565460\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=MkGKBq0s90L9H4yy2fDavdTz1GQwz105zuvxaFh4XLvJRL7apLU_ej4I-f2RenQjuv1M9AScW7PmbArNIJNrQmy2dkVMttx207tsYtZ7sekW9wn3eQBBcj4rbDGqFgf85yUY4jjTQJ-2yRrakjrYCaf8kBR7_mAFtCkMo6BZG0btIgPrfq8AdaJhC75YNAqHY9F2snzYYOm72ewzXnW9D8luWU9ltj_pUoJdvm80Aq-v2sh8MlCxsn2w8Iz-ZgCGoq-J0hdF0fNabQMZIH6hU0rhhLPIFEOqOUiHYV60WtA16cTcO7_mDS9rLEmacm1u0Qh1yD5z3_Gapl3lB2PTtQ\u0026h=nn9S1U1VAYq3bEe6LNi_fBvf24SJQgX2zL3nlS6VrPI+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/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzU3YjIxNDM0LWI2YjYtNDhjNC05ZTlmLTEzY2MwODI1MGRjMQ==?api-version=2024-04-01\u0026t=638493064262416585\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=vrMvtqfRFDJtc-aGJPI2vkxVb_4sOITG4P5utns3WUKSSBKloV1b49373MlXUWGX-eqQn6q_okakXA8gLawBVb1KuqumFmbTFEIuzdiDXAEQPlVp-k3a4MutnaqdLfFkOsT-MFElfnvTj9s-3V449FK3xCF9HCRGFKNHmvvXoao1x_c8gIoF71uCO35VBVE9sApXTqN2VYYEpR1bAKqV0O8OrUI61anZ3aH_ea26YIJNO7PdbEmFwjOejhWSxZMt9fwWCZgrlcK7CeHxknJ_cO2yk5b4ckM6MBgm1PGXWKJSQCfDf0_m54OSdwQpbletFVjXElJIbp2bcYUMiOKNCA\u0026h=J-GrQqtIDqCEOiEdEwBN3I7sH5B4Dx40QB1RDzeuelo+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/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzBjMDAxZGVmLWI0NzUtNDFhMS1iZmU3LTkyYzA2ODNhYTA5Yg==?api-version=2023-12-01\u0026t=638469062316565460\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=MkGKBq0s90L9H4yy2fDavdTz1GQwz105zuvxaFh4XLvJRL7apLU_ej4I-f2RenQjuv1M9AScW7PmbArNIJNrQmy2dkVMttx207tsYtZ7sekW9wn3eQBBcj4rbDGqFgf85yUY4jjTQJ-2yRrakjrYCaf8kBR7_mAFtCkMo6BZG0btIgPrfq8AdaJhC75YNAqHY9F2snzYYOm72ewzXnW9D8luWU9ltj_pUoJdvm80Aq-v2sh8MlCxsn2w8Iz-ZgCGoq-J0hdF0fNabQMZIH6hU0rhhLPIFEOqOUiHYV60WtA16cTcO7_mDS9rLEmacm1u0Qh1yD5z3_Gapl3lB2PTtQ\u0026h=nn9S1U1VAYq3bEe6LNi_fBvf24SJQgX2zL3nlS6VrPI", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzU3YjIxNDM0LWI2YjYtNDhjNC05ZTlmLTEzY2MwODI1MGRjMQ==?api-version=2024-04-01\u0026t=638493064262416585\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=vrMvtqfRFDJtc-aGJPI2vkxVb_4sOITG4P5utns3WUKSSBKloV1b49373MlXUWGX-eqQn6q_okakXA8gLawBVb1KuqumFmbTFEIuzdiDXAEQPlVp-k3a4MutnaqdLfFkOsT-MFElfnvTj9s-3V449FK3xCF9HCRGFKNHmvvXoao1x_c8gIoF71uCO35VBVE9sApXTqN2VYYEpR1bAKqV0O8OrUI61anZ3aH_ea26YIJNO7PdbEmFwjOejhWSxZMt9fwWCZgrlcK7CeHxknJ_cO2yk5b4ckM6MBgm1PGXWKJSQCfDf0_m54OSdwQpbletFVjXElJIbp2bcYUMiOKNCA\u0026h=J-GrQqtIDqCEOiEdEwBN3I7sH5B4Dx40QB1RDzeuelo", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "35" ], - "x-ms-client-request-id": [ "b2869ff1-f80b-46d2-abd1-5f43f1259ed5" ], + "x-ms-unique-id": [ "76" ], + "x-ms-client-request-id": [ "5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5" ], "CommandName": [ "Az.DataProtection.Internal\\Start-AzDataProtectionBackupInstanceRestore" ], "FullCommandName": [ "Start-AzDataProtectionBackupInstanceRestore_Trigger" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -1446,39 +1437,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "0b031ba5-15d3-40c9-a639-59d6c4e44a24" ], - "x-ms-correlation-request-id": [ "0b031ba5-15d3-40c9-a639-59d6c4e44a24" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194422Z:0b031ba5-15d3-40c9-a639-59d6c4e44a24" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], + "x-ms-request-id": [ "a6301922-1083-4a15-9e5f-387934eab26d" ], + "x-ms-correlation-request-id": [ "a6301922-1083-4a15-9e5f-387934eab26d" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240421T142737Z:a6301922-1083-4a15-9e5f-387934eab26d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 4CA1CBBCCC0E495888B04585941179B2 Ref B: MAA201060516049 Ref C: 2024-03-24T19:44:21Z" ], - "Date": [ "Sun, 24 Mar 2024 19:44:22 GMT" ] + "X-MSEdge-Ref": [ "Ref A: F2637199217E4F6EA158BD2C1E8F9CCD Ref B: MAA201060513019 Ref C: 2024-04-21T14:27:36Z" ], + "Date": [ "Sun, 21 Apr 2024 14:27:36 GMT" ] }, "ContentHeaders": { "Content-Length": [ "739" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzBjMDAxZGVmLWI0NzUtNDFhMS1iZmU3LTkyYzA2ODNhYTA5Yg==\",\"name\":\"ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzBjMDAxZGVmLWI0NzUtNDFhMS1iZmU3LTkyYzA2ODNhYTA5Yg==\",\"status\":\"Succeeded\",\"startTime\":\"2024-03-24T19:43:51.4952905Z\",\"endTime\":\"2024-03-24T19:43:52Z\",\"properties\":{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"objectType\":\"OperationJobExtendedInfo\"}}", + "Content": "{\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzU3YjIxNDM0LWI2YjYtNDhjNC05ZTlmLTEzY2MwODI1MGRjMQ==\",\"name\":\"ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzU3YjIxNDM0LWI2YjYtNDhjNC05ZTlmLTEzY2MwODI1MGRjMQ==\",\"status\":\"Succeeded\",\"startTime\":\"2024-04-21T14:27:06.0632543Z\",\"endTime\":\"2024-04-21T14:27:07Z\",\"properties\":{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"objectType\":\"OperationJobExtendedInfo\"}}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzBjMDAxZGVmLWI0NzUtNDFhMS1iZmU3LTkyYzA2ODNhYTA5Yg==?api-version=2023-12-01\u0026t=638469062316565460\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=eoNjRVrakbWCHtmq5mMYjGPx33kUolXOBzC7NM4t-NhijY-S0jNB9hrjRqST3iTx3rqm3YAdlAd2PGGqWtaQutkHo_UzvEVeMuxw7RnCJiVR14Zfk17als64gqiiHTStRMnZdpmDtrC_CmV-rVTH8tDMIKPV3lT0r9M4dL_nJrcnOrD1HbZ3Xv5B8bpfGhupnIQ06VVkTXAEqpI40NxsFQnYS55mlu1IcSlwwYBgjRAVHS7g54StNhAfF1oMPAgkdFOvpN21CMEw8RFtzPdSxlktkMu90GVs_R8oEXq7FTY8yY5KMZaSE-lxExuttJ01GETfy7lAbvXw_W6xa4APOQ\u0026h=YzR7Mtcn7EEHQLfPkjCw91bgCk3cIA1m2yjqir26m0c+36": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzU3YjIxNDM0LWI2YjYtNDhjNC05ZTlmLTEzY2MwODI1MGRjMQ==?api-version=2024-04-01\u0026t=638493064262571961\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=VtkpkFuGhOx-Ih7zU47PY-MpZVjGL4JwyosDEzzAEhRtZ1zo9pZay6uIjYYzJmKHVzFdHtUvPhfSK5SSgPgG0zP83zcE1zGmvZCgsV66_aE74_fZQEaOjnqrkiE5KV_WGoLd8jr6LBBJqkedcs9aauioUEOrlIVGW9BKzsrx5eSOQBC_M6h87Nu2DMtAolcrTPQzW_YyPEJULBDYnRLIfppiVZBIUkroYeuQPrQWExfCcQu_KVqpwNGMB6csoX4SkICVXHSaSnpPPTHRvL0igQU3k29boHofT8NaFdUDbIodN6G81F7PJw9W_7anbUDfWY2d9y20hXCgVNWe5jWI0Q\u0026h=CArQ7CFh1VK3fk0ekJlsuFwcxzpItLVIUwyHsPhS8Jw+35": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzBjMDAxZGVmLWI0NzUtNDFhMS1iZmU3LTkyYzA2ODNhYTA5Yg==?api-version=2023-12-01\u0026t=638469062316565460\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=eoNjRVrakbWCHtmq5mMYjGPx33kUolXOBzC7NM4t-NhijY-S0jNB9hrjRqST3iTx3rqm3YAdlAd2PGGqWtaQutkHo_UzvEVeMuxw7RnCJiVR14Zfk17als64gqiiHTStRMnZdpmDtrC_CmV-rVTH8tDMIKPV3lT0r9M4dL_nJrcnOrD1HbZ3Xv5B8bpfGhupnIQ06VVkTXAEqpI40NxsFQnYS55mlu1IcSlwwYBgjRAVHS7g54StNhAfF1oMPAgkdFOvpN21CMEw8RFtzPdSxlktkMu90GVs_R8oEXq7FTY8yY5KMZaSE-lxExuttJ01GETfy7lAbvXw_W6xa4APOQ\u0026h=YzR7Mtcn7EEHQLfPkjCw91bgCk3cIA1m2yjqir26m0c", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzU3YjIxNDM0LWI2YjYtNDhjNC05ZTlmLTEzY2MwODI1MGRjMQ==?api-version=2024-04-01\u0026t=638493064262571961\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=VtkpkFuGhOx-Ih7zU47PY-MpZVjGL4JwyosDEzzAEhRtZ1zo9pZay6uIjYYzJmKHVzFdHtUvPhfSK5SSgPgG0zP83zcE1zGmvZCgsV66_aE74_fZQEaOjnqrkiE5KV_WGoLd8jr6LBBJqkedcs9aauioUEOrlIVGW9BKzsrx5eSOQBC_M6h87Nu2DMtAolcrTPQzW_YyPEJULBDYnRLIfppiVZBIUkroYeuQPrQWExfCcQu_KVqpwNGMB6csoX4SkICVXHSaSnpPPTHRvL0igQU3k29boHofT8NaFdUDbIodN6G81F7PJw9W_7anbUDfWY2d9y20hXCgVNWe5jWI0Q\u0026h=CArQ7CFh1VK3fk0ekJlsuFwcxzpItLVIUwyHsPhS8Jw", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "36" ], - "x-ms-client-request-id": [ "b2869ff1-f80b-46d2-abd1-5f43f1259ed5" ], + "x-ms-unique-id": [ "77" ], + "x-ms-client-request-id": [ "5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5" ], "CommandName": [ "Az.DataProtection.Internal\\Start-AzDataProtectionBackupInstanceRestore" ], "FullCommandName": [ "Start-AzDataProtectionBackupInstanceRestore_Trigger" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -1489,39 +1481,40 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Retry-After": [ "30" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzBjMDAxZGVmLWI0NzUtNDFhMS1iZmU3LTkyYzA2ODNhYTA5Yg==?api-version=2023-12-01\u0026t=638469062638280760\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=vlBGiMtmDqKBIV2nVVaba9X66RaC5zNwvmS0FOp3mGQNfA7Ww-THzqReP6tlRWvG0hpNxBAtVn4brlbrMbx7IoeipL_JEBQsl-ultkH1NgVbK8r4sDnVyVOQnJ4HlHw7MPo4z4hGCxZmqmD6DhIvHwnvaxC045b3v0iN81zks6BhKVDNtfu6wcu7hfQQWBBcYv2CLhIfCNjcS4N1po5YDqaHx1wciurWuS2SypEzI8p1uA27hbhWZcF8rMQg_3BDtkOfYgnhmaxfrt26-36oWrafXZQkqnDmjoShPoDZY2Hto1GDOzzoZ4Y2hOh_JyGbCS5ETDu9vAcDyequIiOPqg\u0026h=_6YZBmyjRiNbz0tcKuNYMF41JR8I2NZQ9Yv69_B3pIU" ], - "x-ms-request-id": [ "97a1f592-4086-4508-8369-4ead33c01eae" ], - "x-ms-correlation-request-id": [ "97a1f592-4086-4508-8369-4ead33c01eae" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194423Z:97a1f592-4086-4508-8369-4ead33c01eae" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzU3YjIxNDM0LWI2YjYtNDhjNC05ZTlmLTEzY2MwODI1MGRjMQ==?api-version=2024-04-01\u0026t=638493064586916044\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=xJ2WlA4r8z36zHnIAHrd89wRmDFemIckuUgK9_vi9dO6_XbVQCpo3iHMC55-SheqXyeCIi2Ro5wkbXFYlMmkG4jkqM-IBmXBaArPXb2try7_vIhWrn_7MP7LLAVFYJ3C2jeRCzcI7GvApJBtzdpfkP8xrH1-UPlaapdECJv57lwbRTDaJQN-J-kY43E3T4UilfVM7In7wPOe0hYwS-neuYGTfMOoGhWCqlCw-ZIhmcmlguJaEJpyXt7peIDuuB1yY9hdGda5W606AzOGfQuwoef5vHkaUZ1wXKszFciIifmzZMoKmIzo_fDE_Sx63GJd7m_gBS9aywCoHx_zCnjTXQ\u0026h=rezCEQzwEJJWM3m4OFVjkLT_pHMd0KMrL0MisJv3I-8" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "fbd290e9-d642-47ab-a363-8b0bc85d9286" ], + "x-ms-correlation-request-id": [ "fbd290e9-d642-47ab-a363-8b0bc85d9286" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T142738Z:fbd290e9-d642-47ab-a363-8b0bc85d9286" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 4667992E2C16409191F1535A5545D4FF Ref B: MAA201060516049 Ref C: 2024-03-24T19:44:23Z" ], - "Date": [ "Sun, 24 Mar 2024 19:44:23 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 673E67AFE1454E44B6FC76EA380465E0 Ref B: MAA201060513019 Ref C: 2024-04-21T14:27:37Z" ], + "Date": [ "Sun, 21 Apr 2024 14:27:37 GMT" ] }, "ContentHeaders": { "Content-Length": [ "246" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"objectType\":\"OperationJobExtendedInfo\"}", + "Content": "{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01+37": { + "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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01+36": { "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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "37" ], - "x-ms-client-request-id": [ "d7da94d5-f3b4-4baa-a2d6-d8aefb417eec" ], + "x-ms-unique-id": [ "78" ], + "x-ms-client-request-id": [ "8d0417ad-d0b2-4b3e-acbf-f519ee9f75a6" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1533,37 +1526,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "db6c8bad-0ad7-4cfb-b0c7-ffdfcb11d713" ], - "x-ms-correlation-request-id": [ "db6c8bad-0ad7-4cfb-b0c7-ffdfcb11d713" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194430Z:db6c8bad-0ad7-4cfb-b0c7-ffdfcb11d713" ], + "x-ms-request-id": [ "8c44d18e-ef22-4964-b3e5-34ab0dc5fed8" ], + "x-ms-correlation-request-id": [ "8c44d18e-ef22-4964-b3e5-34ab0dc5fed8" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T142745Z:8c44d18e-ef22-4964-b3e5-34ab0dc5fed8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 7C308EF5FB2D4308B8D12E1199DE72FB Ref B: MAA201060516049 Ref C: 2024-03-24T19:44:28Z" ], - "Date": [ "Sun, 24 Mar 2024 19:44:29 GMT" ] + "X-MSEdge-Ref": [ "Ref A: D9E453F37A4C4C0F8FA12C12BA0C7A64 Ref B: MAA201060513019 Ref C: 2024-04-21T14:27:43Z" ], + "Date": [ "Sun, 21 Apr 2024 14:27:44 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2423" ], + "Content-Length": [ "2426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A27%3A06.5256472Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"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\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01+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/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01+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/backupJobs/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "38" ], - "x-ms-client-request-id": [ "d814de38-b4c7-4bbd-ac83-a2700a835047" ], + "x-ms-unique-id": [ "79" ], + "x-ms-client-request-id": [ "53a8d76c-c4c4-4585-a0a8-b8a0de6f4947" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1575,37 +1569,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "197" ], - "x-ms-request-id": [ "dd647797-87a6-41fe-b490-21eb1dc67bb4" ], - "x-ms-correlation-request-id": [ "dd647797-87a6-41fe-b490-21eb1dc67bb4" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194436Z:dd647797-87a6-41fe-b490-21eb1dc67bb4" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "08e6b459-9f1d-4c72-9fc6-74a0bfadafc2" ], + "x-ms-correlation-request-id": [ "08e6b459-9f1d-4c72-9fc6-74a0bfadafc2" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T142752Z:08e6b459-9f1d-4c72-9fc6-74a0bfadafc2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: A3CA50F001444837B3B5FEE0DEA752C0 Ref B: MAA201060516049 Ref C: 2024-03-24T19:44:35Z" ], - "Date": [ "Sun, 24 Mar 2024 19:44:35 GMT" ] + "X-MSEdge-Ref": [ "Ref A: C7F4FDFB77CC4342BB98ADF3C0577462 Ref B: MAA201060513019 Ref C: 2024-04-21T14:27:50Z" ], + "Date": [ "Sun, 21 Apr 2024 14:27:51 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2423" ], + "Content-Length": [ "2426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A27%3A06.5256472Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"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\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01+39": { + "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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01+38": { "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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "39" ], - "x-ms-client-request-id": [ "6416f47e-cce1-4c5c-903f-6e0a1ba7bfef" ], + "x-ms-unique-id": [ "80" ], + "x-ms-client-request-id": [ "5223283e-1b5c-470e-b67d-9ff2bd40ec60" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1617,37 +1612,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "2abd30cc-32ef-43ae-850d-8f03ed6ee1af" ], - "x-ms-correlation-request-id": [ "2abd30cc-32ef-43ae-850d-8f03ed6ee1af" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194442Z:2abd30cc-32ef-43ae-850d-8f03ed6ee1af" ], + "x-ms-request-id": [ "c9777d17-9343-4110-a1f9-1ba0d93bd5d0" ], + "x-ms-correlation-request-id": [ "c9777d17-9343-4110-a1f9-1ba0d93bd5d0" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T142758Z:c9777d17-9343-4110-a1f9-1ba0d93bd5d0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 4A31C1BF9B004635830110B443915D2F Ref B: MAA201060516049 Ref C: 2024-03-24T19:44:41Z" ], - "Date": [ "Sun, 24 Mar 2024 19:44:41 GMT" ] + "X-MSEdge-Ref": [ "Ref A: A3F22C7DE7264B6796E53B94C51D2D62 Ref B: MAA201060513019 Ref C: 2024-04-21T14:27:57Z" ], + "Date": [ "Sun, 21 Apr 2024 14:27:57 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2423" ], + "Content-Length": [ "2426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A27%3A06.5256472Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"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\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "40" ], - "x-ms-client-request-id": [ "ad6f858c-7edf-4acb-ba27-73b4c6d001a0" ], + "x-ms-unique-id": [ "81" ], + "x-ms-client-request-id": [ "0f058a3a-463d-4c9d-bf88-7a933927eaf5" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1659,37 +1655,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "c35081fd-fbaf-4e3e-98a7-147574a735f7" ], - "x-ms-correlation-request-id": [ "c35081fd-fbaf-4e3e-98a7-147574a735f7" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194448Z:c35081fd-fbaf-4e3e-98a7-147574a735f7" ], + "x-ms-request-id": [ "52a2fad4-4c74-4496-9b46-1e7f96391069" ], + "x-ms-correlation-request-id": [ "52a2fad4-4c74-4496-9b46-1e7f96391069" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T142804Z:52a2fad4-4c74-4496-9b46-1e7f96391069" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 4D619DCDF48943F3AB28508EBB288352 Ref B: MAA201060516049 Ref C: 2024-03-24T19:44:47Z" ], - "Date": [ "Sun, 24 Mar 2024 19:44:47 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 6F934FBD704D426483A3F108ADC80E3E Ref B: MAA201060513019 Ref C: 2024-04-21T14:28:03Z" ], + "Date": [ "Sun, 21 Apr 2024 14:28:03 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2423" ], + "Content-Length": [ "2426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A27%3A06.5256472Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"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\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "41" ], - "x-ms-client-request-id": [ "df60ed99-2e55-4639-a0bf-cb390f1a6d51" ], + "x-ms-unique-id": [ "82" ], + "x-ms-client-request-id": [ "120d9b48-5253-4478-9dbe-2987de2de0a9" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1701,37 +1698,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "85339934-699d-42aa-af1a-2a143b58ec2b" ], - "x-ms-correlation-request-id": [ "85339934-699d-42aa-af1a-2a143b58ec2b" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194454Z:85339934-699d-42aa-af1a-2a143b58ec2b" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], + "x-ms-request-id": [ "ad836b29-49c9-4384-8bd2-e36f4ce34c78" ], + "x-ms-correlation-request-id": [ "ad836b29-49c9-4384-8bd2-e36f4ce34c78" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T142811Z:ad836b29-49c9-4384-8bd2-e36f4ce34c78" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 55772E19045746998367CE60E0129A13 Ref B: MAA201060516049 Ref C: 2024-03-24T19:44:53Z" ], - "Date": [ "Sun, 24 Mar 2024 19:44:54 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 8A1F2023ABBC42F2A465980E6C3769CA Ref B: MAA201060513019 Ref C: 2024-04-21T14:28:09Z" ], + "Date": [ "Sun, 21 Apr 2024 14:28:10 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2423" ], + "Content-Length": [ "2426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A27%3A06.5256472Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"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\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "42" ], - "x-ms-client-request-id": [ "562b315c-dbf4-4f88-ac42-771f6bc37283" ], + "x-ms-unique-id": [ "83" ], + "x-ms-client-request-id": [ "668799f9-29d0-421f-8a0f-e62a57f95bc6" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1743,37 +1741,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "5700bbc7-7f4f-470a-ad6b-44f3b6542f63" ], - "x-ms-correlation-request-id": [ "5700bbc7-7f4f-470a-ad6b-44f3b6542f63" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194501Z:5700bbc7-7f4f-470a-ad6b-44f3b6542f63" ], + "x-ms-request-id": [ "f9d7317e-7e2e-4f1e-a89e-49120becce52" ], + "x-ms-correlation-request-id": [ "f9d7317e-7e2e-4f1e-a89e-49120becce52" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T142818Z:f9d7317e-7e2e-4f1e-a89e-49120becce52" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 6C99BC1E793E453FBF345FA65435FDB1 Ref B: MAA201060516049 Ref C: 2024-03-24T19:45:00Z" ], - "Date": [ "Sun, 24 Mar 2024 19:45:01 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 23BAC3A93AEB4841A6E1F2CEF7374E9F Ref B: MAA201060513019 Ref C: 2024-04-21T14:28:16Z" ], + "Date": [ "Sun, 21 Apr 2024 14:28:17 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2423" ], + "Content-Length": [ "2426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A27%3A06.5256472Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"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\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "43" ], - "x-ms-client-request-id": [ "72dac162-7968-4451-8ba0-fde446c1840b" ], + "x-ms-unique-id": [ "84" ], + "x-ms-client-request-id": [ "a7d3d88c-22b2-4d46-ba56-3698de332013" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1785,37 +1784,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "8218d74e-c178-4a81-8236-82d53672cde4" ], - "x-ms-correlation-request-id": [ "8218d74e-c178-4a81-8236-82d53672cde4" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194508Z:8218d74e-c178-4a81-8236-82d53672cde4" ], + "x-ms-request-id": [ "9bc2e323-3cb2-45a4-b1b0-d02f83d620e0" ], + "x-ms-correlation-request-id": [ "9bc2e323-3cb2-45a4-b1b0-d02f83d620e0" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T142824Z:9bc2e323-3cb2-45a4-b1b0-d02f83d620e0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: ABDAA12B5056428EAB1B1A83FE78281F Ref B: MAA201060516049 Ref C: 2024-03-24T19:45:07Z" ], - "Date": [ "Sun, 24 Mar 2024 19:45:08 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 5AA4428DBE694FCC9C187628392DC9B1 Ref B: MAA201060513019 Ref C: 2024-04-21T14:28:23Z" ], + "Date": [ "Sun, 21 Apr 2024 14:28:23 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2423" ], + "Content-Length": [ "2426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A27%3A06.5256472Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"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\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "44" ], - "x-ms-client-request-id": [ "352beae5-87e9-4239-a640-5e92826edfce" ], + "x-ms-unique-id": [ "85" ], + "x-ms-client-request-id": [ "96609b0e-7373-4589-bca0-234a3a3e3516" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1827,37 +1827,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "693bfac8-6267-456e-a8c5-8b3dc81b1282" ], - "x-ms-correlation-request-id": [ "693bfac8-6267-456e-a8c5-8b3dc81b1282" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194515Z:693bfac8-6267-456e-a8c5-8b3dc81b1282" ], + "x-ms-request-id": [ "d5df0d8a-c9e6-4885-a0ad-a5bc67e33da1" ], + "x-ms-correlation-request-id": [ "d5df0d8a-c9e6-4885-a0ad-a5bc67e33da1" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T142830Z:d5df0d8a-c9e6-4885-a0ad-a5bc67e33da1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 4B26A1FD73F543D99E7C504163500A16 Ref B: MAA201060516049 Ref C: 2024-03-24T19:45:14Z" ], - "Date": [ "Sun, 24 Mar 2024 19:45:14 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 6205C4D6FA684CB288A18102AC621EB0 Ref B: MAA201060513019 Ref C: 2024-04-21T14:28:29Z" ], + "Date": [ "Sun, 21 Apr 2024 14:28:29 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2423" ], + "Content-Length": [ "2426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A27%3A06.5256472Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"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\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "45" ], - "x-ms-client-request-id": [ "103cbae5-dfc9-4fba-a5c4-32e4bbf14e23" ], + "x-ms-unique-id": [ "86" ], + "x-ms-client-request-id": [ "b6bda843-f276-470e-ad60-be4ba2f043dd" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1869,37 +1870,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "ef66a168-d5d2-4d55-99a1-076f9a553c77" ], - "x-ms-correlation-request-id": [ "ef66a168-d5d2-4d55-99a1-076f9a553c77" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194521Z:ef66a168-d5d2-4d55-99a1-076f9a553c77" ], + "x-ms-request-id": [ "beebed2f-7887-4028-80c0-d28064154541" ], + "x-ms-correlation-request-id": [ "beebed2f-7887-4028-80c0-d28064154541" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T142836Z:beebed2f-7887-4028-80c0-d28064154541" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 5D9C98B521234D28BE378C5E7497B6B8 Ref B: MAA201060516049 Ref C: 2024-03-24T19:45:20Z" ], - "Date": [ "Sun, 24 Mar 2024 19:45:20 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 29E217DFE939409F962D53CF9DAFC6C5 Ref B: MAA201060513019 Ref C: 2024-04-21T14:28:35Z" ], + "Date": [ "Sun, 21 Apr 2024 14:28:36 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2423" ], + "Content-Length": [ "2426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A27%3A06.5256472Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"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\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "46" ], - "x-ms-client-request-id": [ "ecd7dc22-4c0c-4e18-9719-f5b16198757f" ], + "x-ms-unique-id": [ "87" ], + "x-ms-client-request-id": [ "02883aa2-d86b-450b-af3a-2c70826026e8" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1911,37 +1913,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "20fdcdff-3c03-4555-b2d7-e22e01b0e15c" ], - "x-ms-correlation-request-id": [ "20fdcdff-3c03-4555-b2d7-e22e01b0e15c" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194527Z:20fdcdff-3c03-4555-b2d7-e22e01b0e15c" ], + "x-ms-request-id": [ "bfb406bc-5f36-4be1-85dc-e812659f27a5" ], + "x-ms-correlation-request-id": [ "bfb406bc-5f36-4be1-85dc-e812659f27a5" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T142843Z:bfb406bc-5f36-4be1-85dc-e812659f27a5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: AA2F2505AADB4007B7BCD9D92ABB72E1 Ref B: MAA201060516049 Ref C: 2024-03-24T19:45:26Z" ], - "Date": [ "Sun, 24 Mar 2024 19:45:26 GMT" ] + "X-MSEdge-Ref": [ "Ref A: A74482009B2D4D789CECAA35DEF7B36A Ref B: MAA201060513019 Ref C: 2024-04-21T14:28:41Z" ], + "Date": [ "Sun, 21 Apr 2024 14:28:42 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2423" ], + "Content-Length": [ "2426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A27%3A06.5256472Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"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\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "47" ], - "x-ms-client-request-id": [ "3c7481b0-79f4-43fc-98e7-17b75b16daae" ], + "x-ms-unique-id": [ "88" ], + "x-ms-client-request-id": [ "cd0707b8-9a8b-40ff-881b-9c6a719c3d8e" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1953,37 +1956,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "197" ], - "x-ms-request-id": [ "4b13b05a-3d7b-4586-b560-7bf60e083c82" ], - "x-ms-correlation-request-id": [ "4b13b05a-3d7b-4586-b560-7bf60e083c82" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194533Z:4b13b05a-3d7b-4586-b560-7bf60e083c82" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], + "x-ms-request-id": [ "52555cc2-50fd-487c-91d7-9b07129f0f25" ], + "x-ms-correlation-request-id": [ "52555cc2-50fd-487c-91d7-9b07129f0f25" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T142849Z:52555cc2-50fd-487c-91d7-9b07129f0f25" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 8741B7C8F09B4900AB96A2FAC6A3C20C Ref B: MAA201060516049 Ref C: 2024-03-24T19:45:32Z" ], - "Date": [ "Sun, 24 Mar 2024 19:45:32 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 9951DD524E9E4C8084C1E197AF1A731F Ref B: MAA201060513019 Ref C: 2024-04-21T14:28:48Z" ], + "Date": [ "Sun, 21 Apr 2024 14:28:48 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2423" ], + "Content-Length": [ "2426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A27%3A06.5256472Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"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\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "48" ], - "x-ms-client-request-id": [ "afe51851-39a6-420f-8173-108d328bd94e" ], + "x-ms-unique-id": [ "89" ], + "x-ms-client-request-id": [ "f2e6fb1b-2012-4d17-a61f-5230a95b158f" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1995,37 +1999,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "e2872372-4dbc-477b-a31f-b01656a10492" ], - "x-ms-correlation-request-id": [ "e2872372-4dbc-477b-a31f-b01656a10492" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194540Z:e2872372-4dbc-477b-a31f-b01656a10492" ], + "x-ms-request-id": [ "290b51b0-3c67-41d2-85ef-2c44714f0e57" ], + "x-ms-correlation-request-id": [ "290b51b0-3c67-41d2-85ef-2c44714f0e57" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T142855Z:290b51b0-3c67-41d2-85ef-2c44714f0e57" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 0DF66FB4E4C64C6090F371502B9AE41D Ref B: MAA201060516049 Ref C: 2024-03-24T19:45:39Z" ], - "Date": [ "Sun, 24 Mar 2024 19:45:39 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 14298B6AE2874012B5C610579AE29029 Ref B: MAA201060513019 Ref C: 2024-04-21T14:28:54Z" ], + "Date": [ "Sun, 21 Apr 2024 14:28:54 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2423" ], + "Content-Length": [ "2426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A27%3A06.5256472Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"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\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "49" ], - "x-ms-client-request-id": [ "238f5072-e985-4285-9483-3fa5ac690cfb" ], + "x-ms-unique-id": [ "90" ], + "x-ms-client-request-id": [ "21d07a70-fc6c-4682-8b5d-01065008ffeb" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2037,37 +2042,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "820d76dd-48fd-4d9f-8772-db9a1e863453" ], - "x-ms-correlation-request-id": [ "820d76dd-48fd-4d9f-8772-db9a1e863453" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194546Z:820d76dd-48fd-4d9f-8772-db9a1e863453" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], + "x-ms-request-id": [ "60a50aa8-dd6b-45e0-af72-a514e360860d" ], + "x-ms-correlation-request-id": [ "60a50aa8-dd6b-45e0-af72-a514e360860d" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T142901Z:60a50aa8-dd6b-45e0-af72-a514e360860d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 25F8FA9647A040AA9B5D9258878C5292 Ref B: MAA201060516049 Ref C: 2024-03-24T19:45:45Z" ], - "Date": [ "Sun, 24 Mar 2024 19:45:46 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 73F7E02A078C4FD5A51E9CEE55515355 Ref B: MAA201060513019 Ref C: 2024-04-21T14:29:00Z" ], + "Date": [ "Sun, 21 Apr 2024 14:29:00 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2423" ], + "Content-Length": [ "2426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A27%3A06.5256472Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"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\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "50" ], - "x-ms-client-request-id": [ "606e774a-3420-4c9c-aa2b-a49704b430bc" ], + "x-ms-unique-id": [ "91" ], + "x-ms-client-request-id": [ "bb1693d3-cbbd-4b38-812c-a93ae0855756" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2079,37 +2085,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "f285bdaa-168d-4ccf-b146-3b0f2aded278" ], - "x-ms-correlation-request-id": [ "f285bdaa-168d-4ccf-b146-3b0f2aded278" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194553Z:f285bdaa-168d-4ccf-b146-3b0f2aded278" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], + "x-ms-request-id": [ "e2c54ed3-7480-46d3-b4bc-9b84d37f2c0c" ], + "x-ms-correlation-request-id": [ "e2c54ed3-7480-46d3-b4bc-9b84d37f2c0c" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T142906Z:e2c54ed3-7480-46d3-b4bc-9b84d37f2c0c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 55E8F14C089B428CB7B681548917DA5B Ref B: MAA201060516049 Ref C: 2024-03-24T19:45:52Z" ], - "Date": [ "Sun, 24 Mar 2024 19:45:53 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 5F5017EF7615459EB8C488363B814086 Ref B: MAA201060513019 Ref C: 2024-04-21T14:29:06Z" ], + "Date": [ "Sun, 21 Apr 2024 14:29:06 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2423" ], + "Content-Length": [ "2426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A27%3A06.5256472Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"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\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "51" ], - "x-ms-client-request-id": [ "020ef1bc-9cb8-4b0f-9cc6-494353bb8771" ], + "x-ms-unique-id": [ "92" ], + "x-ms-client-request-id": [ "d4c3a06a-5cdd-44e3-bb40-e38809e0684f" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2121,37 +2128,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "aa8f1381-51d7-4b6b-826b-4db54a2b8220" ], - "x-ms-correlation-request-id": [ "aa8f1381-51d7-4b6b-826b-4db54a2b8220" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194559Z:aa8f1381-51d7-4b6b-826b-4db54a2b8220" ], + "x-ms-request-id": [ "e29c900b-e739-456e-9a79-2bb44e9d4278" ], + "x-ms-correlation-request-id": [ "e29c900b-e739-456e-9a79-2bb44e9d4278" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240421T142913Z:e29c900b-e739-456e-9a79-2bb44e9d4278" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 0A3AC1E14C0C4ED6A7703A6F7CB8DAFD Ref B: MAA201060516049 Ref C: 2024-03-24T19:45:58Z" ], - "Date": [ "Sun, 24 Mar 2024 19:45:59 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 568585C5E1354F539B7F2212EFF9BB33 Ref B: MAA201060513019 Ref C: 2024-04-21T14:29:12Z" ], + "Date": [ "Sun, 21 Apr 2024 14:29:12 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2423" ], + "Content-Length": [ "2426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A27%3A06.5256472Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"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\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "52" ], - "x-ms-client-request-id": [ "8c94ae91-f66f-4c06-822c-2c54262d404a" ], + "x-ms-unique-id": [ "93" ], + "x-ms-client-request-id": [ "90cc9b24-3386-4276-b906-c1be5d9ebc08" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2163,79 +2171,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "37a407e9-abfa-44ca-8a11-3f96d0922ed8" ], - "x-ms-correlation-request-id": [ "37a407e9-abfa-44ca-8a11-3f96d0922ed8" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194605Z:37a407e9-abfa-44ca-8a11-3f96d0922ed8" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: A784B595FF31481E941C9762D7F2A8A1 Ref B: MAA201060516049 Ref C: 2024-03-24T19:46:04Z" ], - "Date": [ "Sun, 24 Mar 2024 19:46:05 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "2423" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "53" ], - "x-ms-client-request-id": [ "705a7c4b-f423-4494-97b7-a7f05885bb10" ], - "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], - "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "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-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "73fa0071-3657-407f-b7ca-4df4ecffb842" ], - "x-ms-correlation-request-id": [ "73fa0071-3657-407f-b7ca-4df4ecffb842" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194611Z:73fa0071-3657-407f-b7ca-4df4ecffb842" ], + "x-ms-request-id": [ "e3160cac-ee58-4d61-b14a-f17bfedb178e" ], + "x-ms-correlation-request-id": [ "e3160cac-ee58-4d61-b14a-f17bfedb178e" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240421T142920Z:e3160cac-ee58-4d61-b14a-f17bfedb178e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 5C70E7B9F948440490E222F6FF20E660 Ref B: MAA201060516049 Ref C: 2024-03-24T19:46:10Z" ], - "Date": [ "Sun, 24 Mar 2024 19:46:11 GMT" ] + "X-MSEdge-Ref": [ "Ref A: D19556AAE13A4B9CA5676D99D84E89A0 Ref B: MAA201060513019 Ref C: 2024-04-21T14:29:18Z" ], + "Date": [ "Sun, 21 Apr 2024 14:29:19 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2423" ], + "Content-Length": [ "2426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A27%3A06.5256472Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"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\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "54" ], - "x-ms-client-request-id": [ "ef9fbfa3-ffef-431a-96ef-f2fde418e1bb" ], + "x-ms-unique-id": [ "94" ], + "x-ms-client-request-id": [ "6a6b223a-3c1e-48b6-bdee-9cdc7a65c332" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2247,37 +2214,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "6c148ca8-ec35-4d7e-8862-ea0af7279155" ], - "x-ms-correlation-request-id": [ "6c148ca8-ec35-4d7e-8862-ea0af7279155" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194617Z:6c148ca8-ec35-4d7e-8862-ea0af7279155" ], + "x-ms-request-id": [ "1dbb43ea-3299-4acd-a025-0c5d02d92ef2" ], + "x-ms-correlation-request-id": [ "1dbb43ea-3299-4acd-a025-0c5d02d92ef2" ], + "x-ms-routing-request-id": [ "JIOINDIACENTRAL:20240421T142928Z:1dbb43ea-3299-4acd-a025-0c5d02d92ef2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 1F3D269F976644A2B0D0AA15C06FCA55 Ref B: MAA201060516049 Ref C: 2024-03-24T19:46:16Z" ], - "Date": [ "Sun, 24 Mar 2024 19:46:17 GMT" ] + "X-MSEdge-Ref": [ "Ref A: E3C2E14188EB40CBB32D648E52E6B953 Ref B: MAA201060513019 Ref C: 2024-04-21T14:29:25Z" ], + "Date": [ "Sun, 21 Apr 2024 14:29:27 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2423" ], + "Content-Length": [ "2426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A27%3A06.5256472Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"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\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "55" ], - "x-ms-client-request-id": [ "b52b83ec-2c8d-447c-92db-fb76ea09bb58" ], + "x-ms-unique-id": [ "95" ], + "x-ms-client-request-id": [ "9073a831-3ecc-45ae-92bb-d8c2a75150aa" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2289,37 +2257,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "5816b770-846e-4913-9eec-595c3a2202ac" ], - "x-ms-correlation-request-id": [ "5816b770-846e-4913-9eec-595c3a2202ac" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194624Z:5816b770-846e-4913-9eec-595c3a2202ac" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "98e70f92-b644-4760-af28-bab6740c87fd" ], + "x-ms-correlation-request-id": [ "98e70f92-b644-4760-af28-bab6740c87fd" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T142934Z:98e70f92-b644-4760-af28-bab6740c87fd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: E41D0AB26A71471F9E59B5DE11596063 Ref B: MAA201060516049 Ref C: 2024-03-24T19:46:23Z" ], - "Date": [ "Sun, 24 Mar 2024 19:46:24 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 257AFA183B914E8EB22FCBF15E37D8B2 Ref B: MAA201060513019 Ref C: 2024-04-21T14:29:33Z" ], + "Date": [ "Sun, 21 Apr 2024 14:29:34 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2423" ], + "Content-Length": [ "2426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A27%3A06.5256472Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"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\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "56" ], - "x-ms-client-request-id": [ "ebb0718c-3113-4673-8c5a-e4accb02de89" ], + "x-ms-unique-id": [ "96" ], + "x-ms-client-request-id": [ "93f30b98-5833-4663-8fa8-416689c3c8d6" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2331,37 +2300,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "e885ebf7-f543-41ae-990b-46b5e4a0fa59" ], - "x-ms-correlation-request-id": [ "e885ebf7-f543-41ae-990b-46b5e4a0fa59" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194630Z:e885ebf7-f543-41ae-990b-46b5e4a0fa59" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "23c5c54e-46c2-4f46-931b-0e1473bf25cd" ], + "x-ms-correlation-request-id": [ "23c5c54e-46c2-4f46-931b-0e1473bf25cd" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T142940Z:23c5c54e-46c2-4f46-931b-0e1473bf25cd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 09478B8401B94023B65B71853CE6BCD6 Ref B: MAA201060516049 Ref C: 2024-03-24T19:46:29Z" ], - "Date": [ "Sun, 24 Mar 2024 19:46:30 GMT" ] + "X-MSEdge-Ref": [ "Ref A: A6B87CFA76554CF0BB7EB86EAA2DC2CC Ref B: MAA201060513019 Ref C: 2024-04-21T14:29:39Z" ], + "Date": [ "Sun, 21 Apr 2024 14:29:40 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2423" ], + "Content-Length": [ "2426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A27%3A06.5256472Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"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\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "57" ], - "x-ms-client-request-id": [ "fc06aade-8ca3-4ab2-b0c1-43584d603fd5" ], + "x-ms-unique-id": [ "97" ], + "x-ms-client-request-id": [ "a5712956-3ad9-409c-99a6-858b06c01a8f" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2373,37 +2343,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "85dc5940-4c4a-4670-b407-fb42c13374fe" ], - "x-ms-correlation-request-id": [ "85dc5940-4c4a-4670-b407-fb42c13374fe" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194636Z:85dc5940-4c4a-4670-b407-fb42c13374fe" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "c6bc662e-9537-4d0b-aa74-63f68b290124" ], + "x-ms-correlation-request-id": [ "c6bc662e-9537-4d0b-aa74-63f68b290124" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240421T142947Z:c6bc662e-9537-4d0b-aa74-63f68b290124" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 95E4845337E94D969FC800FD17133435 Ref B: MAA201060516049 Ref C: 2024-03-24T19:46:35Z" ], - "Date": [ "Sun, 24 Mar 2024 19:46:36 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 2F3DDF4F6AE54926AEF1A6D8DD1088B7 Ref B: MAA201060513019 Ref C: 2024-04-21T14:29:45Z" ], + "Date": [ "Sun, 21 Apr 2024 14:29:47 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2423" ], + "Content-Length": [ "2426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A27%3A06.5256472Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"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\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "58" ], - "x-ms-client-request-id": [ "8d2ac3ad-7e53-4c4f-ac47-0308f451e5f4" ], + "x-ms-unique-id": [ "98" ], + "x-ms-client-request-id": [ "9a1464b6-e234-4e70-b24d-eb97aa368d23" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2415,37 +2386,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "3f33d4b9-4b04-4e5a-b28a-03ac872a95ba" ], - "x-ms-correlation-request-id": [ "3f33d4b9-4b04-4e5a-b28a-03ac872a95ba" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194642Z:3f33d4b9-4b04-4e5a-b28a-03ac872a95ba" ], + "x-ms-request-id": [ "573c17d8-7bf7-4cd5-b581-48e9844b214a" ], + "x-ms-correlation-request-id": [ "573c17d8-7bf7-4cd5-b581-48e9844b214a" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T142953Z:573c17d8-7bf7-4cd5-b581-48e9844b214a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 4E34C81190FA49F88B37ABB99EFFF58E Ref B: MAA201060516049 Ref C: 2024-03-24T19:46:41Z" ], - "Date": [ "Sun, 24 Mar 2024 19:46:42 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 5029D4B779AD4351AAC0535F76FBE40E Ref B: MAA201060513019 Ref C: 2024-04-21T14:29:52Z" ], + "Date": [ "Sun, 21 Apr 2024 14:29:53 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2423" ], + "Content-Length": [ "2426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A27%3A06.5256472Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"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\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "59" ], - "x-ms-client-request-id": [ "3445591b-fca9-4b0a-aaec-8faae513b51a" ], + "x-ms-unique-id": [ "99" ], + "x-ms-client-request-id": [ "d0eebe14-df6c-485a-8670-68705de407be" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2457,37 +2429,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "8992056b-1e04-4d5f-ab06-0e08bfdfec01" ], - "x-ms-correlation-request-id": [ "8992056b-1e04-4d5f-ab06-0e08bfdfec01" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194649Z:8992056b-1e04-4d5f-ab06-0e08bfdfec01" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], + "x-ms-request-id": [ "a6de15c7-4369-4d60-911e-df386fb186f5" ], + "x-ms-correlation-request-id": [ "a6de15c7-4369-4d60-911e-df386fb186f5" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240421T142959Z:a6de15c7-4369-4d60-911e-df386fb186f5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 71092D3CA50D47BC9201C84C2C359579 Ref B: MAA201060516049 Ref C: 2024-03-24T19:46:47Z" ], - "Date": [ "Sun, 24 Mar 2024 19:46:48 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 7D7F2F9158054E199E65B399221B9EA5 Ref B: MAA201060513019 Ref C: 2024-04-21T14:29:58Z" ], + "Date": [ "Sun, 21 Apr 2024 14:29:59 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2423" ], + "Content-Length": [ "2426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A27%3A06.5256472Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"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\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "60" ], - "x-ms-client-request-id": [ "e42a4045-db70-4d12-89d1-0e2ca4b71843" ], + "x-ms-unique-id": [ "100" ], + "x-ms-client-request-id": [ "50281bef-9188-4a40-afc6-168a036173d7" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2499,37 +2472,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "197" ], - "x-ms-request-id": [ "98b1139b-df6b-4f69-a7e9-e8d8deba3627" ], - "x-ms-correlation-request-id": [ "98b1139b-df6b-4f69-a7e9-e8d8deba3627" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194654Z:98b1139b-df6b-4f69-a7e9-e8d8deba3627" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "c0e574af-0281-458f-9ffe-1b1b39b7a1d0" ], + "x-ms-correlation-request-id": [ "c0e574af-0281-458f-9ffe-1b1b39b7a1d0" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T143005Z:c0e574af-0281-458f-9ffe-1b1b39b7a1d0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 3EDF806406314AB99C8BC67CB4C5438B Ref B: MAA201060516049 Ref C: 2024-03-24T19:46:54Z" ], - "Date": [ "Sun, 24 Mar 2024 19:46:54 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 6B06E8715E9C4B94BF8E8A8491B60FBF Ref B: MAA201060513019 Ref C: 2024-04-21T14:30:04Z" ], + "Date": [ "Sun, 21 Apr 2024 14:30:05 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2423" ], + "Content-Length": [ "2426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A27%3A06.5256472Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"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\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "61" ], - "x-ms-client-request-id": [ "6f57988d-138b-4b26-b696-bc35ded65427" ], + "x-ms-unique-id": [ "101" ], + "x-ms-client-request-id": [ "9ed3cda0-6297-438a-8296-3bd3f78c4be1" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2541,37 +2515,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "3eb364cd-cef6-4347-87e6-3d2e08f347f5" ], - "x-ms-correlation-request-id": [ "3eb364cd-cef6-4347-87e6-3d2e08f347f5" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194700Z:3eb364cd-cef6-4347-87e6-3d2e08f347f5" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], + "x-ms-request-id": [ "6926f105-66d2-45b8-a3f0-bf0951b19d37" ], + "x-ms-correlation-request-id": [ "6926f105-66d2-45b8-a3f0-bf0951b19d37" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T143012Z:6926f105-66d2-45b8-a3f0-bf0951b19d37" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 7358059C224A4640B182D3561EFEE76F Ref B: MAA201060516049 Ref C: 2024-03-24T19:46:59Z" ], - "Date": [ "Sun, 24 Mar 2024 19:47:00 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 1BB67ABCA702461C855EB1D2CEF770CF Ref B: MAA201060513019 Ref C: 2024-04-21T14:30:10Z" ], + "Date": [ "Sun, 21 Apr 2024 14:30:12 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2423" ], + "Content-Length": [ "2426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A27%3A06.5256472Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"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\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "62" ], - "x-ms-client-request-id": [ "42f4032c-ca09-4a73-82cf-818b6b6ffee7" ], + "x-ms-unique-id": [ "102" ], + "x-ms-client-request-id": [ "957eab5b-10ed-4d07-9159-f49d46153283" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2583,37 +2558,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "b0cf47a3-b7b2-4707-a398-6ae9ddd57d62" ], - "x-ms-correlation-request-id": [ "b0cf47a3-b7b2-4707-a398-6ae9ddd57d62" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194707Z:b0cf47a3-b7b2-4707-a398-6ae9ddd57d62" ], + "x-ms-request-id": [ "894a229c-ff79-432e-822b-35979bead7a1" ], + "x-ms-correlation-request-id": [ "894a229c-ff79-432e-822b-35979bead7a1" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T143019Z:894a229c-ff79-432e-822b-35979bead7a1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 5BEC836F3D914B129263ADAC00331F06 Ref B: MAA201060516049 Ref C: 2024-03-24T19:47:05Z" ], - "Date": [ "Sun, 24 Mar 2024 19:47:06 GMT" ] + "X-MSEdge-Ref": [ "Ref A: DACD933E6B5B43F8ACC7B1A2D5446EDA Ref B: MAA201060513019 Ref C: 2024-04-21T14:30:17Z" ], + "Date": [ "Sun, 21 Apr 2024 14:30:19 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2423" ], + "Content-Length": [ "2426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A27%3A06.5256472Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"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\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "63" ], - "x-ms-client-request-id": [ "c9741ad4-dd79-4d44-9b31-09ad1f3b4418" ], + "x-ms-unique-id": [ "103" ], + "x-ms-client-request-id": [ "2aa0aaa8-e38e-4490-a230-ef9bf37d1b79" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2625,37 +2601,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "60e4fdb4-6b19-4701-b33f-10c48261b027" ], - "x-ms-correlation-request-id": [ "60e4fdb4-6b19-4701-b33f-10c48261b027" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194713Z:60e4fdb4-6b19-4701-b33f-10c48261b027" ], + "x-ms-request-id": [ "0477951b-ac4e-4c1e-999c-92d348673b3b" ], + "x-ms-correlation-request-id": [ "0477951b-ac4e-4c1e-999c-92d348673b3b" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T143025Z:0477951b-ac4e-4c1e-999c-92d348673b3b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 5A32DDC463654F3FB75386408FDDD688 Ref B: MAA201060516049 Ref C: 2024-03-24T19:47:12Z" ], - "Date": [ "Sun, 24 Mar 2024 19:47:13 GMT" ] + "X-MSEdge-Ref": [ "Ref A: F8BC65037D094FBCB2C4973AE844C162 Ref B: MAA201060513019 Ref C: 2024-04-21T14:30:24Z" ], + "Date": [ "Sun, 21 Apr 2024 14:30:25 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2423" ], + "Content-Length": [ "2426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A27%3A06.5256472Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"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\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "64" ], - "x-ms-client-request-id": [ "9542b999-3446-484b-8e69-87cd7a820cc0" ], + "x-ms-unique-id": [ "104" ], + "x-ms-client-request-id": [ "e77a1911-ff3d-4943-b01d-47d2fe8d4c18" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2667,37 +2644,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "d85ca62d-be2e-48d8-8c9b-8fc5eefd2406" ], - "x-ms-correlation-request-id": [ "d85ca62d-be2e-48d8-8c9b-8fc5eefd2406" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194719Z:d85ca62d-be2e-48d8-8c9b-8fc5eefd2406" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], + "x-ms-request-id": [ "89e2c20a-c7f0-4149-b170-30ed14c3d30b" ], + "x-ms-correlation-request-id": [ "89e2c20a-c7f0-4149-b170-30ed14c3d30b" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T143031Z:89e2c20a-c7f0-4149-b170-30ed14c3d30b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: E7F5E13F86624E8699774DF701BF8F36 Ref B: MAA201060516049 Ref C: 2024-03-24T19:47:18Z" ], - "Date": [ "Sun, 24 Mar 2024 19:47:19 GMT" ] + "X-MSEdge-Ref": [ "Ref A: FC7C338AC4664C9CA4A4A30C352AA9DF Ref B: MAA201060513019 Ref C: 2024-04-21T14:30:30Z" ], + "Date": [ "Sun, 21 Apr 2024 14:30:31 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2423" ], + "Content-Length": [ "2426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A27%3A06.5256472Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"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\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "65" ], - "x-ms-client-request-id": [ "db0e9da2-f940-4076-91c3-b30fb7b176d7" ], + "x-ms-unique-id": [ "105" ], + "x-ms-client-request-id": [ "4e80e3aa-41c2-4422-a2fd-131ba8f8d75c" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2709,37 +2687,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "f2421a49-bb41-4b4c-a10c-1f9cfdc6d441" ], - "x-ms-correlation-request-id": [ "f2421a49-bb41-4b4c-a10c-1f9cfdc6d441" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194725Z:f2421a49-bb41-4b4c-a10c-1f9cfdc6d441" ], + "x-ms-request-id": [ "959956e9-372d-4647-82a7-42bfab60318a" ], + "x-ms-correlation-request-id": [ "959956e9-372d-4647-82a7-42bfab60318a" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T143038Z:959956e9-372d-4647-82a7-42bfab60318a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 5C1705FE1C8D415AB8F4FDFA49001275 Ref B: MAA201060516049 Ref C: 2024-03-24T19:47:24Z" ], - "Date": [ "Sun, 24 Mar 2024 19:47:25 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 6D3A58FD1799465BB59F3F4670B068DF Ref B: MAA201060513019 Ref C: 2024-04-21T14:30:37Z" ], + "Date": [ "Sun, 21 Apr 2024 14:30:38 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2423" ], + "Content-Length": [ "2426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A27%3A06.5256472Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"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\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "66" ], - "x-ms-client-request-id": [ "5b4bfeb4-b577-4558-8fd9-7004e62384de" ], + "x-ms-unique-id": [ "106" ], + "x-ms-client-request-id": [ "04e218dd-6653-48b5-a078-35515ca50f44" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2751,37 +2730,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "197" ], - "x-ms-request-id": [ "56455c73-cb83-4b66-8fb5-fef459158c07" ], - "x-ms-correlation-request-id": [ "56455c73-cb83-4b66-8fb5-fef459158c07" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194732Z:56455c73-cb83-4b66-8fb5-fef459158c07" ], + "x-ms-request-id": [ "ea9e9edb-abbc-482c-b50b-24b65f6c2c7f" ], + "x-ms-correlation-request-id": [ "ea9e9edb-abbc-482c-b50b-24b65f6c2c7f" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T143044Z:ea9e9edb-abbc-482c-b50b-24b65f6c2c7f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 7C06265D908A44CFB7244B0B5CEF6F28 Ref B: MAA201060516049 Ref C: 2024-03-24T19:47:30Z" ], - "Date": [ "Sun, 24 Mar 2024 19:47:31 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 4D2C142CA8444D12B38EFFAC99870F23 Ref B: MAA201060513019 Ref C: 2024-04-21T14:30:43Z" ], + "Date": [ "Sun, 21 Apr 2024 14:30:44 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2423" ], + "Content-Length": [ "2426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A27%3A06.5256472Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"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\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "67" ], - "x-ms-client-request-id": [ "3884894f-d360-48fb-ba66-5918af4970c1" ], + "x-ms-unique-id": [ "107" ], + "x-ms-client-request-id": [ "17a6d18b-c6f8-456e-8944-a9f4619bbc70" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2793,37 +2773,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "f9fefc71-2c64-4379-a72a-f33649461322" ], - "x-ms-correlation-request-id": [ "f9fefc71-2c64-4379-a72a-f33649461322" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194738Z:f9fefc71-2c64-4379-a72a-f33649461322" ], + "x-ms-request-id": [ "5af3eb0b-ba07-42a7-8803-2e8fa421c7fb" ], + "x-ms-correlation-request-id": [ "5af3eb0b-ba07-42a7-8803-2e8fa421c7fb" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240421T143050Z:5af3eb0b-ba07-42a7-8803-2e8fa421c7fb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 489E61046DDA47CAA29BB5C58A64CAF4 Ref B: MAA201060516049 Ref C: 2024-03-24T19:47:37Z" ], - "Date": [ "Sun, 24 Mar 2024 19:47:38 GMT" ] + "X-MSEdge-Ref": [ "Ref A: E38BAA0E2D8042CDA611F0A0ACF8200F Ref B: MAA201060513019 Ref C: 2024-04-21T14:30:49Z" ], + "Date": [ "Sun, 21 Apr 2024 14:30:50 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2423" ], + "Content-Length": [ "2426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A27%3A06.5256472Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"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\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "68" ], - "x-ms-client-request-id": [ "45ca5fdc-42d6-421c-a7e3-1413bbca8180" ], + "x-ms-unique-id": [ "108" ], + "x-ms-client-request-id": [ "c157e4ee-3355-4b90-bc28-5d8c4b3d05a9" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2835,37 +2816,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "52b410e0-aad3-46f6-a3dd-119a6df6bae6" ], - "x-ms-correlation-request-id": [ "52b410e0-aad3-46f6-a3dd-119a6df6bae6" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194744Z:52b410e0-aad3-46f6-a3dd-119a6df6bae6" ], + "x-ms-request-id": [ "4b228fee-8a70-4698-98f1-ff8691d5ded8" ], + "x-ms-correlation-request-id": [ "4b228fee-8a70-4698-98f1-ff8691d5ded8" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T143057Z:4b228fee-8a70-4698-98f1-ff8691d5ded8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 3B8A7A5E208741FBB8BBCA15DC1DCFA7 Ref B: MAA201060516049 Ref C: 2024-03-24T19:47:43Z" ], - "Date": [ "Sun, 24 Mar 2024 19:47:44 GMT" ] + "X-MSEdge-Ref": [ "Ref A: B9939179E8144499B38B95CE71755DEF Ref B: MAA201060513019 Ref C: 2024-04-21T14:30:56Z" ], + "Date": [ "Sun, 21 Apr 2024 14:30:57 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2423" ], + "Content-Length": [ "2426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A27%3A06.5256472Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"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\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "69" ], - "x-ms-client-request-id": [ "a2ddb6ba-cbab-4d41-bb14-24784baa5d84" ], + "x-ms-unique-id": [ "109" ], + "x-ms-client-request-id": [ "be697acd-e391-42c7-b28a-a2c633de3db2" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2877,37 +2859,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "d7e8b06d-3c41-470c-99f3-aa6927ee13e4" ], - "x-ms-correlation-request-id": [ "d7e8b06d-3c41-470c-99f3-aa6927ee13e4" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194750Z:d7e8b06d-3c41-470c-99f3-aa6927ee13e4" ], + "x-ms-request-id": [ "14c8005c-6a76-4200-9f5b-daf4484b7583" ], + "x-ms-correlation-request-id": [ "14c8005c-6a76-4200-9f5b-daf4484b7583" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T143104Z:14c8005c-6a76-4200-9f5b-daf4484b7583" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 70D3B80815CA45CCB35886DA33E8C610 Ref B: MAA201060516049 Ref C: 2024-03-24T19:47:49Z" ], - "Date": [ "Sun, 24 Mar 2024 19:47:50 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 8848744B80174C66B513B82113CCD273 Ref B: MAA201060513019 Ref C: 2024-04-21T14:31:02Z" ], + "Date": [ "Sun, 21 Apr 2024 14:31:04 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2423" ], + "Content-Length": [ "2426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A27%3A06.5256472Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"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\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "70" ], - "x-ms-client-request-id": [ "b198f9bb-b34e-41d1-a747-e16d64a8f788" ], + "x-ms-unique-id": [ "110" ], + "x-ms-client-request-id": [ "927fced7-b3c0-4462-8d0d-cc8e13602b3f" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2919,37 +2902,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "344abea1-8e4d-4814-8e56-eeee5abfb25d" ], - "x-ms-correlation-request-id": [ "344abea1-8e4d-4814-8e56-eeee5abfb25d" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194757Z:344abea1-8e4d-4814-8e56-eeee5abfb25d" ], + "x-ms-request-id": [ "0968a233-d13a-4744-926a-a7b783a24572" ], + "x-ms-correlation-request-id": [ "0968a233-d13a-4744-926a-a7b783a24572" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240421T143110Z:0968a233-d13a-4744-926a-a7b783a24572" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 3746E4DA5D224A2CB51FB5A79AB8AB5E Ref B: MAA201060516049 Ref C: 2024-03-24T19:47:55Z" ], - "Date": [ "Sun, 24 Mar 2024 19:47:57 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 8565564CE8EA48E4B4CE906388BB6566 Ref B: MAA201060513019 Ref C: 2024-04-21T14:31:09Z" ], + "Date": [ "Sun, 21 Apr 2024 14:31:10 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2423" ], + "Content-Length": [ "2426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A27%3A06.5256472Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"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\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "71" ], - "x-ms-client-request-id": [ "d365feab-9b1b-4f55-a210-6d2a59c2812b" ], + "x-ms-unique-id": [ "111" ], + "x-ms-client-request-id": [ "5120ae44-b7da-44cc-ab66-be46a57947fa" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2961,37 +2945,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "879e87ef-a861-4381-a83d-841bbf85ce21" ], - "x-ms-correlation-request-id": [ "879e87ef-a861-4381-a83d-841bbf85ce21" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194803Z:879e87ef-a861-4381-a83d-841bbf85ce21" ], + "x-ms-request-id": [ "7483e0a4-92de-475d-b5d7-c4092af97bfe" ], + "x-ms-correlation-request-id": [ "7483e0a4-92de-475d-b5d7-c4092af97bfe" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T143117Z:7483e0a4-92de-475d-b5d7-c4092af97bfe" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: E375DF96BD494F389E4C0D1EE8C4CD22 Ref B: MAA201060516049 Ref C: 2024-03-24T19:48:02Z" ], - "Date": [ "Sun, 24 Mar 2024 19:48:03 GMT" ] + "X-MSEdge-Ref": [ "Ref A: C0FA66D2EA37405087718323940761A7 Ref B: MAA201060513019 Ref C: 2024-04-21T14:31:16Z" ], + "Date": [ "Sun, 21 Apr 2024 14:31:17 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2423" ], + "Content-Length": [ "2426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A27%3A06.5256472Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"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\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "72" ], - "x-ms-client-request-id": [ "068a2986-ca4f-4cda-869b-f80a120930d3" ], + "x-ms-unique-id": [ "112" ], + "x-ms-client-request-id": [ "d7b06b9d-5ae7-49b8-ab87-ff65224ef273" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3003,37 +2988,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "65953e49-c62f-457c-b2e1-2365aa22b3eb" ], - "x-ms-correlation-request-id": [ "65953e49-c62f-457c-b2e1-2365aa22b3eb" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194809Z:65953e49-c62f-457c-b2e1-2365aa22b3eb" ], + "x-ms-request-id": [ "aaf31cad-e318-48fa-acb6-66a3b263d559" ], + "x-ms-correlation-request-id": [ "aaf31cad-e318-48fa-acb6-66a3b263d559" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T143123Z:aaf31cad-e318-48fa-acb6-66a3b263d559" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 694FB5FD70A44E1F8E056A16202B8695 Ref B: MAA201060516049 Ref C: 2024-03-24T19:48:08Z" ], - "Date": [ "Sun, 24 Mar 2024 19:48:09 GMT" ] + "X-MSEdge-Ref": [ "Ref A: BE68EA0D4B8C43E3BD12859386D9A9B9 Ref B: MAA201060513019 Ref C: 2024-04-21T14:31:22Z" ], + "Date": [ "Sun, 21 Apr 2024 14:31:23 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2423" ], + "Content-Length": [ "2426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A27%3A06.5256472Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"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\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "73" ], - "x-ms-client-request-id": [ "7e9c6f62-6296-470c-95d5-642e8215dd38" ], + "x-ms-unique-id": [ "113" ], + "x-ms-client-request-id": [ "befea713-bf0e-4e14-a889-e66a546aefe2" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3045,37 +3031,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "e1a9c4de-724a-4ecb-b771-0c9a7b0f5137" ], - "x-ms-correlation-request-id": [ "e1a9c4de-724a-4ecb-b771-0c9a7b0f5137" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194815Z:e1a9c4de-724a-4ecb-b771-0c9a7b0f5137" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "7085adc3-6089-4d2d-86ec-a62844d2046e" ], + "x-ms-correlation-request-id": [ "7085adc3-6089-4d2d-86ec-a62844d2046e" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T143130Z:7085adc3-6089-4d2d-86ec-a62844d2046e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 696F9C4E042743B0B5B15609272B4EDF Ref B: MAA201060516049 Ref C: 2024-03-24T19:48:14Z" ], - "Date": [ "Sun, 24 Mar 2024 19:48:15 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 99B3776682EF45AF85F6B1FF9B205481 Ref B: MAA201060513019 Ref C: 2024-04-21T14:31:28Z" ], + "Date": [ "Sun, 21 Apr 2024 14:31:29 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2423" ], + "Content-Length": [ "2426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A27%3A06.5256472Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"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\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "74" ], - "x-ms-client-request-id": [ "b6c608a5-4420-4348-9aaf-d10ac8cb2ec6" ], + "x-ms-unique-id": [ "114" ], + "x-ms-client-request-id": [ "34b871e2-c666-43ad-b693-6eca5afeecf2" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3087,37 +3074,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "a95c025b-e560-4a55-93e8-c483ba308d5a" ], - "x-ms-correlation-request-id": [ "a95c025b-e560-4a55-93e8-c483ba308d5a" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194821Z:a95c025b-e560-4a55-93e8-c483ba308d5a" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "5ec9350c-c0b9-435a-b5f1-d6594852bb6d" ], + "x-ms-correlation-request-id": [ "5ec9350c-c0b9-435a-b5f1-d6594852bb6d" ], + "x-ms-routing-request-id": [ "JIOINDIACENTRAL:20240421T143137Z:5ec9350c-c0b9-435a-b5f1-d6594852bb6d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 93D0BE555FC3437B9EF54CAAC08D4984 Ref B: MAA201060516049 Ref C: 2024-03-24T19:48:20Z" ], - "Date": [ "Sun, 24 Mar 2024 19:48:21 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 224AFA69DBD04159834882FAF015AE8A Ref B: MAA201060513019 Ref C: 2024-04-21T14:31:35Z" ], + "Date": [ "Sun, 21 Apr 2024 14:31:37 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2423" ], + "Content-Length": [ "2426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A27%3A06.5256472Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"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\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "75" ], - "x-ms-client-request-id": [ "b58a663f-5d1b-4b8d-a21f-9ee31354292a" ], + "x-ms-unique-id": [ "115" ], + "x-ms-client-request-id": [ "5dcda653-508d-468b-bd7a-9960046fe2c6" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3129,37 +3117,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "a8723273-5e35-4fe2-8923-a88f9fbcf727" ], - "x-ms-correlation-request-id": [ "a8723273-5e35-4fe2-8923-a88f9fbcf727" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194828Z:a8723273-5e35-4fe2-8923-a88f9fbcf727" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], + "x-ms-request-id": [ "194bd7be-72ef-4cdb-9d2b-71b3145385fd" ], + "x-ms-correlation-request-id": [ "194bd7be-72ef-4cdb-9d2b-71b3145385fd" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T143143Z:194bd7be-72ef-4cdb-9d2b-71b3145385fd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 0B18B0AA7D074764A3026BCFAE45CEF5 Ref B: MAA201060516049 Ref C: 2024-03-24T19:48:26Z" ], - "Date": [ "Sun, 24 Mar 2024 19:48:27 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 710CD8DB446C496094F26B36BE0E5CBA Ref B: MAA201060513019 Ref C: 2024-04-21T14:31:42Z" ], + "Date": [ "Sun, 21 Apr 2024 14:31:43 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2423" ], + "Content-Length": [ "2426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A27%3A06.5256472Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"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\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "76" ], - "x-ms-client-request-id": [ "e3038f71-5c37-44fd-9fc0-67111eb10030" ], + "x-ms-unique-id": [ "116" ], + "x-ms-client-request-id": [ "d2aa86a6-1ef3-43bb-ae38-27b69d94c558" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3171,37 +3160,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "5b41186a-9121-40a2-ab76-dabef3c9d732" ], - "x-ms-correlation-request-id": [ "5b41186a-9121-40a2-ab76-dabef3c9d732" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194835Z:5b41186a-9121-40a2-ab76-dabef3c9d732" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "add24c7e-019d-4468-842a-584b4b06fe65" ], + "x-ms-correlation-request-id": [ "add24c7e-019d-4468-842a-584b4b06fe65" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T143150Z:add24c7e-019d-4468-842a-584b4b06fe65" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 604BC9CA929648A0820EBFD1B8CFC520 Ref B: MAA201060516049 Ref C: 2024-03-24T19:48:33Z" ], - "Date": [ "Sun, 24 Mar 2024 19:48:34 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 0DEF86037D804181A0D8D2DB184A3165 Ref B: MAA201060513019 Ref C: 2024-04-21T14:31:48Z" ], + "Date": [ "Sun, 21 Apr 2024 14:31:49 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2423" ], + "Content-Length": [ "2426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A27%3A06.5256472Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"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\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "77" ], - "x-ms-client-request-id": [ "8fb04604-4106-4c5a-931e-1ac1b534dfc9" ], + "x-ms-unique-id": [ "117" ], + "x-ms-client-request-id": [ "67798e62-310b-4844-a618-777e2c43aadb" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3213,37 +3203,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "b5c67bc8-f9b9-4363-824d-bafa439759ec" ], - "x-ms-correlation-request-id": [ "b5c67bc8-f9b9-4363-824d-bafa439759ec" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194841Z:b5c67bc8-f9b9-4363-824d-bafa439759ec" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "30d5c876-999f-4f0e-bf2d-22983d92f86a" ], + "x-ms-correlation-request-id": [ "30d5c876-999f-4f0e-bf2d-22983d92f86a" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T143156Z:30d5c876-999f-4f0e-bf2d-22983d92f86a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 77472E094A6B4590A3064A6A1F94431D Ref B: MAA201060516049 Ref C: 2024-03-24T19:48:40Z" ], - "Date": [ "Sun, 24 Mar 2024 19:48:40 GMT" ] + "X-MSEdge-Ref": [ "Ref A: B8E0825203EC406D819D6DE9E7039B49 Ref B: MAA201060513019 Ref C: 2024-04-21T14:31:55Z" ], + "Date": [ "Sun, 21 Apr 2024 14:31:56 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2423" ], + "Content-Length": [ "2426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A27%3A06.5256472Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"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\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "78" ], - "x-ms-client-request-id": [ "a468a24b-a3e4-4da4-9366-3a0a5424a396" ], + "x-ms-unique-id": [ "118" ], + "x-ms-client-request-id": [ "497c96c9-177f-4bf5-b746-42fcf69474c8" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3255,37 +3246,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "8fe26b79-5d91-40a4-bb98-c2e5b72bf9a9" ], - "x-ms-correlation-request-id": [ "8fe26b79-5d91-40a4-bb98-c2e5b72bf9a9" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194847Z:8fe26b79-5d91-40a4-bb98-c2e5b72bf9a9" ], + "x-ms-request-id": [ "e0f49e90-2e36-49b0-b413-944427f24ba2" ], + "x-ms-correlation-request-id": [ "e0f49e90-2e36-49b0-b413-944427f24ba2" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240421T143203Z:e0f49e90-2e36-49b0-b413-944427f24ba2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 06DE03C32FD24D8B9AC83A1416B80DA1 Ref B: MAA201060516049 Ref C: 2024-03-24T19:48:46Z" ], - "Date": [ "Sun, 24 Mar 2024 19:48:46 GMT" ] + "X-MSEdge-Ref": [ "Ref A: ECCDD49DC09945C884995358CE1FE7AA Ref B: MAA201060513019 Ref C: 2024-04-21T14:32:01Z" ], + "Date": [ "Sun, 21 Apr 2024 14:32:02 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2423" ], + "Content-Length": [ "2426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A27%3A06.5256472Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"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\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "79" ], - "x-ms-client-request-id": [ "891e2e54-1ab9-4fbe-839e-457a1b407bec" ], + "x-ms-unique-id": [ "119" ], + "x-ms-client-request-id": [ "b8702a88-b1e7-4223-a720-7e5c16f65edd" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3297,37 +3289,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "197" ], - "x-ms-request-id": [ "ef8e244d-7545-4b29-b5ff-b72c9d26c1bf" ], - "x-ms-correlation-request-id": [ "ef8e244d-7545-4b29-b5ff-b72c9d26c1bf" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194853Z:ef8e244d-7545-4b29-b5ff-b72c9d26c1bf" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "c7637d36-853d-4824-993d-23588308f1af" ], + "x-ms-correlation-request-id": [ "c7637d36-853d-4824-993d-23588308f1af" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240421T143209Z:c7637d36-853d-4824-993d-23588308f1af" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 218B4F8058904DC1A3AAB660C95A2360 Ref B: MAA201060516049 Ref C: 2024-03-24T19:48:52Z" ], - "Date": [ "Sun, 24 Mar 2024 19:48:52 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 442EFD3BF019422BB89CF57CF11471F3 Ref B: MAA201060513019 Ref C: 2024-04-21T14:32:08Z" ], + "Date": [ "Sun, 21 Apr 2024 14:32:09 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2423" ], + "Content-Length": [ "2426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A27%3A06.5256472Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"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\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "80" ], - "x-ms-client-request-id": [ "f5ba353f-ab76-4737-bd4b-81006fcb0e7b" ], + "x-ms-unique-id": [ "120" ], + "x-ms-client-request-id": [ "629913c3-79ff-40dc-b435-3edcdc69045c" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3339,37 +3332,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "ebc76686-1f21-4e84-ba98-c2a6a39804d4" ], - "x-ms-correlation-request-id": [ "ebc76686-1f21-4e84-ba98-c2a6a39804d4" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194859Z:ebc76686-1f21-4e84-ba98-c2a6a39804d4" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "3525fcc5-d6e3-4367-bd93-d3c37dbfc26e" ], + "x-ms-correlation-request-id": [ "3525fcc5-d6e3-4367-bd93-d3c37dbfc26e" ], + "x-ms-routing-request-id": [ "JIOINDIACENTRAL:20240421T143216Z:3525fcc5-d6e3-4367-bd93-d3c37dbfc26e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 9C308709A20F4D41887AF266DAEE7624 Ref B: MAA201060516049 Ref C: 2024-03-24T19:48:58Z" ], - "Date": [ "Sun, 24 Mar 2024 19:48:58 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 839BD830F43040839B3232F23B5D1B90 Ref B: MAA201060513019 Ref C: 2024-04-21T14:32:14Z" ], + "Date": [ "Sun, 21 Apr 2024 14:32:16 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2423" ], + "Content-Length": [ "2426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A27%3A06.5256472Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"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\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "81" ], - "x-ms-client-request-id": [ "e77c3142-6f72-4b4a-a695-7a7c5537fbd1" ], + "x-ms-unique-id": [ "121" ], + "x-ms-client-request-id": [ "7a1db083-bb2e-480c-9619-7ce6f354ef42" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3381,37 +3375,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "197" ], - "x-ms-request-id": [ "8bd899e3-1b1d-4767-a769-19606924a01e" ], - "x-ms-correlation-request-id": [ "8bd899e3-1b1d-4767-a769-19606924a01e" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194904Z:8bd899e3-1b1d-4767-a769-19606924a01e" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "7984b111-e324-4220-8f6a-812de49634fc" ], + "x-ms-correlation-request-id": [ "7984b111-e324-4220-8f6a-812de49634fc" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T143222Z:7984b111-e324-4220-8f6a-812de49634fc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: E07E3A2DAA5B497CA693098FAFCAED09 Ref B: MAA201060516049 Ref C: 2024-03-24T19:49:04Z" ], - "Date": [ "Sun, 24 Mar 2024 19:49:04 GMT" ] + "X-MSEdge-Ref": [ "Ref A: DF31CAE344EA417D84FD4057C7B372E7 Ref B: MAA201060513019 Ref C: 2024-04-21T14:32:21Z" ], + "Date": [ "Sun, 21 Apr 2024 14:32:22 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2423" ], + "Content-Length": [ "2426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A27%3A06.5256472Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"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\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "82" ], - "x-ms-client-request-id": [ "97925711-9fd0-488a-8a26-263fa13bf3ab" ], + "x-ms-unique-id": [ "122" ], + "x-ms-client-request-id": [ "74956bf7-b671-442a-ae4e-e7358da46956" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3423,37 +3418,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "5e6c3cbe-19ff-4974-a104-6e8d5a6301b4" ], - "x-ms-correlation-request-id": [ "5e6c3cbe-19ff-4974-a104-6e8d5a6301b4" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194911Z:5e6c3cbe-19ff-4974-a104-6e8d5a6301b4" ], + "x-ms-request-id": [ "8212652d-1491-4d3d-8afc-fbf2e215f9b6" ], + "x-ms-correlation-request-id": [ "8212652d-1491-4d3d-8afc-fbf2e215f9b6" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T143228Z:8212652d-1491-4d3d-8afc-fbf2e215f9b6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 70B244C370E74896A937BA694F0DC80C Ref B: MAA201060516049 Ref C: 2024-03-24T19:49:09Z" ], - "Date": [ "Sun, 24 Mar 2024 19:49:11 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 01E50BE52E624255827314FFDBF339B8 Ref B: MAA201060513019 Ref C: 2024-04-21T14:32:27Z" ], + "Date": [ "Sun, 21 Apr 2024 14:32:28 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2423" ], + "Content-Length": [ "2426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A27%3A06.5256472Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"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\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "83" ], - "x-ms-client-request-id": [ "ebc5e6e1-f871-40b2-8272-7f3bfe37fd56" ], + "x-ms-unique-id": [ "123" ], + "x-ms-client-request-id": [ "8096e5fd-4442-477f-a268-393ce60a4a9a" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3465,37 +3461,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "3e1ae6ba-9da1-4ce2-a234-abc8ca7fcf58" ], - "x-ms-correlation-request-id": [ "3e1ae6ba-9da1-4ce2-a234-abc8ca7fcf58" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194917Z:3e1ae6ba-9da1-4ce2-a234-abc8ca7fcf58" ], + "x-ms-request-id": [ "b0e02621-72bd-44a9-915b-c1167e4ad62d" ], + "x-ms-correlation-request-id": [ "b0e02621-72bd-44a9-915b-c1167e4ad62d" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240421T143235Z:b0e02621-72bd-44a9-915b-c1167e4ad62d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 64350BBCF9E64726B6AF7556BC049748 Ref B: MAA201060516049 Ref C: 2024-03-24T19:49:16Z" ], - "Date": [ "Sun, 24 Mar 2024 19:49:17 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 4F40B94B3C814EF6BB614EFA61F8444A Ref B: MAA201060513019 Ref C: 2024-04-21T14:32:34Z" ], + "Date": [ "Sun, 21 Apr 2024 14:32:35 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2423" ], + "Content-Length": [ "2426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A27%3A06.5256472Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"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\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "84" ], - "x-ms-client-request-id": [ "5398cf53-d270-4aa7-b576-315c06cdc76d" ], + "x-ms-unique-id": [ "124" ], + "x-ms-client-request-id": [ "e1b50d9b-837e-4bd4-b92d-03cfbd86b551" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3507,37 +3504,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "8c068851-af55-4c53-8361-17854b6639ba" ], - "x-ms-correlation-request-id": [ "8c068851-af55-4c53-8361-17854b6639ba" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194923Z:8c068851-af55-4c53-8361-17854b6639ba" ], + "x-ms-request-id": [ "f04be839-bb84-418b-aa25-b2e86bfa0d4c" ], + "x-ms-correlation-request-id": [ "f04be839-bb84-418b-aa25-b2e86bfa0d4c" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240421T143241Z:f04be839-bb84-418b-aa25-b2e86bfa0d4c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: DE3285AC172C4CDFAAC778152E25A8E5 Ref B: MAA201060516049 Ref C: 2024-03-24T19:49:22Z" ], - "Date": [ "Sun, 24 Mar 2024 19:49:22 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 7A0742D65A244A308E9EDC2EE753DE37 Ref B: MAA201060513019 Ref C: 2024-04-21T14:32:40Z" ], + "Date": [ "Sun, 21 Apr 2024 14:32:40 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2423" ], + "Content-Length": [ "2426" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A43%3A51.9567672Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"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\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A27%3A06.5256472Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"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\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-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/bb3fc21d-5561-4dbf-83b1-ea622d11251a?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24141df5-c54b-4b5c-ac9f-bc6474ba6f20?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "85" ], - "x-ms-client-request-id": [ "026639f8-2f54-4180-80bb-fcc0cb08872a" ], + "x-ms-unique-id": [ "125" ], + "x-ms-client-request-id": [ "8d9d3c75-3d63-4f8c-a3e1-9bfce3a5417b" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3549,21 +3547,22 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "955e075e-0ae7-4f3e-8c61-c0b72ec1bf83" ], - "x-ms-correlation-request-id": [ "955e075e-0ae7-4f3e-8c61-c0b72ec1bf83" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T194929Z:955e075e-0ae7-4f3e-8c61-c0b72ec1bf83" ], + "x-ms-request-id": [ "612d69e0-97ae-45eb-a725-2136bba8d55c" ], + "x-ms-correlation-request-id": [ "612d69e0-97ae-45eb-a725-2136bba8d55c" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T143247Z:612d69e0-97ae-45eb-a725-2136bba8d55c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 598EB6BD6A00497BAA1D4FF01FAEE9BE Ref B: MAA201060516049 Ref C: 2024-03-24T19:49:28Z" ], - "Date": [ "Sun, 24 Mar 2024 19:49:29 GMT" ] + "X-MSEdge-Ref": [ "Ref A: B390DAF463734CAF87835D39109B6A4A Ref B: MAA201060513019 Ref C: 2024-04-21T14:32:46Z" ], + "Date": [ "Sun, 21 Apr 2024 14:32:47 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2575" ], + "Content-Length": [ "2578" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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\u00272024-03-24T19%3A49%3A29.3898203Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-24T19:43:51.69779Z\",\"endTime\":\"2024-03-24T19:49:29.1371017Z\",\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"Completed\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT5M37.4393117S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"b4a2b4d0f79e4a50b6831dbddf000d45\",\"recoveryPointTime\":\"2024-03-24T19:42:45.899876Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-24-03-2024-1-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"Completed\",\"taskProgress\":null,\"additionalDetails\":{\"DataTransferredInBytes\":\"0\",\"TaskId\":\"b2869ff1-f80b-46d2-abd1-5f43f1259ed5\",\"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/bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"name\":\"bb3fc21d-5561-4dbf-83b1-ea622d11251a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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\u00272024-04-21T14%3A32%3A43.8723183Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-21T14:27:06.2832873Z\",\"endTime\":\"2024-04-21T14:32:43.6644916Z\",\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"Completed\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT5M37.3812043S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"9d6eb9590b5c47a29c088ebe213444c6\",\"recoveryPointTime\":\"2024-04-21T14:26:19.1545541Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"Completed\",\"taskProgress\":null,\"additionalDetails\":{\"DataTransferredInBytes\":\"0\",\"TaskId\":\"5f5926ef-e326-4b72-a2fe-8d8cd1ee5da5\",\"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/24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"name\":\"24141df5-c54b-4b5c-ac9f-bc6474ba6f20\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } } diff --git a/src/DataProtection/DataProtection.Autorest/test/Find-AzDataProtectionRestorableTimeRange.Recording.json b/src/DataProtection/DataProtection.Autorest/test/Find-AzDataProtectionRestorableTimeRange.Recording.json index 83144f3c763b..620e6cd70b3d 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-12-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=2024-04-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-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "1" ], - "x-ms-client-request-id": [ "080bb62a-3434-46f8-9ef8-b05103c70902" ], + "x-ms-unique-id": [ "126" ], + "x-ms-client-request-id": [ "badc52e5-3107-4a83-8a1f-e0ef65a663ef" ], "CommandName": [ "Get-AzDataProtectionBackupInstance" ], "FullCommandName": [ "Get-AzDataProtectionBackupInstance_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -22,15 +22,16 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1999" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "4f0311fd-c095-49c2-a871-19c7650fc170" ], - "x-ms-correlation-request-id": [ "4f0311fd-c095-49c2-a871-19c7650fc170" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240325T012903Z:4f0311fd-c095-49c2-a871-19c7650fc170" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1999" ], + "x-ms-request-id": [ "1ba309af-c7b1-4f01-80a9-071fa03123a3" ], + "x-ms-correlation-request-id": [ "1ba309af-c7b1-4f01-80a9-071fa03123a3" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T143250Z:1ba309af-c7b1-4f01-80a9-071fa03123a3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 550EAA15271344038681D79E8BC7E60D Ref B: MAA201060516027 Ref C: 2024-03-25T01:29:02Z" ], - "Date": [ "Mon, 25 Mar 2024 01:29:02 GMT" ] + "X-MSEdge-Ref": [ "Ref A: EC5DE17090CE42F6898004AB22722D7E Ref B: MAA201060513019 Ref C: 2024-04-21T14:32:49Z" ], + "Date": [ "Sun, 21 Apr 2024 14:32:49 GMT" ] }, "ContentHeaders": { "Content-Length": [ "8830" ], @@ -41,11 +42,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-61bde38e-542c-4645-af2c-e90d4cdf00e5/findRestorableTimeRanges?api-version=2023-12-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-61bde38e-542c-4645-af2c-e90d4cdf00e5/findRestorableTimeRanges?api-version=2024-04-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-61bde38e-542c-4645-af2c-e90d4cdf00e5/findRestorableTimeRanges?api-version=2023-12-01", - "Content": "{\r\n \"sourceDataStoreType\": \"OperationalStore\",\r\n \"startTime\": \"2024-02-24T06:59:03.0000000Z\",\r\n \"endTime\": \"2024-03-25T06:59: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-61bde38e-542c-4645-af2c-e90d4cdf00e5/findRestorableTimeRanges?api-version=2024-04-01", + "Content": "{\r\n \"sourceDataStoreType\": \"OperationalStore\",\r\n \"startTime\": \"2024-03-22T20:02:50.0000000Z\",\r\n \"endTime\": \"2024-04-21T20:02:50.0000000Z\"\r\n}", "isContentBase64": false, "Headers": { }, @@ -59,22 +60,23 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "edce2a91-4c12-4555-9ec9-7843ccc40bad" ], - "x-ms-correlation-request-id": [ "edce2a91-4c12-4555-9ec9-7843ccc40bad" ], - "x-ms-routing-request-id": [ "CENTRALINDIA:20240325T012905Z:edce2a91-4c12-4555-9ec9-7843ccc40bad" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-request-id": [ "cf62f11c-740f-428d-93c0-d2d36bdfc02c" ], + "x-ms-correlation-request-id": [ "cf62f11c-740f-428d-93c0-d2d36bdfc02c" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T143252Z:cf62f11c-740f-428d-93c0-d2d36bdfc02c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 1380200CF3C44CB7819217F4232EF3DC Ref B: MAA201060516027 Ref C: 2024-03-25T01:29:03Z" ], - "Date": [ "Mon, 25 Mar 2024 01:29:05 GMT" ] + "X-MSEdge-Ref": [ "Ref A: C72192A0CDC04C7DBA6F6FD7B7FBF759 Ref B: MAA201060513019 Ref C: 2024-04-21T14:32:50Z" ], + "Date": [ "Sun, 21 Apr 2024 14:32:52 GMT" ] }, "ContentHeaders": { "Content-Length": [ "389" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"restorableTimeRanges\":[{\"startTime\":\"2024-02-24T06:59:03.0000000Z\",\"endTime\":\"2024-03-25T01:29:05.2876595Z\",\"objectType\":\"RestorableTimeRange\"}],\"objectType\":\"AzureBackupFindRestorableTimeRangesResponse\"},\"id\":\"jececyblobstorage-jececyblobstorage-61bde38e-542c-4645-af2c-e90d4cdf00e5\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/findRestorableTimeRanges\"}", + "Content": "{\"properties\":{\"restorableTimeRanges\":[{\"startTime\":\"2024-03-22T20:02:50.0000000Z\",\"endTime\":\"2024-04-21T14:32:52.3674993Z\",\"objectType\":\"RestorableTimeRange\"}],\"objectType\":\"AzureBackupFindRestorableTimeRangesResponse\"},\"id\":\"jececyblobstorage-jececyblobstorage-61bde38e-542c-4645-af2c-e90d4cdf00e5\",\"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 c6e2091f9980..b0b7317ce49c 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-12-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=2024-04-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-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "1" ], - "x-ms-client-request-id": [ "91522ee0-bd58-44e1-8a87-4208b3d9a1ad" ], + "x-ms-unique-id": [ "128" ], + "x-ms-client-request-id": [ "0bd7761c-beb1-41fe-bb9e-05d752959319" ], "CommandName": [ "Get-AzDataProtectionBackupInstance" ], "FullCommandName": [ "Get-AzDataProtectionBackupInstance_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -22,15 +22,16 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1999" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "984546d7-499a-481d-95e5-ad92063a5059" ], - "x-ms-correlation-request-id": [ "984546d7-499a-481d-95e5-ad92063a5059" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240325T012145Z:984546d7-499a-481d-95e5-ad92063a5059" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1999" ], + "x-ms-request-id": [ "c89a6aaa-c673-403c-b5f7-ce17a0ca6ef1" ], + "x-ms-correlation-request-id": [ "c89a6aaa-c673-403c-b5f7-ce17a0ca6ef1" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T143254Z:c89a6aaa-c673-403c-b5f7-ce17a0ca6ef1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 78337B7FE4AD4810AA62CDF61A06F905 Ref B: MAA201060515051 Ref C: 2024-03-25T01:21:43Z" ], - "Date": [ "Mon, 25 Mar 2024 01:21:44 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 35348F4E0E334139BD9E70145376F7C9 Ref B: MAA201060513019 Ref C: 2024-04-21T14:32:52Z" ], + "Date": [ "Sun, 21 Apr 2024 14:32:53 GMT" ] }, "ContentHeaders": { "Content-Length": [ "33756" ], @@ -41,19 +42,19 @@ "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-12-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=2024-04-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-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "ea111ca0-e8bb-4bb1-bfa7-c468209ab526" ], + "x-ms-unique-id": [ "129" ], + "x-ms-client-request-id": [ "6bf2b16d-4fef-4409-b90a-df6966c16530" ], "CommandName": [ "Get-AzDataProtectionBackupInstance" ], "FullCommandName": [ "Get-AzDataProtectionBackupInstance_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -64,15 +65,16 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1998" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "5774cfa6-0ad9-4df9-89ea-afea8766d8e1" ], - "x-ms-correlation-request-id": [ "5774cfa6-0ad9-4df9-89ea-afea8766d8e1" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240325T012146Z:5774cfa6-0ad9-4df9-89ea-afea8766d8e1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1999" ], + "x-ms-request-id": [ "0c73a655-08c5-4c87-bf68-3bc9a5116136" ], + "x-ms-correlation-request-id": [ "0c73a655-08c5-4c87-bf68-3bc9a5116136" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T143255Z:0c73a655-08c5-4c87-bf68-3bc9a5116136" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: AA82E44F297D4B0EAF8AED0F21AFE1A5 Ref B: MAA201060515051 Ref C: 2024-03-25T01:21:45Z" ], - "Date": [ "Mon, 25 Mar 2024 01:21:45 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 431298405A034C2080CE9C213B8A1287 Ref B: MAA201060513019 Ref C: 2024-04-21T14:32:54Z" ], + "Date": [ "Sun, 21 Apr 2024 14:32:55 GMT" ] }, "ContentHeaders": { "Content-Length": [ "33756" ], @@ -83,19 +85,19 @@ "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-12-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=2024-04-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-12-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=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "110c902c-7d40-4bcc-a917-dfbcc3d0cd6c" ], + "x-ms-unique-id": [ "130" ], + "x-ms-client-request-id": [ "92a79615-0fea-42fd-b8bd-8fec1ef0354b" ], "CommandName": [ "Get-AzDataProtectionBackupInstance" ], "FullCommandName": [ "Get-AzDataProtectionBackupInstance_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -106,15 +108,16 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1999" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "e5f69e55-0bf7-4ffd-b186-55741e321912" ], - "x-ms-correlation-request-id": [ "e5f69e55-0bf7-4ffd-b186-55741e321912" ], - "x-ms-routing-request-id": [ "CENTRALINDIA:20240325T012147Z:e5f69e55-0bf7-4ffd-b186-55741e321912" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1999" ], + "x-ms-request-id": [ "34dcac28-3110-43c4-bba0-a45843147f94" ], + "x-ms-correlation-request-id": [ "34dcac28-3110-43c4-bba0-a45843147f94" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T143257Z:34dcac28-3110-43c4-bba0-a45843147f94" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: C54E291104D14A3C9B075FC45BB029E6 Ref B: MAA201060515051 Ref C: 2024-03-25T01:21:46Z" ], - "Date": [ "Mon, 25 Mar 2024 01:21:46 GMT" ] + "X-MSEdge-Ref": [ "Ref A: A32CDD0ABDC149AFB2D2A5DF48B19081 Ref B: MAA201060513019 Ref C: 2024-04-21T14:32:55Z" ], + "Date": [ "Sun, 21 Apr 2024 14:32:56 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2005" ], diff --git a/src/DataProtection/DataProtection.Autorest/test/Get-AzDataProtectionBackupInstancesExtensionRouting.Tests.ps1 b/src/DataProtection/DataProtection.Autorest/test/Get-AzDataProtectionBackupInstancesExtensionRouting.Tests.ps1 new file mode 100644 index 000000000000..77fee5adc424 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/test/Get-AzDataProtectionBackupInstancesExtensionRouting.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Get-AzDataProtectionBackupInstancesExtensionRouting')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzDataProtectionBackupInstancesExtensionRouting.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-AzDataProtectionBackupInstancesExtensionRouting' { + It 'List' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/DataProtection/DataProtection.Autorest/test/Get-AzDataProtectionBackupPolicy.Recording.json b/src/DataProtection/DataProtection.Autorest/test/Get-AzDataProtectionBackupPolicy.Recording.json index 4cf467a8d8bc..6a9dcec820ab 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-12-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=2024-04-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-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "1" ], - "x-ms-client-request-id": [ "ed8e81cf-3b37-4979-8e9c-226f3b8653a4" ], + "x-ms-unique-id": [ "131" ], + "x-ms-client-request-id": [ "78020910-77e4-48c4-abe2-4f0c1ae507ad" ], "CommandName": [ "Get-AzDataProtectionBackupInstance" ], "FullCommandName": [ "Get-AzDataProtectionBackupInstance_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -22,15 +22,16 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1999" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "a87a016f-6025-4a82-8759-2f45c2b05bf8" ], - "x-ms-correlation-request-id": [ "a87a016f-6025-4a82-8759-2f45c2b05bf8" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T013040Z:a87a016f-6025-4a82-8759-2f45c2b05bf8" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1999" ], + "x-ms-request-id": [ "745ddb64-58c5-493d-b9e8-71dfdb79b26e" ], + "x-ms-correlation-request-id": [ "745ddb64-58c5-493d-b9e8-71dfdb79b26e" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T143259Z:745ddb64-58c5-493d-b9e8-71dfdb79b26e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: AD4E77CE381848B7B9F3F3122D5E1CCC Ref B: MAA201060513017 Ref C: 2024-03-25T01:30:38Z" ], - "Date": [ "Mon, 25 Mar 2024 01:30:40 GMT" ] + "X-MSEdge-Ref": [ "Ref A: A8D01CB3444B435384AD8310F2B8C5D1 Ref B: MAA201060513019 Ref C: 2024-04-21T14:32:58Z" ], + "Date": [ "Sun, 21 Apr 2024 14:32:59 GMT" ] }, "ContentHeaders": { "Content-Length": [ "33756" ], diff --git a/src/DataProtection/DataProtection.Autorest/test/Get-AzDataProtectionBackupVault.Recording.json b/src/DataProtection/DataProtection.Autorest/test/Get-AzDataProtectionBackupVault.Recording.json index 7b56deace904..5ea6d5a7a997 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-12-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=2024-04-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-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "1" ], - "x-ms-client-request-id": [ "ff2d7faa-3ae9-4d83-aaa6-cb7804dc67aa" ], + "x-ms-unique-id": [ "132" ], + "x-ms-client-request-id": [ "56d322e7-2a1e-42cf-8019-7dfb7208a095" ], "CommandName": [ "Get-AzDataProtectionBackupVault" ], "FullCommandName": [ "Get-AzDataProtectionBackupVault_Get2" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -22,22 +22,23 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "499" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "4dd65a41-83dc-4b28-be57-ef0f19c394d7" ], - "x-ms-correlation-request-id": [ "4dd65a41-83dc-4b28-be57-ef0f19c394d7" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T013151Z:4dd65a41-83dc-4b28-be57-ef0f19c394d7" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "499" ], + "x-ms-request-id": [ "410e1d35-48da-4252-80d4-0100e1b136e7" ], + "x-ms-correlation-request-id": [ "410e1d35-48da-4252-80d4-0100e1b136e7" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T143301Z:410e1d35-48da-4252-80d4-0100e1b136e7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 9DAFFF046CBD488B8A8F73A3BB33F385 Ref B: MAA201060513033 Ref C: 2024-03-25T01:31:50Z" ], - "Date": [ "Mon, 25 Mar 2024 01:31:50 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 824EBBD68BAC4ED2A8A970B612B6AFEC Ref B: MAA201060513019 Ref C: 2024-04-21T14:33:00Z" ], + "Date": [ "Sun, 21 Apr 2024 14:33:01 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "682" ], + "Content-Length": [ "709" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "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\"}", + "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\",\"bcdrSecurityLevel\":\"Poor\",\"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/Initialize-AzDataProtectionRestoreRequest.Recording.json b/src/DataProtection/DataProtection.Autorest/test/Initialize-AzDataProtectionRestoreRequest.Recording.json index 6dde5685a4d3..ef83f3d49ae7 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-12-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=2024-04-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-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "1" ], - "x-ms-client-request-id": [ "b943a9a9-e243-4c8e-9f03-ad3ebb6f7623" ], + "x-ms-unique-id": [ "133" ], + "x-ms-client-request-id": [ "ead76d62-1fbf-4c3e-96a4-64d6fba110f9" ], "CommandName": [ "Get-AzDataProtectionBackupInstance" ], "FullCommandName": [ "Get-AzDataProtectionBackupInstance_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -22,15 +22,16 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1999" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "4a6e5d20-b3ab-46c3-ac40-e1885ceb26e8" ], - "x-ms-correlation-request-id": [ "4a6e5d20-b3ab-46c3-ac40-e1885ceb26e8" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T200614Z:4a6e5d20-b3ab-46c3-ac40-e1885ceb26e8" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1999" ], + "x-ms-request-id": [ "0ef687da-e6f5-43aa-9e4e-90b4beb92c08" ], + "x-ms-correlation-request-id": [ "0ef687da-e6f5-43aa-9e4e-90b4beb92c08" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T143319Z:0ef687da-e6f5-43aa-9e4e-90b4beb92c08" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 6C4340E5BDFA45DEB4BA1158ADB52DA1 Ref B: MAA201060513029 Ref C: 2024-03-24T20:06:12Z" ], - "Date": [ "Sun, 24 Mar 2024 20:06:13 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 08EF4F3A16C7407FA6D57D09EA48DB49 Ref B: MAA201060513019 Ref C: 2024-04-21T14:33:18Z" ], + "Date": [ "Sun, 21 Apr 2024 14:33:18 GMT" ] }, "ContentHeaders": { "Content-Length": [ "8830" ], @@ -41,11 +42,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-61bde38e-542c-4645-af2c-e90d4cdf00e5/findRestorableTimeRanges?api-version=2023-12-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-61bde38e-542c-4645-af2c-e90d4cdf00e5/findRestorableTimeRanges?api-version=2024-04-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-61bde38e-542c-4645-af2c-e90d4cdf00e5/findRestorableTimeRanges?api-version=2023-12-01", - "Content": "{\r\n \"sourceDataStoreType\": \"OperationalStore\",\r\n \"startTime\": \"2024-02-24T01:36:15.0000000Z\",\r\n \"endTime\": \"2024-03-25T01:36:15.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-61bde38e-542c-4645-af2c-e90d4cdf00e5/findRestorableTimeRanges?api-version=2024-04-01", + "Content": "{\r\n \"sourceDataStoreType\": \"OperationalStore\",\r\n \"startTime\": \"2024-03-22T20:03:19.0000000Z\",\r\n \"endTime\": \"2024-04-21T20:03:19.0000000Z\"\r\n}", "isContentBase64": false, "Headers": { }, @@ -59,38 +60,39 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "62fb07c8-b239-4315-87ca-8643a39d11ae" ], - "x-ms-correlation-request-id": [ "62fb07c8-b239-4315-87ca-8643a39d11ae" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T200616Z:62fb07c8-b239-4315-87ca-8643a39d11ae" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-request-id": [ "ea3a534d-9a98-4a07-aa8e-978adbd5b31a" ], + "x-ms-correlation-request-id": [ "ea3a534d-9a98-4a07-aa8e-978adbd5b31a" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T143321Z:ea3a534d-9a98-4a07-aa8e-978adbd5b31a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 64800654058C4094971FC35EAD341190 Ref B: MAA201060513029 Ref C: 2024-03-24T20:06:14Z" ], - "Date": [ "Sun, 24 Mar 2024 20:06:15 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 94A535B0DF514CC59518243A072E3F44 Ref B: MAA201060513019 Ref C: 2024-04-21T14:33:19Z" ], + "Date": [ "Sun, 21 Apr 2024 14:33:20 GMT" ] }, "ContentHeaders": { "Content-Length": [ "389" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"restorableTimeRanges\":[{\"startTime\":\"2024-02-24T01:36:15.0000000Z\",\"endTime\":\"2024-03-24T20:06:16.2682166Z\",\"objectType\":\"RestorableTimeRange\"}],\"objectType\":\"AzureBackupFindRestorableTimeRangesResponse\"},\"id\":\"jececyblobstorage-jececyblobstorage-61bde38e-542c-4645-af2c-e90d4cdf00e5\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/findRestorableTimeRanges\"}", + "Content": "{\"properties\":{\"restorableTimeRanges\":[{\"startTime\":\"2024-03-22T20:03:19.0000000Z\",\"endTime\":\"2024-04-21T14:33:21.0220752Z\",\"objectType\":\"RestorableTimeRange\"}],\"objectType\":\"AzureBackupFindRestorableTimeRangesResponse\"},\"id\":\"jececyblobstorage-jececyblobstorage-61bde38e-542c-4645-af2c-e90d4cdf00e5\",\"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-12-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=2024-04-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-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "7cb14f21-be74-478c-b257-c8ce91dee658" ], + "x-ms-unique-id": [ "135" ], + "x-ms-client-request-id": [ "f56fc112-dda9-430c-ad17-f5220f10074f" ], "CommandName": [ "Get-AzDataProtectionBackupVault" ], "FullCommandName": [ "Get-AzDataProtectionBackupVault_Get2" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -101,30 +103,31 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "499" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "c8eb8e05-e5f3-489d-b359-69b2789c883a" ], - "x-ms-correlation-request-id": [ "c8eb8e05-e5f3-489d-b359-69b2789c883a" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T200617Z:c8eb8e05-e5f3-489d-b359-69b2789c883a" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "499" ], + "x-ms-request-id": [ "a0823d9e-ad58-43da-9870-2838a0bcf925" ], + "x-ms-correlation-request-id": [ "a0823d9e-ad58-43da-9870-2838a0bcf925" ], + "x-ms-routing-request-id": [ "JIOINDIACENTRAL:20240421T143322Z:a0823d9e-ad58-43da-9870-2838a0bcf925" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 9B9B4F028FDC468990187B307F95658F Ref B: MAA201060513029 Ref C: 2024-03-24T20:06:16Z" ], - "Date": [ "Sun, 24 Mar 2024 20:06:16 GMT" ] + "X-MSEdge-Ref": [ "Ref A: DC9D02DB8E924D768F25962456F52EBA Ref B: MAA201060513019 Ref C: 2024-04-21T14:33:21Z" ], + "Date": [ "Sun, 21 Apr 2024 14:33:22 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "613" ], + "Content-Length": [ "640" ], "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\",\"replicatedRegions\":[]},\"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\",\"bcdrSecurityLevel\":\"Poor\",\"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-61bde38e-542c-4645-af2c-e90d4cdf00e5/restore?api-version=2023-12-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-61bde38e-542c-4645-af2c-e90d4cdf00e5/restore?api-version=2024-04-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-61bde38e-542c-4645-af2c-e90d4cdf00e5/restore?api-version=2023-12-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\": \"2024-03-24T20:06:16.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-61bde38e-542c-4645-af2c-e90d4cdf00e5/restore?api-version=2024-04-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\": \"2024-04-21T14:33:21.0000000Z\"\r\n}", "isContentBase64": false, "Headers": { }, @@ -138,18 +141,19 @@ "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/Y2ZlZmJjZDktYzhkOC00M2Q2LWI0MjgtMmZlYzkzZmM1NGY2OzU0MWFkMjVlLTY3NjYtNGY0Yy04Y2Q3LWUzOTMwYWM3NjI1ZQ==?api-version=2023-12-01\u0026t=638469075785373181\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=KV6oiqjXKCqKpBkypqVLq8Srbbm_XoGJdyWus1j9W37qefotZrM3O05WR8fm6d1suhC8IWspnXNcRYBE5oQ2SATAumvIYgxd42uipYqte-RKOBPD3iLPAM-9BydW112FZQcu2EWoQe8biQl3-n4Z1SSgB96uRwoaCAPNKKWUit6vMip8GT9pPdtuQQSc0k2yS6CRGnjB5fmUwY_Aq8oGkXVXJML647GPTJKTKo4tHgNEp8Vltz5Vvc1bbmH-lxMQhMbMAAkU8hINoZvgj9_YhawCB9lsKWYS5vdvwnmzfKGCgZDGihSMu8jpPQfyuvquR7NfrD-O-q3zfdkgw8YStQ\u0026h=-9eWddFu0_4S2PLhzJr-mV8qNoQ_u8CEo7qNo8b-kXA" ], + "Location": [ "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/Y2ZlZmJjZDktYzhkOC00M2Q2LWI0MjgtMmZlYzkzZmM1NGY2Ozg4MGMyNTJhLWQzZTctNDg3Ni04MmI1LTE1YTlkNjEyNDM2OQ==?api-version=2024-04-01\u0026t=638493068040365010\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=A_GIcUnV-FSLWPxVA6zMPMA0shtS1YMQXPeiKalwvZP22lRveOppA2999o7d2-VEkMEBa8V9RhEnuuz9xEaOcPoPSINUDJfkCrl_elm1lO_zJVnBXjcfnk8NFKYBIOC0h40sdOhm56ppTXizs0PXTACq9Tw8ZUSgoWH-FowfPcrtwzwZqPPyQPiNe-ecJPHzKByTKSZA3YR6bkVAwHzzpmlmQ9tDJ1U6jMudvtqhuapN4RtGJ3CqMWKNxzRz5e4XpA6ccU8XCVeNZxVO1wHgTomSFrNHyO-IWPXsDllNGjXb6X-zg6dQ32Y9lHBGl9gAOoZVZow7H2aMzx9CSfT3eA\u0026h=DlOMjs0fIvOo1lSlxsxOOmQCXYV648ac7aaZpGNiMxg" ], "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/Y2ZlZmJjZDktYzhkOC00M2Q2LWI0MjgtMmZlYzkzZmM1NGY2OzU0MWFkMjVlLTY3NjYtNGY0Yy04Y2Q3LWUzOTMwYWM3NjI1ZQ==?api-version=2023-12-01\u0026t=638469075785373181\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=HXQP37zRd7Bog3L0uzoBO1lZaAw_oATKis4LajnrD-rI2N2F8zh7lf9nrcuTxqYwJH3OQQ823LR7Qd2B97m3vw8GG7D4qQalhCFa6D6Ttaweo05q5fuZwXJHt-VR5oxfH8yS7yBvDo6u5u7_Am4q08RbjbD6wK7KobHhZtKMszbmOsLiHLsixcqVa4ekhlLOU79wHxnlaMW-MQMENO1JQ0UmhSAypahKIc0tG2b1ROghEsFeu3iDm8oX8rdVgKaaVvdPsnTFi2ksmXC5Kw1FEZw6AOLd9nxXjxsUqkZnO1Pk6r6mNh6CyJEKEZN-gKXfkOzdS_s2DP77guoC6r19Tw\u0026h=FCkEVRTRQbP74ktRcRYczbSoxaRo-gh1frgcqM4yz24" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/operationStatus/Y2ZlZmJjZDktYzhkOC00M2Q2LWI0MjgtMmZlYzkzZmM1NGY2Ozg4MGMyNTJhLWQzZTctNDg3Ni04MmI1LTE1YTlkNjEyNDM2OQ==?api-version=2024-04-01\u0026t=638493068040365010\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=V0NZwipQ6Bc1LrPEAzJbek30LfEFrzKTK-3mDjFJr-EYY4UepyWyQ3JvhiBvV_mMrFUpt27TT_XG6Uz0o3Vgz-IzlBhYR_6xG6rgtugP9EbBYAbgbLFj_sSa2RlvoV8rpDimjGZa5QKkMQlRH8ETczs4jO5p0o-0PuW7ZWim2znvRALajEQwOlHFBHw_ZX26NKNaWTslAgWdUzt0NRgkFrmrRCTF4s3rjeSduG7kVBe43EVf3fLEP-wBxNXRZEqdqlBo2bnJoVRkBNqVTFpV3YIGZ-lpbBYz4t-2mFJZTAGxW8vvK5MMXxZE3CRrPdCXsq0fsFHKpup_UfdlioZK5g\u0026h=wdRxvtXs_hX6omR75PHPeZa_TPbAPdaW8P4ZzHMfHFk" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-request-id": [ "1e0fd87f-1904-4e14-b255-d43279b43c43" ], - "x-ms-correlation-request-id": [ "1e0fd87f-1904-4e14-b255-d43279b43c43" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T200618Z:1e0fd87f-1904-4e14-b255-d43279b43c43" ], + "x-ms-request-id": [ "ffb5a371-69e5-4e05-ac15-8b5f1f259acc" ], + "x-ms-correlation-request-id": [ "ffb5a371-69e5-4e05-ac15-8b5f1f259acc" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T143324Z:ffb5a371-69e5-4e05-ac15-8b5f1f259acc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: B999D6D2F152405A9D952E797117D52E Ref B: MAA201060513029 Ref C: 2024-03-24T20:06:17Z" ], - "Date": [ "Sun, 24 Mar 2024 20:06:17 GMT" ] + "X-MSEdge-Ref": [ "Ref A: F3151E14A6A440C3B572DB4AD5B4A441 Ref B: MAA201060513019 Ref C: 2024-04-21T14:33:22Z" ], + "Date": [ "Sun, 21 Apr 2024 14:33:23 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -159,20 +163,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/Y2ZlZmJjZDktYzhkOC00M2Q2LWI0MjgtMmZlYzkzZmM1NGY2OzU0MWFkMjVlLTY3NjYtNGY0Yy04Y2Q3LWUzOTMwYWM3NjI1ZQ==?api-version=2023-12-01\u0026t=638469075785373181\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=HXQP37zRd7Bog3L0uzoBO1lZaAw_oATKis4LajnrD-rI2N2F8zh7lf9nrcuTxqYwJH3OQQ823LR7Qd2B97m3vw8GG7D4qQalhCFa6D6Ttaweo05q5fuZwXJHt-VR5oxfH8yS7yBvDo6u5u7_Am4q08RbjbD6wK7KobHhZtKMszbmOsLiHLsixcqVa4ekhlLOU79wHxnlaMW-MQMENO1JQ0UmhSAypahKIc0tG2b1ROghEsFeu3iDm8oX8rdVgKaaVvdPsnTFi2ksmXC5Kw1FEZw6AOLd9nxXjxsUqkZnO1Pk6r6mNh6CyJEKEZN-gKXfkOzdS_s2DP77guoC6r19Tw\u0026h=FCkEVRTRQbP74ktRcRYczbSoxaRo-gh1frgcqM4yz24+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/Y2ZlZmJjZDktYzhkOC00M2Q2LWI0MjgtMmZlYzkzZmM1NGY2Ozg4MGMyNTJhLWQzZTctNDg3Ni04MmI1LTE1YTlkNjEyNDM2OQ==?api-version=2024-04-01\u0026t=638493068040365010\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=V0NZwipQ6Bc1LrPEAzJbek30LfEFrzKTK-3mDjFJr-EYY4UepyWyQ3JvhiBvV_mMrFUpt27TT_XG6Uz0o3Vgz-IzlBhYR_6xG6rgtugP9EbBYAbgbLFj_sSa2RlvoV8rpDimjGZa5QKkMQlRH8ETczs4jO5p0o-0PuW7ZWim2znvRALajEQwOlHFBHw_ZX26NKNaWTslAgWdUzt0NRgkFrmrRCTF4s3rjeSduG7kVBe43EVf3fLEP-wBxNXRZEqdqlBo2bnJoVRkBNqVTFpV3YIGZ-lpbBYz4t-2mFJZTAGxW8vvK5MMXxZE3CRrPdCXsq0fsFHKpup_UfdlioZK5g\u0026h=wdRxvtXs_hX6omR75PHPeZa_TPbAPdaW8P4ZzHMfHFk+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/operationStatus/Y2ZlZmJjZDktYzhkOC00M2Q2LWI0MjgtMmZlYzkzZmM1NGY2OzU0MWFkMjVlLTY3NjYtNGY0Yy04Y2Q3LWUzOTMwYWM3NjI1ZQ==?api-version=2023-12-01\u0026t=638469075785373181\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=HXQP37zRd7Bog3L0uzoBO1lZaAw_oATKis4LajnrD-rI2N2F8zh7lf9nrcuTxqYwJH3OQQ823LR7Qd2B97m3vw8GG7D4qQalhCFa6D6Ttaweo05q5fuZwXJHt-VR5oxfH8yS7yBvDo6u5u7_Am4q08RbjbD6wK7KobHhZtKMszbmOsLiHLsixcqVa4ekhlLOU79wHxnlaMW-MQMENO1JQ0UmhSAypahKIc0tG2b1ROghEsFeu3iDm8oX8rdVgKaaVvdPsnTFi2ksmXC5Kw1FEZw6AOLd9nxXjxsUqkZnO1Pk6r6mNh6CyJEKEZN-gKXfkOzdS_s2DP77guoC6r19Tw\u0026h=FCkEVRTRQbP74ktRcRYczbSoxaRo-gh1frgcqM4yz24", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/operationStatus/Y2ZlZmJjZDktYzhkOC00M2Q2LWI0MjgtMmZlYzkzZmM1NGY2Ozg4MGMyNTJhLWQzZTctNDg3Ni04MmI1LTE1YTlkNjEyNDM2OQ==?api-version=2024-04-01\u0026t=638493068040365010\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=V0NZwipQ6Bc1LrPEAzJbek30LfEFrzKTK-3mDjFJr-EYY4UepyWyQ3JvhiBvV_mMrFUpt27TT_XG6Uz0o3Vgz-IzlBhYR_6xG6rgtugP9EbBYAbgbLFj_sSa2RlvoV8rpDimjGZa5QKkMQlRH8ETczs4jO5p0o-0PuW7ZWim2znvRALajEQwOlHFBHw_ZX26NKNaWTslAgWdUzt0NRgkFrmrRCTF4s3rjeSduG7kVBe43EVf3fLEP-wBxNXRZEqdqlBo2bnJoVRkBNqVTFpV3YIGZ-lpbBYz4t-2mFJZTAGxW8vvK5MMXxZE3CRrPdCXsq0fsFHKpup_UfdlioZK5g\u0026h=wdRxvtXs_hX6omR75PHPeZa_TPbAPdaW8P4ZzHMfHFk", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "5" ], - "x-ms-client-request-id": [ "ac58407a-195e-4db5-844e-e1bcf5f731e0" ], + "x-ms-unique-id": [ "137" ], + "x-ms-client-request-id": [ "0bb7992d-8d6d-4fd4-8d92-07378a6de199" ], "CommandName": [ "Az.DataProtection.Internal\\Start-AzDataProtectionBackupInstanceRestore" ], "FullCommandName": [ "Start-AzDataProtectionBackupInstanceRestore_Trigger" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -182,39 +186,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "4871d39f-db26-4692-9403-8ae2cad00d60" ], - "x-ms-correlation-request-id": [ "4871d39f-db26-4692-9403-8ae2cad00d60" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T200649Z:4871d39f-db26-4692-9403-8ae2cad00d60" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], + "x-ms-request-id": [ "e50f8121-0dfe-4544-9734-74893a8ba468" ], + "x-ms-correlation-request-id": [ "e50f8121-0dfe-4544-9734-74893a8ba468" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T143355Z:e50f8121-0dfe-4544-9734-74893a8ba468" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 3C840605C6D9458587008E6BF229192D Ref B: MAA201060513029 Ref C: 2024-03-24T20:06:48Z" ], - "Date": [ "Sun, 24 Mar 2024 20:06:48 GMT" ] + "X-MSEdge-Ref": [ "Ref A: D2744B3B4DE24D2F98A7B125D2D1EAD0 Ref B: MAA201060513019 Ref C: 2024-04-21T14:33:54Z" ], + "Date": [ "Sun, 21 Apr 2024 14:33:54 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/Y2ZlZmJjZDktYzhkOC00M2Q2LWI0MjgtMmZlYzkzZmM1NGY2OzU0MWFkMjVlLTY3NjYtNGY0Yy04Y2Q3LWUzOTMwYWM3NjI1ZQ==\",\"name\":\"Y2ZlZmJjZDktYzhkOC00M2Q2LWI0MjgtMmZlYzkzZmM1NGY2OzU0MWFkMjVlLTY3NjYtNGY0Yy04Y2Q3LWUzOTMwYWM3NjI1ZQ==\",\"status\":\"Succeeded\",\"startTime\":\"2024-03-24T20:06:18.3481343Z\",\"endTime\":\"2024-03-24T20:06:19Z\",\"properties\":{\"jobId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/BackupVaults/jecECYBlobVault/backupJobs/7a0ddfe7-3674-440b-bab4-3902cbc24e18\",\"objectType\":\"OperationJobExtendedInfo\"}}", + "Content": "{\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/operationStatus/Y2ZlZmJjZDktYzhkOC00M2Q2LWI0MjgtMmZlYzkzZmM1NGY2Ozg4MGMyNTJhLWQzZTctNDg3Ni04MmI1LTE1YTlkNjEyNDM2OQ==\",\"name\":\"Y2ZlZmJjZDktYzhkOC00M2Q2LWI0MjgtMmZlYzkzZmM1NGY2Ozg4MGMyNTJhLWQzZTctNDg3Ni04MmI1LTE1YTlkNjEyNDM2OQ==\",\"status\":\"Succeeded\",\"startTime\":\"2024-04-21T14:33:23.8316996Z\",\"endTime\":\"2024-04-21T14:33:24Z\",\"properties\":{\"jobId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/BackupVaults/jecECYBlobVault/backupJobs/1f361de2-f2c5-4589-ad01-9c4c44746376\",\"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/Y2ZlZmJjZDktYzhkOC00M2Q2LWI0MjgtMmZlYzkzZmM1NGY2OzU0MWFkMjVlLTY3NjYtNGY0Yy04Y2Q3LWUzOTMwYWM3NjI1ZQ==?api-version=2023-12-01\u0026t=638469075785373181\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=KV6oiqjXKCqKpBkypqVLq8Srbbm_XoGJdyWus1j9W37qefotZrM3O05WR8fm6d1suhC8IWspnXNcRYBE5oQ2SATAumvIYgxd42uipYqte-RKOBPD3iLPAM-9BydW112FZQcu2EWoQe8biQl3-n4Z1SSgB96uRwoaCAPNKKWUit6vMip8GT9pPdtuQQSc0k2yS6CRGnjB5fmUwY_Aq8oGkXVXJML647GPTJKTKo4tHgNEp8Vltz5Vvc1bbmH-lxMQhMbMAAkU8hINoZvgj9_YhawCB9lsKWYS5vdvwnmzfKGCgZDGihSMu8jpPQfyuvquR7NfrD-O-q3zfdkgw8YStQ\u0026h=-9eWddFu0_4S2PLhzJr-mV8qNoQ_u8CEo7qNo8b-kXA+6": { + "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/Y2ZlZmJjZDktYzhkOC00M2Q2LWI0MjgtMmZlYzkzZmM1NGY2Ozg4MGMyNTJhLWQzZTctNDg3Ni04MmI1LTE1YTlkNjEyNDM2OQ==?api-version=2024-04-01\u0026t=638493068040365010\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=A_GIcUnV-FSLWPxVA6zMPMA0shtS1YMQXPeiKalwvZP22lRveOppA2999o7d2-VEkMEBa8V9RhEnuuz9xEaOcPoPSINUDJfkCrl_elm1lO_zJVnBXjcfnk8NFKYBIOC0h40sdOhm56ppTXizs0PXTACq9Tw8ZUSgoWH-FowfPcrtwzwZqPPyQPiNe-ecJPHzKByTKSZA3YR6bkVAwHzzpmlmQ9tDJ1U6jMudvtqhuapN4RtGJ3CqMWKNxzRz5e4XpA6ccU8XCVeNZxVO1wHgTomSFrNHyO-IWPXsDllNGjXb6X-zg6dQ32Y9lHBGl9gAOoZVZow7H2aMzx9CSfT3eA\u0026h=DlOMjs0fIvOo1lSlxsxOOmQCXYV648ac7aaZpGNiMxg+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/Y2ZlZmJjZDktYzhkOC00M2Q2LWI0MjgtMmZlYzkzZmM1NGY2OzU0MWFkMjVlLTY3NjYtNGY0Yy04Y2Q3LWUzOTMwYWM3NjI1ZQ==?api-version=2023-12-01\u0026t=638469075785373181\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=KV6oiqjXKCqKpBkypqVLq8Srbbm_XoGJdyWus1j9W37qefotZrM3O05WR8fm6d1suhC8IWspnXNcRYBE5oQ2SATAumvIYgxd42uipYqte-RKOBPD3iLPAM-9BydW112FZQcu2EWoQe8biQl3-n4Z1SSgB96uRwoaCAPNKKWUit6vMip8GT9pPdtuQQSc0k2yS6CRGnjB5fmUwY_Aq8oGkXVXJML647GPTJKTKo4tHgNEp8Vltz5Vvc1bbmH-lxMQhMbMAAkU8hINoZvgj9_YhawCB9lsKWYS5vdvwnmzfKGCgZDGihSMu8jpPQfyuvquR7NfrD-O-q3zfdkgw8YStQ\u0026h=-9eWddFu0_4S2PLhzJr-mV8qNoQ_u8CEo7qNo8b-kXA", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/Y2ZlZmJjZDktYzhkOC00M2Q2LWI0MjgtMmZlYzkzZmM1NGY2Ozg4MGMyNTJhLWQzZTctNDg3Ni04MmI1LTE1YTlkNjEyNDM2OQ==?api-version=2024-04-01\u0026t=638493068040365010\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=A_GIcUnV-FSLWPxVA6zMPMA0shtS1YMQXPeiKalwvZP22lRveOppA2999o7d2-VEkMEBa8V9RhEnuuz9xEaOcPoPSINUDJfkCrl_elm1lO_zJVnBXjcfnk8NFKYBIOC0h40sdOhm56ppTXizs0PXTACq9Tw8ZUSgoWH-FowfPcrtwzwZqPPyQPiNe-ecJPHzKByTKSZA3YR6bkVAwHzzpmlmQ9tDJ1U6jMudvtqhuapN4RtGJ3CqMWKNxzRz5e4XpA6ccU8XCVeNZxVO1wHgTomSFrNHyO-IWPXsDllNGjXb6X-zg6dQ32Y9lHBGl9gAOoZVZow7H2aMzx9CSfT3eA\u0026h=DlOMjs0fIvOo1lSlxsxOOmQCXYV648ac7aaZpGNiMxg", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "6" ], - "x-ms-client-request-id": [ "ac58407a-195e-4db5-844e-e1bcf5f731e0" ], + "x-ms-unique-id": [ "138" ], + "x-ms-client-request-id": [ "0bb7992d-8d6d-4fd4-8d92-07378a6de199" ], "CommandName": [ "Az.DataProtection.Internal\\Start-AzDataProtectionBackupInstanceRestore" ], "FullCommandName": [ "Start-AzDataProtectionBackupInstanceRestore_Trigger" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -225,39 +230,40 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Retry-After": [ "30" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationStatus/Y2ZlZmJjZDktYzhkOC00M2Q2LWI0MjgtMmZlYzkzZmM1NGY2OzU0MWFkMjVlLTY3NjYtNGY0Yy04Y2Q3LWUzOTMwYWM3NjI1ZQ==?api-version=2023-12-01\u0026t=638469076105635976\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=k2tpLPx456EwSUk_i78mK5cDBI433ahAblZHS_erssUqtv4QvW_v-sDlbdjvD-zToVyun0lr3a0gpcA_NicwjQj7g2L7oK34Fja8IWy-Yx8FsZIR_CjYe7N7nXWH06kZmdoJYSN80H8KOm9zKGl3znEA2b6dUPfeJa3IFsQmOAwDPKuSWG5EHjfRuuZnzyN_iRWByd2ygYW6_UWnOJTSDh7TN0S0qBih2hAK_gbKEzjs3lRzQbDXGqdg7K_igTikcosn3EsFg6VVWiZuKEZReCdyoYGYRnEUKtg0BcpgvaxcS02XVtcFqjRBggqg3D7h8bfCAb1wM-FCaijDo2pboA\u0026h=0rRU2T9fNX_AQQvPXm-PqA8MIXAqr9gGKuRSNJY4eNU" ], - "x-ms-request-id": [ "ee2c38f6-281d-453b-99e3-e9ec5daa71bb" ], - "x-ms-correlation-request-id": [ "ee2c38f6-281d-453b-99e3-e9ec5daa71bb" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T200650Z:ee2c38f6-281d-453b-99e3-e9ec5daa71bb" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationStatus/Y2ZlZmJjZDktYzhkOC00M2Q2LWI0MjgtMmZlYzkzZmM1NGY2Ozg4MGMyNTJhLWQzZTctNDg3Ni04MmI1LTE1YTlkNjEyNDM2OQ==?api-version=2024-04-01\u0026t=638493068360317673\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=oXB4T1Thyoeby37lw3L4iaaIvt_3TMy3d7VB4X2rRQUGUwolAVkX41dIIcrPyewDG2Kvq-fDb_sxU3g821CUXX8s0HuE9dCSfABC68CI2gM2YQFTBui-0aBLbrg_xYdgvuykXf6p0JqTjxl-6CnS3ULOG1CKAchiTMKCdyRufGVj4fk10NtvxBX63BtkLGV5cpO-TVwSWtDV8601BYpIdz5DfKfCYT4hQexn9NzjQxF68mr7a5CCyEXupiv9uCyujYg9Q8xNSrtYWlpcu1HJVIPrBolHmpSvHshTR0Aw8gBVMNcxFYwVHJ7g6oMOrzLEh-nG8d8V-MdkbqJkOwAmeg\u0026h=WM8jif60y0WeYjXxaQabqR85FrPjgKfEQeARUut1VvA" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "67fc378f-ae72-4b44-8f48-f4c1843cf2f4" ], + "x-ms-correlation-request-id": [ "67fc378f-ae72-4b44-8f48-f4c1843cf2f4" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T143356Z:67fc378f-ae72-4b44-8f48-f4c1843cf2f4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: E354F2646E4E441E93EAA1E73CC5FE3A Ref B: MAA201060513029 Ref C: 2024-03-24T20:06:49Z" ], - "Date": [ "Sun, 24 Mar 2024 20:06:49 GMT" ] + "X-MSEdge-Ref": [ "Ref A: FA6AFB6E4735463981C0B1F8AA889C0A Ref B: MAA201060513019 Ref C: 2024-04-21T14:33:55Z" ], + "Date": [ "Sun, 21 Apr 2024 14:33:55 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/7a0ddfe7-3674-440b-bab4-3902cbc24e18\",\"objectType\":\"OperationJobExtendedInfo\"}", + "Content": "{\"jobId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/BackupVaults/jecECYBlobVault/backupJobs/1f361de2-f2c5-4589-ad01-9c4c44746376\",\"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/7a0ddfe7-3674-440b-bab4-3902cbc24e18?api-version=2023-12-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/1f361de2-f2c5-4589-ad01-9c4c44746376?api-version=2024-04-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/7a0ddfe7-3674-440b-bab4-3902cbc24e18?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/1f361de2-f2c5-4589-ad01-9c4c44746376?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "7" ], - "x-ms-client-request-id": [ "7948269c-413c-4eb5-93b5-6469d84cd160" ], + "x-ms-unique-id": [ "139" ], + "x-ms-client-request-id": [ "95a10acc-6848-4726-9ed9-0f0d1694d3e7" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -269,37 +275,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "e1db6c8e-1b0c-4fea-b3a7-0df27a0497c8" ], - "x-ms-correlation-request-id": [ "e1db6c8e-1b0c-4fea-b3a7-0df27a0497c8" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T200701Z:e1db6c8e-1b0c-4fea-b3a7-0df27a0497c8" ], + "x-ms-request-id": [ "61b3ed2b-f6dc-402c-97f6-2065f3b2de18" ], + "x-ms-correlation-request-id": [ "61b3ed2b-f6dc-402c-97f6-2065f3b2de18" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T143407Z:61b3ed2b-f6dc-402c-97f6-2065f3b2de18" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: A0564C5AC1204897B9B2C4E6EE887A1F Ref B: MAA201060513029 Ref C: 2024-03-24T20:07:00Z" ], - "Date": [ "Sun, 24 Mar 2024 20:07:00 GMT" ] + "X-MSEdge-Ref": [ "Ref A: B891C361B13F465AB24E44B62CDFB136 Ref B: MAA201060513019 Ref C: 2024-04-21T14:34:06Z" ], + "Date": [ "Sun, 21 Apr 2024 14:34:07 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2471" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"ac58407a-195e-4db5-844e-e1bcf5f731e0\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-61bde38e-542c-4645-af2c-e90d4cdf00e5\",\"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\":\"jececyblobstorage\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":\"jececyblobstorage\",\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272024-03-24T20%3A06%3A18.7374448Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-24T20:06:18.5111266Z\",\"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\":\"2024-03-24T20:06:16Z\"},\"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/7a0ddfe7-3674-440b-bab4-3902cbc24e18\",\"name\":\"7a0ddfe7-3674-440b-bab4-3902cbc24e18\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"0bb7992d-8d6d-4fd4-8d92-07378a6de199\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-61bde38e-542c-4645-af2c-e90d4cdf00e5\",\"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\":\"jececyblobstorage\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":\"jececyblobstorage\",\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272024-04-21T14%3A33%3A24.3346412Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-21T14:33:24.0681342Z\",\"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\":\"2024-04-21T14:33:21Z\"},\"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/1f361de2-f2c5-4589-ad01-9c4c44746376\",\"name\":\"1f361de2-f2c5-4589-ad01-9c4c44746376\",\"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/7a0ddfe7-3674-440b-bab4-3902cbc24e18?api-version=2023-12-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/1f361de2-f2c5-4589-ad01-9c4c44746376?api-version=2024-04-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/7a0ddfe7-3674-440b-bab4-3902cbc24e18?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/1f361de2-f2c5-4589-ad01-9c4c44746376?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "8" ], - "x-ms-client-request-id": [ "1e37ae98-87c4-4063-a1a8-231241cebfb4" ], + "x-ms-unique-id": [ "140" ], + "x-ms-client-request-id": [ "2154e16a-316d-4b9c-9324-fe0eb6ca77d8" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -311,37 +318,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "aa6f4aab-b021-4695-8c02-7592bc61610d" ], - "x-ms-correlation-request-id": [ "aa6f4aab-b021-4695-8c02-7592bc61610d" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T200715Z:aa6f4aab-b021-4695-8c02-7592bc61610d" ], + "x-ms-request-id": [ "21e37206-3e9f-4e19-9188-c5e784c17aab" ], + "x-ms-correlation-request-id": [ "21e37206-3e9f-4e19-9188-c5e784c17aab" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240421T143419Z:21e37206-3e9f-4e19-9188-c5e784c17aab" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 428BDFCE2F0C4475A49724E664ADCC37 Ref B: MAA201060513029 Ref C: 2024-03-24T20:07:14Z" ], - "Date": [ "Sun, 24 Mar 2024 20:07:14 GMT" ] + "X-MSEdge-Ref": [ "Ref A: F80F0291C1AC44BA911F25F7E16B2CC5 Ref B: MAA201060513019 Ref C: 2024-04-21T14:34:18Z" ], + "Date": [ "Sun, 21 Apr 2024 14:34:18 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2471" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"ac58407a-195e-4db5-844e-e1bcf5f731e0\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-61bde38e-542c-4645-af2c-e90d4cdf00e5\",\"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\":\"jececyblobstorage\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":\"jececyblobstorage\",\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272024-03-24T20%3A06%3A18.7374448Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-24T20:06:18.5111266Z\",\"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\":\"2024-03-24T20:06:16Z\"},\"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/7a0ddfe7-3674-440b-bab4-3902cbc24e18\",\"name\":\"7a0ddfe7-3674-440b-bab4-3902cbc24e18\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"0bb7992d-8d6d-4fd4-8d92-07378a6de199\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-61bde38e-542c-4645-af2c-e90d4cdf00e5\",\"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\":\"jececyblobstorage\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":\"jececyblobstorage\",\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272024-04-21T14%3A33%3A24.3346412Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-21T14:33:24.0681342Z\",\"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\":\"2024-04-21T14:33:21Z\"},\"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/1f361de2-f2c5-4589-ad01-9c4c44746376\",\"name\":\"1f361de2-f2c5-4589-ad01-9c4c44746376\",\"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/7a0ddfe7-3674-440b-bab4-3902cbc24e18?api-version=2023-12-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/1f361de2-f2c5-4589-ad01-9c4c44746376?api-version=2024-04-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/7a0ddfe7-3674-440b-bab4-3902cbc24e18?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/1f361de2-f2c5-4589-ad01-9c4c44746376?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "9" ], - "x-ms-client-request-id": [ "434348cc-f1e3-450e-b696-9bd9a40b9778" ], + "x-ms-unique-id": [ "141" ], + "x-ms-client-request-id": [ "c1fdc7b6-d0f2-425c-b898-058ff29d7d8c" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -353,37 +361,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "f2a01fd6-a9cf-4696-aa43-3aafe8d72e22" ], - "x-ms-correlation-request-id": [ "f2a01fd6-a9cf-4696-aa43-3aafe8d72e22" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T200725Z:f2a01fd6-a9cf-4696-aa43-3aafe8d72e22" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "2e31cb81-ba98-4526-951c-2cdb77753ed8" ], + "x-ms-correlation-request-id": [ "2e31cb81-ba98-4526-951c-2cdb77753ed8" ], + "x-ms-routing-request-id": [ "JIOINDIACENTRAL:20240421T143430Z:2e31cb81-ba98-4526-951c-2cdb77753ed8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 3BAC98F1E71C477FADF921FBE7DE64B0 Ref B: MAA201060513029 Ref C: 2024-03-24T20:07:25Z" ], - "Date": [ "Sun, 24 Mar 2024 20:07:25 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 9B5F0533215B4B7EAB71388D4611217A Ref B: MAA201060513019 Ref C: 2024-04-21T14:34:29Z" ], + "Date": [ "Sun, 21 Apr 2024 14:34:30 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2471" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"ac58407a-195e-4db5-844e-e1bcf5f731e0\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-61bde38e-542c-4645-af2c-e90d4cdf00e5\",\"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\":\"jececyblobstorage\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":\"jececyblobstorage\",\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272024-03-24T20%3A06%3A18.7374448Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-24T20:06:18.5111266Z\",\"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\":\"2024-03-24T20:06:16Z\"},\"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/7a0ddfe7-3674-440b-bab4-3902cbc24e18\",\"name\":\"7a0ddfe7-3674-440b-bab4-3902cbc24e18\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"0bb7992d-8d6d-4fd4-8d92-07378a6de199\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-61bde38e-542c-4645-af2c-e90d4cdf00e5\",\"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\":\"jececyblobstorage\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":\"jececyblobstorage\",\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272024-04-21T14%3A33%3A24.3346412Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-21T14:33:24.0681342Z\",\"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\":\"2024-04-21T14:33:21Z\"},\"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/1f361de2-f2c5-4589-ad01-9c4c44746376\",\"name\":\"1f361de2-f2c5-4589-ad01-9c4c44746376\",\"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/7a0ddfe7-3674-440b-bab4-3902cbc24e18?api-version=2023-12-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/1f361de2-f2c5-4589-ad01-9c4c44746376?api-version=2024-04-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/7a0ddfe7-3674-440b-bab4-3902cbc24e18?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/1f361de2-f2c5-4589-ad01-9c4c44746376?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "10" ], - "x-ms-client-request-id": [ "aa917fa3-c80e-4513-b0bc-32856fe8431e" ], + "x-ms-unique-id": [ "142" ], + "x-ms-client-request-id": [ "ddcf4db5-5765-4970-969f-c49d567e772d" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -395,37 +404,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "e88a60cb-f1e6-416e-b481-87a99c35fadb" ], - "x-ms-correlation-request-id": [ "e88a60cb-f1e6-416e-b481-87a99c35fadb" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T200737Z:e88a60cb-f1e6-416e-b481-87a99c35fadb" ], + "x-ms-request-id": [ "06d3b355-a7d4-4452-b454-29a2b289f0c5" ], + "x-ms-correlation-request-id": [ "06d3b355-a7d4-4452-b454-29a2b289f0c5" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T143442Z:06d3b355-a7d4-4452-b454-29a2b289f0c5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: B6C1B92010A24C92B6A782F32C919445 Ref B: MAA201060513029 Ref C: 2024-03-24T20:07:36Z" ], - "Date": [ "Sun, 24 Mar 2024 20:07:36 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 7B71430A98DD43708A3BF64D6846B2A0 Ref B: MAA201060513019 Ref C: 2024-04-21T14:34:40Z" ], + "Date": [ "Sun, 21 Apr 2024 14:34:42 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2471" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"ac58407a-195e-4db5-844e-e1bcf5f731e0\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-61bde38e-542c-4645-af2c-e90d4cdf00e5\",\"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\":\"jececyblobstorage\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":\"jececyblobstorage\",\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272024-03-24T20%3A06%3A18.7374448Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-24T20:06:18.5111266Z\",\"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\":\"2024-03-24T20:06:16Z\"},\"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/7a0ddfe7-3674-440b-bab4-3902cbc24e18\",\"name\":\"7a0ddfe7-3674-440b-bab4-3902cbc24e18\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"0bb7992d-8d6d-4fd4-8d92-07378a6de199\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-61bde38e-542c-4645-af2c-e90d4cdf00e5\",\"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\":\"jececyblobstorage\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":\"jececyblobstorage\",\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272024-04-21T14%3A33%3A24.3346412Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-21T14:33:24.0681342Z\",\"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\":\"2024-04-21T14:33:21Z\"},\"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/1f361de2-f2c5-4589-ad01-9c4c44746376\",\"name\":\"1f361de2-f2c5-4589-ad01-9c4c44746376\",\"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/7a0ddfe7-3674-440b-bab4-3902cbc24e18?api-version=2023-12-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/1f361de2-f2c5-4589-ad01-9c4c44746376?api-version=2024-04-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/7a0ddfe7-3674-440b-bab4-3902cbc24e18?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/1f361de2-f2c5-4589-ad01-9c4c44746376?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "11" ], - "x-ms-client-request-id": [ "d955fdad-6874-49b0-b0fe-7bfbb8928bbc" ], + "x-ms-unique-id": [ "143" ], + "x-ms-client-request-id": [ "14896f75-cbd8-4f56-b84a-dfaa5196e23c" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -437,37 +447,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "9a81ba13-ecf8-4994-ba59-48e20a75a5d3" ], - "x-ms-correlation-request-id": [ "9a81ba13-ecf8-4994-ba59-48e20a75a5d3" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T200748Z:9a81ba13-ecf8-4994-ba59-48e20a75a5d3" ], + "x-ms-request-id": [ "1c24c5ae-9abb-4027-a094-e5d182474223" ], + "x-ms-correlation-request-id": [ "1c24c5ae-9abb-4027-a094-e5d182474223" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T143454Z:1c24c5ae-9abb-4027-a094-e5d182474223" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: D5BD57501FB84C12A97DED992E8F26D6 Ref B: MAA201060513029 Ref C: 2024-03-24T20:07:47Z" ], - "Date": [ "Sun, 24 Mar 2024 20:07:47 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 53B12AF5DD1445D3AD4FE0328F1E0FF6 Ref B: MAA201060513019 Ref C: 2024-04-21T14:34:52Z" ], + "Date": [ "Sun, 21 Apr 2024 14:34:53 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2471" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"ac58407a-195e-4db5-844e-e1bcf5f731e0\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-61bde38e-542c-4645-af2c-e90d4cdf00e5\",\"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\":\"jececyblobstorage\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":\"jececyblobstorage\",\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272024-03-24T20%3A06%3A18.7374448Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-24T20:06:18.5111266Z\",\"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\":\"2024-03-24T20:06:16Z\"},\"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/7a0ddfe7-3674-440b-bab4-3902cbc24e18\",\"name\":\"7a0ddfe7-3674-440b-bab4-3902cbc24e18\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"0bb7992d-8d6d-4fd4-8d92-07378a6de199\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-61bde38e-542c-4645-af2c-e90d4cdf00e5\",\"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\":\"jececyblobstorage\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":\"jececyblobstorage\",\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272024-04-21T14%3A33%3A24.3346412Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-21T14:33:24.0681342Z\",\"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\":\"2024-04-21T14:33:21Z\"},\"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/1f361de2-f2c5-4589-ad01-9c4c44746376\",\"name\":\"1f361de2-f2c5-4589-ad01-9c4c44746376\",\"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/7a0ddfe7-3674-440b-bab4-3902cbc24e18?api-version=2023-12-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/1f361de2-f2c5-4589-ad01-9c4c44746376?api-version=2024-04-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/7a0ddfe7-3674-440b-bab4-3902cbc24e18?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/1f361de2-f2c5-4589-ad01-9c4c44746376?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "12" ], - "x-ms-client-request-id": [ "81b793ce-255b-4c46-a53d-6354c3e4df5b" ], + "x-ms-unique-id": [ "144" ], + "x-ms-client-request-id": [ "53db1656-9072-4ad9-ac5f-2edf2af93374" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -479,37 +490,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "e482c988-246e-4342-b3fd-81d8c5c14b2e" ], - "x-ms-correlation-request-id": [ "e482c988-246e-4342-b3fd-81d8c5c14b2e" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T200759Z:e482c988-246e-4342-b3fd-81d8c5c14b2e" ], + "x-ms-request-id": [ "9c1ad2da-67da-4e48-8378-95ad3f724c40" ], + "x-ms-correlation-request-id": [ "9c1ad2da-67da-4e48-8378-95ad3f724c40" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T143505Z:9c1ad2da-67da-4e48-8378-95ad3f724c40" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 154EC9A8DAF4458294C6F87337DBF2F1 Ref B: MAA201060513029 Ref C: 2024-03-24T20:07:58Z" ], - "Date": [ "Sun, 24 Mar 2024 20:07:58 GMT" ] + "X-MSEdge-Ref": [ "Ref A: B59E2AA823494C578AA90D6DF091EF6B Ref B: MAA201060513019 Ref C: 2024-04-21T14:35:04Z" ], + "Date": [ "Sun, 21 Apr 2024 14:35:05 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2471" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"ac58407a-195e-4db5-844e-e1bcf5f731e0\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-61bde38e-542c-4645-af2c-e90d4cdf00e5\",\"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\":\"jececyblobstorage\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":\"jececyblobstorage\",\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272024-03-24T20%3A06%3A18.7374448Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-24T20:06:18.5111266Z\",\"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\":\"2024-03-24T20:06:16Z\"},\"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/7a0ddfe7-3674-440b-bab4-3902cbc24e18\",\"name\":\"7a0ddfe7-3674-440b-bab4-3902cbc24e18\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"0bb7992d-8d6d-4fd4-8d92-07378a6de199\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-61bde38e-542c-4645-af2c-e90d4cdf00e5\",\"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\":\"jececyblobstorage\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":\"jececyblobstorage\",\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272024-04-21T14%3A33%3A24.3346412Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-21T14:33:24.0681342Z\",\"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\":\"2024-04-21T14:33:21Z\"},\"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/1f361de2-f2c5-4589-ad01-9c4c44746376\",\"name\":\"1f361de2-f2c5-4589-ad01-9c4c44746376\",\"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/7a0ddfe7-3674-440b-bab4-3902cbc24e18?api-version=2023-12-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/1f361de2-f2c5-4589-ad01-9c4c44746376?api-version=2024-04-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/7a0ddfe7-3674-440b-bab4-3902cbc24e18?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/1f361de2-f2c5-4589-ad01-9c4c44746376?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "13" ], - "x-ms-client-request-id": [ "786e2195-cf4f-4289-9f1c-b173c6c72df4" ], + "x-ms-unique-id": [ "145" ], + "x-ms-client-request-id": [ "db8e727a-d996-4184-a4df-f03f15247ed7" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -521,37 +533,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "90663d89-d6a2-4078-9849-6a20b99273e7" ], - "x-ms-correlation-request-id": [ "90663d89-d6a2-4078-9849-6a20b99273e7" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T200811Z:90663d89-d6a2-4078-9849-6a20b99273e7" ], + "x-ms-request-id": [ "19453f56-0ca9-48af-950f-e7214eefdff5" ], + "x-ms-correlation-request-id": [ "19453f56-0ca9-48af-950f-e7214eefdff5" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T143516Z:19453f56-0ca9-48af-950f-e7214eefdff5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: F4D095FCE5934C998F9FF713ED07CCB4 Ref B: MAA201060513029 Ref C: 2024-03-24T20:08:09Z" ], - "Date": [ "Sun, 24 Mar 2024 20:08:10 GMT" ] + "X-MSEdge-Ref": [ "Ref A: B9316C24BF4844C4BDC395A2E585BF39 Ref B: MAA201060513019 Ref C: 2024-04-21T14:35:15Z" ], + "Date": [ "Sun, 21 Apr 2024 14:35:16 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2471" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"ac58407a-195e-4db5-844e-e1bcf5f731e0\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-61bde38e-542c-4645-af2c-e90d4cdf00e5\",\"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\":\"jececyblobstorage\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":\"jececyblobstorage\",\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272024-03-24T20%3A06%3A18.7374448Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-24T20:06:18.5111266Z\",\"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\":\"2024-03-24T20:06:16Z\"},\"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/7a0ddfe7-3674-440b-bab4-3902cbc24e18\",\"name\":\"7a0ddfe7-3674-440b-bab4-3902cbc24e18\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"0bb7992d-8d6d-4fd4-8d92-07378a6de199\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-61bde38e-542c-4645-af2c-e90d4cdf00e5\",\"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\":\"jececyblobstorage\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":\"jececyblobstorage\",\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272024-04-21T14%3A33%3A24.3346412Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-21T14:33:24.0681342Z\",\"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\":\"2024-04-21T14:33:21Z\"},\"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/1f361de2-f2c5-4589-ad01-9c4c44746376\",\"name\":\"1f361de2-f2c5-4589-ad01-9c4c44746376\",\"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/7a0ddfe7-3674-440b-bab4-3902cbc24e18?api-version=2023-12-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/1f361de2-f2c5-4589-ad01-9c4c44746376?api-version=2024-04-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/7a0ddfe7-3674-440b-bab4-3902cbc24e18?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/1f361de2-f2c5-4589-ad01-9c4c44746376?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "14" ], - "x-ms-client-request-id": [ "233a86ed-874d-46ac-b05a-fdbd4f6ca117" ], + "x-ms-unique-id": [ "146" ], + "x-ms-client-request-id": [ "a8472d99-9812-409d-b6e7-d795285b27d4" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -563,37 +576,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "05d06790-7245-4c96-a7be-3fc95befeed7" ], - "x-ms-correlation-request-id": [ "05d06790-7245-4c96-a7be-3fc95befeed7" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T200823Z:05d06790-7245-4c96-a7be-3fc95befeed7" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], + "x-ms-request-id": [ "faf98da2-f3c8-4e53-ac6f-01f351cb4ec6" ], + "x-ms-correlation-request-id": [ "faf98da2-f3c8-4e53-ac6f-01f351cb4ec6" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T143527Z:faf98da2-f3c8-4e53-ac6f-01f351cb4ec6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 4220A024897341768985E712093A8C0A Ref B: MAA201060513029 Ref C: 2024-03-24T20:08:21Z" ], - "Date": [ "Sun, 24 Mar 2024 20:08:23 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 4E95B3A9BAB84543BD0122E1F8911753 Ref B: MAA201060513019 Ref C: 2024-04-21T14:35:26Z" ], + "Date": [ "Sun, 21 Apr 2024 14:35:26 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2471" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"ac58407a-195e-4db5-844e-e1bcf5f731e0\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-61bde38e-542c-4645-af2c-e90d4cdf00e5\",\"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\":\"jececyblobstorage\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":\"jececyblobstorage\",\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272024-03-24T20%3A06%3A18.7374448Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-24T20:06:18.5111266Z\",\"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\":\"2024-03-24T20:06:16Z\"},\"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/7a0ddfe7-3674-440b-bab4-3902cbc24e18\",\"name\":\"7a0ddfe7-3674-440b-bab4-3902cbc24e18\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"0bb7992d-8d6d-4fd4-8d92-07378a6de199\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-61bde38e-542c-4645-af2c-e90d4cdf00e5\",\"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\":\"jececyblobstorage\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":\"jececyblobstorage\",\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272024-04-21T14%3A33%3A24.3346412Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-21T14:33:24.0681342Z\",\"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\":\"2024-04-21T14:33:21Z\"},\"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/1f361de2-f2c5-4589-ad01-9c4c44746376\",\"name\":\"1f361de2-f2c5-4589-ad01-9c4c44746376\",\"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/7a0ddfe7-3674-440b-bab4-3902cbc24e18?api-version=2023-12-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/1f361de2-f2c5-4589-ad01-9c4c44746376?api-version=2024-04-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/7a0ddfe7-3674-440b-bab4-3902cbc24e18?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/1f361de2-f2c5-4589-ad01-9c4c44746376?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "15" ], - "x-ms-client-request-id": [ "65bc29b7-c7fa-4f09-baf7-e1599e687184" ], + "x-ms-unique-id": [ "147" ], + "x-ms-client-request-id": [ "19530dae-6c54-4efe-90ef-421800b517aa" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -605,37 +619,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "749d85d0-c2d1-4cd7-b77c-a1faae2948cf" ], - "x-ms-correlation-request-id": [ "749d85d0-c2d1-4cd7-b77c-a1faae2948cf" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T200834Z:749d85d0-c2d1-4cd7-b77c-a1faae2948cf" ], + "x-ms-request-id": [ "c9dd4086-4eac-4613-9def-00ca57488c98" ], + "x-ms-correlation-request-id": [ "c9dd4086-4eac-4613-9def-00ca57488c98" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240421T143538Z:c9dd4086-4eac-4613-9def-00ca57488c98" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 6F5B57BC64BB46B7B7305CA16F7EE845 Ref B: MAA201060513029 Ref C: 2024-03-24T20:08:33Z" ], - "Date": [ "Sun, 24 Mar 2024 20:08:34 GMT" ] + "X-MSEdge-Ref": [ "Ref A: F814168BA6E0432591D3339B45057546 Ref B: MAA201060513019 Ref C: 2024-04-21T14:35:37Z" ], + "Date": [ "Sun, 21 Apr 2024 14:35:38 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2471" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"ac58407a-195e-4db5-844e-e1bcf5f731e0\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-61bde38e-542c-4645-af2c-e90d4cdf00e5\",\"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\":\"jececyblobstorage\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":\"jececyblobstorage\",\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272024-03-24T20%3A06%3A18.7374448Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-24T20:06:18.5111266Z\",\"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\":\"2024-03-24T20:06:16Z\"},\"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/7a0ddfe7-3674-440b-bab4-3902cbc24e18\",\"name\":\"7a0ddfe7-3674-440b-bab4-3902cbc24e18\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"0bb7992d-8d6d-4fd4-8d92-07378a6de199\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-61bde38e-542c-4645-af2c-e90d4cdf00e5\",\"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\":\"jececyblobstorage\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":\"jececyblobstorage\",\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272024-04-21T14%3A33%3A24.3346412Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-21T14:33:24.0681342Z\",\"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\":\"2024-04-21T14:33:21Z\"},\"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/1f361de2-f2c5-4589-ad01-9c4c44746376\",\"name\":\"1f361de2-f2c5-4589-ad01-9c4c44746376\",\"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/7a0ddfe7-3674-440b-bab4-3902cbc24e18?api-version=2023-12-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/1f361de2-f2c5-4589-ad01-9c4c44746376?api-version=2024-04-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/7a0ddfe7-3674-440b-bab4-3902cbc24e18?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/1f361de2-f2c5-4589-ad01-9c4c44746376?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "16" ], - "x-ms-client-request-id": [ "18957c17-a227-4563-b3b7-dad908fab1b2" ], + "x-ms-unique-id": [ "148" ], + "x-ms-client-request-id": [ "c95835d1-ce2b-469e-a140-a274235c1737" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -647,37 +662,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "20005580-4179-41ff-95a6-c5572631850f" ], - "x-ms-correlation-request-id": [ "20005580-4179-41ff-95a6-c5572631850f" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T200845Z:20005580-4179-41ff-95a6-c5572631850f" ], + "x-ms-request-id": [ "92685046-dedc-4332-9b7f-405224ea391e" ], + "x-ms-correlation-request-id": [ "92685046-dedc-4332-9b7f-405224ea391e" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T143550Z:92685046-dedc-4332-9b7f-405224ea391e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 1A0D3F998CD3492F810AA0AD60FB9947 Ref B: MAA201060513029 Ref C: 2024-03-24T20:08:44Z" ], - "Date": [ "Sun, 24 Mar 2024 20:08:45 GMT" ] + "X-MSEdge-Ref": [ "Ref A: C508BD475DDD4F3BA345B7A6F84331F0 Ref B: MAA201060513019 Ref C: 2024-04-21T14:35:48Z" ], + "Date": [ "Sun, 21 Apr 2024 14:35:50 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2471" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"ac58407a-195e-4db5-844e-e1bcf5f731e0\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-61bde38e-542c-4645-af2c-e90d4cdf00e5\",\"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\":\"jececyblobstorage\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":\"jececyblobstorage\",\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272024-03-24T20%3A06%3A18.7374448Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-24T20:06:18.5111266Z\",\"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\":\"2024-03-24T20:06:16Z\"},\"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/7a0ddfe7-3674-440b-bab4-3902cbc24e18\",\"name\":\"7a0ddfe7-3674-440b-bab4-3902cbc24e18\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"0bb7992d-8d6d-4fd4-8d92-07378a6de199\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-61bde38e-542c-4645-af2c-e90d4cdf00e5\",\"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\":\"jececyblobstorage\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":\"jececyblobstorage\",\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272024-04-21T14%3A33%3A24.3346412Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-21T14:33:24.0681342Z\",\"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\":\"2024-04-21T14:33:21Z\"},\"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/1f361de2-f2c5-4589-ad01-9c4c44746376\",\"name\":\"1f361de2-f2c5-4589-ad01-9c4c44746376\",\"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/7a0ddfe7-3674-440b-bab4-3902cbc24e18?api-version=2023-12-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/1f361de2-f2c5-4589-ad01-9c4c44746376?api-version=2024-04-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/7a0ddfe7-3674-440b-bab4-3902cbc24e18?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/1f361de2-f2c5-4589-ad01-9c4c44746376?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "17" ], - "x-ms-client-request-id": [ "4720f918-07b5-4ee3-8e4b-c0119a46ba91" ], + "x-ms-unique-id": [ "149" ], + "x-ms-client-request-id": [ "9a15c627-97b5-45c9-8f17-70444aef695d" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -689,37 +705,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "a38ad1f8-4a71-4a8f-af8e-d9b46bb65fac" ], - "x-ms-correlation-request-id": [ "a38ad1f8-4a71-4a8f-af8e-d9b46bb65fac" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T200856Z:a38ad1f8-4a71-4a8f-af8e-d9b46bb65fac" ], + "x-ms-request-id": [ "0ddbabc2-07e3-4e42-b127-0daa42e02543" ], + "x-ms-correlation-request-id": [ "0ddbabc2-07e3-4e42-b127-0daa42e02543" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T143602Z:0ddbabc2-07e3-4e42-b127-0daa42e02543" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 72C1119DD6D74954BFDACD43C9E3886A Ref B: MAA201060513029 Ref C: 2024-03-24T20:08:55Z" ], - "Date": [ "Sun, 24 Mar 2024 20:08:56 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 3D86A1EC24BF43A49E2478E350268E91 Ref B: MAA201060513019 Ref C: 2024-04-21T14:36:00Z" ], + "Date": [ "Sun, 21 Apr 2024 14:36:01 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2471" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"ac58407a-195e-4db5-844e-e1bcf5f731e0\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-61bde38e-542c-4645-af2c-e90d4cdf00e5\",\"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\":\"jececyblobstorage\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":\"jececyblobstorage\",\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272024-03-24T20%3A06%3A18.7374448Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-24T20:06:18.5111266Z\",\"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\":\"2024-03-24T20:06:16Z\"},\"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/7a0ddfe7-3674-440b-bab4-3902cbc24e18\",\"name\":\"7a0ddfe7-3674-440b-bab4-3902cbc24e18\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"0bb7992d-8d6d-4fd4-8d92-07378a6de199\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-61bde38e-542c-4645-af2c-e90d4cdf00e5\",\"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\":\"jececyblobstorage\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":\"jececyblobstorage\",\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272024-04-21T14%3A33%3A24.3346412Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-21T14:33:24.0681342Z\",\"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\":\"2024-04-21T14:33:21Z\"},\"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/1f361de2-f2c5-4589-ad01-9c4c44746376\",\"name\":\"1f361de2-f2c5-4589-ad01-9c4c44746376\",\"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/7a0ddfe7-3674-440b-bab4-3902cbc24e18?api-version=2023-12-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/1f361de2-f2c5-4589-ad01-9c4c44746376?api-version=2024-04-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/7a0ddfe7-3674-440b-bab4-3902cbc24e18?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/1f361de2-f2c5-4589-ad01-9c4c44746376?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "18" ], - "x-ms-client-request-id": [ "038840e7-8f10-41e6-ba84-66a5ea594e0a" ], + "x-ms-unique-id": [ "150" ], + "x-ms-client-request-id": [ "2aacf310-7b94-4123-9202-db83c2ef0285" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -731,37 +748,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "2b57b316-f9e0-4161-a8ca-3e96731f9608" ], - "x-ms-correlation-request-id": [ "2b57b316-f9e0-4161-a8ca-3e96731f9608" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T200908Z:2b57b316-f9e0-4161-a8ca-3e96731f9608" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], + "x-ms-request-id": [ "407db8e0-abe9-48b3-b5b1-aafa5f10ae51" ], + "x-ms-correlation-request-id": [ "407db8e0-abe9-48b3-b5b1-aafa5f10ae51" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T143613Z:407db8e0-abe9-48b3-b5b1-aafa5f10ae51" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 4BD6F5EAC655427D8D61288D72C2877E Ref B: MAA201060513029 Ref C: 2024-03-24T20:09:06Z" ], - "Date": [ "Sun, 24 Mar 2024 20:09:08 GMT" ] + "X-MSEdge-Ref": [ "Ref A: FFE20CD19ACF413F85CBB62B669EDD09 Ref B: MAA201060513019 Ref C: 2024-04-21T14:36:12Z" ], + "Date": [ "Sun, 21 Apr 2024 14:36:12 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2471" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"ac58407a-195e-4db5-844e-e1bcf5f731e0\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-61bde38e-542c-4645-af2c-e90d4cdf00e5\",\"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\":\"jececyblobstorage\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":\"jececyblobstorage\",\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272024-03-24T20%3A06%3A18.7374448Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-24T20:06:18.5111266Z\",\"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\":\"2024-03-24T20:06:16Z\"},\"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/7a0ddfe7-3674-440b-bab4-3902cbc24e18\",\"name\":\"7a0ddfe7-3674-440b-bab4-3902cbc24e18\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"0bb7992d-8d6d-4fd4-8d92-07378a6de199\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-61bde38e-542c-4645-af2c-e90d4cdf00e5\",\"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\":\"jececyblobstorage\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":\"jececyblobstorage\",\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272024-04-21T14%3A33%3A24.3346412Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-21T14:33:24.0681342Z\",\"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\":\"2024-04-21T14:33:21Z\"},\"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/1f361de2-f2c5-4589-ad01-9c4c44746376\",\"name\":\"1f361de2-f2c5-4589-ad01-9c4c44746376\",\"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/7a0ddfe7-3674-440b-bab4-3902cbc24e18?api-version=2023-12-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/1f361de2-f2c5-4589-ad01-9c4c44746376?api-version=2024-04-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/7a0ddfe7-3674-440b-bab4-3902cbc24e18?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/1f361de2-f2c5-4589-ad01-9c4c44746376?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "19" ], - "x-ms-client-request-id": [ "ac4069bb-b996-4e1d-8162-21b82682c55f" ], + "x-ms-unique-id": [ "151" ], + "x-ms-client-request-id": [ "cc762f4d-5099-4df7-9bf2-3f8c1a522119" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -773,37 +791,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "1172b579-bb75-4bfa-8080-cb8dc2bb04f1" ], - "x-ms-correlation-request-id": [ "1172b579-bb75-4bfa-8080-cb8dc2bb04f1" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T200920Z:1172b579-bb75-4bfa-8080-cb8dc2bb04f1" ], + "x-ms-request-id": [ "36b5f7fd-648e-44d7-8006-cdd48bbd0e80" ], + "x-ms-correlation-request-id": [ "36b5f7fd-648e-44d7-8006-cdd48bbd0e80" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T143625Z:36b5f7fd-648e-44d7-8006-cdd48bbd0e80" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: C90802EB75D3410C93DD07C1F1813E6F Ref B: MAA201060513029 Ref C: 2024-03-24T20:09:18Z" ], - "Date": [ "Sun, 24 Mar 2024 20:09:20 GMT" ] + "X-MSEdge-Ref": [ "Ref A: B8D638416B6F42BD9B8B8B2D3A5473A1 Ref B: MAA201060513019 Ref C: 2024-04-21T14:36:23Z" ], + "Date": [ "Sun, 21 Apr 2024 14:36:24 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2471" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"ac58407a-195e-4db5-844e-e1bcf5f731e0\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-61bde38e-542c-4645-af2c-e90d4cdf00e5\",\"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\":\"jececyblobstorage\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":\"jececyblobstorage\",\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272024-03-24T20%3A06%3A18.7374448Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-24T20:06:18.5111266Z\",\"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\":\"2024-03-24T20:06:16Z\"},\"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/7a0ddfe7-3674-440b-bab4-3902cbc24e18\",\"name\":\"7a0ddfe7-3674-440b-bab4-3902cbc24e18\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"0bb7992d-8d6d-4fd4-8d92-07378a6de199\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-61bde38e-542c-4645-af2c-e90d4cdf00e5\",\"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\":\"jececyblobstorage\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":\"jececyblobstorage\",\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272024-04-21T14%3A33%3A24.3346412Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-21T14:33:24.0681342Z\",\"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\":\"2024-04-21T14:33:21Z\"},\"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/1f361de2-f2c5-4589-ad01-9c4c44746376\",\"name\":\"1f361de2-f2c5-4589-ad01-9c4c44746376\",\"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/7a0ddfe7-3674-440b-bab4-3902cbc24e18?api-version=2023-12-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/1f361de2-f2c5-4589-ad01-9c4c44746376?api-version=2024-04-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/7a0ddfe7-3674-440b-bab4-3902cbc24e18?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/1f361de2-f2c5-4589-ad01-9c4c44746376?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "20" ], - "x-ms-client-request-id": [ "58a9e7dc-ef7e-4a09-9d55-b907f20230fb" ], + "x-ms-unique-id": [ "152" ], + "x-ms-client-request-id": [ "73b2f4d4-6df5-4573-9498-5bccd42edcf7" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -815,37 +834,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "3281d945-a177-4802-acc3-139db5c9f5d5" ], - "x-ms-correlation-request-id": [ "3281d945-a177-4802-acc3-139db5c9f5d5" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T200931Z:3281d945-a177-4802-acc3-139db5c9f5d5" ], + "x-ms-request-id": [ "ef0df7ef-90b7-4cc6-aa43-05c11f4d6cff" ], + "x-ms-correlation-request-id": [ "ef0df7ef-90b7-4cc6-aa43-05c11f4d6cff" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T143636Z:ef0df7ef-90b7-4cc6-aa43-05c11f4d6cff" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: D3EDD2196EB44712B3D6E30870AB0A16 Ref B: MAA201060513029 Ref C: 2024-03-24T20:09:30Z" ], - "Date": [ "Sun, 24 Mar 2024 20:09:31 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 66016740584A49258DD937641A8B1EBD Ref B: MAA201060513019 Ref C: 2024-04-21T14:36:35Z" ], + "Date": [ "Sun, 21 Apr 2024 14:36:35 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2471" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"ac58407a-195e-4db5-844e-e1bcf5f731e0\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-61bde38e-542c-4645-af2c-e90d4cdf00e5\",\"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\":\"jececyblobstorage\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":\"jececyblobstorage\",\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272024-03-24T20%3A06%3A18.7374448Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-24T20:06:18.5111266Z\",\"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\":\"2024-03-24T20:06:16Z\"},\"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/7a0ddfe7-3674-440b-bab4-3902cbc24e18\",\"name\":\"7a0ddfe7-3674-440b-bab4-3902cbc24e18\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"0bb7992d-8d6d-4fd4-8d92-07378a6de199\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-61bde38e-542c-4645-af2c-e90d4cdf00e5\",\"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\":\"jececyblobstorage\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":\"jececyblobstorage\",\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272024-04-21T14%3A33%3A24.3346412Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-21T14:33:24.0681342Z\",\"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\":\"2024-04-21T14:33:21Z\"},\"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/1f361de2-f2c5-4589-ad01-9c4c44746376\",\"name\":\"1f361de2-f2c5-4589-ad01-9c4c44746376\",\"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/7a0ddfe7-3674-440b-bab4-3902cbc24e18?api-version=2023-12-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/1f361de2-f2c5-4589-ad01-9c4c44746376?api-version=2024-04-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/7a0ddfe7-3674-440b-bab4-3902cbc24e18?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/1f361de2-f2c5-4589-ad01-9c4c44746376?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "21" ], - "x-ms-client-request-id": [ "c58d2467-9b9e-41ba-b598-37bbc9853006" ], + "x-ms-unique-id": [ "153" ], + "x-ms-client-request-id": [ "c9ed3525-5210-44ec-ad3e-23e77c1e138d" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -857,37 +877,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "41be0305-803f-48b9-b08d-22bf6962a31f" ], - "x-ms-correlation-request-id": [ "41be0305-803f-48b9-b08d-22bf6962a31f" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T200942Z:41be0305-803f-48b9-b08d-22bf6962a31f" ], + "x-ms-request-id": [ "5adc31fd-ea5f-4de7-b59a-60108357fd37" ], + "x-ms-correlation-request-id": [ "5adc31fd-ea5f-4de7-b59a-60108357fd37" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T143647Z:5adc31fd-ea5f-4de7-b59a-60108357fd37" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: D4D7FCD872B74A6F8EC3610C1573AA59 Ref B: MAA201060513029 Ref C: 2024-03-24T20:09:41Z" ], - "Date": [ "Sun, 24 Mar 2024 20:09:42 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 90E4D661031A46D68AF389110DFF6404 Ref B: MAA201060513019 Ref C: 2024-04-21T14:36:46Z" ], + "Date": [ "Sun, 21 Apr 2024 14:36:46 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2471" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"ac58407a-195e-4db5-844e-e1bcf5f731e0\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-61bde38e-542c-4645-af2c-e90d4cdf00e5\",\"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\":\"jececyblobstorage\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":\"jececyblobstorage\",\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272024-03-24T20%3A06%3A18.7374448Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-24T20:06:18.5111266Z\",\"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\":\"2024-03-24T20:06:16Z\"},\"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/7a0ddfe7-3674-440b-bab4-3902cbc24e18\",\"name\":\"7a0ddfe7-3674-440b-bab4-3902cbc24e18\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"0bb7992d-8d6d-4fd4-8d92-07378a6de199\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-61bde38e-542c-4645-af2c-e90d4cdf00e5\",\"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\":\"jececyblobstorage\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":\"jececyblobstorage\",\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272024-04-21T14%3A33%3A24.3346412Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-21T14:33:24.0681342Z\",\"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\":\"2024-04-21T14:33:21Z\"},\"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/1f361de2-f2c5-4589-ad01-9c4c44746376\",\"name\":\"1f361de2-f2c5-4589-ad01-9c4c44746376\",\"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/7a0ddfe7-3674-440b-bab4-3902cbc24e18?api-version=2023-12-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/1f361de2-f2c5-4589-ad01-9c4c44746376?api-version=2024-04-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/7a0ddfe7-3674-440b-bab4-3902cbc24e18?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/1f361de2-f2c5-4589-ad01-9c4c44746376?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "22" ], - "x-ms-client-request-id": [ "99026fed-394e-4d52-9369-32844a8e10d9" ], + "x-ms-unique-id": [ "154" ], + "x-ms-client-request-id": [ "0fa244f9-9045-4f38-b9cd-d6dae03342d2" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -899,37 +920,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "06f6957c-0b96-4242-b29d-27f8aca029fd" ], - "x-ms-correlation-request-id": [ "06f6957c-0b96-4242-b29d-27f8aca029fd" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T200953Z:06f6957c-0b96-4242-b29d-27f8aca029fd" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], + "x-ms-request-id": [ "c59289c8-1bf8-404e-8cb6-808b90d7021e" ], + "x-ms-correlation-request-id": [ "c59289c8-1bf8-404e-8cb6-808b90d7021e" ], + "x-ms-routing-request-id": [ "JIOINDIACENTRAL:20240421T143658Z:c59289c8-1bf8-404e-8cb6-808b90d7021e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: F93BEF8299364543B7867DCC185BBAFB Ref B: MAA201060513029 Ref C: 2024-03-24T20:09:52Z" ], - "Date": [ "Sun, 24 Mar 2024 20:09:53 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 763EEE2D185C4BDC832889821A835E76 Ref B: MAA201060513019 Ref C: 2024-04-21T14:36:57Z" ], + "Date": [ "Sun, 21 Apr 2024 14:36:57 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2471" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"ac58407a-195e-4db5-844e-e1bcf5f731e0\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-61bde38e-542c-4645-af2c-e90d4cdf00e5\",\"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\":\"jececyblobstorage\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":\"jececyblobstorage\",\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272024-03-24T20%3A06%3A18.7374448Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-24T20:06:18.5111266Z\",\"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\":\"2024-03-24T20:06:16Z\"},\"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/7a0ddfe7-3674-440b-bab4-3902cbc24e18\",\"name\":\"7a0ddfe7-3674-440b-bab4-3902cbc24e18\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"0bb7992d-8d6d-4fd4-8d92-07378a6de199\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-61bde38e-542c-4645-af2c-e90d4cdf00e5\",\"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\":\"jececyblobstorage\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":\"jececyblobstorage\",\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272024-04-21T14%3A33%3A24.3346412Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-21T14:33:24.0681342Z\",\"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\":\"2024-04-21T14:33:21Z\"},\"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/1f361de2-f2c5-4589-ad01-9c4c44746376\",\"name\":\"1f361de2-f2c5-4589-ad01-9c4c44746376\",\"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/7a0ddfe7-3674-440b-bab4-3902cbc24e18?api-version=2023-12-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/1f361de2-f2c5-4589-ad01-9c4c44746376?api-version=2024-04-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/7a0ddfe7-3674-440b-bab4-3902cbc24e18?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/1f361de2-f2c5-4589-ad01-9c4c44746376?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "23" ], - "x-ms-client-request-id": [ "5ea5a2e7-4d1f-4d78-9cb4-82ff27141704" ], + "x-ms-unique-id": [ "155" ], + "x-ms-client-request-id": [ "736886c5-37f8-4943-9dd6-80638e1e47bd" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -941,37 +963,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "65bc41c9-a365-4162-a9cb-9f5094d56886" ], - "x-ms-correlation-request-id": [ "65bc41c9-a365-4162-a9cb-9f5094d56886" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T201005Z:65bc41c9-a365-4162-a9cb-9f5094d56886" ], + "x-ms-request-id": [ "1e5e1544-8961-4f5e-8b4b-bf2a2293d955" ], + "x-ms-correlation-request-id": [ "1e5e1544-8961-4f5e-8b4b-bf2a2293d955" ], + "x-ms-routing-request-id": [ "JIOINDIACENTRAL:20240421T143710Z:1e5e1544-8961-4f5e-8b4b-bf2a2293d955" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 932C877DF93F4542A2FBFC0F3B540C64 Ref B: MAA201060513029 Ref C: 2024-03-24T20:10:04Z" ], - "Date": [ "Sun, 24 Mar 2024 20:10:04 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 31F63EB376B2473399D3ACE92C79E0FA Ref B: MAA201060513019 Ref C: 2024-04-21T14:37:08Z" ], + "Date": [ "Sun, 21 Apr 2024 14:37:10 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2471" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"ac58407a-195e-4db5-844e-e1bcf5f731e0\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-61bde38e-542c-4645-af2c-e90d4cdf00e5\",\"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\":\"jececyblobstorage\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":\"jececyblobstorage\",\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272024-03-24T20%3A06%3A18.7374448Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-24T20:06:18.5111266Z\",\"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\":\"2024-03-24T20:06:16Z\"},\"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/7a0ddfe7-3674-440b-bab4-3902cbc24e18\",\"name\":\"7a0ddfe7-3674-440b-bab4-3902cbc24e18\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"0bb7992d-8d6d-4fd4-8d92-07378a6de199\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-61bde38e-542c-4645-af2c-e90d4cdf00e5\",\"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\":\"jececyblobstorage\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":\"jececyblobstorage\",\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272024-04-21T14%3A33%3A24.3346412Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-21T14:33:24.0681342Z\",\"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\":\"2024-04-21T14:33:21Z\"},\"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/1f361de2-f2c5-4589-ad01-9c4c44746376\",\"name\":\"1f361de2-f2c5-4589-ad01-9c4c44746376\",\"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/7a0ddfe7-3674-440b-bab4-3902cbc24e18?api-version=2023-12-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/1f361de2-f2c5-4589-ad01-9c4c44746376?api-version=2024-04-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/7a0ddfe7-3674-440b-bab4-3902cbc24e18?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/1f361de2-f2c5-4589-ad01-9c4c44746376?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "24" ], - "x-ms-client-request-id": [ "70957115-735f-437e-b9bf-9276874f7bda" ], + "x-ms-unique-id": [ "156" ], + "x-ms-client-request-id": [ "c7e2d902-5c98-4d07-962b-5b61165bfcd5" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -983,37 +1006,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "9e4773db-2239-4b23-8426-b7e40547dfa5" ], - "x-ms-correlation-request-id": [ "9e4773db-2239-4b23-8426-b7e40547dfa5" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T201016Z:9e4773db-2239-4b23-8426-b7e40547dfa5" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "befde895-0c71-42cd-b79d-fb7e6af5a7a8" ], + "x-ms-correlation-request-id": [ "befde895-0c71-42cd-b79d-fb7e6af5a7a8" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T143722Z:befde895-0c71-42cd-b79d-fb7e6af5a7a8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: C1DDB36491164E13A5C2CBB8A7001C72 Ref B: MAA201060513029 Ref C: 2024-03-24T20:10:15Z" ], - "Date": [ "Sun, 24 Mar 2024 20:10:15 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 8272CE3B043C437DA7F66D8695DE5034 Ref B: MAA201060513019 Ref C: 2024-04-21T14:37:21Z" ], + "Date": [ "Sun, 21 Apr 2024 14:37:21 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2471" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"ac58407a-195e-4db5-844e-e1bcf5f731e0\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-61bde38e-542c-4645-af2c-e90d4cdf00e5\",\"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\":\"jececyblobstorage\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":\"jececyblobstorage\",\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272024-03-24T20%3A06%3A18.7374448Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-24T20:06:18.5111266Z\",\"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\":\"2024-03-24T20:06:16Z\"},\"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/7a0ddfe7-3674-440b-bab4-3902cbc24e18\",\"name\":\"7a0ddfe7-3674-440b-bab4-3902cbc24e18\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"0bb7992d-8d6d-4fd4-8d92-07378a6de199\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-61bde38e-542c-4645-af2c-e90d4cdf00e5\",\"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\":\"jececyblobstorage\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":\"jececyblobstorage\",\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272024-04-21T14%3A33%3A24.3346412Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-21T14:33:24.0681342Z\",\"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\":\"2024-04-21T14:33:21Z\"},\"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/1f361de2-f2c5-4589-ad01-9c4c44746376\",\"name\":\"1f361de2-f2c5-4589-ad01-9c4c44746376\",\"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/7a0ddfe7-3674-440b-bab4-3902cbc24e18?api-version=2023-12-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/1f361de2-f2c5-4589-ad01-9c4c44746376?api-version=2024-04-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/7a0ddfe7-3674-440b-bab4-3902cbc24e18?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/1f361de2-f2c5-4589-ad01-9c4c44746376?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "25" ], - "x-ms-client-request-id": [ "1501b961-b6e0-41e6-aa38-a184948e29ea" ], + "x-ms-unique-id": [ "157" ], + "x-ms-client-request-id": [ "a3301562-035b-4e4c-9276-04321912787d" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1025,37 +1049,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "e2e05bc1-46a3-41d7-8f3f-e42ad8a06bbe" ], - "x-ms-correlation-request-id": [ "e2e05bc1-46a3-41d7-8f3f-e42ad8a06bbe" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T201027Z:e2e05bc1-46a3-41d7-8f3f-e42ad8a06bbe" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], + "x-ms-request-id": [ "5ad3555b-13b6-4844-b066-86fa3d40616a" ], + "x-ms-correlation-request-id": [ "5ad3555b-13b6-4844-b066-86fa3d40616a" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T143732Z:5ad3555b-13b6-4844-b066-86fa3d40616a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 6C4BE4D93B2C4565949BC5B897E9A654 Ref B: MAA201060513029 Ref C: 2024-03-24T20:10:26Z" ], - "Date": [ "Sun, 24 Mar 2024 20:10:27 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 6ECA6A75C661437E8CA578FEF428D95B Ref B: MAA201060513019 Ref C: 2024-04-21T14:37:32Z" ], + "Date": [ "Sun, 21 Apr 2024 14:37:31 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2471" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"ac58407a-195e-4db5-844e-e1bcf5f731e0\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-61bde38e-542c-4645-af2c-e90d4cdf00e5\",\"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\":\"jececyblobstorage\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":\"jececyblobstorage\",\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272024-03-24T20%3A06%3A18.7374448Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-24T20:06:18.5111266Z\",\"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\":\"2024-03-24T20:06:16Z\"},\"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/7a0ddfe7-3674-440b-bab4-3902cbc24e18\",\"name\":\"7a0ddfe7-3674-440b-bab4-3902cbc24e18\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"0bb7992d-8d6d-4fd4-8d92-07378a6de199\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-61bde38e-542c-4645-af2c-e90d4cdf00e5\",\"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\":\"jececyblobstorage\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":\"jececyblobstorage\",\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272024-04-21T14%3A33%3A24.3346412Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-21T14:33:24.0681342Z\",\"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\":\"2024-04-21T14:33:21Z\"},\"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/1f361de2-f2c5-4589-ad01-9c4c44746376\",\"name\":\"1f361de2-f2c5-4589-ad01-9c4c44746376\",\"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/7a0ddfe7-3674-440b-bab4-3902cbc24e18?api-version=2023-12-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/1f361de2-f2c5-4589-ad01-9c4c44746376?api-version=2024-04-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/7a0ddfe7-3674-440b-bab4-3902cbc24e18?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/1f361de2-f2c5-4589-ad01-9c4c44746376?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "26" ], - "x-ms-client-request-id": [ "1e689a8d-f2f0-4321-9575-62dcc60bcdeb" ], + "x-ms-unique-id": [ "158" ], + "x-ms-client-request-id": [ "cf07acf8-da89-4c9f-b625-d0eccd3e18e6" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1067,21 +1092,22 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "4fd16a4a-ac93-4299-8016-39cde3dc6a07" ], - "x-ms-correlation-request-id": [ "4fd16a4a-ac93-4299-8016-39cde3dc6a07" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T201038Z:4fd16a4a-ac93-4299-8016-39cde3dc6a07" ], + "x-ms-request-id": [ "dbbe9ef9-3588-443e-a89f-ea5c288e9014" ], + "x-ms-correlation-request-id": [ "dbbe9ef9-3588-443e-a89f-ea5c288e9014" ], + "x-ms-routing-request-id": [ "JIOINDIACENTRAL:20240421T143744Z:dbbe9ef9-3588-443e-a89f-ea5c288e9014" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 33CA614C24384E3DAF697F908B07955C Ref B: MAA201060513029 Ref C: 2024-03-24T20:10:37Z" ], - "Date": [ "Sun, 24 Mar 2024 20:10:38 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 74A382D5E7C042338D7971D41EAEBCDD Ref B: MAA201060513019 Ref C: 2024-04-21T14:37:42Z" ], + "Date": [ "Sun, 21 Apr 2024 14:37:43 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2646" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"ac58407a-195e-4db5-844e-e1bcf5f731e0\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-61bde38e-542c-4645-af2c-e90d4cdf00e5\",\"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\":\"jececyblobstorage\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":\"jececyblobstorage\",\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272024-03-24T20%3A10%3A34.9615197Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-24T20:06:18.5111266Z\",\"endTime\":\"2024-03-24T20:10:34.8170955Z\",\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"Completed\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT4M16.3059689S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2024-03-24T20:06:16Z\"},\"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\":\"ac58407a-195e-4db5-844e-e1bcf5f731e0\",\"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/7a0ddfe7-3674-440b-bab4-3902cbc24e18\",\"name\":\"7a0ddfe7-3674-440b-bab4-3902cbc24e18\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"0bb7992d-8d6d-4fd4-8d92-07378a6de199\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-61bde38e-542c-4645-af2c-e90d4cdf00e5\",\"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\":\"jececyblobstorage\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":\"jececyblobstorage\",\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272024-04-21T14%3A37%3A41.6908221Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-21T14:33:24.0681342Z\",\"endTime\":\"2024-04-21T14:37:41.4343956Z\",\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"Completed\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT4M17.3662614S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2024-04-21T14:33:21Z\"},\"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\":\"0bb7992d-8d6d-4fd4-8d92-07378a6de199\",\"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/1f361de2-f2c5-4589-ad01-9c4c44746376\",\"name\":\"1f361de2-f2c5-4589-ad01-9c4c44746376\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } } diff --git a/src/DataProtection/DataProtection.Autorest/test/New-AzDataProtectionBackupInstance.Recording.json b/src/DataProtection/DataProtection.Autorest/test/New-AzDataProtectionBackupInstance.Recording.json index 0e316dff9146..6bbe87c336e1 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-12-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=2024-04-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-12-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=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "1" ], - "x-ms-client-request-id": [ "214df595-6479-4165-a2ca-10e643c26d97" ], + "x-ms-unique-id": [ "159" ], + "x-ms-client-request-id": [ "ccf1dc42-5928-4d9d-bce1-92efd2f5c8d1" ], "CommandName": [ "Get-AzDataProtectionBackupVault" ], "FullCommandName": [ "Get-AzDataProtectionBackupVault_Get2" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -22,38 +22,39 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "499" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "77c2debb-439b-4d6c-a1e6-7bf10c834941" ], - "x-ms-correlation-request-id": [ "77c2debb-439b-4d6c-a1e6-7bf10c834941" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T195426Z:77c2debb-439b-4d6c-a1e6-7bf10c834941" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "499" ], + "x-ms-request-id": [ "3981abf0-4d23-4ca2-b000-72496efff715" ], + "x-ms-correlation-request-id": [ "3981abf0-4d23-4ca2-b000-72496efff715" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T143747Z:3981abf0-4d23-4ca2-b000-72496efff715" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 555AD2E630F14EC49C5E9C2E0F5E6708 Ref B: MAA201060515047 Ref C: 2024-03-24T19:54:25Z" ], - "Date": [ "Sun, 24 Mar 2024 19:54:26 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 1F758BCABC96441D9B9BDBD2CE764FC1 Ref B: MAA201060513019 Ref C: 2024-04-21T14:37:46Z" ], + "Date": [ "Sun, 21 Apr 2024 14:37:46 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "817" ], + "Content-Length": [ "844" ], "Content-Type": [ "application/json; charset=utf-8" ], "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,\"featureSettings\":{\"crossRegionRestoreSettings\":{\"state\":\"Enabled\"}},\"secureScore\":\"None\",\"replicatedRegions\":[\"eastus2euap\"]},\"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\",\"bcdrSecurityLevel\":\"Poor\",\"replicatedRegions\":[\"eastus2euap\"]},\"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-12-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=2024-04-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-12-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=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "cc58dcd7-6f54-49bb-ab7f-b247202cdab6" ], + "x-ms-unique-id": [ "160" ], + "x-ms-client-request-id": [ "040ac880-3ac3-4bdd-8a5c-b5ce635cd30b" ], "CommandName": [ "Get-AzDataProtectionBackupPolicy" ], "FullCommandName": [ "Get-AzDataProtectionBackupPolicy_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -64,15 +65,16 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "8c6d9b19-c54d-4804-ad42-fc9de3d092a4" ], - "x-ms-correlation-request-id": [ "8c6d9b19-c54d-4804-ad42-fc9de3d092a4" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T195428Z:8c6d9b19-c54d-4804-ad42-fc9de3d092a4" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "f19e31eb-045d-4e00-89d5-9e389e2ddb5e" ], + "x-ms-correlation-request-id": [ "f19e31eb-045d-4e00-89d5-9e389e2ddb5e" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T143749Z:f19e31eb-045d-4e00-89d5-9e389e2ddb5e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: B189E5EA1DB24E5A9E05363BE060FD00 Ref B: MAA201060515047 Ref C: 2024-03-24T19:54:27Z" ], - "Date": [ "Sun, 24 Mar 2024 19:54:27 GMT" ] + "X-MSEdge-Ref": [ "Ref A: F54890227D004C97A9DC7001C1A15CC7 Ref B: MAA201060513019 Ref C: 2024-04-21T14:37:47Z" ], + "Date": [ "Sun, 21 Apr 2024 14:37:48 GMT" ] }, "ContentHeaders": { "Content-Length": [ "15305" ], @@ -83,19 +85,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-12-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=2024-04-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-12-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=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "a10a5f18-c249-4c67-8591-a89de45f5658" ], + "x-ms-unique-id": [ "161" ], + "x-ms-client-request-id": [ "9e552ee4-fd68-4a55-a1d7-f1f0e6655679" ], "CommandName": [ "Get-AzDataProtectionBackupInstance" ], "FullCommandName": [ "Get-AzDataProtectionBackupInstance_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -106,15 +108,16 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1999" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "cabb018d-f158-49c4-9bf5-58074864c7bd" ], - "x-ms-correlation-request-id": [ "cabb018d-f158-49c4-9bf5-58074864c7bd" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T195429Z:cabb018d-f158-49c4-9bf5-58074864c7bd" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1999" ], + "x-ms-request-id": [ "21469b8b-d66d-4f69-98c2-12fcc5635e46" ], + "x-ms-correlation-request-id": [ "21469b8b-d66d-4f69-98c2-12fcc5635e46" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T143750Z:21469b8b-d66d-4f69-98c2-12fcc5635e46" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 779E83717A9840238CB13222976D1D9A Ref B: MAA201060515047 Ref C: 2024-03-24T19:54:28Z" ], - "Date": [ "Sun, 24 Mar 2024 19:54:28 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 50F1FC787AE84D8AAE69E52740D9C9A3 Ref B: MAA201060513019 Ref C: 2024-04-21T14:37:49Z" ], + "Date": [ "Sun, 21 Apr 2024 14:37:49 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1879" ], @@ -125,19 +128,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-12-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=2024-04-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-12-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=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "edbf481e-0a5f-4b0d-9707-4c347633d162" ], + "x-ms-unique-id": [ "162" ], + "x-ms-client-request-id": [ "3a4943fd-0198-4b69-890e-9d2e822a4497" ], "CommandName": [ "Get-AzDataProtectionBackupInstance" ], "FullCommandName": [ "Get-AzDataProtectionBackupInstance_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -148,15 +151,16 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1999" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "753d6ddd-f718-4353-99b1-c6f70aa72e0a" ], - "x-ms-correlation-request-id": [ "753d6ddd-f718-4353-99b1-c6f70aa72e0a" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T195430Z:753d6ddd-f718-4353-99b1-c6f70aa72e0a" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1999" ], + "x-ms-request-id": [ "d3f609e3-192a-4719-a0c5-f510620676e7" ], + "x-ms-correlation-request-id": [ "d3f609e3-192a-4719-a0c5-f510620676e7" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T143751Z:d3f609e3-192a-4719-a0c5-f510620676e7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 5E9AA0E62C1646579D668ECC079523AA Ref B: MAA201060515047 Ref C: 2024-03-24T19:54:29Z" ], - "Date": [ "Sun, 24 Mar 2024 19:54:29 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 48368EFE2A95407680A4CD8BDC580E4C Ref B: MAA201060513019 Ref C: 2024-04-21T14:37:51Z" ], + "Date": [ "Sun, 21 Apr 2024 14:37:50 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1879" ], @@ -167,19 +171,19 @@ "isContentBase64": false } }, - "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-12-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=2024-04-01+1": { "Request": { "Method": "GET", - "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-12-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=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "5" ], - "x-ms-client-request-id": [ "91318048-01e7-4ee1-92d2-6e0daafc066d" ], + "x-ms-unique-id": [ "163" ], + "x-ms-client-request-id": [ "c36df1ec-6d38-48aa-b0ec-6ced60c34171" ], "CommandName": [ "Get-AzDataProtectionBackupVault" ], "FullCommandName": [ "Get-AzDataProtectionBackupVault_Get2" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -190,38 +194,39 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "499" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "79901571-a639-4c8a-9b8b-ff085a020fc5" ], - "x-ms-correlation-request-id": [ "79901571-a639-4c8a-9b8b-ff085a020fc5" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T195431Z:79901571-a639-4c8a-9b8b-ff085a020fc5" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "499" ], + "x-ms-request-id": [ "90e76807-9853-40e3-abf1-89495d6846dd" ], + "x-ms-correlation-request-id": [ "90e76807-9853-40e3-abf1-89495d6846dd" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T143753Z:90e76807-9853-40e3-abf1-89495d6846dd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 7C029DF7C4C84CBC9FF22857DAD4586E Ref B: MAA201060515047 Ref C: 2024-03-24T19:54:30Z" ], - "Date": [ "Sun, 24 Mar 2024 19:54:30 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 5E6B1A1550014FB3AD62F7EC8A85714D Ref B: MAA201060513019 Ref C: 2024-04-21T14:37:51Z" ], + "Date": [ "Sun, 21 Apr 2024 14:37:52 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "710" ], + "Content-Length": [ "737" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"location\":\"eastus2euap\",\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"ab860105-34ae-4a44-a1eb-09381f25ac80\",\"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\"}", + "Content": "{\"location\":\"eastus2euap\",\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"ab860105-34ae-4a44-a1eb-09381f25ac80\",\"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\",\"bcdrSecurityLevel\":\"Poor\",\"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/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupInstances?api-version=2023-12-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=2024-04-01+2": { "Request": { "Method": "GET", - "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-12-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=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "6" ], - "x-ms-client-request-id": [ "c5db9bef-d8f0-48be-8dc3-7e126a70c9b3" ], + "x-ms-unique-id": [ "164" ], + "x-ms-client-request-id": [ "67ff050f-c916-4e0a-b755-c1800e155f32" ], "CommandName": [ "Get-AzDataProtectionBackupInstance" ], "FullCommandName": [ "Get-AzDataProtectionBackupInstance_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -232,15 +237,16 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1999" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "a14ae5d6-172d-45f3-9299-c5116c8889ec" ], - "x-ms-correlation-request-id": [ "a14ae5d6-172d-45f3-9299-c5116c8889ec" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T195432Z:a14ae5d6-172d-45f3-9299-c5116c8889ec" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1999" ], + "x-ms-request-id": [ "3bd1bcac-3f7d-4f11-b649-3af9cd98156f" ], + "x-ms-correlation-request-id": [ "3bd1bcac-3f7d-4f11-b649-3af9cd98156f" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T143754Z:3bd1bcac-3f7d-4f11-b649-3af9cd98156f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 28F014EF592F4E84995800A519838A60 Ref B: MAA201060515047 Ref C: 2024-03-24T19:54:31Z" ], - "Date": [ "Sun, 24 Mar 2024 19:54:31 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 28EF7035A5044314B2BE828C368657CF Ref B: MAA201060513019 Ref C: 2024-04-21T14:37:53Z" ], + "Date": [ "Sun, 21 Apr 2024 14:37:53 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2832" ], @@ -251,19 +257,19 @@ "isContentBase64": false } }, - "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-12-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=2024-04-01+3": { "Request": { "Method": "GET", - "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-12-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=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "7" ], - "x-ms-client-request-id": [ "6078bb74-5b6d-45e3-87fb-a419ff896d41" ], + "x-ms-unique-id": [ "165" ], + "x-ms-client-request-id": [ "27581d50-1b35-48ea-8202-79ff425b2798" ], "CommandName": [ "Get-AzDataProtectionBackupPolicy" ], "FullCommandName": [ "Get-AzDataProtectionBackupPolicy_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -274,15 +280,16 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "0ced529c-f643-422b-94e7-a6909f86228f" ], - "x-ms-correlation-request-id": [ "0ced529c-f643-422b-94e7-a6909f86228f" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T195433Z:0ced529c-f643-422b-94e7-a6909f86228f" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "e901cf4a-53a6-462e-bc42-3fe9ffbb6563" ], + "x-ms-correlation-request-id": [ "e901cf4a-53a6-462e-bc42-3fe9ffbb6563" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240421T143755Z:e901cf4a-53a6-462e-bc42-3fe9ffbb6563" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 512B64F40E90477A8884C842337F4034 Ref B: MAA201060515047 Ref C: 2024-03-24T19:54:32Z" ], - "Date": [ "Sun, 24 Mar 2024 19:54:32 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 57870668A4F14AAAA11EBC88823281DC Ref B: MAA201060513019 Ref C: 2024-04-21T14:37:54Z" ], + "Date": [ "Sun, 21 Apr 2024 14:37:54 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2293" ], @@ -293,19 +300,19 @@ "isContentBase64": false } }, - "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-12-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=2024-04-01+4": { "Request": { "Method": "GET", - "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-12-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=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "8" ], - "x-ms-client-request-id": [ "0e5a43ae-8c49-48d4-a715-dbb9c7a1e877" ], + "x-ms-unique-id": [ "166" ], + "x-ms-client-request-id": [ "cd374861-6a65-4fb2-a5dc-f38d3cb7960c" ], "CommandName": [ "Get-AzDataProtectionBackupInstance" ], "FullCommandName": [ "Get-AzDataProtectionBackupInstance_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -316,15 +323,16 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1999" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "abd0c6d0-765b-4c00-bb8f-f75b908c8c85" ], - "x-ms-correlation-request-id": [ "abd0c6d0-765b-4c00-bb8f-f75b908c8c85" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T195434Z:abd0c6d0-765b-4c00-bb8f-f75b908c8c85" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1999" ], + "x-ms-request-id": [ "5e276dd6-4296-4ac5-b16b-889cbcab2c6d" ], + "x-ms-correlation-request-id": [ "5e276dd6-4296-4ac5-b16b-889cbcab2c6d" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T143756Z:5e276dd6-4296-4ac5-b16b-889cbcab2c6d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 5AFD1C39C3054637BC44B85532E78BC6 Ref B: MAA201060515047 Ref C: 2024-03-24T19:54:33Z" ], - "Date": [ "Sun, 24 Mar 2024 19:54:33 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 67E7E50CC1744E8DB30AE03E24586706 Ref B: MAA201060513019 Ref C: 2024-04-21T14:37:55Z" ], + "Date": [ "Sun, 21 Apr 2024 14:37:55 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2832" ], @@ -335,10 +343,10 @@ "isContentBase64": false } }, - "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-12-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=2024-04-01+5": { "Request": { "Method": "POST", - "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-12-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=2024-04-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": { @@ -353,18 +361,19 @@ "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/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiO2E0MGRmMGE1LWVhZTYtNDdkNi1iMGQ1LTY3ZDEzNTBmYmMyYw==?api-version=2023-12-01\u0026t=638469068762015587\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=r13NdX1FxfWppx0qcMNc4sM4bkEDOAG-_Z2yr6ca0bdZv0zVpLcPdfhm96pUK2hIa8uOX-J8cmhkBdtySmKl3izm5kwhTjNGYYKQ5YgbOdkODnoMOd8jZNTP7gnocSiezuAxFeEdQrNSYsLnQYLhS8o8BNiwrnGEOvCVRFTsA6BTO6pY-MNXGbXmYCy0O4KEA10HEJrd1HeA476LtgXdo7fjotO3KI77fxEjpvWxIifhgtr3yFxiXY8wfNflTcZL9Dl1FkQ65XvspqYU5wqwJvfWeFtJSJWnnHItlxN5vHr4wrvjrp82sCFuPxC-Re3XbExgjuPjfJxQb4c5_0CN1Q\u0026h=4aWCakvtfUgjge_I9j1USANth9Hr_KM9OWToX7OmXyU" ], + "Location": [ "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiOzQ0NjYwM2ZhLWZjYWQtNDlkZS1iZDgxLTIzMTZjZjlhMzc2Yw==?api-version=2024-04-01\u0026t=638493070785048026\u0026c=MIIHHjCCBgagAwIBAgITfwKW7CzhHP5y3OJv9wAEApbsLDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMjI1MDAwWhcNMjUwMTI0MjI1MDAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMdLBpeMT45PrN0PVwT2qCTSx3AfLEvwe5P5doB25hgw3G_LW7hBtO2tLKJzuhM3uxJW8gFuOx1MuVnjrBRL4d98ph5IjRZ4OFOXwSKPpL7V4IUYdhN5VF0QLCF_PC0Q0Ks_YBQrZS0XfQPzwrt3SylvrV_mQ61ZqoLZdN4cU3gNwWYxAyJJ1x0sUGxczNhOE_klwSa8CDqE51O960b9vUxQXNyQ5W7WiNv9zjmFsiNFk-dJ66Rm0Ip7Io6Ff7OXoPSjNoHZmYQbNikuFQWY7Tw8INzs9KRqPTq8u9WjLeJm1t81XrrVulos6wd1dPREDUZ-UO54M5BV3ztdx9ShgfUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBSiiBrqZUTzRyEtvkUcyxy1eSSo9DAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAIJcAqCwQ4xKJpAGA_PQX052uxYLuR_vWJXfYr6OD0DQB_HaQQajLwTsdm5YRsAduP063zHHZTaM1PGSBvU2VPUeg4JcB7u9DTGzCXJXX-B7s0gVBu-LtRKcElnj2yIUaJm591km020QN8oZPjqanSfJu_4wJo3FjgVkqZIZZbfs40OaLRTr5gN1FvFi8nrvRCFs3C4qOksSLM7sRZGE8YJejGsw_DZdTeroabL3FrAMOTVKDlDEW11fJ3mGT4fkrxz-IvPnJJ02dbjUIsB0fporGNuIDWYhMm6XV5LbYoOlLlkLKqppqGysFNj4rQvXypr9KM9XjEBbK1vdB59IRE4\u0026s=B4qZWQ1InceNw5D4NZmUhg6gnQN6BXmBOrCZaZY7MUTNkQF7INIuDP5XYngaN2RlDfsKrukaU9Jo6Xy6E1Or37smvGyDYlizq9rN9ajTpp4a5pWyf6ftVc6hXcCzA7EKXlLD56U8FQYQeFEsIlm0pDDdl2MVHQJf39dArdGMR-OZB3M691Q7BVTv2sGCSyM__U76ECj9xyIFvKbVmZ99wSDti_mCRmsXNGvvG7tmZpXk_J9s2Gj_D9KnP5J1_3D9YKbEg34iQ3VaOe4EncbHITcdE489scgX2MpIqSkIZ2-TU-PPSh7udkxSykIysCDMdwLy1XDkl7FgL9g4Q0PWjw\u0026h=t41d8x-CB6HvxshXG-46mP-slZGDQYOBVdCRS7Uz4wk" ], "Retry-After": [ "30" ], "X-Content-Type-Options": [ "nosniff" ], - "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/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiO2E0MGRmMGE1LWVhZTYtNDdkNi1iMGQ1LTY3ZDEzNTBmYmMyYw==?api-version=2023-12-01\u0026t=638469068761859338\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=pjxo2TAx1u66hesFEka9Gp7QBwxpx77dGZtdOAFUeHJHWDbP53day3EhqOUG-aJmROvqw3I24r5c4VJShJUkCV2_9qDYOgmlfs7J-WiM21uATaupVrP2Hs_t8cyR0U1tePWGZsUAY41nQ2b0vJdAeMkjY6qPKvqHDNX6PGQPMTTeNi9QsKbHGBITjLRrZKD8g7RfjNrK0O1Ahjt3aeW8--Ox0NgzroK2n2a5G9SGj_xbiKt4oioFzOTReceOLsjX5gZ7oEWjs4DyLhpzaC73-kkI2bEku7uxg1_IQ9WqNClZ9g1EiCLI4DDX5hgJkIqIUHbPbKnNo1RFNtjRgYtnVw\u0026h=CsJ2fpskPe2w-7kMOpsX6pte_M05794M5QtqnDucvNI" ], + "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/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiOzQ0NjYwM2ZhLWZjYWQtNDlkZS1iZDgxLTIzMTZjZjlhMzc2Yw==?api-version=2024-04-01\u0026t=638493070784892413\u0026c=MIIHHjCCBgagAwIBAgITfwKW7CzhHP5y3OJv9wAEApbsLDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMjI1MDAwWhcNMjUwMTI0MjI1MDAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMdLBpeMT45PrN0PVwT2qCTSx3AfLEvwe5P5doB25hgw3G_LW7hBtO2tLKJzuhM3uxJW8gFuOx1MuVnjrBRL4d98ph5IjRZ4OFOXwSKPpL7V4IUYdhN5VF0QLCF_PC0Q0Ks_YBQrZS0XfQPzwrt3SylvrV_mQ61ZqoLZdN4cU3gNwWYxAyJJ1x0sUGxczNhOE_klwSa8CDqE51O960b9vUxQXNyQ5W7WiNv9zjmFsiNFk-dJ66Rm0Ip7Io6Ff7OXoPSjNoHZmYQbNikuFQWY7Tw8INzs9KRqPTq8u9WjLeJm1t81XrrVulos6wd1dPREDUZ-UO54M5BV3ztdx9ShgfUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBSiiBrqZUTzRyEtvkUcyxy1eSSo9DAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAIJcAqCwQ4xKJpAGA_PQX052uxYLuR_vWJXfYr6OD0DQB_HaQQajLwTsdm5YRsAduP063zHHZTaM1PGSBvU2VPUeg4JcB7u9DTGzCXJXX-B7s0gVBu-LtRKcElnj2yIUaJm591km020QN8oZPjqanSfJu_4wJo3FjgVkqZIZZbfs40OaLRTr5gN1FvFi8nrvRCFs3C4qOksSLM7sRZGE8YJejGsw_DZdTeroabL3FrAMOTVKDlDEW11fJ3mGT4fkrxz-IvPnJJ02dbjUIsB0fporGNuIDWYhMm6XV5LbYoOlLlkLKqppqGysFNj4rQvXypr9KM9XjEBbK1vdB59IRE4\u0026s=TlmSUjXfaVk2W8VwRlGgYhsJq7Jh8-g02LKImwLfdWs4jT3Gq9HJDtmuoWAzrSYnzjxsWHhezfFUesYkYEvJ6XDPhpKrs7f1DAGc23-GpdcCGBikkXL2eFSscOLL4KatkWSk_HzuoDMDop8fF5NDVW90z79r2iWHnGyamA1w1G_GF3s81gmwInTELrrecVSxXlV8t5KL4iTHiAy1VGrHVmRvg5imo7ZPOPhxBGaycjsV9o8vv8--CVTn5xd82SytCmbwjx7OIV10v9iQI3VmOyoeCt1EcFtjOg9Sgfy9HLsHrARDTSeAYvLrUtJZ1nTs9XvfEQCjLEDLmiF3Kru6zg\u0026h=yPBbTOvD5RxzZYaJIFMc-pAglaP_z47D-G-rd4nP62Q" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-request-id": [ "24db67ca-62f3-4ace-80e5-62655a3c51e7" ], - "x-ms-correlation-request-id": [ "24db67ca-62f3-4ace-80e5-62655a3c51e7" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T195436Z:24db67ca-62f3-4ace-80e5-62655a3c51e7" ], + "x-ms-request-id": [ "7bc4524a-6df4-4838-bb39-f82d522626a4" ], + "x-ms-correlation-request-id": [ "7bc4524a-6df4-4838-bb39-f82d522626a4" ], + "x-ms-routing-request-id": [ "JIOINDIACENTRAL:20240421T143758Z:7bc4524a-6df4-4838-bb39-f82d522626a4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 118F18613079445BB503A49F9731B22B Ref B: MAA201060515047 Ref C: 2024-03-24T19:54:34Z" ], - "Date": [ "Sun, 24 Mar 2024 19:54:35 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 4A7A3E8C5DA24874B5F138E72323F124 Ref B: MAA201060513019 Ref C: 2024-04-21T14:37:56Z" ], + "Date": [ "Sun, 21 Apr 2024 14:37:57 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -374,20 +383,20 @@ "isContentBase64": false } }, - "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/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiO2E0MGRmMGE1LWVhZTYtNDdkNi1iMGQ1LTY3ZDEzNTBmYmMyYw==?api-version=2023-12-01\u0026t=638469068761859338\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=pjxo2TAx1u66hesFEka9Gp7QBwxpx77dGZtdOAFUeHJHWDbP53day3EhqOUG-aJmROvqw3I24r5c4VJShJUkCV2_9qDYOgmlfs7J-WiM21uATaupVrP2Hs_t8cyR0U1tePWGZsUAY41nQ2b0vJdAeMkjY6qPKvqHDNX6PGQPMTTeNi9QsKbHGBITjLRrZKD8g7RfjNrK0O1Ahjt3aeW8--Ox0NgzroK2n2a5G9SGj_xbiKt4oioFzOTReceOLsjX5gZ7oEWjs4DyLhpzaC73-kkI2bEku7uxg1_IQ9WqNClZ9g1EiCLI4DDX5hgJkIqIUHbPbKnNo1RFNtjRgYtnVw\u0026h=CsJ2fpskPe2w-7kMOpsX6pte_M05794M5QtqnDucvNI+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/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiOzQ0NjYwM2ZhLWZjYWQtNDlkZS1iZDgxLTIzMTZjZjlhMzc2Yw==?api-version=2024-04-01\u0026t=638493070784892413\u0026c=MIIHHjCCBgagAwIBAgITfwKW7CzhHP5y3OJv9wAEApbsLDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMjI1MDAwWhcNMjUwMTI0MjI1MDAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMdLBpeMT45PrN0PVwT2qCTSx3AfLEvwe5P5doB25hgw3G_LW7hBtO2tLKJzuhM3uxJW8gFuOx1MuVnjrBRL4d98ph5IjRZ4OFOXwSKPpL7V4IUYdhN5VF0QLCF_PC0Q0Ks_YBQrZS0XfQPzwrt3SylvrV_mQ61ZqoLZdN4cU3gNwWYxAyJJ1x0sUGxczNhOE_klwSa8CDqE51O960b9vUxQXNyQ5W7WiNv9zjmFsiNFk-dJ66Rm0Ip7Io6Ff7OXoPSjNoHZmYQbNikuFQWY7Tw8INzs9KRqPTq8u9WjLeJm1t81XrrVulos6wd1dPREDUZ-UO54M5BV3ztdx9ShgfUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBSiiBrqZUTzRyEtvkUcyxy1eSSo9DAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAIJcAqCwQ4xKJpAGA_PQX052uxYLuR_vWJXfYr6OD0DQB_HaQQajLwTsdm5YRsAduP063zHHZTaM1PGSBvU2VPUeg4JcB7u9DTGzCXJXX-B7s0gVBu-LtRKcElnj2yIUaJm591km020QN8oZPjqanSfJu_4wJo3FjgVkqZIZZbfs40OaLRTr5gN1FvFi8nrvRCFs3C4qOksSLM7sRZGE8YJejGsw_DZdTeroabL3FrAMOTVKDlDEW11fJ3mGT4fkrxz-IvPnJJ02dbjUIsB0fporGNuIDWYhMm6XV5LbYoOlLlkLKqppqGysFNj4rQvXypr9KM9XjEBbK1vdB59IRE4\u0026s=TlmSUjXfaVk2W8VwRlGgYhsJq7Jh8-g02LKImwLfdWs4jT3Gq9HJDtmuoWAzrSYnzjxsWHhezfFUesYkYEvJ6XDPhpKrs7f1DAGc23-GpdcCGBikkXL2eFSscOLL4KatkWSk_HzuoDMDop8fF5NDVW90z79r2iWHnGyamA1w1G_GF3s81gmwInTELrrecVSxXlV8t5KL4iTHiAy1VGrHVmRvg5imo7ZPOPhxBGaycjsV9o8vv8--CVTn5xd82SytCmbwjx7OIV10v9iQI3VmOyoeCt1EcFtjOg9Sgfy9HLsHrARDTSeAYvLrUtJZ1nTs9XvfEQCjLEDLmiF3Kru6zg\u0026h=yPBbTOvD5RxzZYaJIFMc-pAglaP_z47D-G-rd4nP62Q+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/operationStatus/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiO2E0MGRmMGE1LWVhZTYtNDdkNi1iMGQ1LTY3ZDEzNTBmYmMyYw==?api-version=2023-12-01\u0026t=638469068761859338\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=pjxo2TAx1u66hesFEka9Gp7QBwxpx77dGZtdOAFUeHJHWDbP53day3EhqOUG-aJmROvqw3I24r5c4VJShJUkCV2_9qDYOgmlfs7J-WiM21uATaupVrP2Hs_t8cyR0U1tePWGZsUAY41nQ2b0vJdAeMkjY6qPKvqHDNX6PGQPMTTeNi9QsKbHGBITjLRrZKD8g7RfjNrK0O1Ahjt3aeW8--Ox0NgzroK2n2a5G9SGj_xbiKt4oioFzOTReceOLsjX5gZ7oEWjs4DyLhpzaC73-kkI2bEku7uxg1_IQ9WqNClZ9g1EiCLI4DDX5hgJkIqIUHbPbKnNo1RFNtjRgYtnVw\u0026h=CsJ2fpskPe2w-7kMOpsX6pte_M05794M5QtqnDucvNI", + "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/operationStatus/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiOzQ0NjYwM2ZhLWZjYWQtNDlkZS1iZDgxLTIzMTZjZjlhMzc2Yw==?api-version=2024-04-01\u0026t=638493070784892413\u0026c=MIIHHjCCBgagAwIBAgITfwKW7CzhHP5y3OJv9wAEApbsLDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMjI1MDAwWhcNMjUwMTI0MjI1MDAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMdLBpeMT45PrN0PVwT2qCTSx3AfLEvwe5P5doB25hgw3G_LW7hBtO2tLKJzuhM3uxJW8gFuOx1MuVnjrBRL4d98ph5IjRZ4OFOXwSKPpL7V4IUYdhN5VF0QLCF_PC0Q0Ks_YBQrZS0XfQPzwrt3SylvrV_mQ61ZqoLZdN4cU3gNwWYxAyJJ1x0sUGxczNhOE_klwSa8CDqE51O960b9vUxQXNyQ5W7WiNv9zjmFsiNFk-dJ66Rm0Ip7Io6Ff7OXoPSjNoHZmYQbNikuFQWY7Tw8INzs9KRqPTq8u9WjLeJm1t81XrrVulos6wd1dPREDUZ-UO54M5BV3ztdx9ShgfUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBSiiBrqZUTzRyEtvkUcyxy1eSSo9DAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAIJcAqCwQ4xKJpAGA_PQX052uxYLuR_vWJXfYr6OD0DQB_HaQQajLwTsdm5YRsAduP063zHHZTaM1PGSBvU2VPUeg4JcB7u9DTGzCXJXX-B7s0gVBu-LtRKcElnj2yIUaJm591km020QN8oZPjqanSfJu_4wJo3FjgVkqZIZZbfs40OaLRTr5gN1FvFi8nrvRCFs3C4qOksSLM7sRZGE8YJejGsw_DZdTeroabL3FrAMOTVKDlDEW11fJ3mGT4fkrxz-IvPnJJ02dbjUIsB0fporGNuIDWYhMm6XV5LbYoOlLlkLKqppqGysFNj4rQvXypr9KM9XjEBbK1vdB59IRE4\u0026s=TlmSUjXfaVk2W8VwRlGgYhsJq7Jh8-g02LKImwLfdWs4jT3Gq9HJDtmuoWAzrSYnzjxsWHhezfFUesYkYEvJ6XDPhpKrs7f1DAGc23-GpdcCGBikkXL2eFSscOLL4KatkWSk_HzuoDMDop8fF5NDVW90z79r2iWHnGyamA1w1G_GF3s81gmwInTELrrecVSxXlV8t5KL4iTHiAy1VGrHVmRvg5imo7ZPOPhxBGaycjsV9o8vv8--CVTn5xd82SytCmbwjx7OIV10v9iQI3VmOyoeCt1EcFtjOg9Sgfy9HLsHrARDTSeAYvLrUtJZ1nTs9XvfEQCjLEDLmiF3Kru6zg\u0026h=yPBbTOvD5RxzZYaJIFMc-pAglaP_z47D-G-rd4nP62Q", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "10" ], - "x-ms-client-request-id": [ "04d4a295-90ed-49ce-84b2-5c7edac247d1" ], + "x-ms-unique-id": [ "168" ], + "x-ms-client-request-id": [ "d3fcfa76-87b8-481c-8c4e-ee160611dee2" ], "CommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc" ], "FullCommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc_BackupExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -397,39 +406,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "17f8259a-e9eb-4461-9d07-00bc35b5b447" ], - "x-ms-correlation-request-id": [ "17f8259a-e9eb-4461-9d07-00bc35b5b447" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T195507Z:17f8259a-e9eb-4461-9d07-00bc35b5b447" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], + "x-ms-request-id": [ "fa444874-d8d3-4b07-9089-9def4fd5e19a" ], + "x-ms-correlation-request-id": [ "fa444874-d8d3-4b07-9089-9def4fd5e19a" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T143829Z:fa444874-d8d3-4b07-9089-9def4fd5e19a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 62AD4DA5B2EF48C2A67CD80F78908A0B Ref B: MAA201060515047 Ref C: 2024-03-24T19:55:06Z" ], - "Date": [ "Sun, 24 Mar 2024 19:55:06 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 2C36659C250549B7B18B72DF0CBBF408 Ref B: MAA201060513019 Ref C: 2024-04-21T14:38:28Z" ], + "Date": [ "Sun, 21 Apr 2024 14:38:29 GMT" ] }, "ContentHeaders": { "Content-Length": [ "763" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/operationStatus/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiO2E0MGRmMGE1LWVhZTYtNDdkNi1iMGQ1LTY3ZDEzNTBmYmMyYw==\",\"name\":\"Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiO2E0MGRmMGE1LWVhZTYtNDdkNi1iMGQ1LTY3ZDEzNTBmYmMyYw==\",\"status\":\"Succeeded\",\"startTime\":\"2024-03-24T19:54:36.0189199Z\",\"endTime\":\"2024-03-24T19:54:58Z\",\"properties\":{\"jobId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/Backupvaults/azk8ssvcs-vault-ecy/backupJobs/4901e1e9-1ca9-4080-b55c-cfc68051755d\",\"objectType\":\"OperationJobExtendedInfo\"}}", + "Content": "{\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/operationStatus/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiOzQ0NjYwM2ZhLWZjYWQtNDlkZS1iZDgxLTIzMTZjZjlhMzc2Yw==\",\"name\":\"Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiOzQ0NjYwM2ZhLWZjYWQtNDlkZS1iZDgxLTIzMTZjZjlhMzc2Yw==\",\"status\":\"Succeeded\",\"startTime\":\"2024-04-21T14:37:58.3172058Z\",\"endTime\":\"2024-04-21T14:37:59Z\",\"properties\":{\"jobId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/Backupvaults/azk8ssvcs-vault-ecy/backupJobs/17cc68e4-cb29-44d7-8139-622f1c178f65\",\"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/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiO2E0MGRmMGE1LWVhZTYtNDdkNi1iMGQ1LTY3ZDEzNTBmYmMyYw==?api-version=2023-12-01\u0026t=638469068762015587\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=r13NdX1FxfWppx0qcMNc4sM4bkEDOAG-_Z2yr6ca0bdZv0zVpLcPdfhm96pUK2hIa8uOX-J8cmhkBdtySmKl3izm5kwhTjNGYYKQ5YgbOdkODnoMOd8jZNTP7gnocSiezuAxFeEdQrNSYsLnQYLhS8o8BNiwrnGEOvCVRFTsA6BTO6pY-MNXGbXmYCy0O4KEA10HEJrd1HeA476LtgXdo7fjotO3KI77fxEjpvWxIifhgtr3yFxiXY8wfNflTcZL9Dl1FkQ65XvspqYU5wqwJvfWeFtJSJWnnHItlxN5vHr4wrvjrp82sCFuPxC-Re3XbExgjuPjfJxQb4c5_0CN1Q\u0026h=4aWCakvtfUgjge_I9j1USANth9Hr_KM9OWToX7OmXyU+7": { + "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiOzQ0NjYwM2ZhLWZjYWQtNDlkZS1iZDgxLTIzMTZjZjlhMzc2Yw==?api-version=2024-04-01\u0026t=638493070785048026\u0026c=MIIHHjCCBgagAwIBAgITfwKW7CzhHP5y3OJv9wAEApbsLDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMjI1MDAwWhcNMjUwMTI0MjI1MDAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMdLBpeMT45PrN0PVwT2qCTSx3AfLEvwe5P5doB25hgw3G_LW7hBtO2tLKJzuhM3uxJW8gFuOx1MuVnjrBRL4d98ph5IjRZ4OFOXwSKPpL7V4IUYdhN5VF0QLCF_PC0Q0Ks_YBQrZS0XfQPzwrt3SylvrV_mQ61ZqoLZdN4cU3gNwWYxAyJJ1x0sUGxczNhOE_klwSa8CDqE51O960b9vUxQXNyQ5W7WiNv9zjmFsiNFk-dJ66Rm0Ip7Io6Ff7OXoPSjNoHZmYQbNikuFQWY7Tw8INzs9KRqPTq8u9WjLeJm1t81XrrVulos6wd1dPREDUZ-UO54M5BV3ztdx9ShgfUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBSiiBrqZUTzRyEtvkUcyxy1eSSo9DAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAIJcAqCwQ4xKJpAGA_PQX052uxYLuR_vWJXfYr6OD0DQB_HaQQajLwTsdm5YRsAduP063zHHZTaM1PGSBvU2VPUeg4JcB7u9DTGzCXJXX-B7s0gVBu-LtRKcElnj2yIUaJm591km020QN8oZPjqanSfJu_4wJo3FjgVkqZIZZbfs40OaLRTr5gN1FvFi8nrvRCFs3C4qOksSLM7sRZGE8YJejGsw_DZdTeroabL3FrAMOTVKDlDEW11fJ3mGT4fkrxz-IvPnJJ02dbjUIsB0fporGNuIDWYhMm6XV5LbYoOlLlkLKqppqGysFNj4rQvXypr9KM9XjEBbK1vdB59IRE4\u0026s=B4qZWQ1InceNw5D4NZmUhg6gnQN6BXmBOrCZaZY7MUTNkQF7INIuDP5XYngaN2RlDfsKrukaU9Jo6Xy6E1Or37smvGyDYlizq9rN9ajTpp4a5pWyf6ftVc6hXcCzA7EKXlLD56U8FQYQeFEsIlm0pDDdl2MVHQJf39dArdGMR-OZB3M691Q7BVTv2sGCSyM__U76ECj9xyIFvKbVmZ99wSDti_mCRmsXNGvvG7tmZpXk_J9s2Gj_D9KnP5J1_3D9YKbEg34iQ3VaOe4EncbHITcdE489scgX2MpIqSkIZ2-TU-PPSh7udkxSykIysCDMdwLy1XDkl7FgL9g4Q0PWjw\u0026h=t41d8x-CB6HvxshXG-46mP-slZGDQYOBVdCRS7Uz4wk+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiO2E0MGRmMGE1LWVhZTYtNDdkNi1iMGQ1LTY3ZDEzNTBmYmMyYw==?api-version=2023-12-01\u0026t=638469068762015587\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=r13NdX1FxfWppx0qcMNc4sM4bkEDOAG-_Z2yr6ca0bdZv0zVpLcPdfhm96pUK2hIa8uOX-J8cmhkBdtySmKl3izm5kwhTjNGYYKQ5YgbOdkODnoMOd8jZNTP7gnocSiezuAxFeEdQrNSYsLnQYLhS8o8BNiwrnGEOvCVRFTsA6BTO6pY-MNXGbXmYCy0O4KEA10HEJrd1HeA476LtgXdo7fjotO3KI77fxEjpvWxIifhgtr3yFxiXY8wfNflTcZL9Dl1FkQ65XvspqYU5wqwJvfWeFtJSJWnnHItlxN5vHr4wrvjrp82sCFuPxC-Re3XbExgjuPjfJxQb4c5_0CN1Q\u0026h=4aWCakvtfUgjge_I9j1USANth9Hr_KM9OWToX7OmXyU", + "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiOzQ0NjYwM2ZhLWZjYWQtNDlkZS1iZDgxLTIzMTZjZjlhMzc2Yw==?api-version=2024-04-01\u0026t=638493070785048026\u0026c=MIIHHjCCBgagAwIBAgITfwKW7CzhHP5y3OJv9wAEApbsLDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMjI1MDAwWhcNMjUwMTI0MjI1MDAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMdLBpeMT45PrN0PVwT2qCTSx3AfLEvwe5P5doB25hgw3G_LW7hBtO2tLKJzuhM3uxJW8gFuOx1MuVnjrBRL4d98ph5IjRZ4OFOXwSKPpL7V4IUYdhN5VF0QLCF_PC0Q0Ks_YBQrZS0XfQPzwrt3SylvrV_mQ61ZqoLZdN4cU3gNwWYxAyJJ1x0sUGxczNhOE_klwSa8CDqE51O960b9vUxQXNyQ5W7WiNv9zjmFsiNFk-dJ66Rm0Ip7Io6Ff7OXoPSjNoHZmYQbNikuFQWY7Tw8INzs9KRqPTq8u9WjLeJm1t81XrrVulos6wd1dPREDUZ-UO54M5BV3ztdx9ShgfUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBSiiBrqZUTzRyEtvkUcyxy1eSSo9DAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAIJcAqCwQ4xKJpAGA_PQX052uxYLuR_vWJXfYr6OD0DQB_HaQQajLwTsdm5YRsAduP063zHHZTaM1PGSBvU2VPUeg4JcB7u9DTGzCXJXX-B7s0gVBu-LtRKcElnj2yIUaJm591km020QN8oZPjqanSfJu_4wJo3FjgVkqZIZZbfs40OaLRTr5gN1FvFi8nrvRCFs3C4qOksSLM7sRZGE8YJejGsw_DZdTeroabL3FrAMOTVKDlDEW11fJ3mGT4fkrxz-IvPnJJ02dbjUIsB0fporGNuIDWYhMm6XV5LbYoOlLlkLKqppqGysFNj4rQvXypr9KM9XjEBbK1vdB59IRE4\u0026s=B4qZWQ1InceNw5D4NZmUhg6gnQN6BXmBOrCZaZY7MUTNkQF7INIuDP5XYngaN2RlDfsKrukaU9Jo6Xy6E1Or37smvGyDYlizq9rN9ajTpp4a5pWyf6ftVc6hXcCzA7EKXlLD56U8FQYQeFEsIlm0pDDdl2MVHQJf39dArdGMR-OZB3M691Q7BVTv2sGCSyM__U76ECj9xyIFvKbVmZ99wSDti_mCRmsXNGvvG7tmZpXk_J9s2Gj_D9KnP5J1_3D9YKbEg34iQ3VaOe4EncbHITcdE489scgX2MpIqSkIZ2-TU-PPSh7udkxSykIysCDMdwLy1XDkl7FgL9g4Q0PWjw\u0026h=t41d8x-CB6HvxshXG-46mP-slZGDQYOBVdCRS7Uz4wk", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "11" ], - "x-ms-client-request-id": [ "04d4a295-90ed-49ce-84b2-5c7edac247d1" ], + "x-ms-unique-id": [ "169" ], + "x-ms-client-request-id": [ "d3fcfa76-87b8-481c-8c4e-ee160611dee2" ], "CommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc" ], "FullCommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc_BackupExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -440,39 +450,40 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Retry-After": [ "30" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/providers/Microsoft.DataProtection/locations/eastus2euap/operationStatus/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiO2E0MGRmMGE1LWVhZTYtNDdkNi1iMGQ1LTY3ZDEzNTBmYmMyYw==?api-version=2023-12-01\u0026t=638469069080272817\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=Qvf1Lo_yWFCvyLxNKfCmKqZTP34e-xeON5_3JkqAfNBnjOk5yXPnpujxymOYz6_KSni8hX2qJnKkUufgyrSqFnWkYPaBkVvzuNoiyFdCHZ89y3pDCLUVxeSBcfB68ZRmKl3OGo6BQ0FQOkcFMD7-dB7JlfncPB-zk-CDVPzFG1bYsZIRVPtLWfMICWFbFTxyWmkqvH3mg6Y62lIL40tzQjH2TP3-oSy8_lZ7OItjELbQZ8WYAL4-BWW9-3BJ5V5iju-YMm-OUCd5pc72J0QcRJ2sRk5R6c5RYMYAHxT8hqkqZ4wZ361iPt3gEhG7mHihqU4rMfQ7i-i-BZervSxIGA\u0026h=eomHOoJbZpfG7TpvErzJjCR-Svk1U6Y0c8RHj_v-zE0" ], - "x-ms-request-id": [ "9068ab0b-ac4c-44da-a0b8-3c67aa17c971" ], - "x-ms-correlation-request-id": [ "9068ab0b-ac4c-44da-a0b8-3c67aa17c971" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T195508Z:9068ab0b-ac4c-44da-a0b8-3c67aa17c971" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/providers/Microsoft.DataProtection/locations/eastus2euap/operationStatus/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiOzQ0NjYwM2ZhLWZjYWQtNDlkZS1iZDgxLTIzMTZjZjlhMzc2Yw==?api-version=2024-04-01\u0026t=638493071106282114\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=DqaDtouEJn5jlEFdV5MaG3Kn3AhNt9xzpkSgM-YrPhOe6QTUJLVswUBk92yFX8dILNCtrWd0u0AVABC9U9JoGUjt49-envH1bCk3-tPzwZsR4T1_ilsgE1kzB1IjirT8nNXGlyfnT_62Duirm-tbGxz78jmXaYiDh9oBvwLMd5ouy5HzhRdJjlfws7828tKWld3XEvylZH-xXeuWlg2f77nn8_v_5Pwomrjodd50axJym_QRdMCGWjbCDw60xubj_uF8QNmaMArdft8EszjZDWeIllMlEUQjQia_LP9hSjlQTx9DKHGxUE1GJTAJM0KcXjSKalw7vAGLO_Z83qXI6g\u0026h=zuMAQUCzEpfudmAsO3RacrFkvGmXcI9Q3tWGMXx1VCU" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "a71996c7-8558-49c0-b3b3-3ebb4bc5d0a0" ], + "x-ms-correlation-request-id": [ "a71996c7-8558-49c0-b3b3-3ebb4bc5d0a0" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T143830Z:a71996c7-8558-49c0-b3b3-3ebb4bc5d0a0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: D713C85D0558412E9FAA64BBA22AE28A Ref B: MAA201060515047 Ref C: 2024-03-24T19:55:07Z" ], - "Date": [ "Sun, 24 Mar 2024 19:55:07 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 6505EC5697344542BC8857603AE254F1 Ref B: MAA201060513019 Ref C: 2024-04-21T14:38:29Z" ], + "Date": [ "Sun, 21 Apr 2024 14:38:30 GMT" ] }, "ContentHeaders": { "Content-Length": [ "258" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"jobId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/Backupvaults/azk8ssvcs-vault-ecy/backupJobs/4901e1e9-1ca9-4080-b55c-cfc68051755d\",\"objectType\":\"OperationJobExtendedInfo\"}", + "Content": "{\"jobId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/Backupvaults/azk8ssvcs-vault-ecy/backupJobs/17cc68e4-cb29-44d7-8139-622f1c178f65\",\"objectType\":\"OperationJobExtendedInfo\"}", "isContentBase64": false } }, - "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-12-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=2024-04-01+8": { "Request": { "Method": "GET", - "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-12-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=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "12" ], - "x-ms-client-request-id": [ "e5c24ad7-25ea-410b-b7b2-0be5c4c81ed4" ], + "x-ms-unique-id": [ "170" ], + "x-ms-client-request-id": [ "1e4ef90d-4763-44d7-9a31-126d0ec99022" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionRecoveryPoint" ], "FullCommandName": [ "Get-AzDataProtectionRecoveryPoint_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -483,30 +494,31 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "99" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "2742c2af-9c36-4a70-9003-7123f636afbf" ], - "x-ms-correlation-request-id": [ "2742c2af-9c36-4a70-9003-7123f636afbf" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T195539Z:2742c2af-9c36-4a70-9003-7123f636afbf" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "99" ], + "x-ms-request-id": [ "0ac52793-1a33-42f4-baa1-c6a8aa403ffd" ], + "x-ms-correlation-request-id": [ "0ac52793-1a33-42f4-baa1-c6a8aa403ffd" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T143901Z:0ac52793-1a33-42f4-baa1-c6a8aa403ffd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 1F2CBC233D5540B8B5454C65ED52FD3B Ref B: MAA201060515047 Ref C: 2024-03-24T19:55:38Z" ], - "Date": [ "Sun, 24 Mar 2024 19:55:39 GMT" ] + "X-MSEdge-Ref": [ "Ref A: D9B3A650419E4041AA2D8B783845C85C Ref B: MAA201060513019 Ref C: 2024-04-21T14:39:00Z" ], + "Date": [ "Sun, 21 Apr 2024 14:39:01 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "10235" ], + "Content-Length": [ "9099" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"25f3927bc55b4fa3aa8ab421f7bdfcd3\",\"recoveryPointTime\":\"2024-03-24T18:50:36.1427207Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"25f3927bc55b4fa3aa8ab421f7bdfcd3\",\"recoveryPointDataStoresDetails\":[{\"id\":\"dc0e5cc3-769f-4140-89d5-fe2b9d846610\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-24T18:50:10.9175273Z\",\"expiryTime\":\"2024-03-25T18:50:10.9175273Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638428205005136681\",\"policyName\":\"azk8ssvcs-ad-policy-backupecy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-25T18:50:10.9175273Z\",\"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/25f3927bc55b4fa3aa8ab421f7bdfcd3\",\"name\":\"25f3927bc55b4fa3aa8ab421f7bdfcd3\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"df2999128ea14e52ac5d088d60ce57a5\",\"recoveryPointTime\":\"2024-03-24T15:50:26.5035209Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"df2999128ea14e52ac5d088d60ce57a5\",\"recoveryPointDataStoresDetails\":[{\"id\":\"dc0e5cc3-769f-4140-89d5-fe2b9d846610\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-24T15:49:59.8292967Z\",\"expiryTime\":\"2024-03-25T15:49:59.8292967Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638428205005136681\",\"policyName\":\"azk8ssvcs-ad-policy-backupecy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-25T15:49:59.8292967Z\",\"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/df2999128ea14e52ac5d088d60ce57a5\",\"name\":\"df2999128ea14e52ac5d088d60ce57a5\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"652cfa00c70c41caa5e1fa701e4e0970\",\"recoveryPointTime\":\"2024-03-24T13:19:52.0107024Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"652cfa00c70c41caa5e1fa701e4e0970\",\"recoveryPointDataStoresDetails\":[{\"id\":\"dc0e5cc3-769f-4140-89d5-fe2b9d846610\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-24T13:19:26.7875211Z\",\"expiryTime\":\"2024-03-25T13:19:26.7875211Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638428205005136681\",\"policyName\":\"azk8ssvcs-ad-policy-backupecy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-25T13:19:26.7875211Z\",\"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/652cfa00c70c41caa5e1fa701e4e0970\",\"name\":\"652cfa00c70c41caa5e1fa701e4e0970\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"3962cace82b14ce7b67a68e6550b93e3\",\"recoveryPointTime\":\"2024-03-24T12:50:21.3545611Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"3962cace82b14ce7b67a68e6550b93e3\",\"recoveryPointDataStoresDetails\":[{\"id\":\"dc0e5cc3-769f-4140-89d5-fe2b9d846610\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-24T12:49:56.4389183Z\",\"expiryTime\":\"2024-03-25T12:49:56.4389183Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638428205005136681\",\"policyName\":\"azk8ssvcs-ad-policy-backupecy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-25T12:49:56.4389183Z\",\"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/3962cace82b14ce7b67a68e6550b93e3\",\"name\":\"3962cace82b14ce7b67a68e6550b93e3\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"db71360d7ab64243a37a9216f218eda9\",\"recoveryPointTime\":\"2024-03-24T09:50:25.6420140Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"db71360d7ab64243a37a9216f218eda9\",\"recoveryPointDataStoresDetails\":[{\"id\":\"dc0e5cc3-769f-4140-89d5-fe2b9d846610\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-24T09:50:00.4570564Z\",\"expiryTime\":\"2024-03-25T09:50:00.4570564Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638428205005136681\",\"policyName\":\"azk8ssvcs-ad-policy-backupecy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-25T09:50:00.4570564Z\",\"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/db71360d7ab64243a37a9216f218eda9\",\"name\":\"db71360d7ab64243a37a9216f218eda9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"7bb05500881844cdbd2e31d8b54acb1f\",\"recoveryPointTime\":\"2024-03-24T06:50:20.8997508Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"7bb05500881844cdbd2e31d8b54acb1f\",\"recoveryPointDataStoresDetails\":[{\"id\":\"dc0e5cc3-769f-4140-89d5-fe2b9d846610\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-24T06:49:56.3711157Z\",\"expiryTime\":\"2024-03-25T06:49:56.3711157Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638428205005136681\",\"policyName\":\"azk8ssvcs-ad-policy-backupecy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-25T06:49:56.3711157Z\",\"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/7bb05500881844cdbd2e31d8b54acb1f\",\"name\":\"7bb05500881844cdbd2e31d8b54acb1f\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"d12d38d112414c0e938486dfa29e2a94\",\"recoveryPointTime\":\"2024-03-24T03:50:13.7191774Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"d12d38d112414c0e938486dfa29e2a94\",\"recoveryPointDataStoresDetails\":[{\"id\":\"dc0e5cc3-769f-4140-89d5-fe2b9d846610\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-24T03:49:49.8305412Z\",\"expiryTime\":\"2024-03-25T03:49:49.8305412Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638428205005136681\",\"policyName\":\"azk8ssvcs-ad-policy-backupecy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-25T03:49:49.8305412Z\",\"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/d12d38d112414c0e938486dfa29e2a94\",\"name\":\"d12d38d112414c0e938486dfa29e2a94\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"e616c553daf04d75811f9f750bbf95c7\",\"recoveryPointTime\":\"2024-03-24T00:50:47.9935190Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"e616c553daf04d75811f9f750bbf95c7\",\"recoveryPointDataStoresDetails\":[{\"id\":\"dc0e5cc3-769f-4140-89d5-fe2b9d846610\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-24T00:50:21.6126453Z\",\"expiryTime\":\"2024-03-25T00:50:21.6126453Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638428205005136681\",\"policyName\":\"azk8ssvcs-ad-policy-backupecy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-25T00:50:21.6126453Z\",\"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/e616c553daf04d75811f9f750bbf95c7\",\"name\":\"e616c553daf04d75811f9f750bbf95c7\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"2f8601fab95845f981be754994852ab4\",\"recoveryPointTime\":\"2024-03-23T21:50:51.7328745Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"2f8601fab95845f981be754994852ab4\",\"recoveryPointDataStoresDetails\":[{\"id\":\"dc0e5cc3-769f-4140-89d5-fe2b9d846610\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-03-23T21:50:23.6515904Z\",\"expiryTime\":\"2024-03-24T21:50:23.6515904Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638428205005136681\",\"policyName\":\"azk8ssvcs-ad-policy-backupecy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-24T21:50:23.6515904Z\",\"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/2f8601fab95845f981be754994852ab4\",\"name\":\"2f8601fab95845f981be754994852ab4\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"}]}", + "Content": "{\"value\":[{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"ceec9f7463b441d1950c043adc5cd556\",\"recoveryPointTime\":\"2024-04-21T12:53:46.1408704Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"ceec9f7463b441d1950c043adc5cd556\",\"recoveryPointDataStoresDetails\":[{\"id\":\"dc0e5cc3-769f-4140-89d5-fe2b9d846610\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-21T12:53:21.1619315Z\",\"expiryTime\":\"2024-04-22T12:53:21.1619315Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638428205005136681\",\"policyName\":\"azk8ssvcs-ad-policy-backupecy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-22T12:53:21.1619315Z\",\"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/ceec9f7463b441d1950c043adc5cd556\",\"name\":\"ceec9f7463b441d1950c043adc5cd556\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"8fe9bdb5d43c4173b768c4117eecd4ee\",\"recoveryPointTime\":\"2024-04-21T09:54:05.8461386Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"8fe9bdb5d43c4173b768c4117eecd4ee\",\"recoveryPointDataStoresDetails\":[{\"id\":\"dc0e5cc3-769f-4140-89d5-fe2b9d846610\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-21T09:53:36.4055388Z\",\"expiryTime\":\"2024-04-22T09:53:36.4055388Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638428205005136681\",\"policyName\":\"azk8ssvcs-ad-policy-backupecy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-22T09:53:36.4055388Z\",\"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/8fe9bdb5d43c4173b768c4117eecd4ee\",\"name\":\"8fe9bdb5d43c4173b768c4117eecd4ee\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"53e42be9c1014e7787d3908d02f0fe4b\",\"recoveryPointTime\":\"2024-04-21T06:54:17.6266002Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"53e42be9c1014e7787d3908d02f0fe4b\",\"recoveryPointDataStoresDetails\":[{\"id\":\"dc0e5cc3-769f-4140-89d5-fe2b9d846610\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-21T06:53:50.1278846Z\",\"expiryTime\":\"2024-04-22T06:53:50.1278846Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638428205005136681\",\"policyName\":\"azk8ssvcs-ad-policy-backupecy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-22T06:53:50.1278846Z\",\"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/53e42be9c1014e7787d3908d02f0fe4b\",\"name\":\"53e42be9c1014e7787d3908d02f0fe4b\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"939fe1743bb94609b3498a69900d85ce\",\"recoveryPointTime\":\"2024-04-21T03:53:51.1852836Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"939fe1743bb94609b3498a69900d85ce\",\"recoveryPointDataStoresDetails\":[{\"id\":\"dc0e5cc3-769f-4140-89d5-fe2b9d846610\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-21T03:53:25.9852898Z\",\"expiryTime\":\"2024-04-22T03:53:25.9852898Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638428205005136681\",\"policyName\":\"azk8ssvcs-ad-policy-backupecy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-22T03:53:25.9852898Z\",\"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/939fe1743bb94609b3498a69900d85ce\",\"name\":\"939fe1743bb94609b3498a69900d85ce\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"04a2cea9fb544ab7846f5393bb6958dd\",\"recoveryPointTime\":\"2024-04-21T00:53:37.4398158Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"04a2cea9fb544ab7846f5393bb6958dd\",\"recoveryPointDataStoresDetails\":[{\"id\":\"dc0e5cc3-769f-4140-89d5-fe2b9d846610\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-21T00:53:11.4471712Z\",\"expiryTime\":\"2024-04-22T00:53:11.4471712Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638428205005136681\",\"policyName\":\"azk8ssvcs-ad-policy-backupecy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-22T00:53:11.4471712Z\",\"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/04a2cea9fb544ab7846f5393bb6958dd\",\"name\":\"04a2cea9fb544ab7846f5393bb6958dd\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"e87428792aa04f329f8d1cd1808019c0\",\"recoveryPointTime\":\"2024-04-20T21:53:47.2757054Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"e87428792aa04f329f8d1cd1808019c0\",\"recoveryPointDataStoresDetails\":[{\"id\":\"dc0e5cc3-769f-4140-89d5-fe2b9d846610\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-20T21:53:21.7212276Z\",\"expiryTime\":\"2024-04-21T21:53:21.7212276Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638428205005136681\",\"policyName\":\"azk8ssvcs-ad-policy-backupecy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-21T21:53:21.7212276Z\",\"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/e87428792aa04f329f8d1cd1808019c0\",\"name\":\"e87428792aa04f329f8d1cd1808019c0\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"d707173167c04f2c86fcaf74ffd5012f\",\"recoveryPointTime\":\"2024-04-20T18:54:18.1709097Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"d707173167c04f2c86fcaf74ffd5012f\",\"recoveryPointDataStoresDetails\":[{\"id\":\"dc0e5cc3-769f-4140-89d5-fe2b9d846610\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-20T18:53:12.5417161Z\",\"expiryTime\":\"2024-04-21T18:53:12.5417161Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638428205005136681\",\"policyName\":\"azk8ssvcs-ad-policy-backupecy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-21T18:53:12.5417161Z\",\"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/d707173167c04f2c86fcaf74ffd5012f\",\"name\":\"d707173167c04f2c86fcaf74ffd5012f\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"b54bde6d133240ebadfe4128131b0d0f\",\"recoveryPointTime\":\"2024-04-20T15:53:56.9250912Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"b54bde6d133240ebadfe4128131b0d0f\",\"recoveryPointDataStoresDetails\":[{\"id\":\"dc0e5cc3-769f-4140-89d5-fe2b9d846610\",\"type\":\"OperationalStore\",\"creationTime\":\"2024-04-20T15:53:30.5511548Z\",\"expiryTime\":\"2024-04-21T15:53:30.5511548Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638428205005136681\",\"policyName\":\"azk8ssvcs-ad-policy-backupecy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-21T15:53:30.5511548Z\",\"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/b54bde6d133240ebadfe4128131b0d0f\",\"name\":\"b54bde6d133240ebadfe4128131b0d0f\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"}]}", "isContentBase64": false } }, - "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-12-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=2024-04-01+9": { "Request": { "Method": "POST", - "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-12-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\": \"25f3927bc55b4fa3aa8ab421f7bdfcd3\"\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=2024-04-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\": \"ceec9f7463b441d1950c043adc5cd556\"\r\n }\r\n}", "isContentBase64": false, "Headers": { }, @@ -520,18 +532,19 @@ "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/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiOzcwN2UxNmMyLTRkYjAtNDFkZi05OWQ0LWQxOThkY2ViZTcwMA==?api-version=2023-12-01\u0026t=638469069405457575\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=saNefxc1tibYmUXeTkcEssDQhtZgmjYSvX1GD6ffvxMUm6d3MmnD78byb6WBUVFI788FNNY4CF5sKeiXdW0UVBXzJ1uHf3D938sWI0eIx6zCUomCfi3f87Y_yv41Y7kA921t1NVaHQYnTPua_qREsc5qolXIHa68RfDF-T6ZHL2O363dZKKq7q0gqY8RbCIzsVnLYl_2sJBvH6JMdED4GM9V0DVWysqk7bgwnYyOKOSiuAxpKVbtlnMplTHZoC17UxARNgGAH2coM90AE2sf79c1J6CQxP72Dmm2AjsnxGaJOtTBIbtY79m079uhIvcVb7M3dR7eUoDhKbGw2OpzTA\u0026h=fWywnmLuZAx3v1SjPpNbN2LSrG7yjsV-OuhLkHi3-44" ], + "Location": [ "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiOzliMzg5Yzk1LWJlOTgtNDhkNC1hMGQwLTJmZmRmZTM4YTRiYg==?api-version=2024-04-01\u0026t=638493071432279283\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=Z9PuOHBr07hBjVlQrlGQfjcvnY1eYGTvMH0BHZ7F_zAd5KeLpLHIcsF0bG8Qk2MW9kBLUZ6nf5YF7vEGD7sotvjHwA-IMk9guLR-x99sKRU3INUeK28qa03a4Sjl-8ug1ug3VBCeecXO3D3NkhJI5v6o8ezkaZzarSgumO4j_j-fGyBbOok7w8R1zwD9CoB5JtCsTxJB0J0dyiJ7HpYVOo1lVaMNUJg7nV2qw1hBRFQtkEBTUjnOvPb3lyMnGhEjrnvbub0LQIH_wZ-I56in0jLdo6O9CA3UjKPcB06MyXRSEp6sbtBu08BPFWOCNIie0egp8K8oO58Hk_rOgFCkZQ\u0026h=UtAQ5eVQAHsSny3wFkMtNU1b6oYWNQX_dxRv59yA4Ik" ], "Retry-After": [ "10" ], "X-Content-Type-Options": [ "nosniff" ], - "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/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiOzcwN2UxNmMyLTRkYjAtNDFkZi05OWQ0LWQxOThkY2ViZTcwMA==?api-version=2023-12-01\u0026t=638469069405457575\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=01YLPCzohAIe9-Q8Jw2zfwVX0TCQ_QoivFdBBaGzG0uP3khz9iS1pedo6RvSxZ9YDsNTmnm-lahgpydZCHLTe221WA8nX9NS_fwzr6Sw6vaIH3e1naQdsJfBPfE5XT2qLw33rJP0gkUsHevhAVCMezzSAzJ5yOfz1VczzTqTqFUZW5DRpy6uH0nu5Q-OKbrWamEKVRFXvd_8cV3_wen6cMTIApdldpx6fVTrRB4LB59P_xdPyj0sTVvlyHnuuxg4Q8YEBo-UtJ7ItHG5X73lqkzYHbKFw29MsUlezIy-GjO4uUrV6zV0KDgu418bExfulTo7jp3s-ESRan2Qo-Jdng\u0026h=PBg2Vk3U1jaJ0jRvG7Am72ib4mN6BnLqMlH2i9xpuFo" ], + "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/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiOzliMzg5Yzk1LWJlOTgtNDhkNC1hMGQwLTJmZmRmZTM4YTRiYg==?api-version=2024-04-01\u0026t=638493071432124191\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=F7XazQX8rt0NKm5RJnqm8FiRPV4HqOa83_OYjHD-ObrxXhMKgtJVJ-34TSxLCnu9mKLujms7qs0JTaqtfu1I2Mda-COuvJ_FGRYevwmTYh9nVjU7Ls9i5w8yvoRrfUlAlDz_LbVb5WrNNUWcMQIDtJDbuFvxiJy9Z2oBp9tclw4LDAiZsEBWdU8NcdJZK2IYXXwHzw-bIC347Ucx8YFQqLQ7mL0iqvRDXFTu95orvMzSZXUVTLXHu0-dE8jfjiALONCTerGpThUJiW7RTNWfGFboFSlOql3PFcGHjgjYLqKxckQkDX8-9VOUDGLmGFiH-6MhEIaIbvgKn7Xb9tIhEw\u0026h=i8f8b7riWjNXAzDXIwkWWLjjRPTNLdoFrrT6L22JkwU" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-request-id": [ "fa0232ff-c66d-42db-a61b-905d68c9a830" ], - "x-ms-correlation-request-id": [ "fa0232ff-c66d-42db-a61b-905d68c9a830" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T195540Z:fa0232ff-c66d-42db-a61b-905d68c9a830" ], + "x-ms-request-id": [ "ee069148-13c2-47b0-9f80-08f40ef12280" ], + "x-ms-correlation-request-id": [ "ee069148-13c2-47b0-9f80-08f40ef12280" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T143903Z:ee069148-13c2-47b0-9f80-08f40ef12280" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 406B3D9BDDBA49988C63E976E6190D80 Ref B: MAA201060515047 Ref C: 2024-03-24T19:55:39Z" ], - "Date": [ "Sun, 24 Mar 2024 19:55:40 GMT" ] + "X-MSEdge-Ref": [ "Ref A: A46570699EB041AFBCA5BAF2DA728571 Ref B: MAA201060513019 Ref C: 2024-04-21T14:39:02Z" ], + "Date": [ "Sun, 21 Apr 2024 14:39:03 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -541,20 +554,20 @@ "isContentBase64": false } }, - "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/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiOzcwN2UxNmMyLTRkYjAtNDFkZi05OWQ0LWQxOThkY2ViZTcwMA==?api-version=2023-12-01\u0026t=638469069405457575\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=01YLPCzohAIe9-Q8Jw2zfwVX0TCQ_QoivFdBBaGzG0uP3khz9iS1pedo6RvSxZ9YDsNTmnm-lahgpydZCHLTe221WA8nX9NS_fwzr6Sw6vaIH3e1naQdsJfBPfE5XT2qLw33rJP0gkUsHevhAVCMezzSAzJ5yOfz1VczzTqTqFUZW5DRpy6uH0nu5Q-OKbrWamEKVRFXvd_8cV3_wen6cMTIApdldpx6fVTrRB4LB59P_xdPyj0sTVvlyHnuuxg4Q8YEBo-UtJ7ItHG5X73lqkzYHbKFw29MsUlezIy-GjO4uUrV6zV0KDgu418bExfulTo7jp3s-ESRan2Qo-Jdng\u0026h=PBg2Vk3U1jaJ0jRvG7Am72ib4mN6BnLqMlH2i9xpuFo+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/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiOzliMzg5Yzk1LWJlOTgtNDhkNC1hMGQwLTJmZmRmZTM4YTRiYg==?api-version=2024-04-01\u0026t=638493071432124191\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=F7XazQX8rt0NKm5RJnqm8FiRPV4HqOa83_OYjHD-ObrxXhMKgtJVJ-34TSxLCnu9mKLujms7qs0JTaqtfu1I2Mda-COuvJ_FGRYevwmTYh9nVjU7Ls9i5w8yvoRrfUlAlDz_LbVb5WrNNUWcMQIDtJDbuFvxiJy9Z2oBp9tclw4LDAiZsEBWdU8NcdJZK2IYXXwHzw-bIC347Ucx8YFQqLQ7mL0iqvRDXFTu95orvMzSZXUVTLXHu0-dE8jfjiALONCTerGpThUJiW7RTNWfGFboFSlOql3PFcGHjgjYLqKxckQkDX8-9VOUDGLmGFiH-6MhEIaIbvgKn7Xb9tIhEw\u0026h=i8f8b7riWjNXAzDXIwkWWLjjRPTNLdoFrrT6L22JkwU+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/operationStatus/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiOzcwN2UxNmMyLTRkYjAtNDFkZi05OWQ0LWQxOThkY2ViZTcwMA==?api-version=2023-12-01\u0026t=638469069405457575\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=01YLPCzohAIe9-Q8Jw2zfwVX0TCQ_QoivFdBBaGzG0uP3khz9iS1pedo6RvSxZ9YDsNTmnm-lahgpydZCHLTe221WA8nX9NS_fwzr6Sw6vaIH3e1naQdsJfBPfE5XT2qLw33rJP0gkUsHevhAVCMezzSAzJ5yOfz1VczzTqTqFUZW5DRpy6uH0nu5Q-OKbrWamEKVRFXvd_8cV3_wen6cMTIApdldpx6fVTrRB4LB59P_xdPyj0sTVvlyHnuuxg4Q8YEBo-UtJ7ItHG5X73lqkzYHbKFw29MsUlezIy-GjO4uUrV6zV0KDgu418bExfulTo7jp3s-ESRan2Qo-Jdng\u0026h=PBg2Vk3U1jaJ0jRvG7Am72ib4mN6BnLqMlH2i9xpuFo", + "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/operationStatus/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiOzliMzg5Yzk1LWJlOTgtNDhkNC1hMGQwLTJmZmRmZTM4YTRiYg==?api-version=2024-04-01\u0026t=638493071432124191\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=F7XazQX8rt0NKm5RJnqm8FiRPV4HqOa83_OYjHD-ObrxXhMKgtJVJ-34TSxLCnu9mKLujms7qs0JTaqtfu1I2Mda-COuvJ_FGRYevwmTYh9nVjU7Ls9i5w8yvoRrfUlAlDz_LbVb5WrNNUWcMQIDtJDbuFvxiJy9Z2oBp9tclw4LDAiZsEBWdU8NcdJZK2IYXXwHzw-bIC347Ucx8YFQqLQ7mL0iqvRDXFTu95orvMzSZXUVTLXHu0-dE8jfjiALONCTerGpThUJiW7RTNWfGFboFSlOql3PFcGHjgjYLqKxckQkDX8-9VOUDGLmGFiH-6MhEIaIbvgKn7Xb9tIhEw\u0026h=i8f8b7riWjNXAzDXIwkWWLjjRPTNLdoFrrT6L22JkwU", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "14" ], - "x-ms-client-request-id": [ "3d6e4d02-39a0-41f7-8078-c0905000ad5d" ], + "x-ms-unique-id": [ "172" ], + "x-ms-client-request-id": [ "4ff0caf7-8d0b-4214-aabb-0098aae297d5" ], "CommandName": [ "Az.DataProtection.Internal\\Test-AzDataProtectionBackupInstanceRestore" ], "FullCommandName": [ "Test-AzDataProtectionBackupInstanceRestore_Validate1" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -564,39 +577,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "cce2f21a-f07a-4f63-bc63-8e29662065e8" ], - "x-ms-correlation-request-id": [ "cce2f21a-f07a-4f63-bc63-8e29662065e8" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T195551Z:cce2f21a-f07a-4f63-bc63-8e29662065e8" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], + "x-ms-request-id": [ "9be81680-fe0f-42ea-9f65-36ff153c03fa" ], + "x-ms-correlation-request-id": [ "9be81680-fe0f-42ea-9f65-36ff153c03fa" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T143914Z:9be81680-fe0f-42ea-9f65-36ff153c03fa" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 6A83730FB0284317A4821052568F6672 Ref B: MAA201060515047 Ref C: 2024-03-24T19:55:50Z" ], - "Date": [ "Sun, 24 Mar 2024 19:55:51 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 50A0CB1954954B99B5E15F43AE87BCCB Ref B: MAA201060513019 Ref C: 2024-04-21T14:39:13Z" ], + "Date": [ "Sun, 21 Apr 2024 14:39:14 GMT" ] }, "ContentHeaders": { "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/operationStatus/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiOzcwN2UxNmMyLTRkYjAtNDFkZi05OWQ0LWQxOThkY2ViZTcwMA==\",\"name\":\"Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiOzcwN2UxNmMyLTRkYjAtNDFkZi05OWQ0LWQxOThkY2ViZTcwMA==\",\"status\":\"Inprogress\",\"startTime\":\"2024-03-24T19:55:40.3594937Z\",\"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/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiOzliMzg5Yzk1LWJlOTgtNDhkNC1hMGQwLTJmZmRmZTM4YTRiYg==\",\"name\":\"Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiOzliMzg5Yzk1LWJlOTgtNDhkNC1hMGQwLTJmZmRmZTM4YTRiYg==\",\"status\":\"Inprogress\",\"startTime\":\"2024-04-21T14:39:03.0647701Z\",\"endTime\":\"0001-01-01T00:00:00Z\"}", "isContentBase64": false } }, - "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/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiOzcwN2UxNmMyLTRkYjAtNDFkZi05OWQ0LWQxOThkY2ViZTcwMA==?api-version=2023-12-01\u0026t=638469069405457575\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=01YLPCzohAIe9-Q8Jw2zfwVX0TCQ_QoivFdBBaGzG0uP3khz9iS1pedo6RvSxZ9YDsNTmnm-lahgpydZCHLTe221WA8nX9NS_fwzr6Sw6vaIH3e1naQdsJfBPfE5XT2qLw33rJP0gkUsHevhAVCMezzSAzJ5yOfz1VczzTqTqFUZW5DRpy6uH0nu5Q-OKbrWamEKVRFXvd_8cV3_wen6cMTIApdldpx6fVTrRB4LB59P_xdPyj0sTVvlyHnuuxg4Q8YEBo-UtJ7ItHG5X73lqkzYHbKFw29MsUlezIy-GjO4uUrV6zV0KDgu418bExfulTo7jp3s-ESRan2Qo-Jdng\u0026h=PBg2Vk3U1jaJ0jRvG7Am72ib4mN6BnLqMlH2i9xpuFo+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/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiOzliMzg5Yzk1LWJlOTgtNDhkNC1hMGQwLTJmZmRmZTM4YTRiYg==?api-version=2024-04-01\u0026t=638493071432124191\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=F7XazQX8rt0NKm5RJnqm8FiRPV4HqOa83_OYjHD-ObrxXhMKgtJVJ-34TSxLCnu9mKLujms7qs0JTaqtfu1I2Mda-COuvJ_FGRYevwmTYh9nVjU7Ls9i5w8yvoRrfUlAlDz_LbVb5WrNNUWcMQIDtJDbuFvxiJy9Z2oBp9tclw4LDAiZsEBWdU8NcdJZK2IYXXwHzw-bIC347Ucx8YFQqLQ7mL0iqvRDXFTu95orvMzSZXUVTLXHu0-dE8jfjiALONCTerGpThUJiW7RTNWfGFboFSlOql3PFcGHjgjYLqKxckQkDX8-9VOUDGLmGFiH-6MhEIaIbvgKn7Xb9tIhEw\u0026h=i8f8b7riWjNXAzDXIwkWWLjjRPTNLdoFrrT6L22JkwU+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/operationStatus/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiOzcwN2UxNmMyLTRkYjAtNDFkZi05OWQ0LWQxOThkY2ViZTcwMA==?api-version=2023-12-01\u0026t=638469069405457575\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=01YLPCzohAIe9-Q8Jw2zfwVX0TCQ_QoivFdBBaGzG0uP3khz9iS1pedo6RvSxZ9YDsNTmnm-lahgpydZCHLTe221WA8nX9NS_fwzr6Sw6vaIH3e1naQdsJfBPfE5XT2qLw33rJP0gkUsHevhAVCMezzSAzJ5yOfz1VczzTqTqFUZW5DRpy6uH0nu5Q-OKbrWamEKVRFXvd_8cV3_wen6cMTIApdldpx6fVTrRB4LB59P_xdPyj0sTVvlyHnuuxg4Q8YEBo-UtJ7ItHG5X73lqkzYHbKFw29MsUlezIy-GjO4uUrV6zV0KDgu418bExfulTo7jp3s-ESRan2Qo-Jdng\u0026h=PBg2Vk3U1jaJ0jRvG7Am72ib4mN6BnLqMlH2i9xpuFo", + "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/operationStatus/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiOzliMzg5Yzk1LWJlOTgtNDhkNC1hMGQwLTJmZmRmZTM4YTRiYg==?api-version=2024-04-01\u0026t=638493071432124191\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=F7XazQX8rt0NKm5RJnqm8FiRPV4HqOa83_OYjHD-ObrxXhMKgtJVJ-34TSxLCnu9mKLujms7qs0JTaqtfu1I2Mda-COuvJ_FGRYevwmTYh9nVjU7Ls9i5w8yvoRrfUlAlDz_LbVb5WrNNUWcMQIDtJDbuFvxiJy9Z2oBp9tclw4LDAiZsEBWdU8NcdJZK2IYXXwHzw-bIC347Ucx8YFQqLQ7mL0iqvRDXFTu95orvMzSZXUVTLXHu0-dE8jfjiALONCTerGpThUJiW7RTNWfGFboFSlOql3PFcGHjgjYLqKxckQkDX8-9VOUDGLmGFiH-6MhEIaIbvgKn7Xb9tIhEw\u0026h=i8f8b7riWjNXAzDXIwkWWLjjRPTNLdoFrrT6L22JkwU", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "15" ], - "x-ms-client-request-id": [ "3d6e4d02-39a0-41f7-8078-c0905000ad5d" ], + "x-ms-unique-id": [ "173" ], + "x-ms-client-request-id": [ "4ff0caf7-8d0b-4214-aabb-0098aae297d5" ], "CommandName": [ "Az.DataProtection.Internal\\Test-AzDataProtectionBackupInstanceRestore" ], "FullCommandName": [ "Test-AzDataProtectionBackupInstanceRestore_Validate1" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -606,39 +620,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "8a9da04d-ef1f-449c-8619-07ec6eb8077f" ], - "x-ms-correlation-request-id": [ "8a9da04d-ef1f-449c-8619-07ec6eb8077f" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T195622Z:8a9da04d-ef1f-449c-8619-07ec6eb8077f" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], + "x-ms-request-id": [ "dbab9bc1-e76f-4e61-a76a-e4274938baae" ], + "x-ms-correlation-request-id": [ "dbab9bc1-e76f-4e61-a76a-e4274938baae" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T143946Z:dbab9bc1-e76f-4e61-a76a-e4274938baae" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 55FCE1F1965041DBA24BA1639638EF50 Ref B: MAA201060515047 Ref C: 2024-03-24T19:56:21Z" ], - "Date": [ "Sun, 24 Mar 2024 19:56:22 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 092670FE787343D0B6474E3AC6C4A970 Ref B: MAA201060513019 Ref C: 2024-04-21T14:39:45Z" ], + "Date": [ "Sun, 21 Apr 2024 14:39:45 GMT" ] }, "ContentHeaders": { "Content-Length": [ "491" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/operationStatus/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiOzcwN2UxNmMyLTRkYjAtNDFkZi05OWQ0LWQxOThkY2ViZTcwMA==\",\"name\":\"Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiOzcwN2UxNmMyLTRkYjAtNDFkZi05OWQ0LWQxOThkY2ViZTcwMA==\",\"status\":\"Succeeded\",\"startTime\":\"2024-03-24T19:55:40.3594937Z\",\"endTime\":\"2024-03-24T19:56:21Z\"}", + "Content": "{\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/operationStatus/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiOzliMzg5Yzk1LWJlOTgtNDhkNC1hMGQwLTJmZmRmZTM4YTRiYg==\",\"name\":\"Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiOzliMzg5Yzk1LWJlOTgtNDhkNC1hMGQwLTJmZmRmZTM4YTRiYg==\",\"status\":\"Succeeded\",\"startTime\":\"2024-04-21T14:39:03.0647701Z\",\"endTime\":\"2024-04-21T14:39:44Z\"}", "isContentBase64": false } }, - "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiOzcwN2UxNmMyLTRkYjAtNDFkZi05OWQ0LWQxOThkY2ViZTcwMA==?api-version=2023-12-01\u0026t=638469069405457575\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=saNefxc1tibYmUXeTkcEssDQhtZgmjYSvX1GD6ffvxMUm6d3MmnD78byb6WBUVFI788FNNY4CF5sKeiXdW0UVBXzJ1uHf3D938sWI0eIx6zCUomCfi3f87Y_yv41Y7kA921t1NVaHQYnTPua_qREsc5qolXIHa68RfDF-T6ZHL2O363dZKKq7q0gqY8RbCIzsVnLYl_2sJBvH6JMdED4GM9V0DVWysqk7bgwnYyOKOSiuAxpKVbtlnMplTHZoC17UxARNgGAH2coM90AE2sf79c1J6CQxP72Dmm2AjsnxGaJOtTBIbtY79m079uhIvcVb7M3dR7eUoDhKbGw2OpzTA\u0026h=fWywnmLuZAx3v1SjPpNbN2LSrG7yjsV-OuhLkHi3-44+12": { + "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiOzliMzg5Yzk1LWJlOTgtNDhkNC1hMGQwLTJmZmRmZTM4YTRiYg==?api-version=2024-04-01\u0026t=638493071432279283\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=Z9PuOHBr07hBjVlQrlGQfjcvnY1eYGTvMH0BHZ7F_zAd5KeLpLHIcsF0bG8Qk2MW9kBLUZ6nf5YF7vEGD7sotvjHwA-IMk9guLR-x99sKRU3INUeK28qa03a4Sjl-8ug1ug3VBCeecXO3D3NkhJI5v6o8ezkaZzarSgumO4j_j-fGyBbOok7w8R1zwD9CoB5JtCsTxJB0J0dyiJ7HpYVOo1lVaMNUJg7nV2qw1hBRFQtkEBTUjnOvPb3lyMnGhEjrnvbub0LQIH_wZ-I56in0jLdo6O9CA3UjKPcB06MyXRSEp6sbtBu08BPFWOCNIie0egp8K8oO58Hk_rOgFCkZQ\u0026h=UtAQ5eVQAHsSny3wFkMtNU1b6oYWNQX_dxRv59yA4Ik+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiOzcwN2UxNmMyLTRkYjAtNDFkZi05OWQ0LWQxOThkY2ViZTcwMA==?api-version=2023-12-01\u0026t=638469069405457575\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=saNefxc1tibYmUXeTkcEssDQhtZgmjYSvX1GD6ffvxMUm6d3MmnD78byb6WBUVFI788FNNY4CF5sKeiXdW0UVBXzJ1uHf3D938sWI0eIx6zCUomCfi3f87Y_yv41Y7kA921t1NVaHQYnTPua_qREsc5qolXIHa68RfDF-T6ZHL2O363dZKKq7q0gqY8RbCIzsVnLYl_2sJBvH6JMdED4GM9V0DVWysqk7bgwnYyOKOSiuAxpKVbtlnMplTHZoC17UxARNgGAH2coM90AE2sf79c1J6CQxP72Dmm2AjsnxGaJOtTBIbtY79m079uhIvcVb7M3dR7eUoDhKbGw2OpzTA\u0026h=fWywnmLuZAx3v1SjPpNbN2LSrG7yjsV-OuhLkHi3-44", + "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiOzliMzg5Yzk1LWJlOTgtNDhkNC1hMGQwLTJmZmRmZTM4YTRiYg==?api-version=2024-04-01\u0026t=638493071432279283\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=Z9PuOHBr07hBjVlQrlGQfjcvnY1eYGTvMH0BHZ7F_zAd5KeLpLHIcsF0bG8Qk2MW9kBLUZ6nf5YF7vEGD7sotvjHwA-IMk9guLR-x99sKRU3INUeK28qa03a4Sjl-8ug1ug3VBCeecXO3D3NkhJI5v6o8ezkaZzarSgumO4j_j-fGyBbOok7w8R1zwD9CoB5JtCsTxJB0J0dyiJ7HpYVOo1lVaMNUJg7nV2qw1hBRFQtkEBTUjnOvPb3lyMnGhEjrnvbub0LQIH_wZ-I56in0jLdo6O9CA3UjKPcB06MyXRSEp6sbtBu08BPFWOCNIie0egp8K8oO58Hk_rOgFCkZQ\u0026h=UtAQ5eVQAHsSny3wFkMtNU1b6oYWNQX_dxRv59yA4Ik", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "16" ], - "x-ms-client-request-id": [ "3d6e4d02-39a0-41f7-8078-c0905000ad5d" ], + "x-ms-unique-id": [ "174" ], + "x-ms-client-request-id": [ "4ff0caf7-8d0b-4214-aabb-0098aae297d5" ], "CommandName": [ "Az.DataProtection.Internal\\Test-AzDataProtectionBackupInstanceRestore" ], "FullCommandName": [ "Test-AzDataProtectionBackupInstanceRestore_Validate1" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -649,16 +664,17 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Retry-After": [ "30" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/providers/Microsoft.DataProtection/locations/eastus2euap/operationStatus/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiOzcwN2UxNmMyLTRkYjAtNDFkZi05OWQ0LWQxOThkY2ViZTcwMA==?api-version=2023-12-01\u0026t=638469069833911589\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=GhJXlXQVY1gBMb5LRyz4UMuTHR_UENTeAKE4W0_DlzxMBo0yR31WXL6MFdHNPf-5BwmoQ2KTIGnPFGcnTaUy6Ha0TOwYJQ8WFAKnAgLOfSJbyceWIthQJnxBlxWHvN5m-WJS9NaxyEXC6k2uu50n6Ohpne_nn6PWBdNb5bp0AOCTi6DKbjDcrre-3Z_GoNuHJfPFvgyyrSNHK2VM7EIrdya7DfM05owop_ycfIKUBguYv9N8hTq7Xp4e4559QWzWSQVHRP2pWalO4pLLSxAvmiFOM6ChtP_lyNQkdb9KULjc5Ps0bOgII9SohTUrDeV2exlYQYkszrYP9AtQI59w4g\u0026h=Y8Z0X8wE24dg5M9R3ow-OjK6I_3VQbbP6XWZ0PPlrjQ" ], - "x-ms-request-id": [ "3ec62bb2-b2d4-4bbe-8fce-d9c37348ea5d" ], - "x-ms-correlation-request-id": [ "3ec62bb2-b2d4-4bbe-8fce-d9c37348ea5d" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T195623Z:3ec62bb2-b2d4-4bbe-8fce-d9c37348ea5d" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/providers/Microsoft.DataProtection/locations/eastus2euap/operationStatus/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiOzliMzg5Yzk1LWJlOTgtNDhkNC1hMGQwLTJmZmRmZTM4YTRiYg==?api-version=2024-04-01\u0026t=638493071868953075\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=ujzdm5FT_ca2na4IvFwV3J1t2sTr_ux6N9V1QgRjkPNJ7YjdO95nlpGQ2vlG5l67nBnPj0OMfAXDP6D9avyoNgUeTGqENQwWIpuLeKd4kGtI1X4WzhL3DdS7akfqe1OsNrdFv6MfWkFD--FjK0pAR97qElcpfgAimciTuGA8fSB7PsuQNJEebDyMzrA2yvpa2i-NxRHXEVxF0-qJ6c6WK48xMqc2OaH7SWUAPhxEGFOzPioxRDPeMJoS-VCoJGQ2XYS0cxyOHhgtwf0aOB_D7LaEUb5YLepXG-3PQ9xKhLFIfTntwixzVU2zbJTp64IhFV00dqobqOD8qgEUOEyBjg\u0026h=nUBpQK1EQgu6865M_QyZEs06uhjBHDxGdZBHHbbBPUs" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "3d10c46a-e2b7-454d-915b-bba6e039e251" ], + "x-ms-correlation-request-id": [ "3d10c46a-e2b7-454d-915b-bba6e039e251" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T143946Z:3d10c46a-e2b7-454d-915b-bba6e039e251" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: BB20AE92D98041759750D9E141C08E72 Ref B: MAA201060515047 Ref C: 2024-03-24T19:56:22Z" ], - "Date": [ "Sun, 24 Mar 2024 19:56:23 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 1AEBC6721B9148E38DD114E2CBA93EA9 Ref B: MAA201060513019 Ref C: 2024-04-21T14:39:46Z" ], + "Date": [ "Sun, 21 Apr 2024 14:39:46 GMT" ] }, "ContentHeaders": { "Content-Length": [ "41" ], @@ -669,11 +685,11 @@ "isContentBase64": false } }, - "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-12-01+13": { + "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=2024-04-01+13": { "Request": { "Method": "POST", - "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-12-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\": \"25f3927bc55b4fa3aa8ab421f7bdfcd3\"\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=2024-04-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\": \"ceec9f7463b441d1950c043adc5cd556\"\r\n}", "isContentBase64": false, "Headers": { }, @@ -687,18 +703,19 @@ "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/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiOzM3OWMzYzllLTQ5ZmUtNDQyZS05ZmQ0LTNkMTVkNWNkNDk5Mw==?api-version=2023-12-01\u0026t=638469069876383016\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=R9A9TJld6tjKEqttoB9wzbs5eEPhMbqbYe_XfU0WyVe5-yg5D-GYaUlxeJ2qQXqC6YhcI3dxmLxXSYMBU6gDQEotyDtYzg2LczvPLW6mPbtHVIx6KFgevnRTkF-fRMDPCkpZjmbXSjb8SQ0dR3WE13CCbJcYUvxE4T3DPKSjJRKgv9lbjxknuUTP87rNHTat2zZXZQrTYlPsjYAP4U5CjNCRKTYmu9bvCVQrONh-lNr0M1VQWDTxgq-nTUbxz7NaCySqDFJ8JHsw2VIKaOvNoHuR3L0WUB8avPLijQScD7fjQGlablLdLML26rKPJYDTRVKuLukY6uOa68bbq7iF3g\u0026h=8bttbYwVBqNYHdZ10ryY3ltzSgqP5PQei6OQYbjU4nk" ], + "Location": [ "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiO2UyYTVjMzIzLWQ4M2QtNDVhOC05MzJmLTYwODdkZTJjYmE3YQ==?api-version=2024-04-01\u0026t=638493071882606597\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=AHG4SHqKEUKYJ2qOb_OiyTnD9sqansxNbsRfvSImwiWSkDwn8OsQuP770fGWwZrDGhPhy2Q02W4VTdV6di-DKpNRsClmVdngxO0bbpbc5IHbfrIuQoDAj3xO6SY4aYxr9iinuWhxlfsqpnrS2Z_uD7tVn9X7hHJOeh1nIRYwXZy6vjpSXmrYu9kzc_E1waaNxPDphtfpBvUmkG6WkjSxYbaUUtFuUWtnbLvHUCUyGYvdcOiiibdk0emfv2C3Vk9BaLDv1RATlOxpzY3M3UflzfARsbi7mD65UGN0nHxkOZcfF2_tb52lnZ8Xl1_K0RgSw6j8M48hp2Y_QR7kv6vRoA\u0026h=aIZwUgzXwZQeFk7AW3vIzctSUCXY5HBImuiFfe0D9PM" ], "Retry-After": [ "30" ], "X-Content-Type-Options": [ "nosniff" ], - "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/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiOzM3OWMzYzllLTQ5ZmUtNDQyZS05ZmQ0LTNkMTVkNWNkNDk5Mw==?api-version=2023-12-01\u0026t=638469069876226755\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=QGStpIWG313EwBcp9XqlvfAEzgYyJE7z7fi6CHpOumMoWihNrPiz_6ADC3RB1RVddIZ0h3TxaSPJ-N5WkeKisqnYMrikZV1nAt4KZz_Hc-PUS_H91mGzuuhN5nTSDM5L2YgwR5kBpFPZb0lO-ssFlXYYf9yasMuP5_EH4Efur5kNtko_v_ihrGYQN0USuBrt1qjNz38mgtIx55AZntODUafp4CPfmk_UNxi-D4Nd682z_V0P4FUFWXcw36Zww18X0xTdGmIR2Bts-R8Sr0m8AHF8DhdZJsppMeBwKXWyWTqMPuRWUek0qHVVBby5BIRgWfDkHTr1w8SmBl0PBJk8hA\u0026h=b9vIViX5rGpZG4RbUhWkHLX60eW4vDBqkGhkbOzoz7c" ], + "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/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiO2UyYTVjMzIzLWQ4M2QtNDVhOC05MzJmLTYwODdkZTJjYmE3YQ==?api-version=2024-04-01\u0026t=638493071882449702\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=WAzMYMD0u8_La0yhRuPhtTOtuwv6NOfO4yBwg9RRXIaOUy5_qrCif1-Udh2WWMheKl05DSR54J2vW0yL6UqzNW4QuBRxM4ERcgwLM6bMhFvM94Z-YnVU8i4JQ3hMbzsTHt6vxBPrBewo7rGxvGIXp1H7FCjslQQRhVXoWh90Aa-bfwlCarWa_VXuynGLSnKjfnEAefa9BhL7IqvWJlLp-t9VKhl5mI93Cw3dfeOFsieVW5oPj8izQVncmPKAsbgnPhwB1MIdz6kM91ntJZSWCZ7hRuO923X7bK9tqBiSHydVlx-g0pu0mbX1dDqPb_WzoJ3yPaowQm4TIV18S7VfTA\u0026h=5OxMbKXnaqh3Iulpm1R6b4NxZHNeHHWzjLx6HXBc-6M" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-request-id": [ "6d74ae98-dee1-43eb-bf88-efff22026d36" ], - "x-ms-correlation-request-id": [ "6d74ae98-dee1-43eb-bf88-efff22026d36" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T195627Z:6d74ae98-dee1-43eb-bf88-efff22026d36" ], + "x-ms-request-id": [ "660b2400-f8a2-40b5-995b-c67084129532" ], + "x-ms-correlation-request-id": [ "660b2400-f8a2-40b5-995b-c67084129532" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T143948Z:660b2400-f8a2-40b5-995b-c67084129532" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 34473AC1B12743FF9B3F1DFFDFBB198A Ref B: MAA201060515047 Ref C: 2024-03-24T19:56:23Z" ], - "Date": [ "Sun, 24 Mar 2024 19:56:27 GMT" ] + "X-MSEdge-Ref": [ "Ref A: C19D9ABAF1DF47FD88DA47FEF96262DE Ref B: MAA201060513019 Ref C: 2024-04-21T14:39:47Z" ], + "Date": [ "Sun, 21 Apr 2024 14:39:48 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -708,20 +725,20 @@ "isContentBase64": false } }, - "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/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiOzM3OWMzYzllLTQ5ZmUtNDQyZS05ZmQ0LTNkMTVkNWNkNDk5Mw==?api-version=2023-12-01\u0026t=638469069876226755\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=QGStpIWG313EwBcp9XqlvfAEzgYyJE7z7fi6CHpOumMoWihNrPiz_6ADC3RB1RVddIZ0h3TxaSPJ-N5WkeKisqnYMrikZV1nAt4KZz_Hc-PUS_H91mGzuuhN5nTSDM5L2YgwR5kBpFPZb0lO-ssFlXYYf9yasMuP5_EH4Efur5kNtko_v_ihrGYQN0USuBrt1qjNz38mgtIx55AZntODUafp4CPfmk_UNxi-D4Nd682z_V0P4FUFWXcw36Zww18X0xTdGmIR2Bts-R8Sr0m8AHF8DhdZJsppMeBwKXWyWTqMPuRWUek0qHVVBby5BIRgWfDkHTr1w8SmBl0PBJk8hA\u0026h=b9vIViX5rGpZG4RbUhWkHLX60eW4vDBqkGhkbOzoz7c+14": { + "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/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiO2UyYTVjMzIzLWQ4M2QtNDVhOC05MzJmLTYwODdkZTJjYmE3YQ==?api-version=2024-04-01\u0026t=638493071882449702\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=WAzMYMD0u8_La0yhRuPhtTOtuwv6NOfO4yBwg9RRXIaOUy5_qrCif1-Udh2WWMheKl05DSR54J2vW0yL6UqzNW4QuBRxM4ERcgwLM6bMhFvM94Z-YnVU8i4JQ3hMbzsTHt6vxBPrBewo7rGxvGIXp1H7FCjslQQRhVXoWh90Aa-bfwlCarWa_VXuynGLSnKjfnEAefa9BhL7IqvWJlLp-t9VKhl5mI93Cw3dfeOFsieVW5oPj8izQVncmPKAsbgnPhwB1MIdz6kM91ntJZSWCZ7hRuO923X7bK9tqBiSHydVlx-g0pu0mbX1dDqPb_WzoJ3yPaowQm4TIV18S7VfTA\u0026h=5OxMbKXnaqh3Iulpm1R6b4NxZHNeHHWzjLx6HXBc-6M+14": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/operationStatus/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiOzM3OWMzYzllLTQ5ZmUtNDQyZS05ZmQ0LTNkMTVkNWNkNDk5Mw==?api-version=2023-12-01\u0026t=638469069876226755\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=QGStpIWG313EwBcp9XqlvfAEzgYyJE7z7fi6CHpOumMoWihNrPiz_6ADC3RB1RVddIZ0h3TxaSPJ-N5WkeKisqnYMrikZV1nAt4KZz_Hc-PUS_H91mGzuuhN5nTSDM5L2YgwR5kBpFPZb0lO-ssFlXYYf9yasMuP5_EH4Efur5kNtko_v_ihrGYQN0USuBrt1qjNz38mgtIx55AZntODUafp4CPfmk_UNxi-D4Nd682z_V0P4FUFWXcw36Zww18X0xTdGmIR2Bts-R8Sr0m8AHF8DhdZJsppMeBwKXWyWTqMPuRWUek0qHVVBby5BIRgWfDkHTr1w8SmBl0PBJk8hA\u0026h=b9vIViX5rGpZG4RbUhWkHLX60eW4vDBqkGhkbOzoz7c", + "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/operationStatus/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiO2UyYTVjMzIzLWQ4M2QtNDVhOC05MzJmLTYwODdkZTJjYmE3YQ==?api-version=2024-04-01\u0026t=638493071882449702\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=WAzMYMD0u8_La0yhRuPhtTOtuwv6NOfO4yBwg9RRXIaOUy5_qrCif1-Udh2WWMheKl05DSR54J2vW0yL6UqzNW4QuBRxM4ERcgwLM6bMhFvM94Z-YnVU8i4JQ3hMbzsTHt6vxBPrBewo7rGxvGIXp1H7FCjslQQRhVXoWh90Aa-bfwlCarWa_VXuynGLSnKjfnEAefa9BhL7IqvWJlLp-t9VKhl5mI93Cw3dfeOFsieVW5oPj8izQVncmPKAsbgnPhwB1MIdz6kM91ntJZSWCZ7hRuO923X7bK9tqBiSHydVlx-g0pu0mbX1dDqPb_WzoJ3yPaowQm4TIV18S7VfTA\u0026h=5OxMbKXnaqh3Iulpm1R6b4NxZHNeHHWzjLx6HXBc-6M", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "18" ], - "x-ms-client-request-id": [ "1933066a-495b-4434-8d5a-b7e1a614a84c" ], + "x-ms-unique-id": [ "176" ], + "x-ms-client-request-id": [ "7d097445-5c9b-42bc-9acc-9eed5c34519b" ], "CommandName": [ "Az.DataProtection.Internal\\Start-AzDataProtectionBackupInstanceRestore" ], "FullCommandName": [ "Start-AzDataProtectionBackupInstanceRestore_Trigger" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -731,39 +748,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "c9bda409-443e-4c6c-8439-93fedbef2b2b" ], - "x-ms-correlation-request-id": [ "c9bda409-443e-4c6c-8439-93fedbef2b2b" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T195658Z:c9bda409-443e-4c6c-8439-93fedbef2b2b" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], + "x-ms-request-id": [ "a06a9be4-dffc-401c-96af-1ebfd929b6bc" ], + "x-ms-correlation-request-id": [ "a06a9be4-dffc-401c-96af-1ebfd929b6bc" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240421T144019Z:a06a9be4-dffc-401c-96af-1ebfd929b6bc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 5B78A078434D4DE5931E0F81D90E9994 Ref B: MAA201060515047 Ref C: 2024-03-24T19:56:57Z" ], - "Date": [ "Sun, 24 Mar 2024 19:56:58 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 54FF2F093DA34269BA9280825935224C Ref B: MAA201060513019 Ref C: 2024-04-21T14:40:18Z" ], + "Date": [ "Sun, 21 Apr 2024 14:40:19 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "763" ], + "Content-Length": [ "762" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/operationStatus/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiOzM3OWMzYzllLTQ5ZmUtNDQyZS05ZmQ0LTNkMTVkNWNkNDk5Mw==\",\"name\":\"Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiOzM3OWMzYzllLTQ5ZmUtNDQyZS05ZmQ0LTNkMTVkNWNkNDk5Mw==\",\"status\":\"Succeeded\",\"startTime\":\"2024-03-24T19:56:24.4556037Z\",\"endTime\":\"2024-03-24T19:56:28Z\",\"properties\":{\"jobId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/Backupvaults/azk8ssvcs-vault-ecy/backupJobs/f4395426-5d45-4e60-9d11-e4d5bc082929\",\"objectType\":\"OperationJobExtendedInfo\"}}", + "Content": "{\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/operationStatus/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiO2UyYTVjMzIzLWQ4M2QtNDVhOC05MzJmLTYwODdkZTJjYmE3YQ==\",\"name\":\"Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiO2UyYTVjMzIzLWQ4M2QtNDVhOC05MzJmLTYwODdkZTJjYmE3YQ==\",\"status\":\"Succeeded\",\"startTime\":\"2024-04-21T14:39:48.059479Z\",\"endTime\":\"2024-04-21T14:40:07Z\",\"properties\":{\"jobId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/Backupvaults/azk8ssvcs-vault-ecy/backupJobs/4729b076-0f48-47f8-a263-eea03f2b7416\",\"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/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiOzM3OWMzYzllLTQ5ZmUtNDQyZS05ZmQ0LTNkMTVkNWNkNDk5Mw==?api-version=2023-12-01\u0026t=638469069876383016\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=R9A9TJld6tjKEqttoB9wzbs5eEPhMbqbYe_XfU0WyVe5-yg5D-GYaUlxeJ2qQXqC6YhcI3dxmLxXSYMBU6gDQEotyDtYzg2LczvPLW6mPbtHVIx6KFgevnRTkF-fRMDPCkpZjmbXSjb8SQ0dR3WE13CCbJcYUvxE4T3DPKSjJRKgv9lbjxknuUTP87rNHTat2zZXZQrTYlPsjYAP4U5CjNCRKTYmu9bvCVQrONh-lNr0M1VQWDTxgq-nTUbxz7NaCySqDFJ8JHsw2VIKaOvNoHuR3L0WUB8avPLijQScD7fjQGlablLdLML26rKPJYDTRVKuLukY6uOa68bbq7iF3g\u0026h=8bttbYwVBqNYHdZ10ryY3ltzSgqP5PQei6OQYbjU4nk+15": { + "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiO2UyYTVjMzIzLWQ4M2QtNDVhOC05MzJmLTYwODdkZTJjYmE3YQ==?api-version=2024-04-01\u0026t=638493071882606597\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=AHG4SHqKEUKYJ2qOb_OiyTnD9sqansxNbsRfvSImwiWSkDwn8OsQuP770fGWwZrDGhPhy2Q02W4VTdV6di-DKpNRsClmVdngxO0bbpbc5IHbfrIuQoDAj3xO6SY4aYxr9iinuWhxlfsqpnrS2Z_uD7tVn9X7hHJOeh1nIRYwXZy6vjpSXmrYu9kzc_E1waaNxPDphtfpBvUmkG6WkjSxYbaUUtFuUWtnbLvHUCUyGYvdcOiiibdk0emfv2C3Vk9BaLDv1RATlOxpzY3M3UflzfARsbi7mD65UGN0nHxkOZcfF2_tb52lnZ8Xl1_K0RgSw6j8M48hp2Y_QR7kv6vRoA\u0026h=aIZwUgzXwZQeFk7AW3vIzctSUCXY5HBImuiFfe0D9PM+15": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiOzM3OWMzYzllLTQ5ZmUtNDQyZS05ZmQ0LTNkMTVkNWNkNDk5Mw==?api-version=2023-12-01\u0026t=638469069876383016\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=R9A9TJld6tjKEqttoB9wzbs5eEPhMbqbYe_XfU0WyVe5-yg5D-GYaUlxeJ2qQXqC6YhcI3dxmLxXSYMBU6gDQEotyDtYzg2LczvPLW6mPbtHVIx6KFgevnRTkF-fRMDPCkpZjmbXSjb8SQ0dR3WE13CCbJcYUvxE4T3DPKSjJRKgv9lbjxknuUTP87rNHTat2zZXZQrTYlPsjYAP4U5CjNCRKTYmu9bvCVQrONh-lNr0M1VQWDTxgq-nTUbxz7NaCySqDFJ8JHsw2VIKaOvNoHuR3L0WUB8avPLijQScD7fjQGlablLdLML26rKPJYDTRVKuLukY6uOa68bbq7iF3g\u0026h=8bttbYwVBqNYHdZ10ryY3ltzSgqP5PQei6OQYbjU4nk", + "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiO2UyYTVjMzIzLWQ4M2QtNDVhOC05MzJmLTYwODdkZTJjYmE3YQ==?api-version=2024-04-01\u0026t=638493071882606597\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=AHG4SHqKEUKYJ2qOb_OiyTnD9sqansxNbsRfvSImwiWSkDwn8OsQuP770fGWwZrDGhPhy2Q02W4VTdV6di-DKpNRsClmVdngxO0bbpbc5IHbfrIuQoDAj3xO6SY4aYxr9iinuWhxlfsqpnrS2Z_uD7tVn9X7hHJOeh1nIRYwXZy6vjpSXmrYu9kzc_E1waaNxPDphtfpBvUmkG6WkjSxYbaUUtFuUWtnbLvHUCUyGYvdcOiiibdk0emfv2C3Vk9BaLDv1RATlOxpzY3M3UflzfARsbi7mD65UGN0nHxkOZcfF2_tb52lnZ8Xl1_K0RgSw6j8M48hp2Y_QR7kv6vRoA\u0026h=aIZwUgzXwZQeFk7AW3vIzctSUCXY5HBImuiFfe0D9PM", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "19" ], - "x-ms-client-request-id": [ "1933066a-495b-4434-8d5a-b7e1a614a84c" ], + "x-ms-unique-id": [ "177" ], + "x-ms-client-request-id": [ "7d097445-5c9b-42bc-9acc-9eed5c34519b" ], "CommandName": [ "Az.DataProtection.Internal\\Start-AzDataProtectionBackupInstanceRestore" ], "FullCommandName": [ "Start-AzDataProtectionBackupInstanceRestore_Trigger" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -774,39 +792,40 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Retry-After": [ "30" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/providers/Microsoft.DataProtection/locations/eastus2euap/operationStatus/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiOzM3OWMzYzllLTQ5ZmUtNDQyZS05ZmQ0LTNkMTVkNWNkNDk5Mw==?api-version=2023-12-01\u0026t=638469070190017036\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=s9cftlpJrOTn__oSbE907NF4WgdLeZ5WezMwN3pNL7Pnrc4ci1jbQeI7PeUkO-dg32UpW4-kUtRavRViNOMCuXwmvtUllZ6e5jDllGJmw1afpAxho6MDed0povTjp0KU18aZwJLnDIPE2kLFuAd-fCkSr98_-sGUMArkxZSTZHVZRSNLlLgXzK8WJ13u-84jxKFgy_UiAOhd7AiJwRr7EZgttMmrySQ7L6cPVq2tyfJkGI3W3VpUz8N7KQ7muNav0rvIcUcxfpQrwm_2Y0A8yzZk0Fa5DsUaLxp_Hla_3__XgQ4XIxIktY4itBJ89n6-JPFHfR5FLMBpoSqdnwbwEQ\u0026h=XSlMsUivtnOMApnwA1WaxHR9ODFR-_TRc-Lpk_2sgDY" ], - "x-ms-request-id": [ "69fe6a49-26f6-4180-bcaa-df9b0196c117" ], - "x-ms-correlation-request-id": [ "69fe6a49-26f6-4180-bcaa-df9b0196c117" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T195659Z:69fe6a49-26f6-4180-bcaa-df9b0196c117" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/providers/Microsoft.DataProtection/locations/eastus2euap/operationStatus/Y2FjOGY3YjktNzkzZS00YzYwLTkxMjktYTgzYWU1MDUyZGFiO2UyYTVjMzIzLWQ4M2QtNDVhOC05MzJmLTYwODdkZTJjYmE3YQ==?api-version=2024-04-01\u0026t=638493072203580565\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=s7vHKK3Vcpkngba93DrBZwanlbSgl4Xhlrd1I730zK73TR7tjD-ULUw65rZL1xwicGw2oZ4ZxJ7M5Aof4TM6pLhW0jhZEHPL3SvfXMS-Z9FhFqQHX6eoAFX3XyBD7ybf5Bs7ih1Z3ajFGAXL1jrRLYriu0ZpeRlO8LdLPmXTJ6kEuzMLn9HDATNoB0cVOo75Ls2Ph0zB_g-p-3Or3p35Y-ldYyvPE_S7K0tz70mU5SXAjJFdnywwoipyjJkfwXNtcIKEIcsFhA0RNv2Vetge8qYbqp-oAIcwwHCcOjT0OtG1Y6gvps0S00KEYfrYrcKOVOBL68truVUqT3-BvTng3w\u0026h=PWPia5D-CbDlaNqBOtr8ZpOC2p53LSS-nysmGLFO4l4" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "6f0c011f-80e7-48fa-9bc7-68dc739e2e90" ], + "x-ms-correlation-request-id": [ "6f0c011f-80e7-48fa-9bc7-68dc739e2e90" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T144020Z:6f0c011f-80e7-48fa-9bc7-68dc739e2e90" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 5587AB6EB63F4381B3ED2EDE689A0FA3 Ref B: MAA201060515047 Ref C: 2024-03-24T19:56:58Z" ], - "Date": [ "Sun, 24 Mar 2024 19:56:58 GMT" ] + "X-MSEdge-Ref": [ "Ref A: A7E9F9A36D9344AAA18A9EDA9EBB834F Ref B: MAA201060513019 Ref C: 2024-04-21T14:40:19Z" ], + "Date": [ "Sun, 21 Apr 2024 14:40:20 GMT" ] }, "ContentHeaders": { "Content-Length": [ "258" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"jobId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/Backupvaults/azk8ssvcs-vault-ecy/backupJobs/f4395426-5d45-4e60-9d11-e4d5bc082929\",\"objectType\":\"OperationJobExtendedInfo\"}", + "Content": "{\"jobId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/Backupvaults/azk8ssvcs-vault-ecy/backupJobs/4729b076-0f48-47f8-a263-eea03f2b7416\",\"objectType\":\"OperationJobExtendedInfo\"}", "isContentBase64": false } }, - "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/f4395426-5d45-4e60-9d11-e4d5bc082929?api-version=2023-12-01+16": { + "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/4729b076-0f48-47f8-a263-eea03f2b7416?api-version=2024-04-01+16": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/f4395426-5d45-4e60-9d11-e4d5bc082929?api-version=2023-12-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/4729b076-0f48-47f8-a263-eea03f2b7416?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "20" ], - "x-ms-client-request-id": [ "f5127a3b-c34b-47b6-bf56-60d457d4685b" ], + "x-ms-unique-id": [ "178" ], + "x-ms-client-request-id": [ "b7ecfa93-bf48-4c9c-bd4b-4e6d43129104" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -818,37 +837,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "283f9513-deeb-41e9-86c8-36a4634b21a4" ], - "x-ms-correlation-request-id": [ "283f9513-deeb-41e9-86c8-36a4634b21a4" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T195720Z:283f9513-deeb-41e9-86c8-36a4634b21a4" ], + "x-ms-request-id": [ "134f77ce-aafd-4563-ac92-0b1fc28b9022" ], + "x-ms-correlation-request-id": [ "134f77ce-aafd-4563-ac92-0b1fc28b9022" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T144042Z:134f77ce-aafd-4563-ac92-0b1fc28b9022" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 94215668CEF449199FDA887AEBCE1031 Ref B: MAA201060515047 Ref C: 2024-03-24T19:57:19Z" ], - "Date": [ "Sun, 24 Mar 2024 19:57:19 GMT" ] + "X-MSEdge-Ref": [ "Ref A: A480DE3BF8AB4B09953859DC0FD6B752 Ref B: MAA201060513019 Ref C: 2024-04-21T14:40:40Z" ], + "Date": [ "Sun, 21 Apr 2024 14:40:41 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2566" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"1933066a-495b-4434-8d5a-b7e1a614a84c\",\"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\u00272024-03-24T19%3A56%3A27.921832Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-24T19:56:27.6904757Z\",\"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\":\"25f3927bc55b4fa3aa8ab421f7bdfcd3\",\"recoveryPointTime\":\"2024-03-24T18:50:36.1427207Z\"},\"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/f4395426-5d45-4e60-9d11-e4d5bc082929\",\"name\":\"f4395426-5d45-4e60-9d11-e4d5bc082929\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"7d097445-5c9b-42bc-9acc-9eed5c34519b\",\"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\u00272024-04-21T14%3A39%3A48.506017Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-21T14:39:48.3280319Z\",\"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\":\"ceec9f7463b441d1950c043adc5cd556\",\"recoveryPointTime\":\"2024-04-21T12:53:46.1408704Z\"},\"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/4729b076-0f48-47f8-a263-eea03f2b7416\",\"name\":\"4729b076-0f48-47f8-a263-eea03f2b7416\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "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/f4395426-5d45-4e60-9d11-e4d5bc082929?api-version=2023-12-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/4729b076-0f48-47f8-a263-eea03f2b7416?api-version=2024-04-01+17": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/f4395426-5d45-4e60-9d11-e4d5bc082929?api-version=2023-12-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/4729b076-0f48-47f8-a263-eea03f2b7416?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "21" ], - "x-ms-client-request-id": [ "7c98ac88-ea66-4e14-9ed5-ab8592a20e29" ], + "x-ms-unique-id": [ "179" ], + "x-ms-client-request-id": [ "0192f3d1-bb66-48a7-998e-c93fdcea5e97" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -860,37 +880,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "a8ab2fa0-6232-4a5a-b868-ca94a5cbd890" ], - "x-ms-correlation-request-id": [ "a8ab2fa0-6232-4a5a-b868-ca94a5cbd890" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T195731Z:a8ab2fa0-6232-4a5a-b868-ca94a5cbd890" ], + "x-ms-request-id": [ "496c69b5-caf5-4b3b-aa53-f0723030c071" ], + "x-ms-correlation-request-id": [ "496c69b5-caf5-4b3b-aa53-f0723030c071" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T144053Z:496c69b5-caf5-4b3b-aa53-f0723030c071" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 37A83C1133BB45F39BC08D4BDA80E0E5 Ref B: MAA201060515047 Ref C: 2024-03-24T19:57:30Z" ], - "Date": [ "Sun, 24 Mar 2024 19:57:31 GMT" ] + "X-MSEdge-Ref": [ "Ref A: AE30C1ECF1AF4506A756913F5427E6C5 Ref B: MAA201060513019 Ref C: 2024-04-21T14:40:52Z" ], + "Date": [ "Sun, 21 Apr 2024 14:40:53 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2566" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"1933066a-495b-4434-8d5a-b7e1a614a84c\",\"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\u00272024-03-24T19%3A56%3A27.921832Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-24T19:56:27.6904757Z\",\"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\":\"25f3927bc55b4fa3aa8ab421f7bdfcd3\",\"recoveryPointTime\":\"2024-03-24T18:50:36.1427207Z\"},\"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/f4395426-5d45-4e60-9d11-e4d5bc082929\",\"name\":\"f4395426-5d45-4e60-9d11-e4d5bc082929\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"7d097445-5c9b-42bc-9acc-9eed5c34519b\",\"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\u00272024-04-21T14%3A39%3A48.506017Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-21T14:39:48.3280319Z\",\"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\":\"ceec9f7463b441d1950c043adc5cd556\",\"recoveryPointTime\":\"2024-04-21T12:53:46.1408704Z\"},\"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/4729b076-0f48-47f8-a263-eea03f2b7416\",\"name\":\"4729b076-0f48-47f8-a263-eea03f2b7416\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "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/f4395426-5d45-4e60-9d11-e4d5bc082929?api-version=2023-12-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/4729b076-0f48-47f8-a263-eea03f2b7416?api-version=2024-04-01+18": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/f4395426-5d45-4e60-9d11-e4d5bc082929?api-version=2023-12-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/4729b076-0f48-47f8-a263-eea03f2b7416?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "22" ], - "x-ms-client-request-id": [ "a330b1c1-284a-4b84-a858-0f64b5a79469" ], + "x-ms-unique-id": [ "180" ], + "x-ms-client-request-id": [ "458892cf-bb8d-47ff-8625-bd68eeaaa50f" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -902,37 +923,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "74c59393-c8ed-4061-8de2-a68b28857938" ], - "x-ms-correlation-request-id": [ "74c59393-c8ed-4061-8de2-a68b28857938" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T195742Z:74c59393-c8ed-4061-8de2-a68b28857938" ], + "x-ms-request-id": [ "02723ed4-582e-4716-90d6-a83d34d87b58" ], + "x-ms-correlation-request-id": [ "02723ed4-582e-4716-90d6-a83d34d87b58" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240421T144104Z:02723ed4-582e-4716-90d6-a83d34d87b58" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 03072D72B1F04E3090082680F909292E Ref B: MAA201060515047 Ref C: 2024-03-24T19:57:41Z" ], - "Date": [ "Sun, 24 Mar 2024 19:57:42 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 184D25DDA71B4635BA3760A59F2EA4F7 Ref B: MAA201060513019 Ref C: 2024-04-21T14:41:03Z" ], + "Date": [ "Sun, 21 Apr 2024 14:41:04 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2566" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"1933066a-495b-4434-8d5a-b7e1a614a84c\",\"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\u00272024-03-24T19%3A56%3A27.921832Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-24T19:56:27.6904757Z\",\"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\":\"25f3927bc55b4fa3aa8ab421f7bdfcd3\",\"recoveryPointTime\":\"2024-03-24T18:50:36.1427207Z\"},\"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/f4395426-5d45-4e60-9d11-e4d5bc082929\",\"name\":\"f4395426-5d45-4e60-9d11-e4d5bc082929\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"7d097445-5c9b-42bc-9acc-9eed5c34519b\",\"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\u00272024-04-21T14%3A39%3A48.506017Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-21T14:39:48.3280319Z\",\"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\":\"ceec9f7463b441d1950c043adc5cd556\",\"recoveryPointTime\":\"2024-04-21T12:53:46.1408704Z\"},\"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/4729b076-0f48-47f8-a263-eea03f2b7416\",\"name\":\"4729b076-0f48-47f8-a263-eea03f2b7416\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "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/f4395426-5d45-4e60-9d11-e4d5bc082929?api-version=2023-12-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/4729b076-0f48-47f8-a263-eea03f2b7416?api-version=2024-04-01+19": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/f4395426-5d45-4e60-9d11-e4d5bc082929?api-version=2023-12-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/4729b076-0f48-47f8-a263-eea03f2b7416?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "23" ], - "x-ms-client-request-id": [ "0b39d1af-e15d-48a0-b053-32cd981b1193" ], + "x-ms-unique-id": [ "181" ], + "x-ms-client-request-id": [ "a38c2cee-1912-4d5e-a94d-44e0ff6c6153" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -944,37 +966,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "5ab72082-f6e2-4c36-9899-d21201e0ae28" ], - "x-ms-correlation-request-id": [ "5ab72082-f6e2-4c36-9899-d21201e0ae28" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T195754Z:5ab72082-f6e2-4c36-9899-d21201e0ae28" ], + "x-ms-request-id": [ "f6144c5e-627c-49f8-aba3-89ce7e283933" ], + "x-ms-correlation-request-id": [ "f6144c5e-627c-49f8-aba3-89ce7e283933" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240421T144115Z:f6144c5e-627c-49f8-aba3-89ce7e283933" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 91E11C2ABFD2411F80517CC8595E54B1 Ref B: MAA201060515047 Ref C: 2024-03-24T19:57:53Z" ], - "Date": [ "Sun, 24 Mar 2024 19:57:53 GMT" ] + "X-MSEdge-Ref": [ "Ref A: D1F66BAB66164E7884370EA4B15FC315 Ref B: MAA201060513019 Ref C: 2024-04-21T14:41:14Z" ], + "Date": [ "Sun, 21 Apr 2024 14:41:15 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2566" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"1933066a-495b-4434-8d5a-b7e1a614a84c\",\"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\u00272024-03-24T19%3A56%3A27.921832Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-24T19:56:27.6904757Z\",\"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\":\"25f3927bc55b4fa3aa8ab421f7bdfcd3\",\"recoveryPointTime\":\"2024-03-24T18:50:36.1427207Z\"},\"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/f4395426-5d45-4e60-9d11-e4d5bc082929\",\"name\":\"f4395426-5d45-4e60-9d11-e4d5bc082929\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"7d097445-5c9b-42bc-9acc-9eed5c34519b\",\"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\u00272024-04-21T14%3A39%3A48.506017Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-21T14:39:48.3280319Z\",\"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\":\"ceec9f7463b441d1950c043adc5cd556\",\"recoveryPointTime\":\"2024-04-21T12:53:46.1408704Z\"},\"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/4729b076-0f48-47f8-a263-eea03f2b7416\",\"name\":\"4729b076-0f48-47f8-a263-eea03f2b7416\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "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/f4395426-5d45-4e60-9d11-e4d5bc082929?api-version=2023-12-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/4729b076-0f48-47f8-a263-eea03f2b7416?api-version=2024-04-01+20": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/f4395426-5d45-4e60-9d11-e4d5bc082929?api-version=2023-12-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/4729b076-0f48-47f8-a263-eea03f2b7416?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "24" ], - "x-ms-client-request-id": [ "8890a1ff-8b2f-4dfe-821f-d026ea162485" ], + "x-ms-unique-id": [ "182" ], + "x-ms-client-request-id": [ "8c17cf0c-2704-41b3-bfa5-4316323374c9" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -986,37 +1009,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "08e92d42-d861-4172-9db7-e598f17f2856" ], - "x-ms-correlation-request-id": [ "08e92d42-d861-4172-9db7-e598f17f2856" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T195805Z:08e92d42-d861-4172-9db7-e598f17f2856" ], + "x-ms-request-id": [ "f9be905f-6f63-4579-b79e-fc80b464bd94" ], + "x-ms-correlation-request-id": [ "f9be905f-6f63-4579-b79e-fc80b464bd94" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T144127Z:f9be905f-6f63-4579-b79e-fc80b464bd94" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 3027F619AD3E44C7B9105E0C7B21D87B Ref B: MAA201060515047 Ref C: 2024-03-24T19:58:04Z" ], - "Date": [ "Sun, 24 Mar 2024 19:58:04 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 3A57DA5BBB5140169D652596E5C849FD Ref B: MAA201060513019 Ref C: 2024-04-21T14:41:26Z" ], + "Date": [ "Sun, 21 Apr 2024 14:41:26 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2566" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"1933066a-495b-4434-8d5a-b7e1a614a84c\",\"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\u00272024-03-24T19%3A56%3A27.921832Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-24T19:56:27.6904757Z\",\"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\":\"25f3927bc55b4fa3aa8ab421f7bdfcd3\",\"recoveryPointTime\":\"2024-03-24T18:50:36.1427207Z\"},\"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/f4395426-5d45-4e60-9d11-e4d5bc082929\",\"name\":\"f4395426-5d45-4e60-9d11-e4d5bc082929\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"7d097445-5c9b-42bc-9acc-9eed5c34519b\",\"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\u00272024-04-21T14%3A39%3A48.506017Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-21T14:39:48.3280319Z\",\"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\":\"ceec9f7463b441d1950c043adc5cd556\",\"recoveryPointTime\":\"2024-04-21T12:53:46.1408704Z\"},\"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/4729b076-0f48-47f8-a263-eea03f2b7416\",\"name\":\"4729b076-0f48-47f8-a263-eea03f2b7416\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "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/f4395426-5d45-4e60-9d11-e4d5bc082929?api-version=2023-12-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/4729b076-0f48-47f8-a263-eea03f2b7416?api-version=2024-04-01+21": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/f4395426-5d45-4e60-9d11-e4d5bc082929?api-version=2023-12-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/4729b076-0f48-47f8-a263-eea03f2b7416?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "25" ], - "x-ms-client-request-id": [ "958e9257-9e16-42b5-9eba-b9a6861554fb" ], + "x-ms-unique-id": [ "183" ], + "x-ms-client-request-id": [ "ef84a083-32b7-4f60-a5ad-5d823f114013" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1028,37 +1052,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "c618f508-718f-4141-b233-7718c9050028" ], - "x-ms-correlation-request-id": [ "c618f508-718f-4141-b233-7718c9050028" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T195816Z:c618f508-718f-4141-b233-7718c9050028" ], + "x-ms-request-id": [ "7a5cc895-665f-4367-93ee-5139be0b8f21" ], + "x-ms-correlation-request-id": [ "7a5cc895-665f-4367-93ee-5139be0b8f21" ], + "x-ms-routing-request-id": [ "JIOINDIACENTRAL:20240421T144139Z:7a5cc895-665f-4367-93ee-5139be0b8f21" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 48C0C1F6000247B38FED7B23E54CD2C2 Ref B: MAA201060515047 Ref C: 2024-03-24T19:58:15Z" ], - "Date": [ "Sun, 24 Mar 2024 19:58:15 GMT" ] + "X-MSEdge-Ref": [ "Ref A: F29D51199871487FBE13BCA4630C3740 Ref B: MAA201060513019 Ref C: 2024-04-21T14:41:37Z" ], + "Date": [ "Sun, 21 Apr 2024 14:41:38 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2566" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"1933066a-495b-4434-8d5a-b7e1a614a84c\",\"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\u00272024-03-24T19%3A56%3A27.921832Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-24T19:56:27.6904757Z\",\"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\":\"25f3927bc55b4fa3aa8ab421f7bdfcd3\",\"recoveryPointTime\":\"2024-03-24T18:50:36.1427207Z\"},\"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/f4395426-5d45-4e60-9d11-e4d5bc082929\",\"name\":\"f4395426-5d45-4e60-9d11-e4d5bc082929\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"7d097445-5c9b-42bc-9acc-9eed5c34519b\",\"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\u00272024-04-21T14%3A39%3A48.506017Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-21T14:39:48.3280319Z\",\"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\":\"ceec9f7463b441d1950c043adc5cd556\",\"recoveryPointTime\":\"2024-04-21T12:53:46.1408704Z\"},\"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/4729b076-0f48-47f8-a263-eea03f2b7416\",\"name\":\"4729b076-0f48-47f8-a263-eea03f2b7416\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "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/f4395426-5d45-4e60-9d11-e4d5bc082929?api-version=2023-12-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/4729b076-0f48-47f8-a263-eea03f2b7416?api-version=2024-04-01+22": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/f4395426-5d45-4e60-9d11-e4d5bc082929?api-version=2023-12-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/4729b076-0f48-47f8-a263-eea03f2b7416?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "26" ], - "x-ms-client-request-id": [ "bb7954fb-d6d4-4c02-a824-691538711aff" ], + "x-ms-unique-id": [ "184" ], + "x-ms-client-request-id": [ "e45bce08-b958-4947-b3f7-a61741352e0a" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1070,37 +1095,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "d73c08bc-21d3-4545-9f55-e44214fe5da5" ], - "x-ms-correlation-request-id": [ "d73c08bc-21d3-4545-9f55-e44214fe5da5" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T195827Z:d73c08bc-21d3-4545-9f55-e44214fe5da5" ], + "x-ms-request-id": [ "937531db-c4ca-4173-b40f-6a2b70a3b6ed" ], + "x-ms-correlation-request-id": [ "937531db-c4ca-4173-b40f-6a2b70a3b6ed" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T144151Z:937531db-c4ca-4173-b40f-6a2b70a3b6ed" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 145A24E094EC44F69A115DF3B9972547 Ref B: MAA201060515047 Ref C: 2024-03-24T19:58:26Z" ], - "Date": [ "Sun, 24 Mar 2024 19:58:26 GMT" ] + "X-MSEdge-Ref": [ "Ref A: F7143A90A8CE436BA4BE463252039C1B Ref B: MAA201060513019 Ref C: 2024-04-21T14:41:49Z" ], + "Date": [ "Sun, 21 Apr 2024 14:41:51 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2566" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"1933066a-495b-4434-8d5a-b7e1a614a84c\",\"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\u00272024-03-24T19%3A56%3A27.921832Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-24T19:56:27.6904757Z\",\"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\":\"25f3927bc55b4fa3aa8ab421f7bdfcd3\",\"recoveryPointTime\":\"2024-03-24T18:50:36.1427207Z\"},\"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/f4395426-5d45-4e60-9d11-e4d5bc082929\",\"name\":\"f4395426-5d45-4e60-9d11-e4d5bc082929\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"7d097445-5c9b-42bc-9acc-9eed5c34519b\",\"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\u00272024-04-21T14%3A39%3A48.506017Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-21T14:39:48.3280319Z\",\"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\":\"ceec9f7463b441d1950c043adc5cd556\",\"recoveryPointTime\":\"2024-04-21T12:53:46.1408704Z\"},\"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/4729b076-0f48-47f8-a263-eea03f2b7416\",\"name\":\"4729b076-0f48-47f8-a263-eea03f2b7416\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "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/f4395426-5d45-4e60-9d11-e4d5bc082929?api-version=2023-12-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/4729b076-0f48-47f8-a263-eea03f2b7416?api-version=2024-04-01+23": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/f4395426-5d45-4e60-9d11-e4d5bc082929?api-version=2023-12-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/4729b076-0f48-47f8-a263-eea03f2b7416?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "27" ], - "x-ms-client-request-id": [ "517bbf8c-8fff-4b7e-b667-99cc1c22260d" ], + "x-ms-unique-id": [ "185" ], + "x-ms-client-request-id": [ "fcaceeb8-e836-4663-bf3e-f307b73d9c32" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1112,37 +1138,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "afbaedca-3421-45a7-b9a4-963fbdac989f" ], - "x-ms-correlation-request-id": [ "afbaedca-3421-45a7-b9a4-963fbdac989f" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T195838Z:afbaedca-3421-45a7-b9a4-963fbdac989f" ], + "x-ms-request-id": [ "e898d4b7-bdc8-4c4a-ba48-6165bb598985" ], + "x-ms-correlation-request-id": [ "e898d4b7-bdc8-4c4a-ba48-6165bb598985" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T144202Z:e898d4b7-bdc8-4c4a-ba48-6165bb598985" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 291324A97AFA4455AC23CE1FC0D82AB1 Ref B: MAA201060515047 Ref C: 2024-03-24T19:58:37Z" ], - "Date": [ "Sun, 24 Mar 2024 19:58:37 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 20256A0E97CD48CF8AFC9ACEB8B36F5B Ref B: MAA201060513019 Ref C: 2024-04-21T14:42:01Z" ], + "Date": [ "Sun, 21 Apr 2024 14:42:02 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2566" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"1933066a-495b-4434-8d5a-b7e1a614a84c\",\"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\u00272024-03-24T19%3A56%3A27.921832Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-24T19:56:27.6904757Z\",\"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\":\"25f3927bc55b4fa3aa8ab421f7bdfcd3\",\"recoveryPointTime\":\"2024-03-24T18:50:36.1427207Z\"},\"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/f4395426-5d45-4e60-9d11-e4d5bc082929\",\"name\":\"f4395426-5d45-4e60-9d11-e4d5bc082929\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"7d097445-5c9b-42bc-9acc-9eed5c34519b\",\"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\u00272024-04-21T14%3A39%3A48.506017Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-21T14:39:48.3280319Z\",\"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\":\"ceec9f7463b441d1950c043adc5cd556\",\"recoveryPointTime\":\"2024-04-21T12:53:46.1408704Z\"},\"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/4729b076-0f48-47f8-a263-eea03f2b7416\",\"name\":\"4729b076-0f48-47f8-a263-eea03f2b7416\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "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/f4395426-5d45-4e60-9d11-e4d5bc082929?api-version=2023-12-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/4729b076-0f48-47f8-a263-eea03f2b7416?api-version=2024-04-01+24": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/f4395426-5d45-4e60-9d11-e4d5bc082929?api-version=2023-12-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/4729b076-0f48-47f8-a263-eea03f2b7416?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "28" ], - "x-ms-client-request-id": [ "b5bb2ab0-8595-4477-a760-036c1b8dcda8" ], + "x-ms-unique-id": [ "186" ], + "x-ms-client-request-id": [ "2a143205-8ea7-49b3-b511-f0d8f4b99093" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1154,37 +1181,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "3d6073f5-5262-4b31-9166-f26a9e02bfb2" ], - "x-ms-correlation-request-id": [ "3d6073f5-5262-4b31-9166-f26a9e02bfb2" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T195849Z:3d6073f5-5262-4b31-9166-f26a9e02bfb2" ], + "x-ms-request-id": [ "a2985710-f4a8-49c5-b508-d8b034d794b1" ], + "x-ms-correlation-request-id": [ "a2985710-f4a8-49c5-b508-d8b034d794b1" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T144213Z:a2985710-f4a8-49c5-b508-d8b034d794b1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 09766273650640B88046C7A8CEB0BD96 Ref B: MAA201060515047 Ref C: 2024-03-24T19:58:48Z" ], - "Date": [ "Sun, 24 Mar 2024 19:58:48 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 9A62CFEA2DB349F886052C9D62E580C3 Ref B: MAA201060513019 Ref C: 2024-04-21T14:42:12Z" ], + "Date": [ "Sun, 21 Apr 2024 14:42:13 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2566" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"1933066a-495b-4434-8d5a-b7e1a614a84c\",\"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\u00272024-03-24T19%3A56%3A27.921832Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-24T19:56:27.6904757Z\",\"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\":\"25f3927bc55b4fa3aa8ab421f7bdfcd3\",\"recoveryPointTime\":\"2024-03-24T18:50:36.1427207Z\"},\"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/f4395426-5d45-4e60-9d11-e4d5bc082929\",\"name\":\"f4395426-5d45-4e60-9d11-e4d5bc082929\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"7d097445-5c9b-42bc-9acc-9eed5c34519b\",\"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\u00272024-04-21T14%3A39%3A48.506017Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-21T14:39:48.3280319Z\",\"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\":\"ceec9f7463b441d1950c043adc5cd556\",\"recoveryPointTime\":\"2024-04-21T12:53:46.1408704Z\"},\"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/4729b076-0f48-47f8-a263-eea03f2b7416\",\"name\":\"4729b076-0f48-47f8-a263-eea03f2b7416\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "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/f4395426-5d45-4e60-9d11-e4d5bc082929?api-version=2023-12-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/4729b076-0f48-47f8-a263-eea03f2b7416?api-version=2024-04-01+25": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/f4395426-5d45-4e60-9d11-e4d5bc082929?api-version=2023-12-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/4729b076-0f48-47f8-a263-eea03f2b7416?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "29" ], - "x-ms-client-request-id": [ "aafc13c9-1a47-4289-8e40-4bb8806cfd24" ], + "x-ms-unique-id": [ "187" ], + "x-ms-client-request-id": [ "1a6e0476-f541-40b6-8eb1-d7e8ba9d12d7" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1196,37 +1224,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "9a79f8b2-2970-481d-8b3f-f9d378526358" ], - "x-ms-correlation-request-id": [ "9a79f8b2-2970-481d-8b3f-f9d378526358" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T195900Z:9a79f8b2-2970-481d-8b3f-f9d378526358" ], + "x-ms-request-id": [ "f83f7ea7-36cc-44bd-8f22-b8d6fa6e6cea" ], + "x-ms-correlation-request-id": [ "f83f7ea7-36cc-44bd-8f22-b8d6fa6e6cea" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T144224Z:f83f7ea7-36cc-44bd-8f22-b8d6fa6e6cea" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 53D3ED61E4284F928459720355FFA25D Ref B: MAA201060515047 Ref C: 2024-03-24T19:58:59Z" ], - "Date": [ "Sun, 24 Mar 2024 19:58:59 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 956ACD87AAA64864B2ED6BA4A3E32DB0 Ref B: MAA201060513019 Ref C: 2024-04-21T14:42:23Z" ], + "Date": [ "Sun, 21 Apr 2024 14:42:24 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2566" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"1933066a-495b-4434-8d5a-b7e1a614a84c\",\"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\u00272024-03-24T19%3A56%3A27.921832Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-24T19:56:27.6904757Z\",\"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\":\"25f3927bc55b4fa3aa8ab421f7bdfcd3\",\"recoveryPointTime\":\"2024-03-24T18:50:36.1427207Z\"},\"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/f4395426-5d45-4e60-9d11-e4d5bc082929\",\"name\":\"f4395426-5d45-4e60-9d11-e4d5bc082929\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"7d097445-5c9b-42bc-9acc-9eed5c34519b\",\"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\u00272024-04-21T14%3A39%3A48.506017Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-21T14:39:48.3280319Z\",\"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\":\"ceec9f7463b441d1950c043adc5cd556\",\"recoveryPointTime\":\"2024-04-21T12:53:46.1408704Z\"},\"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/4729b076-0f48-47f8-a263-eea03f2b7416\",\"name\":\"4729b076-0f48-47f8-a263-eea03f2b7416\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "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/f4395426-5d45-4e60-9d11-e4d5bc082929?api-version=2023-12-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/4729b076-0f48-47f8-a263-eea03f2b7416?api-version=2024-04-01+26": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/f4395426-5d45-4e60-9d11-e4d5bc082929?api-version=2023-12-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/4729b076-0f48-47f8-a263-eea03f2b7416?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "30" ], - "x-ms-client-request-id": [ "e5374d1b-c8ab-4339-9c01-694e2b5b3b28" ], + "x-ms-unique-id": [ "188" ], + "x-ms-client-request-id": [ "2545c448-18e0-469f-9bd9-b2c9d4cee986" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1238,37 +1267,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "bdd83999-4a82-430e-ba28-feeec249072c" ], - "x-ms-correlation-request-id": [ "bdd83999-4a82-430e-ba28-feeec249072c" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T195911Z:bdd83999-4a82-430e-ba28-feeec249072c" ], + "x-ms-request-id": [ "47e81d50-056b-4bb7-a680-29c0d92d0994" ], + "x-ms-correlation-request-id": [ "47e81d50-056b-4bb7-a680-29c0d92d0994" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T144235Z:47e81d50-056b-4bb7-a680-29c0d92d0994" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 98440B5427A046C3BD1E13A8BC69D319 Ref B: MAA201060515047 Ref C: 2024-03-24T19:59:10Z" ], - "Date": [ "Sun, 24 Mar 2024 19:59:10 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 4969FD0C70C148BF859B51C27D156F35 Ref B: MAA201060513019 Ref C: 2024-04-21T14:42:34Z" ], + "Date": [ "Sun, 21 Apr 2024 14:42:35 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2566" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"1933066a-495b-4434-8d5a-b7e1a614a84c\",\"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\u00272024-03-24T19%3A56%3A27.921832Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-24T19:56:27.6904757Z\",\"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\":\"25f3927bc55b4fa3aa8ab421f7bdfcd3\",\"recoveryPointTime\":\"2024-03-24T18:50:36.1427207Z\"},\"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/f4395426-5d45-4e60-9d11-e4d5bc082929\",\"name\":\"f4395426-5d45-4e60-9d11-e4d5bc082929\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"7d097445-5c9b-42bc-9acc-9eed5c34519b\",\"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\u00272024-04-21T14%3A39%3A48.506017Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-21T14:39:48.3280319Z\",\"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\":\"ceec9f7463b441d1950c043adc5cd556\",\"recoveryPointTime\":\"2024-04-21T12:53:46.1408704Z\"},\"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/4729b076-0f48-47f8-a263-eea03f2b7416\",\"name\":\"4729b076-0f48-47f8-a263-eea03f2b7416\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "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/f4395426-5d45-4e60-9d11-e4d5bc082929?api-version=2023-12-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/4729b076-0f48-47f8-a263-eea03f2b7416?api-version=2024-04-01+27": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/f4395426-5d45-4e60-9d11-e4d5bc082929?api-version=2023-12-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/4729b076-0f48-47f8-a263-eea03f2b7416?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "31" ], - "x-ms-client-request-id": [ "ba48a314-8179-4421-8449-36f33f174a82" ], + "x-ms-unique-id": [ "189" ], + "x-ms-client-request-id": [ "d07f15a5-cf2c-4ccb-b3b5-57d8d82ddbcf" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1280,37 +1310,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "b0b680fa-6b8e-4a31-821b-6098691e5708" ], - "x-ms-correlation-request-id": [ "b0b680fa-6b8e-4a31-821b-6098691e5708" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T195923Z:b0b680fa-6b8e-4a31-821b-6098691e5708" ], + "x-ms-request-id": [ "cc9e3a4e-d569-4c0b-ab9e-bd9f81a91d0e" ], + "x-ms-correlation-request-id": [ "cc9e3a4e-d569-4c0b-ab9e-bd9f81a91d0e" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T144247Z:cc9e3a4e-d569-4c0b-ab9e-bd9f81a91d0e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: C28EF25121F24944A800616519780778 Ref B: MAA201060515047 Ref C: 2024-03-24T19:59:21Z" ], - "Date": [ "Sun, 24 Mar 2024 19:59:22 GMT" ] + "X-MSEdge-Ref": [ "Ref A: DAFECE43F9254973948F54D23A3ABCDC Ref B: MAA201060513019 Ref C: 2024-04-21T14:42:46Z" ], + "Date": [ "Sun, 21 Apr 2024 14:42:46 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2566" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"1933066a-495b-4434-8d5a-b7e1a614a84c\",\"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\u00272024-03-24T19%3A56%3A27.921832Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-24T19:56:27.6904757Z\",\"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\":\"25f3927bc55b4fa3aa8ab421f7bdfcd3\",\"recoveryPointTime\":\"2024-03-24T18:50:36.1427207Z\"},\"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/f4395426-5d45-4e60-9d11-e4d5bc082929\",\"name\":\"f4395426-5d45-4e60-9d11-e4d5bc082929\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"7d097445-5c9b-42bc-9acc-9eed5c34519b\",\"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\u00272024-04-21T14%3A39%3A48.506017Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-21T14:39:48.3280319Z\",\"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\":\"ceec9f7463b441d1950c043adc5cd556\",\"recoveryPointTime\":\"2024-04-21T12:53:46.1408704Z\"},\"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/4729b076-0f48-47f8-a263-eea03f2b7416\",\"name\":\"4729b076-0f48-47f8-a263-eea03f2b7416\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "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/f4395426-5d45-4e60-9d11-e4d5bc082929?api-version=2023-12-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/4729b076-0f48-47f8-a263-eea03f2b7416?api-version=2024-04-01+28": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/f4395426-5d45-4e60-9d11-e4d5bc082929?api-version=2023-12-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/4729b076-0f48-47f8-a263-eea03f2b7416?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "32" ], - "x-ms-client-request-id": [ "59908239-6f37-4e6d-be3f-5183cf38b818" ], + "x-ms-unique-id": [ "190" ], + "x-ms-client-request-id": [ "d89548c8-d0d7-448e-833d-9b5941a645e6" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1322,37 +1353,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "8d41b65b-3f95-46e8-bb30-c904957e7d36" ], - "x-ms-correlation-request-id": [ "8d41b65b-3f95-46e8-bb30-c904957e7d36" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T195934Z:8d41b65b-3f95-46e8-bb30-c904957e7d36" ], + "x-ms-request-id": [ "73810c85-c77e-4628-b7e8-153573c8fe77" ], + "x-ms-correlation-request-id": [ "73810c85-c77e-4628-b7e8-153573c8fe77" ], + "x-ms-routing-request-id": [ "JIOINDIACENTRAL:20240421T144258Z:73810c85-c77e-4628-b7e8-153573c8fe77" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: E512803A38AA4DDD923B3BC62D7C4615 Ref B: MAA201060515047 Ref C: 2024-03-24T19:59:33Z" ], - "Date": [ "Sun, 24 Mar 2024 19:59:33 GMT" ] + "X-MSEdge-Ref": [ "Ref A: A90DB048E99E45818F1F923953820183 Ref B: MAA201060513019 Ref C: 2024-04-21T14:42:57Z" ], + "Date": [ "Sun, 21 Apr 2024 14:42:58 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2566" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"1933066a-495b-4434-8d5a-b7e1a614a84c\",\"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\u00272024-03-24T19%3A56%3A27.921832Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-24T19:56:27.6904757Z\",\"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\":\"25f3927bc55b4fa3aa8ab421f7bdfcd3\",\"recoveryPointTime\":\"2024-03-24T18:50:36.1427207Z\"},\"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/f4395426-5d45-4e60-9d11-e4d5bc082929\",\"name\":\"f4395426-5d45-4e60-9d11-e4d5bc082929\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"7d097445-5c9b-42bc-9acc-9eed5c34519b\",\"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\u00272024-04-21T14%3A39%3A48.506017Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-21T14:39:48.3280319Z\",\"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\":\"ceec9f7463b441d1950c043adc5cd556\",\"recoveryPointTime\":\"2024-04-21T12:53:46.1408704Z\"},\"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/4729b076-0f48-47f8-a263-eea03f2b7416\",\"name\":\"4729b076-0f48-47f8-a263-eea03f2b7416\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "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/f4395426-5d45-4e60-9d11-e4d5bc082929?api-version=2023-12-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/4729b076-0f48-47f8-a263-eea03f2b7416?api-version=2024-04-01+29": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/f4395426-5d45-4e60-9d11-e4d5bc082929?api-version=2023-12-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/4729b076-0f48-47f8-a263-eea03f2b7416?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "33" ], - "x-ms-client-request-id": [ "1ecf012f-0df4-4c37-a077-e04f1d523eb7" ], + "x-ms-unique-id": [ "191" ], + "x-ms-client-request-id": [ "91ea9f42-76bd-4e58-a517-0dc4ca64b150" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1364,37 +1396,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "554fba83-c1da-4bc8-8a9a-31752814337d" ], - "x-ms-correlation-request-id": [ "554fba83-c1da-4bc8-8a9a-31752814337d" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T195945Z:554fba83-c1da-4bc8-8a9a-31752814337d" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], + "x-ms-request-id": [ "83cb8a9c-d050-4c9d-82ab-86e5b87d8b44" ], + "x-ms-correlation-request-id": [ "83cb8a9c-d050-4c9d-82ab-86e5b87d8b44" ], + "x-ms-routing-request-id": [ "JIOINDIACENTRAL:20240421T144309Z:83cb8a9c-d050-4c9d-82ab-86e5b87d8b44" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 119CC03079E94399A88BA5B824DBBAC0 Ref B: MAA201060515047 Ref C: 2024-03-24T19:59:44Z" ], - "Date": [ "Sun, 24 Mar 2024 19:59:44 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 8328ECD76D364C12BB6F4526C96A6AB6 Ref B: MAA201060513019 Ref C: 2024-04-21T14:43:08Z" ], + "Date": [ "Sun, 21 Apr 2024 14:43:09 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2566" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"1933066a-495b-4434-8d5a-b7e1a614a84c\",\"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\u00272024-03-24T19%3A56%3A27.921832Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-24T19:56:27.6904757Z\",\"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\":\"25f3927bc55b4fa3aa8ab421f7bdfcd3\",\"recoveryPointTime\":\"2024-03-24T18:50:36.1427207Z\"},\"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/f4395426-5d45-4e60-9d11-e4d5bc082929\",\"name\":\"f4395426-5d45-4e60-9d11-e4d5bc082929\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"7d097445-5c9b-42bc-9acc-9eed5c34519b\",\"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\u00272024-04-21T14%3A39%3A48.506017Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-21T14:39:48.3280319Z\",\"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\":\"ceec9f7463b441d1950c043adc5cd556\",\"recoveryPointTime\":\"2024-04-21T12:53:46.1408704Z\"},\"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/4729b076-0f48-47f8-a263-eea03f2b7416\",\"name\":\"4729b076-0f48-47f8-a263-eea03f2b7416\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "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/f4395426-5d45-4e60-9d11-e4d5bc082929?api-version=2023-12-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/4729b076-0f48-47f8-a263-eea03f2b7416?api-version=2024-04-01+30": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/f4395426-5d45-4e60-9d11-e4d5bc082929?api-version=2023-12-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/4729b076-0f48-47f8-a263-eea03f2b7416?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "34" ], - "x-ms-client-request-id": [ "a78e230e-35b2-4710-ad3f-66fb20c4ba32" ], + "x-ms-unique-id": [ "192" ], + "x-ms-client-request-id": [ "f8d153d7-9f48-4432-ade1-4df73d199eaf" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1406,37 +1439,81 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "85935aa5-ec66-42f9-bea2-56d17557599f" ], - "x-ms-correlation-request-id": [ "85935aa5-ec66-42f9-bea2-56d17557599f" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T195956Z:85935aa5-ec66-42f9-bea2-56d17557599f" ], + "x-ms-request-id": [ "bfd47923-7122-4db6-94a3-f546f057968e" ], + "x-ms-correlation-request-id": [ "bfd47923-7122-4db6-94a3-f546f057968e" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T144320Z:bfd47923-7122-4db6-94a3-f546f057968e" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 59E0359B593440438C8A7EE12FE5394E Ref B: MAA201060513019 Ref C: 2024-04-21T14:43:19Z" ], + "Date": [ "Sun, 21 Apr 2024 14:43:20 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "2566" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"activityID\":\"7d097445-5c9b-42bc-9acc-9eed5c34519b\",\"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\u00272024-04-21T14%3A39%3A48.506017Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-21T14:39:48.3280319Z\",\"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\":\"ceec9f7463b441d1950c043adc5cd556\",\"recoveryPointTime\":\"2024-04-21T12:53:46.1408704Z\"},\"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/4729b076-0f48-47f8-a263-eea03f2b7416\",\"name\":\"4729b076-0f48-47f8-a263-eea03f2b7416\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "isContentBase64": false + } + }, + "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/4729b076-0f48-47f8-a263-eea03f2b7416?api-version=2024-04-01+31": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/4729b076-0f48-47f8-a263-eea03f2b7416?api-version=2024-04-01", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "193" ], + "x-ms-client-request-id": [ "2bbaa6d5-c97b-45a6-8412-fc61f1770064" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], + "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "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-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "7da7d68d-bd61-40c3-9cb7-a5d6275a2659" ], + "x-ms-correlation-request-id": [ "7da7d68d-bd61-40c3-9cb7-a5d6275a2659" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T144332Z:7da7d68d-bd61-40c3-9cb7-a5d6275a2659" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: D2669689BF95473BAF21A90A948F1FD6 Ref B: MAA201060515047 Ref C: 2024-03-24T19:59:55Z" ], - "Date": [ "Sun, 24 Mar 2024 19:59:56 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 9C0A8666EECD4F99A2F8FF56A99312F4 Ref B: MAA201060513019 Ref C: 2024-04-21T14:43:30Z" ], + "Date": [ "Sun, 21 Apr 2024 14:43:31 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2566" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"1933066a-495b-4434-8d5a-b7e1a614a84c\",\"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\u00272024-03-24T19%3A56%3A27.921832Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-24T19:56:27.6904757Z\",\"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\":\"25f3927bc55b4fa3aa8ab421f7bdfcd3\",\"recoveryPointTime\":\"2024-03-24T18:50:36.1427207Z\"},\"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/f4395426-5d45-4e60-9d11-e4d5bc082929\",\"name\":\"f4395426-5d45-4e60-9d11-e4d5bc082929\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"7d097445-5c9b-42bc-9acc-9eed5c34519b\",\"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\u00272024-04-21T14%3A39%3A48.506017Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-21T14:39:48.3280319Z\",\"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\":\"ceec9f7463b441d1950c043adc5cd556\",\"recoveryPointTime\":\"2024-04-21T12:53:46.1408704Z\"},\"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/4729b076-0f48-47f8-a263-eea03f2b7416\",\"name\":\"4729b076-0f48-47f8-a263-eea03f2b7416\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "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/f4395426-5d45-4e60-9d11-e4d5bc082929?api-version=2023-12-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/4729b076-0f48-47f8-a263-eea03f2b7416?api-version=2024-04-01+32": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/f4395426-5d45-4e60-9d11-e4d5bc082929?api-version=2023-12-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/4729b076-0f48-47f8-a263-eea03f2b7416?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "35" ], - "x-ms-client-request-id": [ "eb04084d-9baa-4ca0-a9bb-c534749429b4" ], + "x-ms-unique-id": [ "194" ], + "x-ms-client-request-id": [ "2c9a474c-1da6-46ac-9cf8-174e7ffd1cee" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1448,21 +1525,22 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "2179bfa2-dd22-411d-81c9-6da6e1facd8a" ], - "x-ms-correlation-request-id": [ "2179bfa2-dd22-411d-81c9-6da6e1facd8a" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T200007Z:2179bfa2-dd22-411d-81c9-6da6e1facd8a" ], + "x-ms-request-id": [ "4bfa7a7c-7476-470f-8a18-66194d545077" ], + "x-ms-correlation-request-id": [ "4bfa7a7c-7476-470f-8a18-66194d545077" ], + "x-ms-routing-request-id": [ "JIOINDIACENTRAL:20240421T144343Z:4bfa7a7c-7476-470f-8a18-66194d545077" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 46115E03CC39410C8971FB632F7F26A8 Ref B: MAA201060515047 Ref C: 2024-03-24T20:00:06Z" ], - "Date": [ "Sun, 24 Mar 2024 20:00:07 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 21F90315CE784226B9642241A8177291 Ref B: MAA201060513019 Ref C: 2024-04-21T14:43:42Z" ], + "Date": [ "Sun, 21 Apr 2024 14:43:43 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2738" ], + "Content-Length": [ "2737" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"1933066a-495b-4434-8d5a-b7e1a614a84c\",\"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\u00272024-03-24T20%3A00%3A03.7968501Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-24T19:56:27.6904757Z\",\"endTime\":\"2024-03-24T20:00:03.6052439Z\",\"dataSourceType\":\"Microsoft.ContainerService/managedClusters\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"Completed\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT3M35.9147682S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"25f3927bc55b4fa3aa8ab421f7bdfcd3\",\"recoveryPointTime\":\"2024-03-24T18:50:36.1427207Z\"},\"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\":\"1933066a-495b-4434-8d5a-b7e1a614a84c\",\"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/f4395426-5d45-4e60-9d11-e4d5bc082929\",\"name\":\"f4395426-5d45-4e60-9d11-e4d5bc082929\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"7d097445-5c9b-42bc-9acc-9eed5c34519b\",\"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\u00272024-04-21T14%3A43%3A42.251679Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-21T14:39:48.3280319Z\",\"endTime\":\"2024-04-21T14:43:42.0832277Z\",\"dataSourceType\":\"Microsoft.ContainerService/managedClusters\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"Completed\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT3M53.7551958S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"ceec9f7463b441d1950c043adc5cd556\",\"recoveryPointTime\":\"2024-04-21T12:53:46.1408704Z\"},\"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\":\"7d097445-5c9b-42bc-9acc-9eed5c34519b\",\"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/4729b076-0f48-47f8-a263-eea03f2b7416\",\"name\":\"4729b076-0f48-47f8-a263-eea03f2b7416\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } } diff --git a/src/DataProtection/DataProtection.Autorest/test/New-AzDataProtectionBackupPolicy.Recording.json b/src/DataProtection/DataProtection.Autorest/test/New-AzDataProtectionBackupPolicy.Recording.json index 1bcbfcc4df45..d8b952d6b70d 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]+PGFlexPolicy+$PUT+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pstest-pgflex-policy?api-version=2023-12-01+1": { + "New-AzDataProtectionBackupPolicy+[NoContext]+PGFlexPolicy+$PUT+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pstest-pgflex-policy?api-version=2024-04-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pstest-pgflex-policy?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pstest-pgflex-policy?api-version=2024-04-01", "Content": "{\r\n \"properties\": {\r\n \"datasourceTypes\": [ \"Microsoft.DBforPostgreSQL/flexibleServers\" ],\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\": \"P10D\",\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\": \"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/2024-03-04T09:00:00+05:30/P1W\", \"R/2024-03-05T09: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 \"daysOfMonth\": [\r\n {\r\n \"date\": 1,\r\n \"isLast\": false\r\n },\r\n {\r\n \"date\": 5,\r\n \"isLast\": false\r\n },\r\n {\r\n \"isLast\": true\r\n }\r\n ]\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\": \"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 }\r\n ]\r\n }\r\n ]\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -17,15 +17,16 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "203aa62c-2bc5-4ecb-a77d-4309dd69ed5e" ], - "x-ms-correlation-request-id": [ "203aa62c-2bc5-4ecb-a77d-4309dd69ed5e" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T101153Z:203aa62c-2bc5-4ecb-a77d-4309dd69ed5e" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "7a5bb56b-157d-4211-adba-da5ce6d3a066" ], + "x-ms-correlation-request-id": [ "7a5bb56b-157d-4211-adba-da5ce6d3a066" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240422T070006Z:7a5bb56b-157d-4211-adba-da5ce6d3a066" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 175CE975D55C44E593B9F7E955639F17 Ref B: MAA201060516023 Ref C: 2024-03-24T10:11:51Z" ], - "Date": [ "Sun, 24 Mar 2024 10:11:53 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 545B8C1D330E4590AC791B3870656317 Ref B: MAA201060514029 Ref C: 2024-04-22T07:00:03Z" ], + "Date": [ "Mon, 22 Apr 2024 07:00:06 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1632" ], @@ -36,19 +37,19 @@ "isContentBase64": false } }, - "New-AzDataProtectionBackupPolicy+[NoContext]+PGFlexPolicy+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pstest-pgflex-policy?api-version=2023-12-01+2": { + "New-AzDataProtectionBackupPolicy+[NoContext]+PGFlexPolicy+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pstest-pgflex-policy?api-version=2024-04-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pstest-pgflex-policy?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pstest-pgflex-policy?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "57ae63ec-4dd5-47d2-aafb-028ccc9f009e" ], + "x-ms-client-request-id": [ "821fd868-45fa-424c-899b-49c5ce0cd8a4" ], "CommandName": [ "Get-AzDataProtectionBackupPolicy" ], "FullCommandName": [ "Get-AzDataProtectionBackupPolicy_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -59,15 +60,16 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "159edc0c-7ba8-4dbd-8883-87d352adcd01" ], - "x-ms-correlation-request-id": [ "159edc0c-7ba8-4dbd-8883-87d352adcd01" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T101154Z:159edc0c-7ba8-4dbd-8883-87d352adcd01" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "89870e14-8f24-4f0a-ac55-5877ebe34c58" ], + "x-ms-correlation-request-id": [ "89870e14-8f24-4f0a-ac55-5877ebe34c58" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240422T070007Z:89870e14-8f24-4f0a-ac55-5877ebe34c58" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: F864100E1BA54F54B075FC4CBB620760 Ref B: MAA201060516023 Ref C: 2024-03-24T10:11:53Z" ], - "Date": [ "Sun, 24 Mar 2024 10:11:54 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 160F977E4096440AA1B2DCF8062FD062 Ref B: MAA201060514029 Ref C: 2024-04-22T07:00:06Z" ], + "Date": [ "Mon, 22 Apr 2024 07:00:07 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1632" ], @@ -78,19 +80,19 @@ "isContentBase64": false } }, - "New-AzDataProtectionBackupPolicy+[NoContext]+PGFlexPolicy+$DELETE+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pstest-pgflex-policy?api-version=2023-12-01+3": { + "New-AzDataProtectionBackupPolicy+[NoContext]+PGFlexPolicy+$DELETE+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pstest-pgflex-policy?api-version=2024-04-01+3": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pstest-pgflex-policy?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pstest-pgflex-policy?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "86459751-83b5-4cd1-ae85-167b6634ff13" ], + "x-ms-client-request-id": [ "555a0bbd-eefa-4476-8c75-5d4309740a75" ], "CommandName": [ "Remove-AzDataProtectionBackupPolicy" ], "FullCommandName": [ "Remove-AzDataProtectionBackupPolicy_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -102,14 +104,15 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "49" ], - "x-ms-request-id": [ "8d1dacb5-f68a-4e07-8852-beb511999016" ], - "x-ms-correlation-request-id": [ "8d1dacb5-f68a-4e07-8852-beb511999016" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T101155Z:8d1dacb5-f68a-4e07-8852-beb511999016" ], + "x-ms-request-id": [ "0f96fa9d-7a7e-40b4-b734-e761d1b9e162" ], + "x-ms-correlation-request-id": [ "0f96fa9d-7a7e-40b4-b734-e761d1b9e162" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240422T070009Z:0f96fa9d-7a7e-40b4-b734-e761d1b9e162" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 97F30E6B23E24AC986CCC286B9C61692 Ref B: MAA201060516023 Ref C: 2024-03-24T10:11:54Z" ], - "Date": [ "Sun, 24 Mar 2024 10:11:55 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 5A9AA00C62F4467D9302963797289347 Ref B: MAA201060514029 Ref C: 2024-04-22T07:00:08Z" ], + "Date": [ "Mon, 22 Apr 2024 07:00:08 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -119,10 +122,10 @@ "isContentBase64": false } }, - "New-AzDataProtectionBackupPolicy+[NoContext]+MySQLPolicy+$PUT+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pstest-mysql-policy?api-version=2023-12-01+1": { + "New-AzDataProtectionBackupPolicy+[NoContext]+MySQLPolicy+$PUT+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pstest-mysql-policy?api-version=2024-04-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pstest-mysql-policy?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pstest-mysql-policy?api-version=2024-04-01", "Content": "{\r\n \"properties\": {\r\n \"datasourceTypes\": [ \"Microsoft.DBforMySQL/flexibleServers\" ],\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\": \"P10D\",\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\": \"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/2024-03-04T09:00:00+05:30/P1W\", \"R/2024-03-05T09: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 \"daysOfMonth\": [\r\n {\r\n \"date\": 1,\r\n \"isLast\": false\r\n },\r\n {\r\n \"date\": 5,\r\n \"isLast\": false\r\n },\r\n {\r\n \"isLast\": true\r\n }\r\n ]\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\": \"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 }\r\n ]\r\n }\r\n ]\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -137,15 +140,16 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "06ffb37c-b4d7-43b6-bb4a-ff55b2ce62e9" ], - "x-ms-correlation-request-id": [ "06ffb37c-b4d7-43b6-bb4a-ff55b2ce62e9" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T101157Z:06ffb37c-b4d7-43b6-bb4a-ff55b2ce62e9" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "8c421bac-644e-4041-8bf7-d7dc24965ac7" ], + "x-ms-correlation-request-id": [ "8c421bac-644e-4041-8bf7-d7dc24965ac7" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240422T070010Z:8c421bac-644e-4041-8bf7-d7dc24965ac7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: EE427A9079344E7BA3D76A84C5BF1761 Ref B: MAA201060516023 Ref C: 2024-03-24T10:11:55Z" ], - "Date": [ "Sun, 24 Mar 2024 10:11:56 GMT" ] + "X-MSEdge-Ref": [ "Ref A: C15C758C46F44D1D97E19F55C471EEEC Ref B: MAA201060514029 Ref C: 2024-04-22T07:00:09Z" ], + "Date": [ "Mon, 22 Apr 2024 07:00:10 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1625" ], @@ -156,19 +160,19 @@ "isContentBase64": false } }, - "New-AzDataProtectionBackupPolicy+[NoContext]+MySQLPolicy+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pstest-mysql-policy?api-version=2023-12-01+2": { + "New-AzDataProtectionBackupPolicy+[NoContext]+MySQLPolicy+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pstest-mysql-policy?api-version=2024-04-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pstest-mysql-policy?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pstest-mysql-policy?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "5" ], - "x-ms-client-request-id": [ "45aa633c-c562-4c18-8b00-30891212799f" ], + "x-ms-client-request-id": [ "adc139eb-bbfc-4902-aaf4-40b5c6b4ca86" ], "CommandName": [ "Get-AzDataProtectionBackupPolicy" ], "FullCommandName": [ "Get-AzDataProtectionBackupPolicy_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -179,15 +183,16 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "144890a9-923a-4b50-ba45-3fb1b0ab6825" ], - "x-ms-correlation-request-id": [ "144890a9-923a-4b50-ba45-3fb1b0ab6825" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T101157Z:144890a9-923a-4b50-ba45-3fb1b0ab6825" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "e834aca7-af23-4dd7-90c5-38713a323a64" ], + "x-ms-correlation-request-id": [ "e834aca7-af23-4dd7-90c5-38713a323a64" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240422T070012Z:e834aca7-af23-4dd7-90c5-38713a323a64" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 2EE3385119CE4A2292E27772503DCCD6 Ref B: MAA201060516023 Ref C: 2024-03-24T10:11:57Z" ], - "Date": [ "Sun, 24 Mar 2024 10:11:57 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 1D24C921E0DE4641B869DCD225995F10 Ref B: MAA201060514029 Ref C: 2024-04-22T07:00:11Z" ], + "Date": [ "Mon, 22 Apr 2024 07:00:12 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1625" ], @@ -198,19 +203,19 @@ "isContentBase64": false } }, - "New-AzDataProtectionBackupPolicy+[NoContext]+MySQLPolicy+$DELETE+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pstest-mysql-policy?api-version=2023-12-01+3": { + "New-AzDataProtectionBackupPolicy+[NoContext]+MySQLPolicy+$DELETE+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pstest-mysql-policy?api-version=2024-04-01+3": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pstest-mysql-policy?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pstest-mysql-policy?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "6" ], - "x-ms-client-request-id": [ "9496e320-e11b-4e5e-949c-cbf0b03cf7ca" ], + "x-ms-client-request-id": [ "4306ec24-0601-4527-8a39-3470336aabe0" ], "CommandName": [ "Remove-AzDataProtectionBackupPolicy" ], "FullCommandName": [ "Remove-AzDataProtectionBackupPolicy_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -222,14 +227,15 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "49" ], - "x-ms-request-id": [ "cd2a5893-b77e-442f-b2aa-b08de26066c6" ], - "x-ms-correlation-request-id": [ "cd2a5893-b77e-442f-b2aa-b08de26066c6" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T101158Z:cd2a5893-b77e-442f-b2aa-b08de26066c6" ], + "x-ms-request-id": [ "858fc1f9-4956-4c66-a7c4-6f5d0e664c37" ], + "x-ms-correlation-request-id": [ "858fc1f9-4956-4c66-a7c4-6f5d0e664c37" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240422T070014Z:858fc1f9-4956-4c66-a7c4-6f5d0e664c37" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 926E9009D43B4092A7E24D7D45565940 Ref B: MAA201060516023 Ref C: 2024-03-24T10:11:57Z" ], - "Date": [ "Sun, 24 Mar 2024 10:11:58 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 7CFE0431679B4C0B913D5DA60C34E2EC Ref B: MAA201060514029 Ref C: 2024-04-22T07:00:12Z" ], + "Date": [ "Mon, 22 Apr 2024 07:00:13 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -239,10 +245,10 @@ "isContentBase64": false } }, - "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-12-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=2024-04-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-12-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=2024-04-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": { @@ -257,15 +263,16 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "724f4039-c4b2-4e6a-aa5a-e1f500c68390" ], - "x-ms-correlation-request-id": [ "724f4039-c4b2-4e6a-aa5a-e1f500c68390" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T101200Z:724f4039-c4b2-4e6a-aa5a-e1f500c68390" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "0624ba5e-f643-4ee3-a922-53055e14f14b" ], + "x-ms-correlation-request-id": [ "0624ba5e-f643-4ee3-a922-53055e14f14b" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240422T070016Z:0624ba5e-f643-4ee3-a922-53055e14f14b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 70D2E168682F4FFD9C1219B3265D04D9 Ref B: MAA201060516023 Ref C: 2024-03-24T10:11:58Z" ], - "Date": [ "Sun, 24 Mar 2024 10:11:59 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 59752DA9FA9E4FC2981D78B929D1715B Ref B: MAA201060514029 Ref C: 2024-04-22T07:00:14Z" ], + "Date": [ "Mon, 22 Apr 2024 07:00:16 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2217" ], @@ -276,19 +283,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-12-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=2024-04-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-12-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=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "8" ], - "x-ms-client-request-id": [ "108cf6f4-4172-4c55-bcc1-b8ab1b7198ad" ], + "x-ms-client-request-id": [ "071d18a2-25cb-45c9-9448-00a0d1f34bd2" ], "CommandName": [ "Get-AzDataProtectionBackupPolicy" ], "FullCommandName": [ "Get-AzDataProtectionBackupPolicy_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -299,38 +306,39 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "d4b33f0e-5d40-4a06-bba6-14e674ccb753" ], - "x-ms-correlation-request-id": [ "d4b33f0e-5d40-4a06-bba6-14e674ccb753" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T101200Z:d4b33f0e-5d40-4a06-bba6-14e674ccb753" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "57a7bee3-fac1-413d-b688-b679d896480a" ], + "x-ms-correlation-request-id": [ "57a7bee3-fac1-413d-b688-b679d896480a" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240422T070017Z:57a7bee3-fac1-413d-b688-b679d896480a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 2812C92D546C43479A6A15AA854D971C Ref B: MAA201060516023 Ref C: 2024-03-24T10:12:00Z" ], - "Date": [ "Sun, 24 Mar 2024 10:12:00 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 55DAF2A1D0AD449B9B13A15B6CC0DD13 Ref B: MAA201060514029 Ref C: 2024-04-22T07:00:16Z" ], + "Date": [ "Mon, 22 Apr 2024 07:00:17 GMT" ] }, "ContentHeaders": { "Content-Length": [ "17523" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P12W\"},\"targetDataStoreCopySettings\":[{\"dataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"},\"copyAfter\":{\"objectType\":\"CopyOnExpiryOption\"}}],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}},{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P27W\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Weekly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P1M\"},\"targetDataStoreCopySettings\":[{\"dataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"},\"copyAfter\":{\"objectType\":\"CopyOnExpiryOption\"}}],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}},{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P5M\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Full\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-12-31T10:00:00+05:30/P1W\"],\"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\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupWeekly\",\"objectType\":\"AzureBackupRule\"}],\"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/tf-pol2\",\"name\":\"tf-pol2\",\"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\":\"P15D\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Discrete\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2024-01-08T16:00:00+00:00/P1D\"],\"timeZone\":\"UTC\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Monthly\",\"id\":\"Monthly_\"},\"taggingPriority\":15,\"isDefault\":false,\"criteria\":[{\"daysOfMonth\":[{\"date\":1,\"isLast\":false},{\"date\":28,\"isLast\":false},{\"date\":0,\"isLast\":true},{\"date\":10,\"isLast\":false}],\"weeksOfTheMonth\":[],\"daysOfTheWeek\":[],\"monthsOfYear\":[],\"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/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/dom\",\"name\":\"dom\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P12W\"},\"targetDataStoreCopySettings\":[{\"dataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"},\"copyAfter\":{\"objectType\":\"CopyOnExpiryOption\"}}],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}},{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P27W\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Weekly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P1M\"},\"targetDataStoreCopySettings\":[{\"dataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"},\"copyAfter\":{\"objectType\":\"CopyOnExpiryOption\"}}],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}},{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P5M\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Full\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-12-31T10:00:00+05:30/P1W\"],\"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\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupWeekly\",\"objectType\":\"AzureBackupRule\"}],\"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/tf-pol1\",\"name\":\"tf-pol1\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P12W\"},\"targetDataStoreCopySettings\":[{\"dataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"},\"copyAfter\":{\"objectType\":\"CopyOnExpiryOption\"}}],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}},{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P27W\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Weekly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P1M\"},\"targetDataStoreCopySettings\":[{\"dataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"},\"copyAfter\":{\"objectType\":\"CopyOnExpiryOption\"}}],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}},{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P5M\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Full\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-12-31T10:00:00+05:30/P1W\"],\"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\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupWeekly\",\"objectType\":\"AzureBackupRule\"}],\"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/tf-pol3\",\"name\":\"tf-pol3\",\"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\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P3M\"},\"targetDataStoreCopySettings\":[{\"dataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"},\"copyAfter\":{\"objectType\":\"CopyOnExpiryOption\"}}],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}},{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P27M\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Monthly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P3M\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Full\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-12-31T06:30:00+00:00/P1W\"],\"timeZone\":\"UTC\"},\"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\":\"BackupWeekly\",\"objectType\":\"AzureBackupRule\"}],\"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/terraform-pol1\",\"name\":\"terraform-pol1\",\"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\"},{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P6M\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Monthly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P3M\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Full\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2024-01-14T20:00:00+00:00/P1W\",\"R/2024-01-08T20:00:00+00:00/P1W\",\"R/2024-01-09T20:00:00+00:00/P1W\",\"R/2024-01-10T20:00:00+00:00/P1W\",\"R/2024-01-11T20:00:00+00:00/P1W\",\"R/2024-01-12T20:00:00+00:00/P1W\",\"R/2024-01-13T20:00:00+00:00/P1W\"],\"timeZone\":\"UTC\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Monthly\",\"id\":\"Monthly_\"},\"taggingPriority\":15,\"isDefault\":false,\"criteria\":[{\"daysOfMonth\":[],\"weeksOfTheMonth\":[\"First\"],\"daysOfTheWeek\":[\"Sunday\",\"Wednesday\"],\"monthsOfYear\":[],\"objectType\":\"ScheduleBasedBackupCriteria\"}]},{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupWeekly\",\"objectType\":\"AzureBackupRule\"}],\"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/dom-weekbased\",\"name\":\"dom-weekbased\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"}]}", + "Content": "{\"value\":[{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P12W\"},\"targetDataStoreCopySettings\":[{\"dataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"},\"copyAfter\":{\"objectType\":\"CopyOnExpiryOption\"}}],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}},{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P27W\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Weekly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P1M\"},\"targetDataStoreCopySettings\":[{\"dataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"},\"copyAfter\":{\"objectType\":\"CopyOnExpiryOption\"}}],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}},{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P5M\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Full\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-12-31T10:00:00+05:30/P1W\"],\"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\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupWeekly\",\"objectType\":\"AzureBackupRule\"}],\"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/tf-pol2\",\"name\":\"tf-pol2\",\"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\":\"P15D\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Discrete\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2024-01-08T16:00:00+00:00/P1D\"],\"timeZone\":\"UTC\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Monthly\",\"id\":\"Monthly_\"},\"taggingPriority\":15,\"isDefault\":false,\"criteria\":[{\"daysOfMonth\":[{\"date\":1,\"isLast\":false},{\"date\":28,\"isLast\":false},{\"date\":0,\"isLast\":true},{\"date\":10,\"isLast\":false}],\"weeksOfTheMonth\":[],\"daysOfTheWeek\":[],\"monthsOfYear\":[],\"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/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/dom\",\"name\":\"dom\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P12W\"},\"targetDataStoreCopySettings\":[{\"dataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"},\"copyAfter\":{\"objectType\":\"CopyOnExpiryOption\"}}],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}},{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P27W\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Weekly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P1M\"},\"targetDataStoreCopySettings\":[{\"dataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"},\"copyAfter\":{\"objectType\":\"CopyOnExpiryOption\"}}],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}},{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P5M\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Full\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-12-31T10:00:00+05:30/P1W\"],\"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\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupWeekly\",\"objectType\":\"AzureBackupRule\"}],\"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/tf-pol1\",\"name\":\"tf-pol1\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P12W\"},\"targetDataStoreCopySettings\":[{\"dataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"},\"copyAfter\":{\"objectType\":\"CopyOnExpiryOption\"}}],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}},{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P27W\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Weekly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P1M\"},\"targetDataStoreCopySettings\":[{\"dataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"},\"copyAfter\":{\"objectType\":\"CopyOnExpiryOption\"}}],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}},{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P5M\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Full\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-12-31T10:00:00+05:30/P1W\"],\"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\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupWeekly\",\"objectType\":\"AzureBackupRule\"}],\"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/tf-pol3\",\"name\":\"tf-pol3\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P3M\"},\"targetDataStoreCopySettings\":[{\"dataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"},\"copyAfter\":{\"objectType\":\"CopyOnExpiryOption\"}}],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}},{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P27M\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Monthly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P3M\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Full\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-12-31T06:30:00+00:00/P1W\"],\"timeZone\":\"UTC\"},\"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\":\"BackupWeekly\",\"objectType\":\"AzureBackupRule\"}],\"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/terraform-pol1\",\"name\":\"terraform-pol1\",\"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-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\"},{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P6M\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Monthly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P3M\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Full\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2024-01-14T20:00:00+00:00/P1W\",\"R/2024-01-08T20:00:00+00:00/P1W\",\"R/2024-01-09T20:00:00+00:00/P1W\",\"R/2024-01-10T20:00:00+00:00/P1W\",\"R/2024-01-11T20:00:00+00:00/P1W\",\"R/2024-01-12T20:00:00+00:00/P1W\",\"R/2024-01-13T20:00:00+00:00/P1W\"],\"timeZone\":\"UTC\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Monthly\",\"id\":\"Monthly_\"},\"taggingPriority\":15,\"isDefault\":false,\"criteria\":[{\"daysOfMonth\":[],\"weeksOfTheMonth\":[\"First\"],\"daysOfTheWeek\":[\"Sunday\",\"Wednesday\"],\"monthsOfYear\":[],\"objectType\":\"ScheduleBasedBackupCriteria\"}]},{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupWeekly\",\"objectType\":\"AzureBackupRule\"}],\"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/dom-weekbased\",\"name\":\"dom-weekbased\",\"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-12-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=2024-04-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-12-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=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "9" ], - "x-ms-client-request-id": [ "e6d392f6-4d6f-4242-afd4-be2a87a29c32" ], + "x-ms-client-request-id": [ "14fec9a7-d757-457d-b397-18f4b919a4e4" ], "CommandName": [ "Remove-AzDataProtectionBackupPolicy" ], "FullCommandName": [ "Remove-AzDataProtectionBackupPolicy_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -342,14 +350,15 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "49" ], - "x-ms-request-id": [ "41cd0020-a03a-4e62-a491-e97fd6e8730b" ], - "x-ms-correlation-request-id": [ "41cd0020-a03a-4e62-a491-e97fd6e8730b" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T101202Z:41cd0020-a03a-4e62-a491-e97fd6e8730b" ], + "x-ms-request-id": [ "14340bf1-54ff-44f3-9323-fe4a49665eae" ], + "x-ms-correlation-request-id": [ "14340bf1-54ff-44f3-9323-fe4a49665eae" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240422T070019Z:14340bf1-54ff-44f3-9323-fe4a49665eae" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: D7C0E650F10D49B3BDB0C3FA9B26B81D Ref B: MAA201060516023 Ref C: 2024-03-24T10:12:00Z" ], - "Date": [ "Sun, 24 Mar 2024 10:12:02 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 41B081F8444144CBAFFFDA864C8A3019 Ref B: MAA201060514029 Ref C: 2024-04-22T07:00:18Z" ], + "Date": [ "Mon, 22 Apr 2024 07:00:19 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -359,19 +368,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-12-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=2024-04-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-12-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=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "10" ], - "x-ms-client-request-id": [ "29e410e2-4bd7-4869-b91d-9f46cdac59b5" ], + "x-ms-client-request-id": [ "61069535-164a-4df3-9ead-f3dec72a1b87" ], "CommandName": [ "Get-AzDataProtectionBackupPolicy" ], "FullCommandName": [ "Get-AzDataProtectionBackupPolicy_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -382,15 +391,16 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "36e69947-59da-4b19-8908-787a0340e609" ], - "x-ms-correlation-request-id": [ "36e69947-59da-4b19-8908-787a0340e609" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T101203Z:36e69947-59da-4b19-8908-787a0340e609" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "fc958900-1408-43f7-aa57-c384cbc1529a" ], + "x-ms-correlation-request-id": [ "fc958900-1408-43f7-aa57-c384cbc1529a" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240422T070020Z:fc958900-1408-43f7-aa57-c384cbc1529a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: F7D0F81DF70B4E30A14BB2A9CC547BF1 Ref B: MAA201060516023 Ref C: 2024-03-24T10:12:02Z" ], - "Date": [ "Sun, 24 Mar 2024 10:12:03 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 9485C518A1C142159CF4A67026509FD5 Ref B: MAA201060514029 Ref C: 2024-04-22T07:00:19Z" ], + "Date": [ "Mon, 22 Apr 2024 07:00:20 GMT" ] }, "ContentHeaders": { "Content-Length": [ "15305" ], @@ -401,10 +411,10 @@ "isContentBase64": false } }, - "New-AzDataProtectionBackupPolicy+[NoContext]+AzureKubernetesServicePolicy+$PUT+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/AKS-ps-shasha-test-source/providers/Microsoft.DataProtection/backupVaults/ps-vault/backupPolicies/pstest-aks-policy?api-version=2023-12-01+1": { + "New-AzDataProtectionBackupPolicy+[NoContext]+AzureKubernetesServicePolicy+$PUT+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/AKS-ps-shasha-test-source/providers/Microsoft.DataProtection/backupVaults/ps-vault/backupPolicies/pstest-aks-policy?api-version=2024-04-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/AKS-ps-shasha-test-source/providers/Microsoft.DataProtection/backupVaults/ps-vault/backupPolicies/pstest-aks-policy?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/AKS-ps-shasha-test-source/providers/Microsoft.DataProtection/backupVaults/ps-vault/backupPolicies/pstest-aks-policy?api-version=2024-04-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": { @@ -419,15 +429,16 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "2b018635-ac93-4aa3-9f69-ea49d0e084e2" ], - "x-ms-correlation-request-id": [ "2b018635-ac93-4aa3-9f69-ea49d0e084e2" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T101204Z:2b018635-ac93-4aa3-9f69-ea49d0e084e2" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "b112753b-93ca-4ac7-a837-00ef7bf4e3c3" ], + "x-ms-correlation-request-id": [ "b112753b-93ca-4ac7-a837-00ef7bf4e3c3" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240422T070023Z:b112753b-93ca-4ac7-a837-00ef7bf4e3c3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 09E9DD51F4FB42E092B7F99166AECB8C Ref B: MAA201060516023 Ref C: 2024-03-24T10:12:03Z" ], - "Date": [ "Sun, 24 Mar 2024 10:12:04 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 6FBFB507065C4868B87E5162563901F8 Ref B: MAA201060514029 Ref C: 2024-04-22T07:00:21Z" ], + "Date": [ "Mon, 22 Apr 2024 07:00:22 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1979" ], @@ -438,19 +449,19 @@ "isContentBase64": false } }, - "New-AzDataProtectionBackupPolicy+[NoContext]+AzureKubernetesServicePolicy+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/AKS-ps-shasha-test-source/providers/Microsoft.DataProtection/backupVaults/ps-vault/backupPolicies?api-version=2023-12-01+2": { + "New-AzDataProtectionBackupPolicy+[NoContext]+AzureKubernetesServicePolicy+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/AKS-ps-shasha-test-source/providers/Microsoft.DataProtection/backupVaults/ps-vault/backupPolicies?api-version=2024-04-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/AKS-ps-shasha-test-source/providers/Microsoft.DataProtection/backupVaults/ps-vault/backupPolicies?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/AKS-ps-shasha-test-source/providers/Microsoft.DataProtection/backupVaults/ps-vault/backupPolicies?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "12" ], - "x-ms-client-request-id": [ "cb24a6aa-869f-412c-b300-77b651e180a1" ], + "x-ms-client-request-id": [ "698a3e3e-fad5-4e5a-96f7-82f86299c607" ], "CommandName": [ "Get-AzDataProtectionBackupPolicy" ], "FullCommandName": [ "Get-AzDataProtectionBackupPolicy_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -461,38 +472,39 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "13ac66be-9e84-4e1f-bcf7-eaca858e9f63" ], - "x-ms-correlation-request-id": [ "13ac66be-9e84-4e1f-bcf7-eaca858e9f63" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T101205Z:13ac66be-9e84-4e1f-bcf7-eaca858e9f63" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "cef0c398-2bb1-4fbe-8ee7-f57c1fe6a245" ], + "x-ms-correlation-request-id": [ "cef0c398-2bb1-4fbe-8ee7-f57c1fe6a245" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240422T070024Z:cef0c398-2bb1-4fbe-8ee7-f57c1fe6a245" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 0B9B982F57A04605BC9EB974C67E6FA6 Ref B: MAA201060516023 Ref C: 2024-03-24T10:12:04Z" ], - "Date": [ "Sun, 24 Mar 2024 10:12:05 GMT" ] + "X-MSEdge-Ref": [ "Ref A: C392C72DE1E64719A8F534D36082A821 Ref B: MAA201060514029 Ref C: 2024-04-22T07:00:23Z" ], + "Date": [ "Mon, 22 Apr 2024 07:00:24 GMT" ] }, "ContentHeaders": { "Content-Length": [ "4169" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"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/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/AKS-ps-shasha-test-source/providers/Microsoft.DataProtection/backupVaults/ps-vault/backupPolicies/psPolicy2\",\"name\":\"psPolicy2\",\"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/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/AKS-ps-shasha-test-source/providers/Microsoft.DataProtection/backupVaults/ps-vault/backupPolicies/psPolicy1\",\"name\":\"psPolicy1\",\"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/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/AKS-ps-shasha-test-source/providers/Microsoft.DataProtection/backupVaults/ps-vault/backupPolicies/pstest-aks-policy\",\"name\":\"pstest-aks-policy\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"}]}", + "Content": "{\"value\":[{\"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/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/AKS-ps-shasha-test-source/providers/Microsoft.DataProtection/backupVaults/ps-vault/backupPolicies/psPolicy2\",\"name\":\"psPolicy2\",\"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/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/AKS-ps-shasha-test-source/providers/Microsoft.DataProtection/backupVaults/ps-vault/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/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/AKS-ps-shasha-test-source/providers/Microsoft.DataProtection/backupVaults/ps-vault/backupPolicies/psPolicy1\",\"name\":\"psPolicy1\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"}]}", "isContentBase64": false } }, - "New-AzDataProtectionBackupPolicy+[NoContext]+AzureKubernetesServicePolicy+$DELETE+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/AKS-ps-shasha-test-source/providers/Microsoft.DataProtection/backupVaults/ps-vault/backupPolicies/pstest-aks-policy?api-version=2023-12-01+3": { + "New-AzDataProtectionBackupPolicy+[NoContext]+AzureKubernetesServicePolicy+$DELETE+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/AKS-ps-shasha-test-source/providers/Microsoft.DataProtection/backupVaults/ps-vault/backupPolicies/pstest-aks-policy?api-version=2024-04-01+3": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/AKS-ps-shasha-test-source/providers/Microsoft.DataProtection/backupVaults/ps-vault/backupPolicies/pstest-aks-policy?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/AKS-ps-shasha-test-source/providers/Microsoft.DataProtection/backupVaults/ps-vault/backupPolicies/pstest-aks-policy?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "13" ], - "x-ms-client-request-id": [ "c8c09135-548e-4ccc-af0b-33be1518a578" ], + "x-ms-client-request-id": [ "d1d78fe7-1181-49d0-9c68-18d5c221e083" ], "CommandName": [ "Remove-AzDataProtectionBackupPolicy" ], "FullCommandName": [ "Remove-AzDataProtectionBackupPolicy_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -504,14 +516,15 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "49" ], - "x-ms-request-id": [ "89908b2a-0033-4e4b-9223-7908a8e6f067" ], - "x-ms-correlation-request-id": [ "89908b2a-0033-4e4b-9223-7908a8e6f067" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T101207Z:89908b2a-0033-4e4b-9223-7908a8e6f067" ], + "x-ms-request-id": [ "adb205d1-f262-4c36-83b7-c5d6dfdf9bfc" ], + "x-ms-correlation-request-id": [ "adb205d1-f262-4c36-83b7-c5d6dfdf9bfc" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240422T070025Z:adb205d1-f262-4c36-83b7-c5d6dfdf9bfc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 7F3B8DE31F3A41188899486386EED846 Ref B: MAA201060516023 Ref C: 2024-03-24T10:12:05Z" ], - "Date": [ "Sun, 24 Mar 2024 10:12:07 GMT" ] + "X-MSEdge-Ref": [ "Ref A: F6625CD4EF454FD5878AC06319B5B7D8 Ref B: MAA201060514029 Ref C: 2024-04-22T07:00:24Z" ], + "Date": [ "Mon, 22 Apr 2024 07:00:25 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -521,19 +534,19 @@ "isContentBase64": false } }, - "New-AzDataProtectionBackupPolicy+[NoContext]+AzureKubernetesServicePolicy+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/AKS-ps-shasha-test-source/providers/Microsoft.DataProtection/backupVaults/ps-vault/backupPolicies?api-version=2023-12-01+4": { + "New-AzDataProtectionBackupPolicy+[NoContext]+AzureKubernetesServicePolicy+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/AKS-ps-shasha-test-source/providers/Microsoft.DataProtection/backupVaults/ps-vault/backupPolicies?api-version=2024-04-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/AKS-ps-shasha-test-source/providers/Microsoft.DataProtection/backupVaults/ps-vault/backupPolicies?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/AKS-ps-shasha-test-source/providers/Microsoft.DataProtection/backupVaults/ps-vault/backupPolicies?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "14" ], - "x-ms-client-request-id": [ "e506bd26-391f-4db4-9d55-9c75f9c90cc3" ], + "x-ms-client-request-id": [ "498a29d5-2634-4fd7-aa3d-960c87c02f80" ], "CommandName": [ "Get-AzDataProtectionBackupPolicy" ], "FullCommandName": [ "Get-AzDataProtectionBackupPolicy_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -544,15 +557,16 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "2f4423f7-fc0a-4a50-b256-17abbb857bea" ], - "x-ms-correlation-request-id": [ "2f4423f7-fc0a-4a50-b256-17abbb857bea" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T101207Z:2f4423f7-fc0a-4a50-b256-17abbb857bea" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "9e44910c-3c2d-4041-b184-b847c878cb99" ], + "x-ms-correlation-request-id": [ "9e44910c-3c2d-4041-b184-b847c878cb99" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240422T070027Z:9e44910c-3c2d-4041-b184-b847c878cb99" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 538297D4496448E69865681F7D5B8D57 Ref B: MAA201060516023 Ref C: 2024-03-24T10:12:07Z" ], - "Date": [ "Sun, 24 Mar 2024 10:12:07 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 0A095F4BF033418A807AE51235CC1F39 Ref B: MAA201060514029 Ref C: 2024-04-22T07:00:25Z" ], + "Date": [ "Mon, 22 Apr 2024 07:00:26 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2189" ], @@ -563,10 +577,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-12-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=2024-04-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-12-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=2024-04-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": { @@ -581,15 +595,16 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "4d69b395-b43d-42ac-956d-094a8ad6e2e8" ], - "x-ms-correlation-request-id": [ "4d69b395-b43d-42ac-956d-094a8ad6e2e8" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T101209Z:4d69b395-b43d-42ac-956d-094a8ad6e2e8" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "ac7888a0-e784-477d-b44d-1278f36eddca" ], + "x-ms-correlation-request-id": [ "ac7888a0-e784-477d-b44d-1278f36eddca" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240422T070029Z:ac7888a0-e784-477d-b44d-1278f36eddca" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 671F7B3D334A47C481CAF08779A9AA3D Ref B: MAA201060516023 Ref C: 2024-03-24T10:12:07Z" ], - "Date": [ "Sun, 24 Mar 2024 10:12:09 GMT" ] + "X-MSEdge-Ref": [ "Ref A: FB323C3A6D7F4515A44FC7B985A64D0A Ref B: MAA201060514029 Ref C: 2024-04-22T07:00:27Z" ], + "Date": [ "Mon, 22 Apr 2024 07:00:28 GMT" ] }, "ContentHeaders": { "Content-Length": [ "657" ], @@ -600,19 +615,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-12-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=2024-04-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-12-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=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "16" ], - "x-ms-client-request-id": [ "77136b07-c3a4-4d99-b262-1cb310b52109" ], + "x-ms-client-request-id": [ "a258b280-5d60-4bdc-a73c-26fef5ea13ed" ], "CommandName": [ "Get-AzDataProtectionBackupPolicy" ], "FullCommandName": [ "Get-AzDataProtectionBackupPolicy_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -623,15 +638,16 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "2afe3e9a-4478-44fe-b849-f5afbd51ec00" ], - "x-ms-correlation-request-id": [ "2afe3e9a-4478-44fe-b849-f5afbd51ec00" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T101210Z:2afe3e9a-4478-44fe-b849-f5afbd51ec00" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "2a5486ac-fb1f-43cd-a3f7-89d5851180c3" ], + "x-ms-correlation-request-id": [ "2a5486ac-fb1f-43cd-a3f7-89d5851180c3" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240422T070030Z:2a5486ac-fb1f-43cd-a3f7-89d5851180c3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 2937D5D901F74BE893ACF8E57E7FD1A8 Ref B: MAA201060516023 Ref C: 2024-03-24T10:12:09Z" ], - "Date": [ "Sun, 24 Mar 2024 10:12:10 GMT" ] + "X-MSEdge-Ref": [ "Ref A: B163D7A1CAF34AFF8553B17C77F8C7A2 Ref B: MAA201060514029 Ref C: 2024-04-22T07:00:29Z" ], + "Date": [ "Mon, 22 Apr 2024 07:00:30 GMT" ] }, "ContentHeaders": { "Content-Length": [ "657" ], @@ -642,19 +658,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-12-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=2024-04-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-12-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=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "17" ], - "x-ms-client-request-id": [ "e4ba8623-3a30-40d0-9bed-589fac542e08" ], + "x-ms-client-request-id": [ "8bc95a99-0140-493c-a0e0-a650588eb74a" ], "CommandName": [ "Remove-AzDataProtectionBackupPolicy" ], "FullCommandName": [ "Remove-AzDataProtectionBackupPolicy_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -666,14 +682,15 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "48" ], - "x-ms-request-id": [ "4c34f585-9163-4480-a58f-e070c55cb723" ], - "x-ms-correlation-request-id": [ "4c34f585-9163-4480-a58f-e070c55cb723" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T101211Z:4c34f585-9163-4480-a58f-e070c55cb723" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "49" ], + "x-ms-request-id": [ "4d31b147-1170-4c83-bf9d-872f6b818f30" ], + "x-ms-correlation-request-id": [ "4d31b147-1170-4c83-bf9d-872f6b818f30" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240422T070032Z:4d31b147-1170-4c83-bf9d-872f6b818f30" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 808FD4EDA7604A2195C0509D37245C9D Ref B: MAA201060516023 Ref C: 2024-03-24T10:12:10Z" ], - "Date": [ "Sun, 24 Mar 2024 10:12:11 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 24D23A904B534013927D83DAE9FDFB74 Ref B: MAA201060514029 Ref C: 2024-04-22T07:00:30Z" ], + "Date": [ "Mon, 22 Apr 2024 07:00:31 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -683,19 +700,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-12-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=2024-04-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-12-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=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "18" ], - "x-ms-client-request-id": [ "f3d70a0d-c57b-46bb-8754-a1e8232424d7" ], + "x-ms-client-request-id": [ "39337c9a-471c-496c-b919-b6ae27b05512" ], "CommandName": [ "Get-AzDataProtectionBackupPolicy" ], "FullCommandName": [ "Get-AzDataProtectionBackupPolicy_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -706,15 +723,16 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "3d7d705a-9b5a-4e81-a327-91591164953b" ], - "x-ms-correlation-request-id": [ "3d7d705a-9b5a-4e81-a327-91591164953b" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T101213Z:3d7d705a-9b5a-4e81-a327-91591164953b" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "1c444115-788a-4dfa-bfed-6ded7a10ad48" ], + "x-ms-correlation-request-id": [ "1c444115-788a-4dfa-bfed-6ded7a10ad48" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240422T070033Z:1c444115-788a-4dfa-bfed-6ded7a10ad48" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: C07D1EB704EA452DBE93F0F2258F9155 Ref B: MAA201060516023 Ref C: 2024-03-24T10:12:11Z" ], - "Date": [ "Sun, 24 Mar 2024 10:12:12 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 9C80E092CE0C4060BC4DEBB2D897D27D Ref B: MAA201060514029 Ref C: 2024-04-22T07:00:32Z" ], + "Date": [ "Mon, 22 Apr 2024 07:00:33 GMT" ] }, "ContentHeaders": { "Content-Length": [ "11594" ], @@ -725,10 +743,10 @@ "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-12-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=2024-04-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-12-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=2024-04-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": { @@ -743,15 +761,16 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "e5195e9b-5427-433c-af9c-823eacbe1cca" ], - "x-ms-correlation-request-id": [ "e5195e9b-5427-433c-af9c-823eacbe1cca" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T101213Z:e5195e9b-5427-433c-af9c-823eacbe1cca" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "41147be6-5cb0-4b12-b3c1-8707ae7d15e7" ], + "x-ms-correlation-request-id": [ "41147be6-5cb0-4b12-b3c1-8707ae7d15e7" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240422T070035Z:41147be6-5cb0-4b12-b3c1-8707ae7d15e7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 792732AC6CCD4AA7871891B63D416351 Ref B: MAA201060516023 Ref C: 2024-03-24T10:12:13Z" ], - "Date": [ "Sun, 24 Mar 2024 10:12:13 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 7FEEB5666F294CC68269966ED08C6F4C Ref B: MAA201060514029 Ref C: 2024-04-22T07:00:33Z" ], + "Date": [ "Mon, 22 Apr 2024 07:00:35 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1541" ], @@ -762,19 +781,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-12-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=2024-04-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-12-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=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "20" ], - "x-ms-client-request-id": [ "8415e266-e54c-4563-82ad-c8d99dd8b740" ], + "x-ms-client-request-id": [ "d45e47d6-4775-4b19-b575-06cf7b8bf11d" ], "CommandName": [ "Get-AzDataProtectionBackupPolicy" ], "FullCommandName": [ "Get-AzDataProtectionBackupPolicy_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -785,15 +804,16 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "fb58f36e-f432-4876-9a33-4c01c7d67981" ], - "x-ms-correlation-request-id": [ "fb58f36e-f432-4876-9a33-4c01c7d67981" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T101215Z:fb58f36e-f432-4876-9a33-4c01c7d67981" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "a511ccfd-22cd-49a9-9f01-bd991b07d00c" ], + "x-ms-correlation-request-id": [ "a511ccfd-22cd-49a9-9f01-bd991b07d00c" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240422T070037Z:a511ccfd-22cd-49a9-9f01-bd991b07d00c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 5DB9747492A847D688CD263CE2550B7F Ref B: MAA201060516023 Ref C: 2024-03-24T10:12:14Z" ], - "Date": [ "Sun, 24 Mar 2024 10:12:14 GMT" ] + "X-MSEdge-Ref": [ "Ref A: B642C3B84BA247BD8241DC11B553D92D Ref B: MAA201060514029 Ref C: 2024-04-22T07:00:35Z" ], + "Date": [ "Mon, 22 Apr 2024 07:00:36 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1541" ], @@ -804,19 +824,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-12-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=2024-04-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-12-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=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "21" ], - "x-ms-client-request-id": [ "3e2dbfc2-0bb4-4a8f-8c46-2d2aaf4bcb4a" ], + "x-ms-client-request-id": [ "6e596855-22a1-43cc-825c-4063f95744f3" ], "CommandName": [ "Remove-AzDataProtectionBackupPolicy" ], "FullCommandName": [ "Remove-AzDataProtectionBackupPolicy_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -828,14 +848,15 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "49" ], - "x-ms-request-id": [ "819c6ed7-46f8-46a5-82a6-180a9c383bd3" ], - "x-ms-correlation-request-id": [ "819c6ed7-46f8-46a5-82a6-180a9c383bd3" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T101217Z:819c6ed7-46f8-46a5-82a6-180a9c383bd3" ], + "x-ms-request-id": [ "44cf8768-b851-4eb8-9764-4a0854007569" ], + "x-ms-correlation-request-id": [ "44cf8768-b851-4eb8-9764-4a0854007569" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240422T070038Z:44cf8768-b851-4eb8-9764-4a0854007569" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 4B3352DE08B74C38BF5E6C17ACE25E21 Ref B: MAA201060516023 Ref C: 2024-03-24T10:12:15Z" ], - "Date": [ "Sun, 24 Mar 2024 10:12:16 GMT" ] + "X-MSEdge-Ref": [ "Ref A: B7C95BF1921D4ED0B4A85E6B98F81315 Ref B: MAA201060514029 Ref C: 2024-04-22T07:00:37Z" ], + "Date": [ "Mon, 22 Apr 2024 07:00:38 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -845,19 +866,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-12-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=2024-04-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-12-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=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "22" ], - "x-ms-client-request-id": [ "2551c73a-ad2e-454a-9760-d6c2a4df1e83" ], + "x-ms-client-request-id": [ "5521fe95-7c27-40f4-a0de-b79912be9bc7" ], "CommandName": [ "Get-AzDataProtectionBackupPolicy" ], "FullCommandName": [ "Get-AzDataProtectionBackupPolicy_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -868,15 +889,16 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "ed2b0656-4f3d-4745-98c2-52580a06d377" ], - "x-ms-correlation-request-id": [ "ed2b0656-4f3d-4745-98c2-52580a06d377" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T101218Z:ed2b0656-4f3d-4745-98c2-52580a06d377" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "4396d436-a09d-4ad2-9e42-c64fad653859" ], + "x-ms-correlation-request-id": [ "4396d436-a09d-4ad2-9e42-c64fad653859" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240422T070040Z:4396d436-a09d-4ad2-9e42-c64fad653859" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 2898D51AA8054D8A82B0C052C775D3AB Ref B: MAA201060516023 Ref C: 2024-03-24T10:12:17Z" ], - "Date": [ "Sun, 24 Mar 2024 10:12:18 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 687CF32AD6814003B7CB54679B928456 Ref B: MAA201060514029 Ref C: 2024-04-22T07:00:38Z" ], + "Date": [ "Mon, 22 Apr 2024 07:00:39 GMT" ] }, "ContentHeaders": { "Content-Length": [ "11594" ], @@ -887,10 +909,10 @@ "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-12-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=2024-04-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-12-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=2024-04-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": { @@ -905,15 +927,16 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "4a31ee17-33cd-4a6c-bdf6-ebf9d9e58365" ], - "x-ms-correlation-request-id": [ "4a31ee17-33cd-4a6c-bdf6-ebf9d9e58365" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T101219Z:4a31ee17-33cd-4a6c-bdf6-ebf9d9e58365" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "54b6d387-5d20-48b6-89f7-2da7c6faa871" ], + "x-ms-correlation-request-id": [ "54b6d387-5d20-48b6-89f7-2da7c6faa871" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240422T070042Z:54b6d387-5d20-48b6-89f7-2da7c6faa871" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: DA6CD1D8E6C14341B90AB93B16DFD52C Ref B: MAA201060516023 Ref C: 2024-03-24T10:12:18Z" ], - "Date": [ "Sun, 24 Mar 2024 10:12:19 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 83086A37C6FD400C8243AC03056B8EBF Ref B: MAA201060514029 Ref C: 2024-04-22T07:00:40Z" ], + "Date": [ "Mon, 22 Apr 2024 07:00:41 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2648" ], @@ -924,19 +947,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-12-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=2024-04-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-12-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=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "24" ], - "x-ms-client-request-id": [ "9d89be42-b360-4586-9262-ccd4f20eb655" ], + "x-ms-client-request-id": [ "583f67ae-df99-4a6d-bab2-2a1e4174055a" ], "CommandName": [ "Get-AzDataProtectionBackupPolicy" ], "FullCommandName": [ "Get-AzDataProtectionBackupPolicy_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -947,15 +970,16 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "973d4525-f903-4555-987f-6f2ff3bca349" ], - "x-ms-correlation-request-id": [ "973d4525-f903-4555-987f-6f2ff3bca349" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T101220Z:973d4525-f903-4555-987f-6f2ff3bca349" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "93ce2b91-236c-4b55-a9b4-ef112c0dd0b3" ], + "x-ms-correlation-request-id": [ "93ce2b91-236c-4b55-a9b4-ef112c0dd0b3" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240422T070043Z:93ce2b91-236c-4b55-a9b4-ef112c0dd0b3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 8B64A2130B474A0DB7EAF2E8939BF572 Ref B: MAA201060516023 Ref C: 2024-03-24T10:12:19Z" ], - "Date": [ "Sun, 24 Mar 2024 10:12:20 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 0420ABAF913E47EC8F7841AB44C4933A Ref B: MAA201060514029 Ref C: 2024-04-22T07:00:42Z" ], + "Date": [ "Mon, 22 Apr 2024 07:00:42 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2648" ], @@ -966,19 +990,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.Api20231201.BaseBackupPolicyResource?api-version=2023-12-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.Api20240401.BaseBackupPolicyResource?api-version=2024-04-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.Api20231201.BaseBackupPolicyResource?api-version=2023-12-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.Api20240401.BaseBackupPolicyResource?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "25" ], - "x-ms-client-request-id": [ "74134d92-0b23-4516-8850-5432eb1063c8" ], + "x-ms-client-request-id": [ "64932e61-ead9-4e08-a892-21a27f8b119e" ], "CommandName": [ "Remove-AzDataProtectionBackupPolicy" ], "FullCommandName": [ "Remove-AzDataProtectionBackupPolicy_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -990,14 +1014,15 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "49" ], - "x-ms-request-id": [ "8fa8762e-b890-4fe4-80bd-eef32ba6b853" ], - "x-ms-correlation-request-id": [ "8fa8762e-b890-4fe4-80bd-eef32ba6b853" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T101221Z:8fa8762e-b890-4fe4-80bd-eef32ba6b853" ], + "x-ms-request-id": [ "6a3a3c20-c875-49d0-b6a3-437d56549d20" ], + "x-ms-correlation-request-id": [ "6a3a3c20-c875-49d0-b6a3-437d56549d20" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240422T070044Z:6a3a3c20-c875-49d0-b6a3-437d56549d20" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 59C7F50E4DBD4EF09B737221F82913E8 Ref B: MAA201060516023 Ref C: 2024-03-24T10:12:20Z" ], - "Date": [ "Sun, 24 Mar 2024 10:12:21 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 195E4AFF4BA640B892CAA7386AFA5091 Ref B: MAA201060514029 Ref C: 2024-04-22T07:00:43Z" ], + "Date": [ "Mon, 22 Apr 2024 07:00:43 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ] @@ -1006,19 +1031,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-12-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=2024-04-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-12-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=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "26" ], - "x-ms-client-request-id": [ "47922a20-6856-4d33-8c2d-e0619ef5d446" ], + "x-ms-client-request-id": [ "f5c1af86-dcc7-43fa-b124-7b23a37b6b1b" ], "CommandName": [ "Get-AzDataProtectionBackupPolicy" ], "FullCommandName": [ "Get-AzDataProtectionBackupPolicy_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1029,15 +1054,16 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "7d709a90-a383-4a4d-8b47-f2c43cef7eac" ], - "x-ms-correlation-request-id": [ "7d709a90-a383-4a4d-8b47-f2c43cef7eac" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240324T101222Z:7d709a90-a383-4a4d-8b47-f2c43cef7eac" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "0eab2ecf-8c44-44b1-ba6f-25579aec62e3" ], + "x-ms-correlation-request-id": [ "0eab2ecf-8c44-44b1-ba6f-25579aec62e3" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240422T070045Z:0eab2ecf-8c44-44b1-ba6f-25579aec62e3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 59B0E07C4B294E3BB4DB75D0E0D1D89B Ref B: MAA201060516023 Ref C: 2024-03-24T10:12:21Z" ], - "Date": [ "Sun, 24 Mar 2024 10:12:22 GMT" ] + "X-MSEdge-Ref": [ "Ref A: FBFD9C8ECA77435CAEDC8EC44B8EA0DA Ref B: MAA201060514029 Ref C: 2024-04-22T07:00:44Z" ], + "Date": [ "Mon, 22 Apr 2024 07:00:45 GMT" ] }, "ContentHeaders": { "Content-Length": [ "11594" ], diff --git a/src/DataProtection/DataProtection.Autorest/test/New-AzDataProtectionBackupVault.Recording.json b/src/DataProtection/DataProtection.Autorest/test/New-AzDataProtectionBackupVault.Recording.json index 916d47342f2e..24a03322a1de 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-12-01+1": { + "New-AzDataProtectionBackupVault+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault?api-version=2024-04-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-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault?api-version=2024-04-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": { @@ -20,36 +20,36 @@ "Retry-After": [ "10" ], "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault/operationStatus/ZDNhMDFhMGMtYjYzYi00NjcwLTg4MjctMWFjNjlhYzViMWY2OzcyMTc5OTBmLTk3MjEtNDcyYS1iNDI3LWIwZWVmNjhkZDU4Ng==?api-version=2023-12-01\u0026t=638489348841200884\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=Aoi080mFYr3Rb3GXFTpUT5Mkt_pjZlnm5Wu0aIZI_86LF0jn1VkBIK7t55bb7nV7nX6PEUpUTTa9z_MUIciG4zCWSo6C2g8rtXzpg_1LXJ2JRkyHP2bED0KrZ1_Zi8EbtF6m1ooOxEIUePWibmEWdu8StfprCgklndXzoth8jiDV8NWTM-I38XfDSrfnFPqMena6uzMhe8SSg9G7FvaEjX9Z8jqu5uCrcjoLfVYLembOiFXQQVTxiTQnVPYQ4gzuxeT1f_Uj-kl_vPS_kYtluVxFpvli3I4jt7Kt1nd3MRWgv-daUkYfgUMU24YDa-OvBK2_1gmMTZ2nO90-x703Jw\u0026h=uooaaJJ92JLBKSMYWTOkRJKFWp-zSwRuwmFrepjUKqQ" ], - "x-ms-arm-resource-system-data": [ "{\"createdBy\":\"hiaga@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-04-17T07:14:41.4325769Z\",\"lastModifiedBy\":\"hiaga@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-04-17T07:14:41.4325769Z\"}" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault/operationStatus/ZDBiMTQ3OTEtZGQ0Mi00ZTE2LWExZjMtYzNmNTY0NGEwNmM0OzkzYzg5NGU0LWRkMzQtNDkyZC1iZmY5LTY3YjU1OTkzMWMyMg==?api-version=2024-04-01\u0026t=638493074698755896\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=aMYFpqEXrUsMAJ9ZVdCMFbuUckQpDdoz12LajfI4fZfTL3fXHIa3bc613wvMAY5WtsYxXw1xpF6y-9OqOb2t3zcQ3_PstchrAxZnAMH6rtdTa12VbnyqG-Rgm-d2tXJ5FkWCV_s-BZoM7eAF6PUGolw-HoycpsPjN7vWs4RT34CZQKJ3tMl69gnezmlo6BOJOJ5E4c0mgVHBFhs6inuOSFVf9UZmldsM03uzm3GdToTCZUKYJKIIXB-v2v5yOwS2k77oZUJH-o4BDJr6rDlH2ZOu3ZX1vRgDiVLfaljENbUnPGB1mhyrw0kKZY7ED7WS3CAOi74N3EnMon8RZt72Bw\u0026h=c3ys4n5wrdQ3ED8YfQGXBOMFiLn-IYYRoMebWx1oyjg" ], + "x-ms-arm-resource-system-data": [ "{\"createdBy\":\"hiaga@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-04-21T14:44:27.1098734Z\",\"lastModifiedBy\":\"hiaga@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-04-21T14:44:27.1098734Z\"}" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "99" ], - "x-ms-request-id": [ "5761549d-ecd6-46ef-9372-1f4c96b3998e" ], - "x-ms-correlation-request-id": [ "5761549d-ecd6-46ef-9372-1f4c96b3998e" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240417T071444Z:5761549d-ecd6-46ef-9372-1f4c96b3998e" ], + "x-ms-request-id": [ "cd0126a4-3c97-4b4d-bb08-6db135fa61b0" ], + "x-ms-correlation-request-id": [ "cd0126a4-3c97-4b4d-bb08-6db135fa61b0" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T144429Z:cd0126a4-3c97-4b4d-bb08-6db135fa61b0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 576DEA8725704D0091BDB507D3A8A7F8 Ref B: MAA201060514019 Ref C: 2024-04-17T07:14:40Z" ], - "Date": [ "Wed, 17 Apr 2024 07:14:44 GMT" ] + "X-MSEdge-Ref": [ "Ref A: B9D3F7A4B64340D89B7CFA9EDE5003CE Ref B: MAA201060513019 Ref C: 2024-04-21T14:44:25Z" ], + "Date": [ "Sun, 21 Apr 2024 14:44:29 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "689" ], + "Content-Length": [ "716" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"location\":\"centraluseuap\",\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"f4263d33-f11d-4187-8166-b9e8c66e8000\",\"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\"}", + "Content": "{\"location\":\"centraluseuap\",\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"b14cd42a-c62e-4e26-8b83-e92d97b1d06e\",\"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\",\"bcdrSecurityLevel\":\"Poor\",\"replicatedRegions\":[]},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/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/ZDNhMDFhMGMtYjYzYi00NjcwLTg4MjctMWFjNjlhYzViMWY2OzcyMTc5OTBmLTk3MjEtNDcyYS1iNDI3LWIwZWVmNjhkZDU4Ng==?api-version=2023-12-01\u0026t=638489348841200884\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=Aoi080mFYr3Rb3GXFTpUT5Mkt_pjZlnm5Wu0aIZI_86LF0jn1VkBIK7t55bb7nV7nX6PEUpUTTa9z_MUIciG4zCWSo6C2g8rtXzpg_1LXJ2JRkyHP2bED0KrZ1_Zi8EbtF6m1ooOxEIUePWibmEWdu8StfprCgklndXzoth8jiDV8NWTM-I38XfDSrfnFPqMena6uzMhe8SSg9G7FvaEjX9Z8jqu5uCrcjoLfVYLembOiFXQQVTxiTQnVPYQ4gzuxeT1f_Uj-kl_vPS_kYtluVxFpvli3I4jt7Kt1nd3MRWgv-daUkYfgUMU24YDa-OvBK2_1gmMTZ2nO90-x703Jw\u0026h=uooaaJJ92JLBKSMYWTOkRJKFWp-zSwRuwmFrepjUKqQ+2": { + "New-AzDataProtectionBackupVault+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault/operationStatus/ZDBiMTQ3OTEtZGQ0Mi00ZTE2LWExZjMtYzNmNTY0NGEwNmM0OzkzYzg5NGU0LWRkMzQtNDkyZC1iZmY5LTY3YjU1OTkzMWMyMg==?api-version=2024-04-01\u0026t=638493074698755896\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=aMYFpqEXrUsMAJ9ZVdCMFbuUckQpDdoz12LajfI4fZfTL3fXHIa3bc613wvMAY5WtsYxXw1xpF6y-9OqOb2t3zcQ3_PstchrAxZnAMH6rtdTa12VbnyqG-Rgm-d2tXJ5FkWCV_s-BZoM7eAF6PUGolw-HoycpsPjN7vWs4RT34CZQKJ3tMl69gnezmlo6BOJOJ5E4c0mgVHBFhs6inuOSFVf9UZmldsM03uzm3GdToTCZUKYJKIIXB-v2v5yOwS2k77oZUJH-o4BDJr6rDlH2ZOu3ZX1vRgDiVLfaljENbUnPGB1mhyrw0kKZY7ED7WS3CAOi74N3EnMon8RZt72Bw\u0026h=c3ys4n5wrdQ3ED8YfQGXBOMFiLn-IYYRoMebWx1oyjg+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/ZDNhMDFhMGMtYjYzYi00NjcwLTg4MjctMWFjNjlhYzViMWY2OzcyMTc5OTBmLTk3MjEtNDcyYS1iNDI3LWIwZWVmNjhkZDU4Ng==?api-version=2023-12-01\u0026t=638489348841200884\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=Aoi080mFYr3Rb3GXFTpUT5Mkt_pjZlnm5Wu0aIZI_86LF0jn1VkBIK7t55bb7nV7nX6PEUpUTTa9z_MUIciG4zCWSo6C2g8rtXzpg_1LXJ2JRkyHP2bED0KrZ1_Zi8EbtF6m1ooOxEIUePWibmEWdu8StfprCgklndXzoth8jiDV8NWTM-I38XfDSrfnFPqMena6uzMhe8SSg9G7FvaEjX9Z8jqu5uCrcjoLfVYLembOiFXQQVTxiTQnVPYQ4gzuxeT1f_Uj-kl_vPS_kYtluVxFpvli3I4jt7Kt1nd3MRWgv-daUkYfgUMU24YDa-OvBK2_1gmMTZ2nO90-x703Jw\u0026h=uooaaJJ92JLBKSMYWTOkRJKFWp-zSwRuwmFrepjUKqQ", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault/operationStatus/ZDBiMTQ3OTEtZGQ0Mi00ZTE2LWExZjMtYzNmNTY0NGEwNmM0OzkzYzg5NGU0LWRkMzQtNDkyZC1iZmY5LTY3YjU1OTkzMWMyMg==?api-version=2024-04-01\u0026t=638493074698755896\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=aMYFpqEXrUsMAJ9ZVdCMFbuUckQpDdoz12LajfI4fZfTL3fXHIa3bc613wvMAY5WtsYxXw1xpF6y-9OqOb2t3zcQ3_PstchrAxZnAMH6rtdTa12VbnyqG-Rgm-d2tXJ5FkWCV_s-BZoM7eAF6PUGolw-HoycpsPjN7vWs4RT34CZQKJ3tMl69gnezmlo6BOJOJ5E4c0mgVHBFhs6inuOSFVf9UZmldsM03uzm3GdToTCZUKYJKIIXB-v2v5yOwS2k77oZUJH-o4BDJr6rDlH2ZOu3ZX1vRgDiVLfaljENbUnPGB1mhyrw0kKZY7ED7WS3CAOi74N3EnMon8RZt72Bw\u0026h=c3ys4n5wrdQ3ED8YfQGXBOMFiLn-IYYRoMebWx1oyjg", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "abe531b4-f869-4bb8-82be-0e118eff4a43" ], + "x-ms-unique-id": [ "222" ], + "x-ms-client-request-id": [ "e8402ff7-70e0-4f78-9c9d-6ed770da9bcf" ], "CommandName": [ "Az.DataProtection.Internal\\New-AzDataProtectionBackupVault" ], "FullCommandName": [ "New-AzDataProtectionBackupVault_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -66,33 +66,33 @@ "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], - "x-ms-request-id": [ "cc058a0c-3eea-444c-9a34-48d9f03af229" ], - "x-ms-correlation-request-id": [ "cc058a0c-3eea-444c-9a34-48d9f03af229" ], - "x-ms-routing-request-id": [ "CENTRALINDIA:20240417T071455Z:cc058a0c-3eea-444c-9a34-48d9f03af229" ], + "x-ms-request-id": [ "73ee8753-cb72-4c9f-aab7-a0d523cb693d" ], + "x-ms-correlation-request-id": [ "73ee8753-cb72-4c9f-aab7-a0d523cb693d" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240421T144441Z:73ee8753-cb72-4c9f-aab7-a0d523cb693d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 2BDD837E0D8E49E8B9F8E2323E692D0C Ref B: MAA201060514019 Ref C: 2024-04-17T07:14:54Z" ], - "Date": [ "Wed, 17 Apr 2024 07:14:55 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 395D083B55D040218FCECB2381EB811A Ref B: MAA201060513019 Ref C: 2024-04-21T14:44:39Z" ], + "Date": [ "Sun, 21 Apr 2024 14:44:40 GMT" ] }, "ContentHeaders": { "Content-Length": [ "474" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault/operationStatus/ZDNhMDFhMGMtYjYzYi00NjcwLTg4MjctMWFjNjlhYzViMWY2OzcyMTc5OTBmLTk3MjEtNDcyYS1iNDI3LWIwZWVmNjhkZDU4Ng==\",\"name\":\"ZDNhMDFhMGMtYjYzYi00NjcwLTg4MjctMWFjNjlhYzViMWY2OzcyMTc5OTBmLTk3MjEtNDcyYS1iNDI3LWIwZWVmNjhkZDU4Ng==\",\"status\":\"Succeeded\",\"startTime\":\"2024-04-17T07:14:43.5851176Z\",\"endTime\":\"2024-04-17T07:14:44Z\"}", + "Content": "{\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault/operationStatus/ZDBiMTQ3OTEtZGQ0Mi00ZTE2LWExZjMtYzNmNTY0NGEwNmM0OzkzYzg5NGU0LWRkMzQtNDkyZC1iZmY5LTY3YjU1OTkzMWMyMg==\",\"name\":\"ZDBiMTQ3OTEtZGQ0Mi00ZTE2LWExZjMtYzNmNTY0NGEwNmM0OzkzYzg5NGU0LWRkMzQtNDkyZC1iZmY5LTY3YjU1OTkzMWMyMg==\",\"status\":\"Succeeded\",\"startTime\":\"2024-04-21T14:44:29.3915308Z\",\"endTime\":\"2024-04-21T14:44:30Z\"}", "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-12-01+3": { + "New-AzDataProtectionBackupVault+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault?api-version=2024-04-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-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "abe531b4-f869-4bb8-82be-0e118eff4a43" ], + "x-ms-unique-id": [ "223" ], + "x-ms-client-request-id": [ "e8402ff7-70e0-4f78-9c9d-6ed770da9bcf" ], "CommandName": [ "Az.DataProtection.Internal\\New-AzDataProtectionBackupVault" ], "FullCommandName": [ "New-AzDataProtectionBackupVault_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -109,32 +109,32 @@ "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "499" ], - "x-ms-request-id": [ "aec93ec4-8252-4509-a110-566b0e865835" ], - "x-ms-correlation-request-id": [ "aec93ec4-8252-4509-a110-566b0e865835" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240417T071456Z:aec93ec4-8252-4509-a110-566b0e865835" ], + "x-ms-request-id": [ "4bc5ce7f-319a-49b2-814c-5d188ac830e7" ], + "x-ms-correlation-request-id": [ "4bc5ce7f-319a-49b2-814c-5d188ac830e7" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240421T144443Z:4bc5ce7f-319a-49b2-814c-5d188ac830e7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: AB65F5A245A34F7C940B274A7D5FFC82 Ref B: MAA201060514019 Ref C: 2024-04-17T07:14:55Z" ], - "Date": [ "Wed, 17 Apr 2024 07:14:56 GMT" ] + "X-MSEdge-Ref": [ "Ref A: C22C5739B666483DB8D91F5990301CD7 Ref B: MAA201060513019 Ref C: 2024-04-21T14:44:41Z" ], + "Date": [ "Sun, 21 Apr 2024 14:44:42 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "686" ], + "Content-Length": [ "713" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"location\":\"centraluseuap\",\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"f4263d33-f11d-4187-8166-b9e8c66e8000\",\"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\"}", + "Content": "{\"location\":\"centraluseuap\",\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"b14cd42a-c62e-4e26-8b83-e92d97b1d06e\",\"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\",\"bcdrSecurityLevel\":\"Poor\",\"replicatedRegions\":[]},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/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-12-01+4": { + "New-AzDataProtectionBackupVault+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault?api-version=2024-04-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-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "2e4aa9f5-7a50-43de-82d5-9ee2b64b9594" ], + "x-ms-unique-id": [ "224" ], + "x-ms-client-request-id": [ "3a4a79d5-e637-4b49-a347-f32ef778c467" ], "CommandName": [ "Get-AzDataProtectionBackupVault" ], "FullCommandName": [ "Get-AzDataProtectionBackupVault_Get2" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -152,32 +152,32 @@ "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "499" ], - "x-ms-request-id": [ "2cd74850-1c14-448f-b709-7b9fab670bfb" ], - "x-ms-correlation-request-id": [ "2cd74850-1c14-448f-b709-7b9fab670bfb" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240417T071457Z:2cd74850-1c14-448f-b709-7b9fab670bfb" ], + "x-ms-request-id": [ "e09c675a-9dbc-402b-840b-ccdc5a9c3584" ], + "x-ms-correlation-request-id": [ "e09c675a-9dbc-402b-840b-ccdc5a9c3584" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T144444Z:e09c675a-9dbc-402b-840b-ccdc5a9c3584" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: AA37FD0A443840F5B34C85EC9FDBE235 Ref B: MAA201060514019 Ref C: 2024-04-17T07:14:56Z" ], - "Date": [ "Wed, 17 Apr 2024 07:14:57 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 1246FD34126B4283A6F1160954BDEDAD Ref B: MAA201060513019 Ref C: 2024-04-21T14:44:43Z" ], + "Date": [ "Sun, 21 Apr 2024 14:44:43 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "686" ], + "Content-Length": [ "713" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"location\":\"centraluseuap\",\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"f4263d33-f11d-4187-8166-b9e8c66e8000\",\"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\"}", + "Content": "{\"location\":\"centraluseuap\",\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"b14cd42a-c62e-4e26-8b83-e92d97b1d06e\",\"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\",\"bcdrSecurityLevel\":\"Poor\",\"replicatedRegions\":[]},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/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-12-01+5": { + "New-AzDataProtectionBackupVault+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault?api-version=2024-04-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-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "5" ], - "x-ms-client-request-id": [ "2e300621-2106-4fa2-8168-4f5e5c4d03f8" ], + "x-ms-unique-id": [ "225" ], + "x-ms-client-request-id": [ "a0c17ffa-97c3-4851-af6e-d3deba6563fe" ], "CommandName": [ "Remove-AzDataProtectionBackupVault" ], "FullCommandName": [ "Remove-AzDataProtectionBackupVault_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -192,19 +192,19 @@ "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/ZDNhMDFhMGMtYjYzYi00NjcwLTg4MjctMWFjNjlhYzViMWY2OzViNTI4YjNiLWRmOTYtNDE1OS04NWY2LTQ2NDUyOTg2MmQyNw==?api-version=2023-12-01\u0026t=638489349004477802\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=Xv6h19mt9IUrDd5rlhabr6YDGnfJjvurhVrZJ9Jh50nzjMhOeCgR26NnYP5qVJ0cl5Rq3Ucu0ZjsCJo4Q77pg2oAQgRb_jUifc85g2jCn7ZvaTU1SmwjIdO4X81YjGii_xhGndDAXIv8Kunw4jGlnmBpZyxe45vTBmBLahgva2pX6o7JhfoCqFCQFR6_b1clFH07rO5P-z4siUoPE8cpijBem387c71anahAFgFjloe59RY81zDCCKIk5hrL45MQ7Fm4Q6RsslaheKC-D0Jv0EXLu_LSqjO4xpbS6U2g6ZXC7HzLRUG3oIXh3dXxEfxEAMATvKxllQm0aZW3Sq2IaQ\u0026h=E73zR6RZXwKAYyeFBgHsNNgeFKgNy5uqLYFdewUYxSM" ], + "Location": [ "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZDBiMTQ3OTEtZGQ0Mi00ZTE2LWExZjMtYzNmNTY0NGEwNmM0O2RiOTk3MTUzLWI2NDQtNDNiMC04NDY3LTAwNDAyNzM4MDA5OA==?api-version=2024-04-01\u0026t=638493074862987317\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=5k7KOsa5jJPWEemSyVrNktc5Co8QtEsDoOlTZcjlfULuxWd7RrCCmHf3wiqIL8pzd75KKQBnLDL0x1N-jrjn8STxnpAckSZGAM2izmo7VvPq7ky7EoKQeYWgSHfaY67hYiFzkZsDIvLE_5exiQsS3iiO6hGwNnoKT7LeBgNWhFG8rLP-YJ0iJKqr2Q92M4vGalauWBzs4GsnaUVwz80U56KhRcjB7ln8zZ5fnovaS9doXrS8v07zq-dTdnSFcaLC6XwVElBNav49rNJBDbsU2jfLwSz8kOne4Fh51Z7pe_0bwbfCHU1PeZwxYd98ZFkMoADbObQ9GVLOGPqyoPs2-g\u0026h=AiFmzldvmGF-GNl6i8wGdWVmFgLvR16TCz2ib-3eVyU" ], "Retry-After": [ "30" ], "X-Content-Type-Options": [ "nosniff" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/ZDNhMDFhMGMtYjYzYi00NjcwLTg4MjctMWFjNjlhYzViMWY2OzViNTI4YjNiLWRmOTYtNDE1OS04NWY2LTQ2NDUyOTg2MmQyNw==?api-version=2023-12-01\u0026t=638489349004321935\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=v8vEJfM2jPKkglf44EnYrOd4tlOhEZFT9YRU9DriR_duhrnCm5bbrFLhKxwpVxeEOJZcHrGxSwIGtVTNyue3z3StYrOhFjYht1zeV5TW6BTUV9OhMc1VqkwcsrTZNLgNhbH92gIP_KExIY6B8v3_bANSx1fyJPJHIRLXkjHCs7HO-WubhIxj5k9St5ZVDLAbNaLp7PFhiS7NvBLIueGtYgh8EBgCo2Umuv75VliMjNaZvEzBylZJchf-JPfmf6uGkVcfv1UNJyVMdVfZTUPNVfogayAkMTu7BRbs1BwgbzaRASzuDkVwzzhr2DunDbyASAaRe-DNWog7rf1QeVuhHQ\u0026h=MZ-aSvi1WCyHu3xehtxoZfVnOrOIuwGn6lpVsj28CfY" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/ZDBiMTQ3OTEtZGQ0Mi00ZTE2LWExZjMtYzNmNTY0NGEwNmM0O2RiOTk3MTUzLWI2NDQtNDNiMC04NDY3LTAwNDAyNzM4MDA5OA==?api-version=2024-04-01\u0026t=638493074862987317\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=OuPvrU4B7wATG4jrIreD47ruMdly0g_c_QymlMVmrijts2gNMDWmxr70MmDg-FjPcVBMWW0hzMJIeUXP2m-8TtksYkBZsmTFllKcE4SdRdcK54UnkZg5LynWjkb5PEvSo7wdrBDj21Z7HJp1T0EuDLasMMZ0RW8uw9e_69ATE3xmi0ypsZd_-5PxNbpLM9PywFcl78P-civcGYZYsurMInUpi-5HO6wiChE5jKKCHTOU4epAjXRol3W906l0OUBej7JK5P0lMZ8LJgWF0rsZt-f8XV36P_YfyOXhGA9Dk6so2aLKWo3hJzQGWK1iwlyNh4uks-gZ3NpbravONnoaMA\u0026h=hKzp-jD9J4yl1qK9lOikNW8Ed2l2egc5qeS9Qyyz4y4" ], "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "99" ], - "x-ms-request-id": [ "40108be8-a60b-481f-8e45-0080c8cba8fa" ], - "x-ms-correlation-request-id": [ "40108be8-a60b-481f-8e45-0080c8cba8fa" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240417T071500Z:40108be8-a60b-481f-8e45-0080c8cba8fa" ], + "x-ms-request-id": [ "0bc09bf0-768d-4214-939a-94c861e5841c" ], + "x-ms-correlation-request-id": [ "0bc09bf0-768d-4214-939a-94c861e5841c" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T144446Z:0bc09bf0-768d-4214-939a-94c861e5841c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 19A9538CE3534F2A90CB1DEE682C0621 Ref B: MAA201060514019 Ref C: 2024-04-17T07:14:58Z" ], - "Date": [ "Wed, 17 Apr 2024 07:15:00 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 28BC8698E3A14B6EAB29AA9C2949649A Ref B: MAA201060513019 Ref C: 2024-04-21T14:44:44Z" ], + "Date": [ "Sun, 21 Apr 2024 14:44:45 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -214,16 +214,16 @@ "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/ZDNhMDFhMGMtYjYzYi00NjcwLTg4MjctMWFjNjlhYzViMWY2OzViNTI4YjNiLWRmOTYtNDE1OS04NWY2LTQ2NDUyOTg2MmQyNw==?api-version=2023-12-01\u0026t=638489349004321935\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=v8vEJfM2jPKkglf44EnYrOd4tlOhEZFT9YRU9DriR_duhrnCm5bbrFLhKxwpVxeEOJZcHrGxSwIGtVTNyue3z3StYrOhFjYht1zeV5TW6BTUV9OhMc1VqkwcsrTZNLgNhbH92gIP_KExIY6B8v3_bANSx1fyJPJHIRLXkjHCs7HO-WubhIxj5k9St5ZVDLAbNaLp7PFhiS7NvBLIueGtYgh8EBgCo2Umuv75VliMjNaZvEzBylZJchf-JPfmf6uGkVcfv1UNJyVMdVfZTUPNVfogayAkMTu7BRbs1BwgbzaRASzuDkVwzzhr2DunDbyASAaRe-DNWog7rf1QeVuhHQ\u0026h=MZ-aSvi1WCyHu3xehtxoZfVnOrOIuwGn6lpVsj28CfY+6": { + "New-AzDataProtectionBackupVault+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/ZDBiMTQ3OTEtZGQ0Mi00ZTE2LWExZjMtYzNmNTY0NGEwNmM0O2RiOTk3MTUzLWI2NDQtNDNiMC04NDY3LTAwNDAyNzM4MDA5OA==?api-version=2024-04-01\u0026t=638493074862987317\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=OuPvrU4B7wATG4jrIreD47ruMdly0g_c_QymlMVmrijts2gNMDWmxr70MmDg-FjPcVBMWW0hzMJIeUXP2m-8TtksYkBZsmTFllKcE4SdRdcK54UnkZg5LynWjkb5PEvSo7wdrBDj21Z7HJp1T0EuDLasMMZ0RW8uw9e_69ATE3xmi0ypsZd_-5PxNbpLM9PywFcl78P-civcGYZYsurMInUpi-5HO6wiChE5jKKCHTOU4epAjXRol3W906l0OUBej7JK5P0lMZ8LJgWF0rsZt-f8XV36P_YfyOXhGA9Dk6so2aLKWo3hJzQGWK1iwlyNh4uks-gZ3NpbravONnoaMA\u0026h=hKzp-jD9J4yl1qK9lOikNW8Ed2l2egc5qeS9Qyyz4y4+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/ZDNhMDFhMGMtYjYzYi00NjcwLTg4MjctMWFjNjlhYzViMWY2OzViNTI4YjNiLWRmOTYtNDE1OS04NWY2LTQ2NDUyOTg2MmQyNw==?api-version=2023-12-01\u0026t=638489349004321935\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=v8vEJfM2jPKkglf44EnYrOd4tlOhEZFT9YRU9DriR_duhrnCm5bbrFLhKxwpVxeEOJZcHrGxSwIGtVTNyue3z3StYrOhFjYht1zeV5TW6BTUV9OhMc1VqkwcsrTZNLgNhbH92gIP_KExIY6B8v3_bANSx1fyJPJHIRLXkjHCs7HO-WubhIxj5k9St5ZVDLAbNaLp7PFhiS7NvBLIueGtYgh8EBgCo2Umuv75VliMjNaZvEzBylZJchf-JPfmf6uGkVcfv1UNJyVMdVfZTUPNVfogayAkMTu7BRbs1BwgbzaRASzuDkVwzzhr2DunDbyASAaRe-DNWog7rf1QeVuhHQ\u0026h=MZ-aSvi1WCyHu3xehtxoZfVnOrOIuwGn6lpVsj28CfY", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/ZDBiMTQ3OTEtZGQ0Mi00ZTE2LWExZjMtYzNmNTY0NGEwNmM0O2RiOTk3MTUzLWI2NDQtNDNiMC04NDY3LTAwNDAyNzM4MDA5OA==?api-version=2024-04-01\u0026t=638493074862987317\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=OuPvrU4B7wATG4jrIreD47ruMdly0g_c_QymlMVmrijts2gNMDWmxr70MmDg-FjPcVBMWW0hzMJIeUXP2m-8TtksYkBZsmTFllKcE4SdRdcK54UnkZg5LynWjkb5PEvSo7wdrBDj21Z7HJp1T0EuDLasMMZ0RW8uw9e_69ATE3xmi0ypsZd_-5PxNbpLM9PywFcl78P-civcGYZYsurMInUpi-5HO6wiChE5jKKCHTOU4epAjXRol3W906l0OUBej7JK5P0lMZ8LJgWF0rsZt-f8XV36P_YfyOXhGA9Dk6so2aLKWo3hJzQGWK1iwlyNh4uks-gZ3NpbravONnoaMA\u0026h=hKzp-jD9J4yl1qK9lOikNW8Ed2l2egc5qeS9Qyyz4y4", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "6" ], - "x-ms-client-request-id": [ "2e300621-2106-4fa2-8168-4f5e5c4d03f8" ], + "x-ms-unique-id": [ "226" ], + "x-ms-client-request-id": [ "a0c17ffa-97c3-4851-af6e-d3deba6563fe" ], "CommandName": [ "Remove-AzDataProtectionBackupVault" ], "FullCommandName": [ "Remove-AzDataProtectionBackupVault_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -240,33 +240,33 @@ "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "14999" ], - "x-ms-request-id": [ "4170c7d3-045f-47e3-887c-939276a48283" ], - "x-ms-correlation-request-id": [ "4170c7d3-045f-47e3-887c-939276a48283" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240417T071531Z:4170c7d3-045f-47e3-887c-939276a48283" ], + "x-ms-request-id": [ "4163dcb6-9d39-44d0-bd09-92832a6b1fd7" ], + "x-ms-correlation-request-id": [ "4163dcb6-9d39-44d0-bd09-92832a6b1fd7" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T144517Z:4163dcb6-9d39-44d0-bd09-92832a6b1fd7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: EC2C2F0EC06A4A58A9905CFD78037C6B Ref B: MAA201060514019 Ref C: 2024-04-17T07:15:30Z" ], - "Date": [ "Wed, 17 Apr 2024 07:15:31 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 0BD5BE2E9C7F4561B5F63BDE42D56E7E Ref B: MAA201060513019 Ref C: 2024-04-21T14:45:16Z" ], + "Date": [ "Sun, 21 Apr 2024 14:45:16 GMT" ] }, "ContentHeaders": { "Content-Length": [ "468" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/ZDNhMDFhMGMtYjYzYi00NjcwLTg4MjctMWFjNjlhYzViMWY2OzViNTI4YjNiLWRmOTYtNDE1OS04NWY2LTQ2NDUyOTg2MmQyNw==\",\"name\":\"ZDNhMDFhMGMtYjYzYi00NjcwLTg4MjctMWFjNjlhYzViMWY2OzViNTI4YjNiLWRmOTYtNDE1OS04NWY2LTQ2NDUyOTg2MmQyNw==\",\"status\":\"Succeeded\",\"startTime\":\"2024-04-17T07:15:00.2569919Z\",\"endTime\":\"2024-04-17T07:15:00Z\"}", + "Content": "{\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/ZDBiMTQ3OTEtZGQ0Mi00ZTE2LWExZjMtYzNmNTY0NGEwNmM0O2RiOTk3MTUzLWI2NDQtNDNiMC04NDY3LTAwNDAyNzM4MDA5OA==\",\"name\":\"ZDBiMTQ3OTEtZGQ0Mi00ZTE2LWExZjMtYzNmNTY0NGEwNmM0O2RiOTk3MTUzLWI2NDQtNDNiMC04NDY3LTAwNDAyNzM4MDA5OA==\",\"status\":\"Succeeded\",\"startTime\":\"2024-04-21T14:44:46.1034999Z\",\"endTime\":\"2024-04-21T14:44:46Z\"}", "isContentBase64": false } }, - "New-AzDataProtectionBackupVault+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZDNhMDFhMGMtYjYzYi00NjcwLTg4MjctMWFjNjlhYzViMWY2OzViNTI4YjNiLWRmOTYtNDE1OS04NWY2LTQ2NDUyOTg2MmQyNw==?api-version=2023-12-01\u0026t=638489349004477802\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=Xv6h19mt9IUrDd5rlhabr6YDGnfJjvurhVrZJ9Jh50nzjMhOeCgR26NnYP5qVJ0cl5Rq3Ucu0ZjsCJo4Q77pg2oAQgRb_jUifc85g2jCn7ZvaTU1SmwjIdO4X81YjGii_xhGndDAXIv8Kunw4jGlnmBpZyxe45vTBmBLahgva2pX6o7JhfoCqFCQFR6_b1clFH07rO5P-z4siUoPE8cpijBem387c71anahAFgFjloe59RY81zDCCKIk5hrL45MQ7Fm4Q6RsslaheKC-D0Jv0EXLu_LSqjO4xpbS6U2g6ZXC7HzLRUG3oIXh3dXxEfxEAMATvKxllQm0aZW3Sq2IaQ\u0026h=E73zR6RZXwKAYyeFBgHsNNgeFKgNy5uqLYFdewUYxSM+7": { + "New-AzDataProtectionBackupVault+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZDBiMTQ3OTEtZGQ0Mi00ZTE2LWExZjMtYzNmNTY0NGEwNmM0O2RiOTk3MTUzLWI2NDQtNDNiMC04NDY3LTAwNDAyNzM4MDA5OA==?api-version=2024-04-01\u0026t=638493074862987317\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=5k7KOsa5jJPWEemSyVrNktc5Co8QtEsDoOlTZcjlfULuxWd7RrCCmHf3wiqIL8pzd75KKQBnLDL0x1N-jrjn8STxnpAckSZGAM2izmo7VvPq7ky7EoKQeYWgSHfaY67hYiFzkZsDIvLE_5exiQsS3iiO6hGwNnoKT7LeBgNWhFG8rLP-YJ0iJKqr2Q92M4vGalauWBzs4GsnaUVwz80U56KhRcjB7ln8zZ5fnovaS9doXrS8v07zq-dTdnSFcaLC6XwVElBNav49rNJBDbsU2jfLwSz8kOne4Fh51Z7pe_0bwbfCHU1PeZwxYd98ZFkMoADbObQ9GVLOGPqyoPs2-g\u0026h=AiFmzldvmGF-GNl6i8wGdWVmFgLvR16TCz2ib-3eVyU+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZDNhMDFhMGMtYjYzYi00NjcwLTg4MjctMWFjNjlhYzViMWY2OzViNTI4YjNiLWRmOTYtNDE1OS04NWY2LTQ2NDUyOTg2MmQyNw==?api-version=2023-12-01\u0026t=638489349004477802\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=Xv6h19mt9IUrDd5rlhabr6YDGnfJjvurhVrZJ9Jh50nzjMhOeCgR26NnYP5qVJ0cl5Rq3Ucu0ZjsCJo4Q77pg2oAQgRb_jUifc85g2jCn7ZvaTU1SmwjIdO4X81YjGii_xhGndDAXIv8Kunw4jGlnmBpZyxe45vTBmBLahgva2pX6o7JhfoCqFCQFR6_b1clFH07rO5P-z4siUoPE8cpijBem387c71anahAFgFjloe59RY81zDCCKIk5hrL45MQ7Fm4Q6RsslaheKC-D0Jv0EXLu_LSqjO4xpbS6U2g6ZXC7HzLRUG3oIXh3dXxEfxEAMATvKxllQm0aZW3Sq2IaQ\u0026h=E73zR6RZXwKAYyeFBgHsNNgeFKgNy5uqLYFdewUYxSM", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZDBiMTQ3OTEtZGQ0Mi00ZTE2LWExZjMtYzNmNTY0NGEwNmM0O2RiOTk3MTUzLWI2NDQtNDNiMC04NDY3LTAwNDAyNzM4MDA5OA==?api-version=2024-04-01\u0026t=638493074862987317\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=5k7KOsa5jJPWEemSyVrNktc5Co8QtEsDoOlTZcjlfULuxWd7RrCCmHf3wiqIL8pzd75KKQBnLDL0x1N-jrjn8STxnpAckSZGAM2izmo7VvPq7ky7EoKQeYWgSHfaY67hYiFzkZsDIvLE_5exiQsS3iiO6hGwNnoKT7LeBgNWhFG8rLP-YJ0iJKqr2Q92M4vGalauWBzs4GsnaUVwz80U56KhRcjB7ln8zZ5fnovaS9doXrS8v07zq-dTdnSFcaLC6XwVElBNav49rNJBDbsU2jfLwSz8kOne4Fh51Z7pe_0bwbfCHU1PeZwxYd98ZFkMoADbObQ9GVLOGPqyoPs2-g\u0026h=AiFmzldvmGF-GNl6i8wGdWVmFgLvR16TCz2ib-3eVyU", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "7" ], - "x-ms-client-request-id": [ "2e300621-2106-4fa2-8168-4f5e5c4d03f8" ], + "x-ms-unique-id": [ "227" ], + "x-ms-client-request-id": [ "a0c17ffa-97c3-4851-af6e-d3deba6563fe" ], "CommandName": [ "Remove-AzDataProtectionBackupVault" ], "FullCommandName": [ "Remove-AzDataProtectionBackupVault_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -283,15 +283,15 @@ "Retry-After": [ "30" ], "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/ZDNhMDFhMGMtYjYzYi00NjcwLTg4MjctMWFjNjlhYzViMWY2OzViNTI4YjNiLWRmOTYtNDE1OS04NWY2LTQ2NDUyOTg2MmQyNw==?api-version=2023-12-01\u0026t=638489349327823725\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=3smKlynOtYiZGNcdq3JwIINx6mD6jB11wwHBeA0xiO89xLG0CcDFn73xnD3m6k7MZs2xUr7KcdfOgLhf1yi8rA0DTCrDyzoGU9ktdTgrlwYZyg0-vseGr2zdsOBKKluXfT6COLhicXUCA2bOPPHCWWlhBl5kJAB7ya_qwCFgHumUV4D89Ju3A0y5qXnV19m_o4I7Lw_dxkPBBvRqAyBl6Vih_rTfn49Qqovaq-Of4JFvpVAhMTjOkdZkgTn9XhNOohbJ_GrkqsdCx19xBfDE9s6nEH-rK3xyhOHUuMi_8HO-FzgvpeJV4ulNlqQCWlanqfPsnEdK1kOpBiBOIR2seg\u0026h=Mqx4cOTm-bO45RHWUqu6BsIoHxLcioe9Gux3g7C6D-A" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/ZDBiMTQ3OTEtZGQ0Mi00ZTE2LWExZjMtYzNmNTY0NGEwNmM0O2RiOTk3MTUzLWI2NDQtNDNiMC04NDY3LTAwNDAyNzM4MDA5OA==?api-version=2024-04-01\u0026t=638493075181534462\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=lF_PyiA1-8Qlqiv2pZy4ZDJQrOjAr2JEZGznXCeXJ3O1Me4pZp5QxuY1r7RylvThFe8rx5tFHwdJp82jcyDllyYoftpPdmgS3-7nK3E51EVSVhndFd2FcoSNi4wCG2M8i1A8CNA26QKKGtLjGpumR347-vADWEfQTimWAkL9btY13qMbzM7faLlFeW4IvA46JloC49gSJPm9sPydhMvAH-MkpfK0JV3JuSBRycX7lYhVBvgRsg599mRIWriu_FGOXrHVsw38koZZtbw2JP2mdRTTwfI17-Q99wpRpMeFh7m3ftFtssLlVnNrz8UveKh9AHsCTAa9idLPC5sRGIXWqQ\u0026h=h1criUfrrOf1nqdakRE5tJ68nSCd604oCmNiqfEj93Q" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "73423cc7-b131-4d9c-b0fc-9927c354cbf9" ], - "x-ms-correlation-request-id": [ "73423cc7-b131-4d9c-b0fc-9927c354cbf9" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240417T071532Z:73423cc7-b131-4d9c-b0fc-9927c354cbf9" ], + "x-ms-request-id": [ "7e4d261a-6b8d-4585-9ec1-4d78cc2646a2" ], + "x-ms-correlation-request-id": [ "7e4d261a-6b8d-4585-9ec1-4d78cc2646a2" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T144518Z:7e4d261a-6b8d-4585-9ec1-4d78cc2646a2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 8879D37EC5604BD88B01336B19715051 Ref B: MAA201060514019 Ref C: 2024-04-17T07:15:31Z" ], - "Date": [ "Wed, 17 Apr 2024 07:15:32 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 7297065E4C3B4667A95F5AABF7334864 Ref B: MAA201060513019 Ref C: 2024-04-21T14:45:17Z" ], + "Date": [ "Sun, 21 Apr 2024 14:45:17 GMT" ] }, "ContentHeaders": { "Content-Length": [ "41" ], @@ -302,10 +302,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/csr-pstest-vault?api-version=2023-12-01+1": { + "New-AzDataProtectionBackupVault+[NoContext]+ImmutabilityCSRSoftDelete+$PUT+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/csr-pstest-vault?api-version=2024-04-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/csr-pstest-vault?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/csr-pstest-vault?api-version=2024-04-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": { @@ -323,36 +323,36 @@ "Retry-After": [ "10" ], "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/csr-pstest-vault/operationStatus/ZjAxN2IyZjYtOTIxMi00MGI5LWIyMDUtNDZjZWQ5YmRlZTcyOzM2OGZmZjMwLWQyY2QtNGY3NS04YWQyLWRmMWFhMzhmNjRiZg==?api-version=2023-12-01\u0026t=638489349366805699\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=K0HMVuziKsT7OpuueaGBC60_GqYMHwaFbwPCBGfOsSYirnO7lZyNFH0vPWLbHiLY1v_cnpvKdhAPIn-18u1b7N_I51fiZbVXBHRfTx-vIysQABxAsZ30yrho01bqyY2ntfB84YdIhCJSZEyrwu5HVcR1RP8ilQSWIAp0-278Kgk0flQ8ghwWPd3456vekRNwMV1566YlMwm1f6Y3uhXNLorVmvC55gPCkEarTS2ZQWmKMIijyAygIXAZZzhpkW-d_q0v07TtEgf--oeh6ip3TmpPY61ZKVTE2JgHEG-sUCH21c02xcjYugCKoS_O7NbT5mCOEd5k2Mm2CJW1oHD5HQ\u0026h=9-kSubGT5Hy3JyyWbPTT7YM3q73d6k3RiaSYlZ7qiQc" ], - "x-ms-arm-resource-system-data": [ "{\"createdBy\":\"hiaga@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-04-17T07:15:34.1180582Z\",\"lastModifiedBy\":\"hiaga@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-04-17T07:15:34.1180582Z\"}" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/csr-pstest-vault/operationStatus/MTk2MjkxNDgtMTUzMS00NDA5LWJkNTYtMTQ3NmExYWRhZDQ3OzQ1MWMzNzQzLWMyMWYtNGEzYS1iZTk2LWU2YWNiYTMyOWU2Ng==?api-version=2024-04-01\u0026t=638493075220615546\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=cbjNtsKW-QCAEYtQR56Or3apv8WieZh9m6K3zkrnIaqwcGXpmt3f7KVyfYyO1qU0GS3qYEudYpoisZ2zlC3k8yFu7MQvymcJopa6vaQOy5FKmkJpXVFWU7Qqoxvqz7-onAN8UsysW3VvPm7LzBTL5FXrHolGLHI6UXLgsNe3RchyO6dRNMY2kKJKbkcZqUrWQy_q17cq780pinwTHAMif-JIEy-Njf-N6tQC8tG1i9ppjc8jAYqLP3CA2YtwUJprC9ljJOQPTG-6RgN3FNdaMSUVw0wfFgz6JR-Obsr3ZMFMJiGDAwiJ87LL44v8FZqAJTHeS-jrGiQA__n79yOUJg\u0026h=U9h_OYLEvrRq_N7MEuZtGyUW4f36R5VkC0YATMjlwxk" ], + "x-ms-arm-resource-system-data": [ "{\"createdBy\":\"hiaga@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-04-21T14:45:19.5613853Z\",\"lastModifiedBy\":\"hiaga@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-04-21T14:45:19.5613853Z\"}" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "99" ], - "x-ms-request-id": [ "5dedec80-207a-47de-b56c-b6d1368f4c97" ], - "x-ms-correlation-request-id": [ "5dedec80-207a-47de-b56c-b6d1368f4c97" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240417T071536Z:5dedec80-207a-47de-b56c-b6d1368f4c97" ], + "x-ms-request-id": [ "2ab8e3d0-0771-4f2a-bce8-bbc0f7422e47" ], + "x-ms-correlation-request-id": [ "2ab8e3d0-0771-4f2a-bce8-bbc0f7422e47" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T144522Z:2ab8e3d0-0771-4f2a-bce8-bbc0f7422e47" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 0E62822074EB49ABB45BC6A037DDB179 Ref B: MAA201060514019 Ref C: 2024-04-17T07:15:32Z" ], - "Date": [ "Wed, 17 Apr 2024 07:15:36 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 3302EC65E315402A81A3384CE88F6408 Ref B: MAA201060513019 Ref C: 2024-04-21T14:45:18Z" ], + "Date": [ "Sun, 21 Apr 2024 14:45:21 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "812" ], + "Content-Length": [ "839" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"location\":\"centraluseuap\",\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"6321ee99-d0fd-46f7-8361-4d17b5882b72\",\"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/csr-pstest-vault\",\"name\":\"csr-pstest-vault\",\"type\":\"Microsoft.DataProtection/backupVaults\"}", + "Content": "{\"location\":\"centraluseuap\",\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"26047ddf-8dbf-4a4e-b79c-0a917f988282\",\"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\",\"bcdrSecurityLevel\":\"Fair\",\"replicatedRegions\":[]},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/csr-pstest-vault\",\"name\":\"csr-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/csr-pstest-vault/operationStatus/ZjAxN2IyZjYtOTIxMi00MGI5LWIyMDUtNDZjZWQ5YmRlZTcyOzM2OGZmZjMwLWQyY2QtNGY3NS04YWQyLWRmMWFhMzhmNjRiZg==?api-version=2023-12-01\u0026t=638489349366805699\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=K0HMVuziKsT7OpuueaGBC60_GqYMHwaFbwPCBGfOsSYirnO7lZyNFH0vPWLbHiLY1v_cnpvKdhAPIn-18u1b7N_I51fiZbVXBHRfTx-vIysQABxAsZ30yrho01bqyY2ntfB84YdIhCJSZEyrwu5HVcR1RP8ilQSWIAp0-278Kgk0flQ8ghwWPd3456vekRNwMV1566YlMwm1f6Y3uhXNLorVmvC55gPCkEarTS2ZQWmKMIijyAygIXAZZzhpkW-d_q0v07TtEgf--oeh6ip3TmpPY61ZKVTE2JgHEG-sUCH21c02xcjYugCKoS_O7NbT5mCOEd5k2Mm2CJW1oHD5HQ\u0026h=9-kSubGT5Hy3JyyWbPTT7YM3q73d6k3RiaSYlZ7qiQc+2": { + "New-AzDataProtectionBackupVault+[NoContext]+ImmutabilityCSRSoftDelete+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/csr-pstest-vault/operationStatus/MTk2MjkxNDgtMTUzMS00NDA5LWJkNTYtMTQ3NmExYWRhZDQ3OzQ1MWMzNzQzLWMyMWYtNGEzYS1iZTk2LWU2YWNiYTMyOWU2Ng==?api-version=2024-04-01\u0026t=638493075220615546\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=cbjNtsKW-QCAEYtQR56Or3apv8WieZh9m6K3zkrnIaqwcGXpmt3f7KVyfYyO1qU0GS3qYEudYpoisZ2zlC3k8yFu7MQvymcJopa6vaQOy5FKmkJpXVFWU7Qqoxvqz7-onAN8UsysW3VvPm7LzBTL5FXrHolGLHI6UXLgsNe3RchyO6dRNMY2kKJKbkcZqUrWQy_q17cq780pinwTHAMif-JIEy-Njf-N6tQC8tG1i9ppjc8jAYqLP3CA2YtwUJprC9ljJOQPTG-6RgN3FNdaMSUVw0wfFgz6JR-Obsr3ZMFMJiGDAwiJ87LL44v8FZqAJTHeS-jrGiQA__n79yOUJg\u0026h=U9h_OYLEvrRq_N7MEuZtGyUW4f36R5VkC0YATMjlwxk+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/csr-pstest-vault/operationStatus/ZjAxN2IyZjYtOTIxMi00MGI5LWIyMDUtNDZjZWQ5YmRlZTcyOzM2OGZmZjMwLWQyY2QtNGY3NS04YWQyLWRmMWFhMzhmNjRiZg==?api-version=2023-12-01\u0026t=638489349366805699\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=K0HMVuziKsT7OpuueaGBC60_GqYMHwaFbwPCBGfOsSYirnO7lZyNFH0vPWLbHiLY1v_cnpvKdhAPIn-18u1b7N_I51fiZbVXBHRfTx-vIysQABxAsZ30yrho01bqyY2ntfB84YdIhCJSZEyrwu5HVcR1RP8ilQSWIAp0-278Kgk0flQ8ghwWPd3456vekRNwMV1566YlMwm1f6Y3uhXNLorVmvC55gPCkEarTS2ZQWmKMIijyAygIXAZZzhpkW-d_q0v07TtEgf--oeh6ip3TmpPY61ZKVTE2JgHEG-sUCH21c02xcjYugCKoS_O7NbT5mCOEd5k2Mm2CJW1oHD5HQ\u0026h=9-kSubGT5Hy3JyyWbPTT7YM3q73d6k3RiaSYlZ7qiQc", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/csr-pstest-vault/operationStatus/MTk2MjkxNDgtMTUzMS00NDA5LWJkNTYtMTQ3NmExYWRhZDQ3OzQ1MWMzNzQzLWMyMWYtNGEzYS1iZTk2LWU2YWNiYTMyOWU2Ng==?api-version=2024-04-01\u0026t=638493075220615546\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=cbjNtsKW-QCAEYtQR56Or3apv8WieZh9m6K3zkrnIaqwcGXpmt3f7KVyfYyO1qU0GS3qYEudYpoisZ2zlC3k8yFu7MQvymcJopa6vaQOy5FKmkJpXVFWU7Qqoxvqz7-onAN8UsysW3VvPm7LzBTL5FXrHolGLHI6UXLgsNe3RchyO6dRNMY2kKJKbkcZqUrWQy_q17cq780pinwTHAMif-JIEy-Njf-N6tQC8tG1i9ppjc8jAYqLP3CA2YtwUJprC9ljJOQPTG-6RgN3FNdaMSUVw0wfFgz6JR-Obsr3ZMFMJiGDAwiJ87LL44v8FZqAJTHeS-jrGiQA__n79yOUJg\u0026h=U9h_OYLEvrRq_N7MEuZtGyUW4f36R5VkC0YATMjlwxk", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "9" ], - "x-ms-client-request-id": [ "42311bb6-5f55-46e1-ad08-114d891e5e49" ], + "x-ms-unique-id": [ "229" ], + "x-ms-client-request-id": [ "52a9f0d8-d3ac-46cd-b2d1-6246120ffd47" ], "CommandName": [ "Az.DataProtection.Internal\\New-AzDataProtectionBackupVault" ], "FullCommandName": [ "New-AzDataProtectionBackupVault_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -369,33 +369,33 @@ "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], - "x-ms-request-id": [ "f331f40f-8dea-4479-9d75-c1a23bbceb2e" ], - "x-ms-correlation-request-id": [ "f331f40f-8dea-4479-9d75-c1a23bbceb2e" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240417T071547Z:f331f40f-8dea-4479-9d75-c1a23bbceb2e" ], + "x-ms-request-id": [ "ca162896-168b-4b1e-a74d-24d2dd9d233b" ], + "x-ms-correlation-request-id": [ "ca162896-168b-4b1e-a74d-24d2dd9d233b" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T144533Z:ca162896-168b-4b1e-a74d-24d2dd9d233b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 7B75F820058C4192AE0CA78BA2330D10 Ref B: MAA201060514019 Ref C: 2024-04-17T07:15:46Z" ], - "Date": [ "Wed, 17 Apr 2024 07:15:47 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 0AB1B55C90E347508CEF04613975B49E Ref B: MAA201060513019 Ref C: 2024-04-21T14:45:32Z" ], + "Date": [ "Sun, 21 Apr 2024 14:45:32 GMT" ] }, "ContentHeaders": { "Content-Length": [ "474" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/csr-pstest-vault/operationStatus/ZjAxN2IyZjYtOTIxMi00MGI5LWIyMDUtNDZjZWQ5YmRlZTcyOzM2OGZmZjMwLWQyY2QtNGY3NS04YWQyLWRmMWFhMzhmNjRiZg==\",\"name\":\"ZjAxN2IyZjYtOTIxMi00MGI5LWIyMDUtNDZjZWQ5YmRlZTcyOzM2OGZmZjMwLWQyY2QtNGY3NS04YWQyLWRmMWFhMzhmNjRiZg==\",\"status\":\"Succeeded\",\"startTime\":\"2024-04-17T07:15:36.2183342Z\",\"endTime\":\"2024-04-17T07:15:36Z\"}", + "Content": "{\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/csr-pstest-vault/operationStatus/MTk2MjkxNDgtMTUzMS00NDA5LWJkNTYtMTQ3NmExYWRhZDQ3OzQ1MWMzNzQzLWMyMWYtNGEzYS1iZTk2LWU2YWNiYTMyOWU2Ng==\",\"name\":\"MTk2MjkxNDgtMTUzMS00NDA5LWJkNTYtMTQ3NmExYWRhZDQ3OzQ1MWMzNzQzLWMyMWYtNGEzYS1iZTk2LWU2YWNiYTMyOWU2Ng==\",\"status\":\"Succeeded\",\"startTime\":\"2024-04-21T14:45:21.5867432Z\",\"endTime\":\"2024-04-21T14:45:22Z\"}", "isContentBase64": false } }, - "New-AzDataProtectionBackupVault+[NoContext]+ImmutabilityCSRSoftDelete+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/csr-pstest-vault?api-version=2023-12-01+3": { + "New-AzDataProtectionBackupVault+[NoContext]+ImmutabilityCSRSoftDelete+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/csr-pstest-vault?api-version=2024-04-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/csr-pstest-vault?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/csr-pstest-vault?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "10" ], - "x-ms-client-request-id": [ "42311bb6-5f55-46e1-ad08-114d891e5e49" ], + "x-ms-unique-id": [ "230" ], + "x-ms-client-request-id": [ "52a9f0d8-d3ac-46cd-b2d1-6246120ffd47" ], "CommandName": [ "Az.DataProtection.Internal\\New-AzDataProtectionBackupVault" ], "FullCommandName": [ "New-AzDataProtectionBackupVault_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -412,32 +412,32 @@ "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "499" ], - "x-ms-request-id": [ "795ca120-d648-4abe-9fac-f278144abfd2" ], - "x-ms-correlation-request-id": [ "795ca120-d648-4abe-9fac-f278144abfd2" ], - "x-ms-routing-request-id": [ "CENTRALINDIA:20240417T071549Z:795ca120-d648-4abe-9fac-f278144abfd2" ], + "x-ms-request-id": [ "87d6b82c-faf1-47df-868a-5391b03ab89d" ], + "x-ms-correlation-request-id": [ "87d6b82c-faf1-47df-868a-5391b03ab89d" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T144534Z:87d6b82c-faf1-47df-868a-5391b03ab89d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: A64C2724C362404FBD09EF6F42677284 Ref B: MAA201060514019 Ref C: 2024-04-17T07:15:47Z" ], - "Date": [ "Wed, 17 Apr 2024 07:15:49 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 22CCB453892349149D440D985AF713E1 Ref B: MAA201060513019 Ref C: 2024-04-21T14:45:33Z" ], + "Date": [ "Sun, 21 Apr 2024 14:45:33 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "809" ], + "Content-Length": [ "836" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"location\":\"centraluseuap\",\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"6321ee99-d0fd-46f7-8361-4d17b5882b72\",\"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/csr-pstest-vault\",\"name\":\"csr-pstest-vault\",\"type\":\"Microsoft.DataProtection/backupVaults\"}", + "Content": "{\"location\":\"centraluseuap\",\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"26047ddf-8dbf-4a4e-b79c-0a917f988282\",\"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\",\"bcdrSecurityLevel\":\"Fair\",\"replicatedRegions\":[]},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/csr-pstest-vault\",\"name\":\"csr-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/csr-pstest-vault?api-version=2023-12-01+4": { + "New-AzDataProtectionBackupVault+[NoContext]+ImmutabilityCSRSoftDelete+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/csr-pstest-vault?api-version=2024-04-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/csr-pstest-vault?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/csr-pstest-vault?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "11" ], - "x-ms-client-request-id": [ "72a396b3-d763-4428-b782-b2d92b3539a1" ], + "x-ms-unique-id": [ "231" ], + "x-ms-client-request-id": [ "e0491e17-38a2-4278-aafe-18fbda32e27d" ], "CommandName": [ "Get-AzDataProtectionBackupVault" ], "FullCommandName": [ "Get-AzDataProtectionBackupVault_Get2" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -455,27 +455,27 @@ "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "499" ], - "x-ms-request-id": [ "e19f6966-a321-4aef-94b3-f629391e78ea" ], - "x-ms-correlation-request-id": [ "e19f6966-a321-4aef-94b3-f629391e78ea" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240417T071550Z:e19f6966-a321-4aef-94b3-f629391e78ea" ], + "x-ms-request-id": [ "fbbd6a7e-7d4f-4f0c-94fb-9743fc610d0e" ], + "x-ms-correlation-request-id": [ "fbbd6a7e-7d4f-4f0c-94fb-9743fc610d0e" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T144535Z:fbbd6a7e-7d4f-4f0c-94fb-9743fc610d0e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 40F3F1EB17A044AFA031BBD362EF928A Ref B: MAA201060514019 Ref C: 2024-04-17T07:15:49Z" ], - "Date": [ "Wed, 17 Apr 2024 07:15:50 GMT" ] + "X-MSEdge-Ref": [ "Ref A: AF19FEC410D64FF290E62E39D81A1232 Ref B: MAA201060513019 Ref C: 2024-04-21T14:45:34Z" ], + "Date": [ "Sun, 21 Apr 2024 14:45:35 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "809" ], + "Content-Length": [ "836" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"location\":\"centraluseuap\",\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"6321ee99-d0fd-46f7-8361-4d17b5882b72\",\"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/csr-pstest-vault\",\"name\":\"csr-pstest-vault\",\"type\":\"Microsoft.DataProtection/backupVaults\"}", + "Content": "{\"location\":\"centraluseuap\",\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"26047ddf-8dbf-4a4e-b79c-0a917f988282\",\"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\",\"bcdrSecurityLevel\":\"Fair\",\"replicatedRegions\":[]},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/csr-pstest-vault\",\"name\":\"csr-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/csr-pstest-vault?api-version=2023-12-01+5": { + "New-AzDataProtectionBackupVault+[NoContext]+ImmutabilityCSRSoftDelete+$PATCH+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/csr-pstest-vault?api-version=2024-04-01+5": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/csr-pstest-vault?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/csr-pstest-vault?api-version=2024-04-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": { @@ -492,34 +492,34 @@ "Pragma": [ "no-cache" ], "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-arm-resource-system-data": [ "{\"lastModifiedBy\":\"hiaga@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-04-17T07:15:51.044713Z\"}" ], + "x-ms-arm-resource-system-data": [ "{\"lastModifiedBy\":\"hiaga@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-04-21T14:45:37.6712151Z\"}" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "99" ], - "x-ms-request-id": [ "395ac608-57e9-4136-8180-e7307f351dea" ], - "x-ms-correlation-request-id": [ "395ac608-57e9-4136-8180-e7307f351dea" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240417T071551Z:395ac608-57e9-4136-8180-e7307f351dea" ], + "x-ms-request-id": [ "de0122f5-bdf8-4597-a1f1-1ed81882dd3a" ], + "x-ms-correlation-request-id": [ "de0122f5-bdf8-4597-a1f1-1ed81882dd3a" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T144538Z:de0122f5-bdf8-4597-a1f1-1ed81882dd3a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 1312CD54CEE043099907F03EA643691A Ref B: MAA201060514019 Ref C: 2024-04-17T07:15:50Z" ], - "Date": [ "Wed, 17 Apr 2024 07:15:51 GMT" ] + "X-MSEdge-Ref": [ "Ref A: D10A429028EE4A13BEDE1A7BAB742B89 Ref B: MAA201060513019 Ref C: 2024-04-21T14:45:35Z" ], + "Date": [ "Sun, 21 Apr 2024 14:45:37 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "807" ], + "Content-Length": [ "834" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"location\":\"centraluseuap\",\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"6321ee99-d0fd-46f7-8361-4d17b5882b72\",\"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/csr-pstest-vault\",\"name\":\"csr-pstest-vault\",\"type\":\"Microsoft.DataProtection/backupVaults\"}", + "Content": "{\"location\":\"centraluseuap\",\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"26047ddf-8dbf-4a4e-b79c-0a917f988282\",\"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\",\"bcdrSecurityLevel\":\"Poor\",\"replicatedRegions\":[]},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/csr-pstest-vault\",\"name\":\"csr-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/csr-pstest-vault?api-version=2023-12-01+6": { + "New-AzDataProtectionBackupVault+[NoContext]+ImmutabilityCSRSoftDelete+$DELETE+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/csr-pstest-vault?api-version=2024-04-01+6": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/csr-pstest-vault?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/csr-pstest-vault?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "13" ], - "x-ms-client-request-id": [ "74c54014-0230-48e9-aa00-95e9f0c771f9" ], + "x-ms-unique-id": [ "233" ], + "x-ms-client-request-id": [ "592346cc-cd36-4e12-9d92-cb5fd1098de1" ], "CommandName": [ "Remove-AzDataProtectionBackupVault" ], "FullCommandName": [ "Remove-AzDataProtectionBackupVault_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -534,19 +534,19 @@ "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/ZjAxN2IyZjYtOTIxMi00MGI5LWIyMDUtNDZjZWQ5YmRlZTcyOzVhMzJmYjcwLTVkODgtNDgxNS1iYmU2LThhNTJhZWIzZjNhOA==?api-version=2023-12-01\u0026t=638489349535499278\u0026c=MIIHHjCCBgagAwIBAgITfwKW7CzhHP5y3OJv9wAEApbsLDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMjI1MDAwWhcNMjUwMTI0MjI1MDAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMdLBpeMT45PrN0PVwT2qCTSx3AfLEvwe5P5doB25hgw3G_LW7hBtO2tLKJzuhM3uxJW8gFuOx1MuVnjrBRL4d98ph5IjRZ4OFOXwSKPpL7V4IUYdhN5VF0QLCF_PC0Q0Ks_YBQrZS0XfQPzwrt3SylvrV_mQ61ZqoLZdN4cU3gNwWYxAyJJ1x0sUGxczNhOE_klwSa8CDqE51O960b9vUxQXNyQ5W7WiNv9zjmFsiNFk-dJ66Rm0Ip7Io6Ff7OXoPSjNoHZmYQbNikuFQWY7Tw8INzs9KRqPTq8u9WjLeJm1t81XrrVulos6wd1dPREDUZ-UO54M5BV3ztdx9ShgfUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBSiiBrqZUTzRyEtvkUcyxy1eSSo9DAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAIJcAqCwQ4xKJpAGA_PQX052uxYLuR_vWJXfYr6OD0DQB_HaQQajLwTsdm5YRsAduP063zHHZTaM1PGSBvU2VPUeg4JcB7u9DTGzCXJXX-B7s0gVBu-LtRKcElnj2yIUaJm591km020QN8oZPjqanSfJu_4wJo3FjgVkqZIZZbfs40OaLRTr5gN1FvFi8nrvRCFs3C4qOksSLM7sRZGE8YJejGsw_DZdTeroabL3FrAMOTVKDlDEW11fJ3mGT4fkrxz-IvPnJJ02dbjUIsB0fporGNuIDWYhMm6XV5LbYoOlLlkLKqppqGysFNj4rQvXypr9KM9XjEBbK1vdB59IRE4\u0026s=qzMIDGGuZkKrwKkI5OCbZ7g-hrZOy94hGZfhpOqIp0-6gdjXmBldmgr0mjuhO0NxJid8-uqTBrgkjuyv905uJW2I3ldZH-tb2bThQEqF-k4EVyJ81Z8Mwpx5_NM6tUwRiTMDN4ux21NSAGE_VX-B8F4LiN6cd8TB7TsqlJUUrE--GvUHUnBq96yd3EXpyQ1iA9eJ-kphNUqdgrGESWYvz-B180MQWp-FCqKiAVEOOf68zpuzH9nsqX09_rbn50jrVW9lMoQBdbuiah58FjqHJLdm4pbimBbGQhhRkOOvGE3g2AMxgY08TtHN9jvGWAQERpFv58qUVWegjIS4beDdOg\u0026h=q9urrJQKQJxr0K76qudbBpotWi8v2BHI9NQdyKaaARc" ], + "Location": [ "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/MTk2MjkxNDgtMTUzMS00NDA5LWJkNTYtMTQ3NmExYWRhZDQ3O2EzZmYyMjQ5LTNhOGQtNDE5Mi05YWY3LTlmNTczNzdlNmVhZA==?api-version=2024-04-01\u0026t=638493075396653514\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=GHAK7jJYJqYuHyQVyUPH6rtDEV0wIw7ppEUxplA0LXNPhBycNYkRUZguImIvJiuu5SRbHqp1g2G6WRwrexJtqAVBn8uxuMsJtDbT-dusSRSz-3sOz588J4f5yq6W3DG6vZq1SV7P4rBOGpO5a4i3bHNhChXZJKnQRT7GhK2CbdTP3E2IUvfBEBozgN-ljp_jWwp1YtaXrKWsCDAxAg3agv4iWZ4qP51oMURcnZxiJIk_6JrYBm03YU3BE-sP6Ko4-kWDp0x1_nXzhSLFjWmlsCf4QyDVul15eg34v-p_kRVHY-tFJzOHzZbbSbo_RVfa3e7cw5QqsYAiCahkGW2fhw\u0026h=dQyTTzo42uPPYtpVmxXyKg8S_sv6CdTTKY_LfFP7HU0" ], "Retry-After": [ "30" ], "X-Content-Type-Options": [ "nosniff" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/ZjAxN2IyZjYtOTIxMi00MGI5LWIyMDUtNDZjZWQ5YmRlZTcyOzVhMzJmYjcwLTVkODgtNDgxNS1iYmU2LThhNTJhZWIzZjNhOA==?api-version=2023-12-01\u0026t=638489349535499278\u0026c=MIIHHjCCBgagAwIBAgITfwKW7CzhHP5y3OJv9wAEApbsLDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMjI1MDAwWhcNMjUwMTI0MjI1MDAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMdLBpeMT45PrN0PVwT2qCTSx3AfLEvwe5P5doB25hgw3G_LW7hBtO2tLKJzuhM3uxJW8gFuOx1MuVnjrBRL4d98ph5IjRZ4OFOXwSKPpL7V4IUYdhN5VF0QLCF_PC0Q0Ks_YBQrZS0XfQPzwrt3SylvrV_mQ61ZqoLZdN4cU3gNwWYxAyJJ1x0sUGxczNhOE_klwSa8CDqE51O960b9vUxQXNyQ5W7WiNv9zjmFsiNFk-dJ66Rm0Ip7Io6Ff7OXoPSjNoHZmYQbNikuFQWY7Tw8INzs9KRqPTq8u9WjLeJm1t81XrrVulos6wd1dPREDUZ-UO54M5BV3ztdx9ShgfUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBSiiBrqZUTzRyEtvkUcyxy1eSSo9DAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAIJcAqCwQ4xKJpAGA_PQX052uxYLuR_vWJXfYr6OD0DQB_HaQQajLwTsdm5YRsAduP063zHHZTaM1PGSBvU2VPUeg4JcB7u9DTGzCXJXX-B7s0gVBu-LtRKcElnj2yIUaJm591km020QN8oZPjqanSfJu_4wJo3FjgVkqZIZZbfs40OaLRTr5gN1FvFi8nrvRCFs3C4qOksSLM7sRZGE8YJejGsw_DZdTeroabL3FrAMOTVKDlDEW11fJ3mGT4fkrxz-IvPnJJ02dbjUIsB0fporGNuIDWYhMm6XV5LbYoOlLlkLKqppqGysFNj4rQvXypr9KM9XjEBbK1vdB59IRE4\u0026s=VStnHxhbxGW8DT6eVuGYXiwxYT8QGVZ0_m6yRX6j0QSXrc6OvwKS8QT9_lPh4IZc_rUot-IztgFCCO9tJqCFN1hImfBXbjK62_R0K4on_H9BeR8TkHTdF19TbLVaxIBGzOVP_Khv5VaMCbImdOdDVd5GL7L89z28mveU3ifG7ZqUWvN1PrWIvZIAEpuEpgysxejbOqGFTANhCMnvkGtTp_mYuNUVMIVEQ9LwexHPzzJxOCtQPE85lNuS6jsMeJjd87dSXdVRkcrM15zoSpxXzeYT1Gl63V3C9K8zzNQ_alnqDLdm0IZMUZAKKl758sUeWcul6KZXelFMOEkTAwxniQ\u0026h=qqNtGbZL3SV_aSO_tX4f92uCaXX_HbNDlgDhSkzC4lk" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/MTk2MjkxNDgtMTUzMS00NDA5LWJkNTYtMTQ3NmExYWRhZDQ3O2EzZmYyMjQ5LTNhOGQtNDE5Mi05YWY3LTlmNTczNzdlNmVhZA==?api-version=2024-04-01\u0026t=638493075396653514\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=YQ_I_C-S4gr55oQsr71yjVufeRqZkcbhT4J55KOpMkSp_v2NoC1KUBlxwTxLEdqL2tZDoy6uRz4f4oG3UAlxpIvVvJbaFoda-W8JMDAISAaF_GvlgchXI1Z39P8rE7A6_HPZ0RDWZEd6wGTdjlHTO6sDULHW9Bq4Pcl_d67jQzRGXxX1V8C5n9lfFYQ96sl5HxFAU3AMVtInZAin2vyI26Y7x-BF3myTckLeK_d6OV7t_ZhOvFLYPGSHk-Ai55L470iamWKimFarRWH0fD59w0n6PFwGDjShbzu593EkBOVKfPsr1Cf1GUekAlL9PNkLiTGMkG46T-5mNnYztty4rg\u0026h=RObGVeLQ-wRZtesfRxZdfldpzmAcRw0htTbH3dbpXPI" ], "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "99" ], - "x-ms-request-id": [ "8386d20f-e52c-4f84-a7ec-f465e1c04674" ], - "x-ms-correlation-request-id": [ "8386d20f-e52c-4f84-a7ec-f465e1c04674" ], - "x-ms-routing-request-id": [ "JIOINDIACENTRAL:20240417T071553Z:8386d20f-e52c-4f84-a7ec-f465e1c04674" ], + "x-ms-request-id": [ "53d33342-696f-4474-a68a-ad71435c8455" ], + "x-ms-correlation-request-id": [ "53d33342-696f-4474-a68a-ad71435c8455" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T144539Z:53d33342-696f-4474-a68a-ad71435c8455" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 95253287B9A24CFEB7AF88CE761F9643 Ref B: MAA201060514019 Ref C: 2024-04-17T07:15:51Z" ], - "Date": [ "Wed, 17 Apr 2024 07:15:53 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 1EF62DA741F14DB5A6CD83904738A3C5 Ref B: MAA201060513019 Ref C: 2024-04-21T14:45:38Z" ], + "Date": [ "Sun, 21 Apr 2024 14:45:38 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -556,16 +556,16 @@ "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/ZjAxN2IyZjYtOTIxMi00MGI5LWIyMDUtNDZjZWQ5YmRlZTcyOzVhMzJmYjcwLTVkODgtNDgxNS1iYmU2LThhNTJhZWIzZjNhOA==?api-version=2023-12-01\u0026t=638489349535499278\u0026c=MIIHHjCCBgagAwIBAgITfwKW7CzhHP5y3OJv9wAEApbsLDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMjI1MDAwWhcNMjUwMTI0MjI1MDAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMdLBpeMT45PrN0PVwT2qCTSx3AfLEvwe5P5doB25hgw3G_LW7hBtO2tLKJzuhM3uxJW8gFuOx1MuVnjrBRL4d98ph5IjRZ4OFOXwSKPpL7V4IUYdhN5VF0QLCF_PC0Q0Ks_YBQrZS0XfQPzwrt3SylvrV_mQ61ZqoLZdN4cU3gNwWYxAyJJ1x0sUGxczNhOE_klwSa8CDqE51O960b9vUxQXNyQ5W7WiNv9zjmFsiNFk-dJ66Rm0Ip7Io6Ff7OXoPSjNoHZmYQbNikuFQWY7Tw8INzs9KRqPTq8u9WjLeJm1t81XrrVulos6wd1dPREDUZ-UO54M5BV3ztdx9ShgfUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBSiiBrqZUTzRyEtvkUcyxy1eSSo9DAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAIJcAqCwQ4xKJpAGA_PQX052uxYLuR_vWJXfYr6OD0DQB_HaQQajLwTsdm5YRsAduP063zHHZTaM1PGSBvU2VPUeg4JcB7u9DTGzCXJXX-B7s0gVBu-LtRKcElnj2yIUaJm591km020QN8oZPjqanSfJu_4wJo3FjgVkqZIZZbfs40OaLRTr5gN1FvFi8nrvRCFs3C4qOksSLM7sRZGE8YJejGsw_DZdTeroabL3FrAMOTVKDlDEW11fJ3mGT4fkrxz-IvPnJJ02dbjUIsB0fporGNuIDWYhMm6XV5LbYoOlLlkLKqppqGysFNj4rQvXypr9KM9XjEBbK1vdB59IRE4\u0026s=VStnHxhbxGW8DT6eVuGYXiwxYT8QGVZ0_m6yRX6j0QSXrc6OvwKS8QT9_lPh4IZc_rUot-IztgFCCO9tJqCFN1hImfBXbjK62_R0K4on_H9BeR8TkHTdF19TbLVaxIBGzOVP_Khv5VaMCbImdOdDVd5GL7L89z28mveU3ifG7ZqUWvN1PrWIvZIAEpuEpgysxejbOqGFTANhCMnvkGtTp_mYuNUVMIVEQ9LwexHPzzJxOCtQPE85lNuS6jsMeJjd87dSXdVRkcrM15zoSpxXzeYT1Gl63V3C9K8zzNQ_alnqDLdm0IZMUZAKKl758sUeWcul6KZXelFMOEkTAwxniQ\u0026h=qqNtGbZL3SV_aSO_tX4f92uCaXX_HbNDlgDhSkzC4lk+7": { + "New-AzDataProtectionBackupVault+[NoContext]+ImmutabilityCSRSoftDelete+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/MTk2MjkxNDgtMTUzMS00NDA5LWJkNTYtMTQ3NmExYWRhZDQ3O2EzZmYyMjQ5LTNhOGQtNDE5Mi05YWY3LTlmNTczNzdlNmVhZA==?api-version=2024-04-01\u0026t=638493075396653514\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=YQ_I_C-S4gr55oQsr71yjVufeRqZkcbhT4J55KOpMkSp_v2NoC1KUBlxwTxLEdqL2tZDoy6uRz4f4oG3UAlxpIvVvJbaFoda-W8JMDAISAaF_GvlgchXI1Z39P8rE7A6_HPZ0RDWZEd6wGTdjlHTO6sDULHW9Bq4Pcl_d67jQzRGXxX1V8C5n9lfFYQ96sl5HxFAU3AMVtInZAin2vyI26Y7x-BF3myTckLeK_d6OV7t_ZhOvFLYPGSHk-Ai55L470iamWKimFarRWH0fD59w0n6PFwGDjShbzu593EkBOVKfPsr1Cf1GUekAlL9PNkLiTGMkG46T-5mNnYztty4rg\u0026h=RObGVeLQ-wRZtesfRxZdfldpzmAcRw0htTbH3dbpXPI+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/ZjAxN2IyZjYtOTIxMi00MGI5LWIyMDUtNDZjZWQ5YmRlZTcyOzVhMzJmYjcwLTVkODgtNDgxNS1iYmU2LThhNTJhZWIzZjNhOA==?api-version=2023-12-01\u0026t=638489349535499278\u0026c=MIIHHjCCBgagAwIBAgITfwKW7CzhHP5y3OJv9wAEApbsLDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMjI1MDAwWhcNMjUwMTI0MjI1MDAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMdLBpeMT45PrN0PVwT2qCTSx3AfLEvwe5P5doB25hgw3G_LW7hBtO2tLKJzuhM3uxJW8gFuOx1MuVnjrBRL4d98ph5IjRZ4OFOXwSKPpL7V4IUYdhN5VF0QLCF_PC0Q0Ks_YBQrZS0XfQPzwrt3SylvrV_mQ61ZqoLZdN4cU3gNwWYxAyJJ1x0sUGxczNhOE_klwSa8CDqE51O960b9vUxQXNyQ5W7WiNv9zjmFsiNFk-dJ66Rm0Ip7Io6Ff7OXoPSjNoHZmYQbNikuFQWY7Tw8INzs9KRqPTq8u9WjLeJm1t81XrrVulos6wd1dPREDUZ-UO54M5BV3ztdx9ShgfUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBSiiBrqZUTzRyEtvkUcyxy1eSSo9DAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAIJcAqCwQ4xKJpAGA_PQX052uxYLuR_vWJXfYr6OD0DQB_HaQQajLwTsdm5YRsAduP063zHHZTaM1PGSBvU2VPUeg4JcB7u9DTGzCXJXX-B7s0gVBu-LtRKcElnj2yIUaJm591km020QN8oZPjqanSfJu_4wJo3FjgVkqZIZZbfs40OaLRTr5gN1FvFi8nrvRCFs3C4qOksSLM7sRZGE8YJejGsw_DZdTeroabL3FrAMOTVKDlDEW11fJ3mGT4fkrxz-IvPnJJ02dbjUIsB0fporGNuIDWYhMm6XV5LbYoOlLlkLKqppqGysFNj4rQvXypr9KM9XjEBbK1vdB59IRE4\u0026s=VStnHxhbxGW8DT6eVuGYXiwxYT8QGVZ0_m6yRX6j0QSXrc6OvwKS8QT9_lPh4IZc_rUot-IztgFCCO9tJqCFN1hImfBXbjK62_R0K4on_H9BeR8TkHTdF19TbLVaxIBGzOVP_Khv5VaMCbImdOdDVd5GL7L89z28mveU3ifG7ZqUWvN1PrWIvZIAEpuEpgysxejbOqGFTANhCMnvkGtTp_mYuNUVMIVEQ9LwexHPzzJxOCtQPE85lNuS6jsMeJjd87dSXdVRkcrM15zoSpxXzeYT1Gl63V3C9K8zzNQ_alnqDLdm0IZMUZAKKl758sUeWcul6KZXelFMOEkTAwxniQ\u0026h=qqNtGbZL3SV_aSO_tX4f92uCaXX_HbNDlgDhSkzC4lk", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/MTk2MjkxNDgtMTUzMS00NDA5LWJkNTYtMTQ3NmExYWRhZDQ3O2EzZmYyMjQ5LTNhOGQtNDE5Mi05YWY3LTlmNTczNzdlNmVhZA==?api-version=2024-04-01\u0026t=638493075396653514\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=YQ_I_C-S4gr55oQsr71yjVufeRqZkcbhT4J55KOpMkSp_v2NoC1KUBlxwTxLEdqL2tZDoy6uRz4f4oG3UAlxpIvVvJbaFoda-W8JMDAISAaF_GvlgchXI1Z39P8rE7A6_HPZ0RDWZEd6wGTdjlHTO6sDULHW9Bq4Pcl_d67jQzRGXxX1V8C5n9lfFYQ96sl5HxFAU3AMVtInZAin2vyI26Y7x-BF3myTckLeK_d6OV7t_ZhOvFLYPGSHk-Ai55L470iamWKimFarRWH0fD59w0n6PFwGDjShbzu593EkBOVKfPsr1Cf1GUekAlL9PNkLiTGMkG46T-5mNnYztty4rg\u0026h=RObGVeLQ-wRZtesfRxZdfldpzmAcRw0htTbH3dbpXPI", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "14" ], - "x-ms-client-request-id": [ "74c54014-0230-48e9-aa00-95e9f0c771f9" ], + "x-ms-unique-id": [ "234" ], + "x-ms-client-request-id": [ "592346cc-cd36-4e12-9d92-cb5fd1098de1" ], "CommandName": [ "Remove-AzDataProtectionBackupVault" ], "FullCommandName": [ "Remove-AzDataProtectionBackupVault_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -582,33 +582,33 @@ "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "14999" ], - "x-ms-request-id": [ "6c9e66cd-f750-4df8-9d64-0345b141abf1" ], - "x-ms-correlation-request-id": [ "6c9e66cd-f750-4df8-9d64-0345b141abf1" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240417T071624Z:6c9e66cd-f750-4df8-9d64-0345b141abf1" ], + "x-ms-request-id": [ "d5aa93fd-44e2-4717-b457-4fc58b253cfd" ], + "x-ms-correlation-request-id": [ "d5aa93fd-44e2-4717-b457-4fc58b253cfd" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T144610Z:d5aa93fd-44e2-4717-b457-4fc58b253cfd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 6FBE9D6B29A74DFCB1E46151701F6655 Ref B: MAA201060514019 Ref C: 2024-04-17T07:16:23Z" ], - "Date": [ "Wed, 17 Apr 2024 07:16:24 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 0541D4E53CFC48D7A313DBBC6CBADC9F Ref B: MAA201060513019 Ref C: 2024-04-21T14:46:09Z" ], + "Date": [ "Sun, 21 Apr 2024 14:46:09 GMT" ] }, "ContentHeaders": { "Content-Length": [ "468" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/ZjAxN2IyZjYtOTIxMi00MGI5LWIyMDUtNDZjZWQ5YmRlZTcyOzVhMzJmYjcwLTVkODgtNDgxNS1iYmU2LThhNTJhZWIzZjNhOA==\",\"name\":\"ZjAxN2IyZjYtOTIxMi00MGI5LWIyMDUtNDZjZWQ5YmRlZTcyOzVhMzJmYjcwLTVkODgtNDgxNS1iYmU2LThhNTJhZWIzZjNhOA==\",\"status\":\"Succeeded\",\"startTime\":\"2024-04-17T07:15:53.3994534Z\",\"endTime\":\"2024-04-17T07:15:53Z\"}", + "Content": "{\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/MTk2MjkxNDgtMTUzMS00NDA5LWJkNTYtMTQ3NmExYWRhZDQ3O2EzZmYyMjQ5LTNhOGQtNDE5Mi05YWY3LTlmNTczNzdlNmVhZA==\",\"name\":\"MTk2MjkxNDgtMTUzMS00NDA5LWJkNTYtMTQ3NmExYWRhZDQ3O2EzZmYyMjQ5LTNhOGQtNDE5Mi05YWY3LTlmNTczNzdlNmVhZA==\",\"status\":\"Succeeded\",\"startTime\":\"2024-04-21T14:45:39.4864575Z\",\"endTime\":\"2024-04-21T14:45:40Z\"}", "isContentBase64": false } }, - "New-AzDataProtectionBackupVault+[NoContext]+ImmutabilityCSRSoftDelete+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZjAxN2IyZjYtOTIxMi00MGI5LWIyMDUtNDZjZWQ5YmRlZTcyOzVhMzJmYjcwLTVkODgtNDgxNS1iYmU2LThhNTJhZWIzZjNhOA==?api-version=2023-12-01\u0026t=638489349535499278\u0026c=MIIHHjCCBgagAwIBAgITfwKW7CzhHP5y3OJv9wAEApbsLDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMjI1MDAwWhcNMjUwMTI0MjI1MDAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMdLBpeMT45PrN0PVwT2qCTSx3AfLEvwe5P5doB25hgw3G_LW7hBtO2tLKJzuhM3uxJW8gFuOx1MuVnjrBRL4d98ph5IjRZ4OFOXwSKPpL7V4IUYdhN5VF0QLCF_PC0Q0Ks_YBQrZS0XfQPzwrt3SylvrV_mQ61ZqoLZdN4cU3gNwWYxAyJJ1x0sUGxczNhOE_klwSa8CDqE51O960b9vUxQXNyQ5W7WiNv9zjmFsiNFk-dJ66Rm0Ip7Io6Ff7OXoPSjNoHZmYQbNikuFQWY7Tw8INzs9KRqPTq8u9WjLeJm1t81XrrVulos6wd1dPREDUZ-UO54M5BV3ztdx9ShgfUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBSiiBrqZUTzRyEtvkUcyxy1eSSo9DAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAIJcAqCwQ4xKJpAGA_PQX052uxYLuR_vWJXfYr6OD0DQB_HaQQajLwTsdm5YRsAduP063zHHZTaM1PGSBvU2VPUeg4JcB7u9DTGzCXJXX-B7s0gVBu-LtRKcElnj2yIUaJm591km020QN8oZPjqanSfJu_4wJo3FjgVkqZIZZbfs40OaLRTr5gN1FvFi8nrvRCFs3C4qOksSLM7sRZGE8YJejGsw_DZdTeroabL3FrAMOTVKDlDEW11fJ3mGT4fkrxz-IvPnJJ02dbjUIsB0fporGNuIDWYhMm6XV5LbYoOlLlkLKqppqGysFNj4rQvXypr9KM9XjEBbK1vdB59IRE4\u0026s=qzMIDGGuZkKrwKkI5OCbZ7g-hrZOy94hGZfhpOqIp0-6gdjXmBldmgr0mjuhO0NxJid8-uqTBrgkjuyv905uJW2I3ldZH-tb2bThQEqF-k4EVyJ81Z8Mwpx5_NM6tUwRiTMDN4ux21NSAGE_VX-B8F4LiN6cd8TB7TsqlJUUrE--GvUHUnBq96yd3EXpyQ1iA9eJ-kphNUqdgrGESWYvz-B180MQWp-FCqKiAVEOOf68zpuzH9nsqX09_rbn50jrVW9lMoQBdbuiah58FjqHJLdm4pbimBbGQhhRkOOvGE3g2AMxgY08TtHN9jvGWAQERpFv58qUVWegjIS4beDdOg\u0026h=q9urrJQKQJxr0K76qudbBpotWi8v2BHI9NQdyKaaARc+8": { + "New-AzDataProtectionBackupVault+[NoContext]+ImmutabilityCSRSoftDelete+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/MTk2MjkxNDgtMTUzMS00NDA5LWJkNTYtMTQ3NmExYWRhZDQ3O2EzZmYyMjQ5LTNhOGQtNDE5Mi05YWY3LTlmNTczNzdlNmVhZA==?api-version=2024-04-01\u0026t=638493075396653514\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=GHAK7jJYJqYuHyQVyUPH6rtDEV0wIw7ppEUxplA0LXNPhBycNYkRUZguImIvJiuu5SRbHqp1g2G6WRwrexJtqAVBn8uxuMsJtDbT-dusSRSz-3sOz588J4f5yq6W3DG6vZq1SV7P4rBOGpO5a4i3bHNhChXZJKnQRT7GhK2CbdTP3E2IUvfBEBozgN-ljp_jWwp1YtaXrKWsCDAxAg3agv4iWZ4qP51oMURcnZxiJIk_6JrYBm03YU3BE-sP6Ko4-kWDp0x1_nXzhSLFjWmlsCf4QyDVul15eg34v-p_kRVHY-tFJzOHzZbbSbo_RVfa3e7cw5QqsYAiCahkGW2fhw\u0026h=dQyTTzo42uPPYtpVmxXyKg8S_sv6CdTTKY_LfFP7HU0+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZjAxN2IyZjYtOTIxMi00MGI5LWIyMDUtNDZjZWQ5YmRlZTcyOzVhMzJmYjcwLTVkODgtNDgxNS1iYmU2LThhNTJhZWIzZjNhOA==?api-version=2023-12-01\u0026t=638489349535499278\u0026c=MIIHHjCCBgagAwIBAgITfwKW7CzhHP5y3OJv9wAEApbsLDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMjI1MDAwWhcNMjUwMTI0MjI1MDAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMdLBpeMT45PrN0PVwT2qCTSx3AfLEvwe5P5doB25hgw3G_LW7hBtO2tLKJzuhM3uxJW8gFuOx1MuVnjrBRL4d98ph5IjRZ4OFOXwSKPpL7V4IUYdhN5VF0QLCF_PC0Q0Ks_YBQrZS0XfQPzwrt3SylvrV_mQ61ZqoLZdN4cU3gNwWYxAyJJ1x0sUGxczNhOE_klwSa8CDqE51O960b9vUxQXNyQ5W7WiNv9zjmFsiNFk-dJ66Rm0Ip7Io6Ff7OXoPSjNoHZmYQbNikuFQWY7Tw8INzs9KRqPTq8u9WjLeJm1t81XrrVulos6wd1dPREDUZ-UO54M5BV3ztdx9ShgfUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBSiiBrqZUTzRyEtvkUcyxy1eSSo9DAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAIJcAqCwQ4xKJpAGA_PQX052uxYLuR_vWJXfYr6OD0DQB_HaQQajLwTsdm5YRsAduP063zHHZTaM1PGSBvU2VPUeg4JcB7u9DTGzCXJXX-B7s0gVBu-LtRKcElnj2yIUaJm591km020QN8oZPjqanSfJu_4wJo3FjgVkqZIZZbfs40OaLRTr5gN1FvFi8nrvRCFs3C4qOksSLM7sRZGE8YJejGsw_DZdTeroabL3FrAMOTVKDlDEW11fJ3mGT4fkrxz-IvPnJJ02dbjUIsB0fporGNuIDWYhMm6XV5LbYoOlLlkLKqppqGysFNj4rQvXypr9KM9XjEBbK1vdB59IRE4\u0026s=qzMIDGGuZkKrwKkI5OCbZ7g-hrZOy94hGZfhpOqIp0-6gdjXmBldmgr0mjuhO0NxJid8-uqTBrgkjuyv905uJW2I3ldZH-tb2bThQEqF-k4EVyJ81Z8Mwpx5_NM6tUwRiTMDN4ux21NSAGE_VX-B8F4LiN6cd8TB7TsqlJUUrE--GvUHUnBq96yd3EXpyQ1iA9eJ-kphNUqdgrGESWYvz-B180MQWp-FCqKiAVEOOf68zpuzH9nsqX09_rbn50jrVW9lMoQBdbuiah58FjqHJLdm4pbimBbGQhhRkOOvGE3g2AMxgY08TtHN9jvGWAQERpFv58qUVWegjIS4beDdOg\u0026h=q9urrJQKQJxr0K76qudbBpotWi8v2BHI9NQdyKaaARc", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/MTk2MjkxNDgtMTUzMS00NDA5LWJkNTYtMTQ3NmExYWRhZDQ3O2EzZmYyMjQ5LTNhOGQtNDE5Mi05YWY3LTlmNTczNzdlNmVhZA==?api-version=2024-04-01\u0026t=638493075396653514\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=GHAK7jJYJqYuHyQVyUPH6rtDEV0wIw7ppEUxplA0LXNPhBycNYkRUZguImIvJiuu5SRbHqp1g2G6WRwrexJtqAVBn8uxuMsJtDbT-dusSRSz-3sOz588J4f5yq6W3DG6vZq1SV7P4rBOGpO5a4i3bHNhChXZJKnQRT7GhK2CbdTP3E2IUvfBEBozgN-ljp_jWwp1YtaXrKWsCDAxAg3agv4iWZ4qP51oMURcnZxiJIk_6JrYBm03YU3BE-sP6Ko4-kWDp0x1_nXzhSLFjWmlsCf4QyDVul15eg34v-p_kRVHY-tFJzOHzZbbSbo_RVfa3e7cw5QqsYAiCahkGW2fhw\u0026h=dQyTTzo42uPPYtpVmxXyKg8S_sv6CdTTKY_LfFP7HU0", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "15" ], - "x-ms-client-request-id": [ "74c54014-0230-48e9-aa00-95e9f0c771f9" ], + "x-ms-unique-id": [ "235" ], + "x-ms-client-request-id": [ "592346cc-cd36-4e12-9d92-cb5fd1098de1" ], "CommandName": [ "Remove-AzDataProtectionBackupVault" ], "FullCommandName": [ "Remove-AzDataProtectionBackupVault_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], @@ -625,15 +625,15 @@ "Retry-After": [ "30" ], "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/ZjAxN2IyZjYtOTIxMi00MGI5LWIyMDUtNDZjZWQ5YmRlZTcyOzVhMzJmYjcwLTVkODgtNDgxNS1iYmU2LThhNTJhZWIzZjNhOA==?api-version=2023-12-01\u0026t=638489349859960693\u0026c=MIIHHjCCBgagAwIBAgITfwKWMg6goKCq4WwU2AAEApYyDjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMTAzMDI3WhcNMjUwMTI0MTAzMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALMk1pBZQQoNY8tos8XBaEjHjcdWubRHrQk5CqKcX3tpFfukMI0_PVZK-Kr7xkZFQTYp_ItaM2RPRDXx-0W9-mmrUBKvdcQ0rdjcSXDek7GvWS29F5sDHojD1v3e9k2jJa4cVSWwdIguvXmdUa57t1EHxqtDzTL4WmjXitzY8QOIHLMRLyXUNg3Gqfxch40cmQeBoN4rVMlP31LizDfdwRyT1qghK7vgvworA3D9rE00aM0n7TcBH9I0mu-96JE0gSX1FWXctlEcmdwQmXj_U0sZCu11_Yr6Oa34bmUQHGc3hDvO226L1Au-QsLuRWFLbKJ-0wmSV5b3CbU1kweD5LUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBQuoVkxdNhVmd-S8fHDZYn-1n9OaDAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG6_wraDi57hTBBW8zI9n7Dnd66DCf9ok7v4gM1-qxp2gZjb_eEnriIZQcCD3jLvW4q5_59OicwRN13rP_GY33E9HLUgw245zqSCIGd6gYnaCyxPNdhEa-W6-ZBBw1iWX8l-RJqDOUYwkrI7Lw-iea9CuiTbLjw_BJ5NGmd8D5GOVxFRnhJ7RBRrwa6p2_UqZqvdg8kneiyymbidRJCOZ_xkZ8OwL-ini_ge44CIEB7rvqwdf7DfwOjoDr7JU88gM0QgcE7kzx7cVUZpaJAXXhxLvOcb0MBuRiEyexrV6HrbOTafc9naJB26ejIXNHLsuIhpMMa5NEK60hGauLEMNlY\u0026s=VkwfaQAcQl_ngFRBGen0wOjt1gtbbcO3ln4W8XI5OCY6rMdarxm3eoA8ipSseJQ7rw0MJfmG_TzMZrMzDG0pxBFmm-rzfUmeIvDBbHhNp3fUgJ3xpSzrpKI83yV7TG2zAoDFcF2JQcdIedrpILtcCq6_dQkoOlbjVpHtUQF6pxlI0mXVSA8exvMXWAyY-B8qsTMrQolHv-z5_lGjzyRvuBfT6stf9XVBI4xNLsdJrtLv82xwaNReVNnNeJ_KaTgLrz3IvHhGxqCTVTz6JzyHg6303_4gfLZzTE_B4YCxo0H280ioB4CcIEYG14b9U_s_zEKS_FAw4_G1AL-iZfqzKw\u0026h=ANc38Ci9G2EhqbjghlU2uxo-MSmCMye1MZHCQs-bRoE" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/MTk2MjkxNDgtMTUzMS00NDA5LWJkNTYtMTQ3NmExYWRhZDQ3O2EzZmYyMjQ5LTNhOGQtNDE5Mi05YWY3LTlmNTczNzdlNmVhZA==?api-version=2024-04-01\u0026t=638493075717478738\u0026c=MIIHHjCCBgagAwIBAgITfwKW7CzhHP5y3OJv9wAEApbsLDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMjI1MDAwWhcNMjUwMTI0MjI1MDAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMdLBpeMT45PrN0PVwT2qCTSx3AfLEvwe5P5doB25hgw3G_LW7hBtO2tLKJzuhM3uxJW8gFuOx1MuVnjrBRL4d98ph5IjRZ4OFOXwSKPpL7V4IUYdhN5VF0QLCF_PC0Q0Ks_YBQrZS0XfQPzwrt3SylvrV_mQ61ZqoLZdN4cU3gNwWYxAyJJ1x0sUGxczNhOE_klwSa8CDqE51O960b9vUxQXNyQ5W7WiNv9zjmFsiNFk-dJ66Rm0Ip7Io6Ff7OXoPSjNoHZmYQbNikuFQWY7Tw8INzs9KRqPTq8u9WjLeJm1t81XrrVulos6wd1dPREDUZ-UO54M5BV3ztdx9ShgfUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBSiiBrqZUTzRyEtvkUcyxy1eSSo9DAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAIJcAqCwQ4xKJpAGA_PQX052uxYLuR_vWJXfYr6OD0DQB_HaQQajLwTsdm5YRsAduP063zHHZTaM1PGSBvU2VPUeg4JcB7u9DTGzCXJXX-B7s0gVBu-LtRKcElnj2yIUaJm591km020QN8oZPjqanSfJu_4wJo3FjgVkqZIZZbfs40OaLRTr5gN1FvFi8nrvRCFs3C4qOksSLM7sRZGE8YJejGsw_DZdTeroabL3FrAMOTVKDlDEW11fJ3mGT4fkrxz-IvPnJJ02dbjUIsB0fporGNuIDWYhMm6XV5LbYoOlLlkLKqppqGysFNj4rQvXypr9KM9XjEBbK1vdB59IRE4\u0026s=CzrSIJA31hm2Re4bWaEQZ-DT3udNHVHNW6t6Yd22AZwY2Vym02P0-Yuw16lTcoHq2wUDdAufQYYXTe1Q0ENEXHtXHu-eB9P6id8SgK90Ip6e-j6TE5pfBcFJCovNsB-8wxLpLr9TJ9En53QBLuyE22vOBzmFlNMW7MIwPQGCdjPou1Y6DO5DuQWm_WLzlJp6d8t0Qu7jZJnbzScsrP5AtiIdmrgODgE44jmYyjq5FIXUuY4PPmMPbS9RsMW1tPeALD5hG5pKas7LtEW6c-mpSk0X8ZsdrEjcf8QPBxpTA_qUmbYVaWquIuTwl7Ve17WFtqCq6QxK8jbHpNGjcolGWw\u0026h=TH1TMRrac04zCl9S48ffLderBZdV1zzs6QAJEcGabBk" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "74258e31-1430-4b97-b0bf-09997f6679e5" ], - "x-ms-correlation-request-id": [ "74258e31-1430-4b97-b0bf-09997f6679e5" ], - "x-ms-routing-request-id": [ "CENTRALINDIA:20240417T071626Z:74258e31-1430-4b97-b0bf-09997f6679e5" ], + "x-ms-request-id": [ "5221fe9b-3517-4c9a-8a1e-75e3b61e44bc" ], + "x-ms-correlation-request-id": [ "5221fe9b-3517-4c9a-8a1e-75e3b61e44bc" ], + "x-ms-routing-request-id": [ "JIOINDIACENTRAL:20240421T144611Z:5221fe9b-3517-4c9a-8a1e-75e3b61e44bc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: CED375B3067048B79C3D5DDD72D8CD33 Ref B: MAA201060514019 Ref C: 2024-04-17T07:16:24Z" ], - "Date": [ "Wed, 17 Apr 2024 07:16:25 GMT" ] + "X-MSEdge-Ref": [ "Ref A: F9A9D625059447D7BA40F601FB0AFF01 Ref B: MAA201060513019 Ref C: 2024-04-21T14:46:10Z" ], + "Date": [ "Sun, 21 Apr 2024 14:46:10 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 059ce9595405..20f59401988b 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-12-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=2024-04-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-12-01", - "Content": "{\r\n \"location\": \"centraluseuap\",\r\n \"tags\": {\r\n \"Owner\": \"hiaga\",\r\n \"DeleteBy\": \"01-2099\",\r\n \"Purpose\": \"testing\",\r\n \"MABUsed\": \"Yes\"\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=2024-04-01", + "Content": "{\r\n \"location\": \"centraluseuap\",\r\n \"tags\": {\r\n \"DeleteBy\": \"01-2099\",\r\n \"Purpose\": \"testing\",\r\n \"MABUsed\": \"Yes\",\r\n \"Owner\": \"hiaga\"\r\n }\r\n}", "isContentBase64": false, "Headers": { }, @@ -17,38 +17,39 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "99" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "65133078-353a-4099-a50a-12084bd6d812" ], - "x-ms-correlation-request-id": [ "65133078-353a-4099-a50a-12084bd6d812" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T132413Z:65133078-353a-4099-a50a-12084bd6d812" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "99" ], + "x-ms-request-id": [ "fa1d3b9f-7d40-4c8b-9c30-6245449e888e" ], + "x-ms-correlation-request-id": [ "fa1d3b9f-7d40-4c8b-9c30-6245449e888e" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T144619Z:fa1d3b9f-7d40-4c8b-9c30-6245449e888e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 848956B4CE5047FF833D42559CDDC8BA Ref B: MAA201060514027 Ref C: 2024-03-24T13:24:09Z" ], - "Date": [ "Sun, 24 Mar 2024 13:24:13 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 30ACC74955D145DCB37DCD72EC99D88A Ref B: MAA201060513019 Ref C: 2024-04-21T14:46:14Z" ], + "Date": [ "Sun, 21 Apr 2024 14:46:18 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2005" ], + "Content-Length": [ "4018" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"location\":\"centraluseuap\",\"tags\":{\"Owner\":\"hiaga\",\"DeleteBy\":\"01-2099\",\"Purpose\":\"testing\",\"MABUsed\":\"Yes\"},\"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\":{\"DeleteBy\":\"01-2099\",\"Purpose\":\"testing\",\"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.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems/write#stopProtectionWithRetainData\",\"requestResourceType\":\"Microsoft.DataProtection/resourceGuards/stopProtectionWithRetainDataRequests\"},{\"vaultCriticalOperation\":\"Microsoft.RecoveryServices/vaults/write#reduceImmutabilityState\",\"requestResourceType\":\"Microsoft.DataProtection/resourceGuards/reduceImmutabilityStateRequests\"},{\"vaultCriticalOperation\":\"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/restore/action\",\"requestResourceType\":\"Microsoft.DataProtection/resourceGuards/triggerRestoreRequests\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/backupInstances/delete\",\"requestResourceType\":\"Microsoft.DataProtection/backupVaults/backupInstances/delete\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/backupResourceGuardProxies/delete\",\"requestResourceType\":\"Microsoft.DataProtection/backupVaults/backupResourceGuardProxies/delete\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/write#reduceImmutabilityState\",\"requestResourceType\":\"Microsoft.DataProtection/backupVaults/write#reduceImmutabilityState\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/write#reduceSoftDeleteSecurity\",\"requestResourceType\":\"Microsoft.DataProtection/backupVaults/write#reduceSoftDeleteSecurity\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/write#modifyEncryptionSettings\",\"requestResourceType\":\"Microsoft.DataProtection/backupVaults/write#modifyEncryptionSettings\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/backupInstances/stopProtection/action\",\"requestResourceType\":\"Microsoft.DataProtection/backupVaults/backupInstances/stopProtection/action\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/backupInstances/suspendBackups/action\",\"requestResourceType\":\"Microsoft.DataProtection/backupVaults/backupInstances/suspendBackups/action\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/backupInstances/write\",\"requestResourceType\":\"Microsoft.DataProtection/backupVaults/backupInstances/write\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/backupInstances/restore/action\",\"requestResourceType\":\"Microsoft.DataProtection/backupVaults/backupInstances/restore/action\"}],\"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-12-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=2024-04-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-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/resourceGuards/pstest-resourceguard?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "216" ], - "x-ms-client-request-id": [ "0d8c6c4d-26f2-4c13-92d6-4a451c54b181" ], + "x-ms-unique-id": [ "237" ], + "x-ms-client-request-id": [ "fb9a083c-ee01-4121-92ac-de78f2432079" ], "CommandName": [ "Get-AzDataProtectionResourceGuard" ], "FullCommandName": [ "Get-AzDataProtectionResourceGuard_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -59,38 +60,39 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "89331a77-ff3f-4f10-a902-a47aafe54b8a" ], - "x-ms-correlation-request-id": [ "89331a77-ff3f-4f10-a902-a47aafe54b8a" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T132414Z:89331a77-ff3f-4f10-a902-a47aafe54b8a" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], + "x-ms-request-id": [ "d54d0697-7eb8-4f22-bf36-ebac736e195b" ], + "x-ms-correlation-request-id": [ "d54d0697-7eb8-4f22-bf36-ebac736e195b" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240421T144620Z:d54d0697-7eb8-4f22-bf36-ebac736e195b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 59FCFD5490C845CE88C118FEEBC0F961 Ref B: MAA201060514027 Ref C: 2024-03-24T13:24:13Z" ], - "Date": [ "Sun, 24 Mar 2024 13:24:14 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 37F9B30712114DCAB59629FA045F5D18 Ref B: MAA201060513019 Ref C: 2024-04-21T14:46:19Z" ], + "Date": [ "Sun, 21 Apr 2024 14:46:19 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2005" ], + "Content-Length": [ "4018" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"location\":\"centraluseuap\",\"tags\":{\"Owner\":\"hiaga\",\"DeleteBy\":\"01-2099\",\"Purpose\":\"testing\",\"MABUsed\":\"Yes\"},\"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\":{\"DeleteBy\":\"01-2099\",\"Purpose\":\"testing\",\"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.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems/write#stopProtectionWithRetainData\",\"requestResourceType\":\"Microsoft.DataProtection/resourceGuards/stopProtectionWithRetainDataRequests\"},{\"vaultCriticalOperation\":\"Microsoft.RecoveryServices/vaults/write#reduceImmutabilityState\",\"requestResourceType\":\"Microsoft.DataProtection/resourceGuards/reduceImmutabilityStateRequests\"},{\"vaultCriticalOperation\":\"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/restore/action\",\"requestResourceType\":\"Microsoft.DataProtection/resourceGuards/triggerRestoreRequests\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/backupInstances/delete\",\"requestResourceType\":\"Microsoft.DataProtection/backupVaults/backupInstances/delete\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/backupResourceGuardProxies/delete\",\"requestResourceType\":\"Microsoft.DataProtection/backupVaults/backupResourceGuardProxies/delete\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/write#reduceImmutabilityState\",\"requestResourceType\":\"Microsoft.DataProtection/backupVaults/write#reduceImmutabilityState\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/write#reduceSoftDeleteSecurity\",\"requestResourceType\":\"Microsoft.DataProtection/backupVaults/write#reduceSoftDeleteSecurity\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/write#modifyEncryptionSettings\",\"requestResourceType\":\"Microsoft.DataProtection/backupVaults/write#modifyEncryptionSettings\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/backupInstances/stopProtection/action\",\"requestResourceType\":\"Microsoft.DataProtection/backupVaults/backupInstances/stopProtection/action\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/backupInstances/suspendBackups/action\",\"requestResourceType\":\"Microsoft.DataProtection/backupVaults/backupInstances/suspendBackups/action\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/backupInstances/write\",\"requestResourceType\":\"Microsoft.DataProtection/backupVaults/backupInstances/write\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/backupInstances/restore/action\",\"requestResourceType\":\"Microsoft.DataProtection/backupVaults/backupInstances/restore/action\"}],\"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-12-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=2024-04-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-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/resourceGuards/pstest-resourceguard?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "217" ], - "x-ms-client-request-id": [ "1253a34d-b3fd-46b2-9f34-0e18a242d5ee" ], + "x-ms-unique-id": [ "238" ], + "x-ms-client-request-id": [ "4cd99df8-bb22-423d-8a17-79a2a50ae8ae" ], "CommandName": [ "Remove-AzDataProtectionResourceGuard" ], "FullCommandName": [ "Remove-AzDataProtectionResourceGuard_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -102,14 +104,15 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "99" ], - "x-ms-request-id": [ "3ceb122b-09b7-4399-b698-22465cb5c886" ], - "x-ms-correlation-request-id": [ "3ceb122b-09b7-4399-b698-22465cb5c886" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T132419Z:3ceb122b-09b7-4399-b698-22465cb5c886" ], + "x-ms-request-id": [ "af216d5c-7109-46e4-ac89-07137330d874" ], + "x-ms-correlation-request-id": [ "af216d5c-7109-46e4-ac89-07137330d874" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240421T144625Z:af216d5c-7109-46e4-ac89-07137330d874" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 2ABCE9CA211A4159B415A647D11D7ADC Ref B: MAA201060514027 Ref C: 2024-03-24T13:24:14Z" ], - "Date": [ "Sun, 24 Mar 2024 13:24:18 GMT" ] + "X-MSEdge-Ref": [ "Ref A: DA17F548B605480AB6811DA243BB124B Ref B: MAA201060513019 Ref C: 2024-04-21T14:46:20Z" ], + "Date": [ "Sun, 21 Apr 2024 14:46:24 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -119,19 +122,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-12-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=2024-04-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-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/resourceGuards?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "218" ], - "x-ms-client-request-id": [ "4c8e7058-53af-413f-acba-85b79a701159" ], + "x-ms-unique-id": [ "239" ], + "x-ms-client-request-id": [ "72de8780-56d1-411a-a056-3e95263e50c8" ], "CommandName": [ "Get-AzDataProtectionResourceGuard" ], "FullCommandName": [ "Get-AzDataProtectionResourceGuard_Get1" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -142,22 +145,23 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "544b1030-0472-4f50-9212-db85aa601c3f" ], - "x-ms-correlation-request-id": [ "544b1030-0472-4f50-9212-db85aa601c3f" ], - "x-ms-routing-request-id": [ "WESTINDIA:20240324T132420Z:544b1030-0472-4f50-9212-db85aa601c3f" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], + "x-ms-request-id": [ "addeba6c-6719-4f35-9300-299d63ea0226" ], + "x-ms-correlation-request-id": [ "addeba6c-6719-4f35-9300-299d63ea0226" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240421T144626Z:addeba6c-6719-4f35-9300-299d63ea0226" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 1A29FD9F164D4ED880D2B01B743DDE6F Ref B: MAA201060514027 Ref C: 2024-03-24T13:24:19Z" ], - "Date": [ "Sun, 24 Mar 2024 13:24:19 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 28C340FDCF1D46D69A26C9F4F4171201 Ref B: MAA201060513019 Ref C: 2024-04-21T14:46:25Z" ], + "Date": [ "Sun, 21 Apr 2024 14:46:25 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "3863" ], + "Content-Length": [ "7438" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"location\":\"centraluseuap\",\"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\":[\"DisableMUA\"],\"allowAutoApprovals\":true},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/resourceGuards/dpp-pstest-resourceguard\",\"name\":\"dpp-pstest-resourceguard\",\"type\":\"Microsoft.DataProtection/resourceGuards\"},{\"location\":\"centraluseuap\",\"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/test1-rGuard\",\"name\":\"test1-rGuard\",\"type\":\"Microsoft.DataProtection/resourceGuards\"}]}", + "Content": "{\"value\":[{\"location\":\"centraluseuap\",\"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.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems/write#stopProtectionWithRetainData\",\"requestResourceType\":\"Microsoft.DataProtection/resourceGuards/stopProtectionWithRetainDataRequests\"},{\"vaultCriticalOperation\":\"Microsoft.RecoveryServices/vaults/write#reduceImmutabilityState\",\"requestResourceType\":\"Microsoft.DataProtection/resourceGuards/reduceImmutabilityStateRequests\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/backupInstances/delete\",\"requestResourceType\":\"Microsoft.DataProtection/backupVaults/backupInstances/delete\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/backupResourceGuardProxies/delete\",\"requestResourceType\":\"Microsoft.DataProtection/backupVaults/backupResourceGuardProxies/delete\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/write#reduceImmutabilityState\",\"requestResourceType\":\"Microsoft.DataProtection/backupVaults/write#reduceImmutabilityState\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/write#reduceSoftDeleteSecurity\",\"requestResourceType\":\"Microsoft.DataProtection/backupVaults/write#reduceSoftDeleteSecurity\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/write#modifyEncryptionSettings\",\"requestResourceType\":\"Microsoft.DataProtection/backupVaults/write#modifyEncryptionSettings\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/backupInstances/stopProtection/action\",\"requestResourceType\":\"Microsoft.DataProtection/backupVaults/backupInstances/stopProtection/action\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/backupInstances/suspendBackups/action\",\"requestResourceType\":\"Microsoft.DataProtection/backupVaults/backupInstances/suspendBackups/action\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/backupInstances/restore/action\",\"requestResourceType\":\"Microsoft.DataProtection/backupVaults/backupInstances/restore/action\"}],\"vaultCriticalOperationExclusionList\":[\"DisableMUA\",\"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/restore/action\",\"Microsoft.DataProtection/backupVaults/backupInstances/write\"],\"allowAutoApprovals\":true},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/resourceGuards/dpp-pstest-resourceguard\",\"name\":\"dpp-pstest-resourceguard\",\"type\":\"Microsoft.DataProtection/resourceGuards\"},{\"location\":\"centraluseuap\",\"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.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems/write#stopProtectionWithRetainData\",\"requestResourceType\":\"Microsoft.DataProtection/resourceGuards/stopProtectionWithRetainDataRequests\"},{\"vaultCriticalOperation\":\"Microsoft.RecoveryServices/vaults/write#reduceImmutabilityState\",\"requestResourceType\":\"Microsoft.DataProtection/resourceGuards/reduceImmutabilityStateRequests\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/backupInstances/delete\",\"requestResourceType\":\"Microsoft.DataProtection/backupVaults/backupInstances/delete\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/backupResourceGuardProxies/delete\",\"requestResourceType\":\"Microsoft.DataProtection/backupVaults/backupResourceGuardProxies/delete\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/write#reduceImmutabilityState\",\"requestResourceType\":\"Microsoft.DataProtection/backupVaults/write#reduceImmutabilityState\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/write#reduceSoftDeleteSecurity\",\"requestResourceType\":\"Microsoft.DataProtection/backupVaults/write#reduceSoftDeleteSecurity\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/write#modifyEncryptionSettings\",\"requestResourceType\":\"Microsoft.DataProtection/backupVaults/write#modifyEncryptionSettings\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/backupInstances/stopProtection/action\",\"requestResourceType\":\"Microsoft.DataProtection/backupVaults/backupInstances/stopProtection/action\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/backupInstances/suspendBackups/action\",\"requestResourceType\":\"Microsoft.DataProtection/backupVaults/backupInstances/suspendBackups/action\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/backupInstances/restore/action\",\"requestResourceType\":\"Microsoft.DataProtection/backupVaults/backupInstances/restore/action\"}],\"vaultCriticalOperationExclusionList\":[\"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems/recoveryPoints/restore/action\",\"Microsoft.DataProtection/backupVaults/backupInstances/write\"],\"allowAutoApprovals\":true},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/resourceGuards/test1-rGuard\",\"name\":\"test1-rGuard\",\"type\":\"Microsoft.DataProtection/resourceGuards\"}]}", "isContentBase64": false } } diff --git a/src/DataProtection/DataProtection.Autorest/test/Start-AzDataProtectionBackupInstanceRestore.Recording.json b/src/DataProtection/DataProtection.Autorest/test/Start-AzDataProtectionBackupInstanceRestore.Recording.json index 96038f9a22d5..9db25c07eabe 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]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault?api-version=2023-12-01+1": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex?api-version=2024-04-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "1" ], - "x-ms-client-request-id": [ "65bc8329-61a7-45ea-b2a9-55ea97a85f47" ], + "x-ms-client-request-id": [ "e33817a3-6a05-4d9b-b8f6-f9067b97f1bd" ], "CommandName": [ "Get-AzDataProtectionBackupVault" ], "FullCommandName": [ "Get-AzDataProtectionBackupVault_Get2" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -22,38 +22,39 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "499" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "0c46fe3a-876a-4d34-aa34-487ab4b1536f" ], - "x-ms-correlation-request-id": [ "0c46fe3a-876a-4d34-aa34-487ab4b1536f" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T013609Z:0c46fe3a-876a-4d34-aa34-487ab4b1536f" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "499" ], + "x-ms-request-id": [ "75b06609-1de3-4303-a4aa-8ace2fb48032" ], + "x-ms-correlation-request-id": [ "75b06609-1de3-4303-a4aa-8ace2fb48032" ], + "x-ms-routing-request-id": [ "JIOINDIACENTRAL:20240422T024017Z:75b06609-1de3-4303-a4aa-8ace2fb48032" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 2B9463DF8D7C40D58F4FD39D7AF118B0 Ref B: MAA201060513029 Ref C: 2024-03-25T01:36:08Z" ], - "Date": [ "Mon, 25 Mar 2024 01:36:08 GMT" ] + "X-MSEdge-Ref": [ "Ref A: B73FEFF7E93D4D4DB5A877F20E645744 Ref B: MAA201060514035 Ref C: 2024-04-22T02:40:15Z" ], + "Date": [ "Mon, 22 Apr 2024 02:40:17 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "880" ], + "Content-Length": [ "995" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"location\":\"eastus2euap\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"0886c1e9-5c5f-4d5e-8c8f-d69c92c59cad\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"storageSettings\":[{\"datastoreType\":\"VaultStore\",\"type\":\"LocallyRedundant\"},{\"datastoreType\":\"ArchiveStore\",\"type\":\"LocallyRedundant\"}],\"isVaultProtectedByResourceGuard\":false,\"securitySettings\":{\"softDeleteSettings\":{\"state\":\"OFF\",\"retentionDurationInDays\":14.0},\"immutabilitySettings\":{\"state\":\"Disabled\"}},\"featureSettings\":{\"crossSubscriptionRestoreSettings\":{\"state\":\"Enabled\"}},\"secureScore\":\"None\",\"replicatedRegions\":[]},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/vdhingraRG/providers/Microsoft.DataProtection/BackupVaults/vdhingraBackupVault\",\"name\":\"vdhingraBackupVault\",\"type\":\"Microsoft.DataProtection/backupVaults\"}", + "Content": "{\"location\":\"eastus2euap\",\"identity\":{\"type\":\"SystemAssigned,UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarathuamirg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sarathecyuami\":{\"clientId\":\"ef8e458d-ad17-4984-9064-5669ff87023b\",\"principalId\":\"fb0eeba3-705b-4924-a8bc-1418d7cc0324\"}},\"principalId\":\"d08cbaa7-7b44-4bea-bf1a-665ce8f2e01a\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"storageSettings\":[{\"datastoreType\":\"VaultStore\",\"type\":\"LocallyRedundant\"}],\"isVaultProtectedByResourceGuard\":true,\"securitySettings\":{\"softDeleteSettings\":{\"state\":\"Off\",\"retentionDurationInDays\":14.0}},\"secureScore\":\"Minimum\",\"bcdrSecurityLevel\":\"Fair\",\"replicatedRegions\":[]},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex\",\"name\":\"zpgflex\",\"type\":\"Microsoft.DataProtection/backupVaults\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances?api-version=2023-12-01+2": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances?api-version=2024-04-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "bd318c36-7f39-4a07-9c29-f12e61ff318c" ], + "x-ms-client-request-id": [ "07313f68-94a1-4df8-a884-857b94def084" ], "CommandName": [ "Get-AzDataProtectionBackupInstance" ], "FullCommandName": [ "Get-AzDataProtectionBackupInstance_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -64,38 +65,39 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1999" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "2c0a2db7-c96d-4293-afa9-1ff9527507a0" ], - "x-ms-correlation-request-id": [ "2c0a2db7-c96d-4293-afa9-1ff9527507a0" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T013610Z:2c0a2db7-c96d-4293-afa9-1ff9527507a0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1999" ], + "x-ms-request-id": [ "a704d238-78d2-4694-a3cb-ff96b75374f1" ], + "x-ms-correlation-request-id": [ "a704d238-78d2-4694-a3cb-ff96b75374f1" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240422T024019Z:a704d238-78d2-4694-a3cb-ff96b75374f1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 75F05DB6D8B2498C9D71C4532CC190C8 Ref B: MAA201060513029 Ref C: 2024-03-25T01:36:09Z" ], - "Date": [ "Mon, 25 Mar 2024 01:36:09 GMT" ] + "X-MSEdge-Ref": [ "Ref A: C39BB70193324BE8B6E0ACA4CC85EE6E Ref B: MAA201060514035 Ref C: 2024-04-22T02:40:17Z" ], + "Date": [ "Mon, 22 Apr 2024 02:40:19 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "3789" ], + "Content-Length": [ "3295" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"properties\":{\"friendlyName\":\"arhive-test\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforMySQL/flexibleServers/arhive-test\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforMySQL/flexibleServers/arhive-test\",\"datasourceType\":\"Microsoft.DBforMySQL/flexibleServers\",\"resourceName\":\"arhive-test\",\"resourceType\":\"Microsoft.DBforMySQL/flexibleServers\",\"resourceLocation\":\"eastus2euap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforMySQL/flexibleServers/arhive-test\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforMySQL/flexibleServers/arhive-test\",\"datasourceType\":\"Microsoft.DBforMySQL/flexibleServers\",\"resourceName\":\"arhive-test\",\"resourceType\":\"Microsoft.DBforMySQL/flexibleServers\",\"resourceLocation\":\"eastus2euap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pstest-simple-mysql\"},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/arhive-test-arhive-test-5ab61453-6bab-4333-82fb-cdbab5655b6f\",\"name\":\"arhive-test-arhive-test-5ab61453-6bab-4333-82fb-cdbab5655b6f\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"archive-test\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"datasourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"resourceName\":\"archive-test\",\"resourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"resourceLocation\":\"eastus2euap\",\"resourceProperties\":{\"objectType\":\"DefaultResourceProperties\"},\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"datasourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"resourceName\":\"archive-test\",\"resourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"resourceLocation\":\"eastus2euap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\"},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"name\":\"archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"}]}", + "Content": "{\"value\":[{\"properties\":{\"friendlyName\":\"zubair-pgflex-cli1\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"resourceName\":\"zubair-pgflex-cli1\",\"resourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"resourceLocation\":\"eastus2euap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\"},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"name\":\"zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"zCSRTestDisk-restore1\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.Compute/disks/zCSRTestDisk-restore1\",\"resourceUri\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.Compute/disks/zCSRTestDisk-restore1\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"zCSRTestDisk-restore1\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"eastus2euap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.Compute/disks/zCSRTestDisk-restore1\",\"resourceUri\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.Compute/disks/zCSRTestDisk-restore1\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"zCSRTestDisk-restore1\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"eastus2euap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/dfgdfdf\",\"policyVersion\":\"\",\"policyParameters\":{\"dataStoreParametersList\":[{\"objectType\":\"AzureOperationalStoreParameters\",\"dataStoreType\":\"OperationalStore\",\"resourceGroupId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG\"}]}},\"protectionStatus\":{\"status\":\"ProtectionStopped\"},\"currentProtectionState\":\"ProtectionStopped\",\"provisioningState\":\"Succeeded\",\"identityDetails\":{\"useSystemAssignedIdentity\":true},\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zCSRTestDisk-restore1-zCSRTestDisk-restore1-b358a135-c6db-4ebe-ad13-13006caf2067\",\"name\":\"zCSRTestDisk-restore1-zCSRTestDisk-restore1-b358a135-c6db-4ebe-ad13-13006caf2067\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"}]}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1?api-version=2023-12-01+3": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1?api-version=2024-04-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "452ff822-941f-4788-9905-9b0771a93ffb" ], + "x-ms-client-request-id": [ "94c48684-c841-4f77-b9f0-fab17d69590f" ], "CommandName": [ "Get-AzDataProtectionBackupPolicy" ], "FullCommandName": [ "Get-AzDataProtectionBackupPolicy_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -106,29 +108,30 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "7ba80d35-5411-4627-bc62-a8e5de9d0016" ], - "x-ms-correlation-request-id": [ "7ba80d35-5411-4627-bc62-a8e5de9d0016" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T013611Z:7ba80d35-5411-4627-bc62-a8e5de9d0016" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "23cc3030-531f-4ed6-8ad5-be32f7f75681" ], + "x-ms-correlation-request-id": [ "23cc3030-531f-4ed6-8ad5-be32f7f75681" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240422T024021Z:23cc3030-531f-4ed6-8ad5-be32f7f75681" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 4C045178EF7A4B928B4CE404D9777484 Ref B: MAA201060513029 Ref C: 2024-03-25T01:36:10Z" ], - "Date": [ "Mon, 25 Mar 2024 01:36:10 GMT" ] + "X-MSEdge-Ref": [ "Ref A: B43F1DF0FF5F4EB690C887638EB23B7E Ref B: MAA201060514035 Ref C: 2024-04-22T02:40:19Z" ], + "Date": [ "Mon, 22 Apr 2024 02:40:20 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1419" ], + "Content-Length": [ "1117" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7D\"},\"targetDataStoreCopySettings\":[{\"dataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"},\"copyAfter\":{\"objectType\":\"ImmediateCopyOption\"}}],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}},{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P14D\"},\"sourceDataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Full\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-11-24T16:30:00+00:00/P1D\"],\"timeZone\":\"UTC\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupWeekly\",\"objectType\":\"AzureBackupRule\"}],\"datasourceTypes\":[\"Microsoft.DBforPostgreSQL/flexibleServers\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"name\":\"pgflexArchivePolicy1\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"}", + "Content": "{\"properties\":{\"policyRules\":[{\"backupParameters\":{\"backupType\":\"Full\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2021-08-15T06: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\":[],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"}],\"datasourceTypes\":[\"Microsoft.DBforPostgreSQL/flexibleServers\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"name\":\"OssFlexiblePolicy1\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$POST+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/backup?api-version=2023-12-01+4": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$POST+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b/backup?api-version=2024-04-01+4": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/backup?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b/backup?api-version=2024-04-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": { @@ -143,18 +146,19 @@ "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/NDY0ZDFhZGItNzk0My00NTljLTg3YjYtMjkxZmE1OTIxYWIyOzYwMzYyMWU0LWM0ODktNDNiNS1hNGIzLTQyYWRjZjFjYTlmOQ==?api-version=2023-12-01\u0026t=638469273724463900\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=Y4HI722wCO_5JZYO2B6WuD4xCENGRSI1vCwWjN4Of9aSV38Zikm2U1NfsndErbMgzQQl-AcGPnZOuGGD25f6HZnWNl3Ir-tODLC5Yfct590H-6AtrueXpHcbSeh-JPgp1dTOtBE3DJ444xLucsWj4UUw4374qyJYtWH9urIgAUogiryOKQet-myNAJ7CjiGjNCjgVtYt--DlMs1cRZ-iS9Cn60O7Y2ctLSFaaklU02FhPe2pA_ju8NALlWAl1Xj2xDPVRoJjvXZvhok2HnjmMMTlzFeoE5WTwE3HW16in_7p_ns6054jomoKpaVlXC2rZkVOM2LTx7e9KSB82JCi-Q\u0026h=1_jbYe51CrzLE0lcN8FoNCnJKgxNryNFw9o5fl1A3uc" ], + "Location": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/YmE2MDhmNDQtZDkzZi00YmRiLTkxMTgtZTIxODc1MzNjNmNkO2E4MWMzZTBlLTEyNjAtNGE4ZC1iYWUxLTAyYWJlYTgwZmFiNw==?api-version=2024-04-01\u0026t=638493504227798695\u0026c=MIIHHjCCBgagAwIBAgITfwKWMg6goKCq4WwU2AAEApYyDjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMTAzMDI3WhcNMjUwMTI0MTAzMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALMk1pBZQQoNY8tos8XBaEjHjcdWubRHrQk5CqKcX3tpFfukMI0_PVZK-Kr7xkZFQTYp_ItaM2RPRDXx-0W9-mmrUBKvdcQ0rdjcSXDek7GvWS29F5sDHojD1v3e9k2jJa4cVSWwdIguvXmdUa57t1EHxqtDzTL4WmjXitzY8QOIHLMRLyXUNg3Gqfxch40cmQeBoN4rVMlP31LizDfdwRyT1qghK7vgvworA3D9rE00aM0n7TcBH9I0mu-96JE0gSX1FWXctlEcmdwQmXj_U0sZCu11_Yr6Oa34bmUQHGc3hDvO226L1Au-QsLuRWFLbKJ-0wmSV5b3CbU1kweD5LUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBQuoVkxdNhVmd-S8fHDZYn-1n9OaDAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG6_wraDi57hTBBW8zI9n7Dnd66DCf9ok7v4gM1-qxp2gZjb_eEnriIZQcCD3jLvW4q5_59OicwRN13rP_GY33E9HLUgw245zqSCIGd6gYnaCyxPNdhEa-W6-ZBBw1iWX8l-RJqDOUYwkrI7Lw-iea9CuiTbLjw_BJ5NGmd8D5GOVxFRnhJ7RBRrwa6p2_UqZqvdg8kneiyymbidRJCOZ_xkZ8OwL-ini_ge44CIEB7rvqwdf7DfwOjoDr7JU88gM0QgcE7kzx7cVUZpaJAXXhxLvOcb0MBuRiEyexrV6HrbOTafc9naJB26ejIXNHLsuIhpMMa5NEK60hGauLEMNlY\u0026s=Uvt4Pe5JhGmPo98Tw5WsCJaznnjJiQUBYBsae5YU8LYkoyW1Y9W5gkmNnTsRaGbY3RrQ2WyBWC_jcXCzcI4tSDaKz3AkH6miIHGM_E6cFjPDmt0OCdDzBGqXS04YgtbbQ2xQUtZVMiSzBXbB_QRGuEGyhv2kBkLw5u4zDmenv3yPDOGiFkJ1qUHX8koR4Y8qXgAvzWQeVgWpMfxEBMKvL5Av292E696Sp_2B9DOCy2lUBbjrykVF6kD1_Q9HUXBdPjAlTXuoYs79ye6fVg5mMvhiASXhcc1BQlFmY8JAELXApMEplsBTHRApDURSlWE7QIpLLmNoyyp63rEwO0oF6g\u0026h=ETIiXat7wX7dc6mSKueE2DneKlMhVDcfJs4F72SLxiY" ], "Retry-After": [ "30" ], "X-Content-Type-Options": [ "nosniff" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/operationStatus/NDY0ZDFhZGItNzk0My00NTljLTg3YjYtMjkxZmE1OTIxYWIyOzYwMzYyMWU0LWM0ODktNDNiNS1hNGIzLTQyYWRjZjFjYTlmOQ==?api-version=2023-12-01\u0026t=638469273724307206\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=cBwLnDwRk3WZGi32QXw-cdzmoXszM5vU0R-ZI8EiSNecssDZ3UmYBzJsOWzR-deEnAPPVbSXOlnw3A9id_Rzh3Ox5l5s3xh1In-EnA7wDEoxB5U1xU6qGn0QO37l5I2kY85gTunEbtwoALQPr6VKWdCzqNXwx_Pl977qH3ezy_bdp9tKn12bi8HBAsh4_16JuL88GlTRk4zp-2bBKiR4EBQCx0bn-5bhAZu1CrYxHgu9G3CUzmETIuchNgqxUILyPsrdSz07SckAADrXB6fczkaYIarKnJfrBjmZo1h2L8WIvmvXp5bouyIwTyEUDtrrXL0Kuf31EKoGFm5fGDiYgA\u0026h=cuIMSEkrR0qmAq9cZxvZSP501GyXjW7LxCdjFUet2d4" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/operationStatus/YmE2MDhmNDQtZDkzZi00YmRiLTkxMTgtZTIxODc1MzNjNmNkO2E4MWMzZTBlLTEyNjAtNGE4ZC1iYWUxLTAyYWJlYTgwZmFiNw==?api-version=2024-04-01\u0026t=638493504227642795\u0026c=MIIHHjCCBgagAwIBAgITfwKWMg6goKCq4WwU2AAEApYyDjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMTAzMDI3WhcNMjUwMTI0MTAzMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALMk1pBZQQoNY8tos8XBaEjHjcdWubRHrQk5CqKcX3tpFfukMI0_PVZK-Kr7xkZFQTYp_ItaM2RPRDXx-0W9-mmrUBKvdcQ0rdjcSXDek7GvWS29F5sDHojD1v3e9k2jJa4cVSWwdIguvXmdUa57t1EHxqtDzTL4WmjXitzY8QOIHLMRLyXUNg3Gqfxch40cmQeBoN4rVMlP31LizDfdwRyT1qghK7vgvworA3D9rE00aM0n7TcBH9I0mu-96JE0gSX1FWXctlEcmdwQmXj_U0sZCu11_Yr6Oa34bmUQHGc3hDvO226L1Au-QsLuRWFLbKJ-0wmSV5b3CbU1kweD5LUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBQuoVkxdNhVmd-S8fHDZYn-1n9OaDAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG6_wraDi57hTBBW8zI9n7Dnd66DCf9ok7v4gM1-qxp2gZjb_eEnriIZQcCD3jLvW4q5_59OicwRN13rP_GY33E9HLUgw245zqSCIGd6gYnaCyxPNdhEa-W6-ZBBw1iWX8l-RJqDOUYwkrI7Lw-iea9CuiTbLjw_BJ5NGmd8D5GOVxFRnhJ7RBRrwa6p2_UqZqvdg8kneiyymbidRJCOZ_xkZ8OwL-ini_ge44CIEB7rvqwdf7DfwOjoDr7JU88gM0QgcE7kzx7cVUZpaJAXXhxLvOcb0MBuRiEyexrV6HrbOTafc9naJB26ejIXNHLsuIhpMMa5NEK60hGauLEMNlY\u0026s=nuoW7C4rLuxcyMXxifJySAd5ZFFJT5PwsV3UgNKnZGXcFDTTPxbO39Q9Xb4TN-NlVSdbQa664uoPtLbiwXN6SFqiRji9zIiwRltrocIDMCG8U7lF9ydMsMnhqKKSi7M-UWSKN2f1NRBHz4gheGVPJaTCskuM1fa-qbLByg7op-CigfBueM2nNLpYSV933EMFhHJqtaaFngfOrNQG4XJ7esv00nPyUdYW0GlJ2pl4W7BMCF6MN9uQH4it7ztN1TaQlznIKkwcOVQX3jkJlCvlPg0dCz-7ioUyH-vbXc0l8RCS1D4MjBGx60p2uzXgXsRkP4O4GexUJDBffi4pDckHuA\u0026h=ydAUDERd8Mn8quTeIpceRuHumJIKI_3a3ZZp7ycRLu4" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-request-id": [ "15868191-8074-4321-95fa-4854b6b0e93d" ], - "x-ms-correlation-request-id": [ "15868191-8074-4321-95fa-4854b6b0e93d" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T013612Z:15868191-8074-4321-95fa-4854b6b0e93d" ], + "x-ms-request-id": [ "4ea6dc4f-b13e-4644-8d39-c85e4a463e8b" ], + "x-ms-correlation-request-id": [ "4ea6dc4f-b13e-4644-8d39-c85e4a463e8b" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240422T024022Z:4ea6dc4f-b13e-4644-8d39-c85e4a463e8b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: EB1F9C1F0867433890ACE0E3A58C0EFE Ref B: MAA201060513029 Ref C: 2024-03-25T01:36:11Z" ], - "Date": [ "Mon, 25 Mar 2024 01:36:11 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 19EAF0DE4A704ECF83ED10A7F9A9D4DB Ref B: MAA201060514035 Ref C: 2024-04-22T02:40:21Z" ], + "Date": [ "Mon, 22 Apr 2024 02:40:22 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -164,20 +168,20 @@ "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/operationStatus/NDY0ZDFhZGItNzk0My00NTljLTg3YjYtMjkxZmE1OTIxYWIyOzYwMzYyMWU0LWM0ODktNDNiNS1hNGIzLTQyYWRjZjFjYTlmOQ==?api-version=2023-12-01\u0026t=638469273724307206\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=cBwLnDwRk3WZGi32QXw-cdzmoXszM5vU0R-ZI8EiSNecssDZ3UmYBzJsOWzR-deEnAPPVbSXOlnw3A9id_Rzh3Ox5l5s3xh1In-EnA7wDEoxB5U1xU6qGn0QO37l5I2kY85gTunEbtwoALQPr6VKWdCzqNXwx_Pl977qH3ezy_bdp9tKn12bi8HBAsh4_16JuL88GlTRk4zp-2bBKiR4EBQCx0bn-5bhAZu1CrYxHgu9G3CUzmETIuchNgqxUILyPsrdSz07SckAADrXB6fczkaYIarKnJfrBjmZo1h2L8WIvmvXp5bouyIwTyEUDtrrXL0Kuf31EKoGFm5fGDiYgA\u0026h=cuIMSEkrR0qmAq9cZxvZSP501GyXjW7LxCdjFUet2d4+5": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/operationStatus/YmE2MDhmNDQtZDkzZi00YmRiLTkxMTgtZTIxODc1MzNjNmNkO2E4MWMzZTBlLTEyNjAtNGE4ZC1iYWUxLTAyYWJlYTgwZmFiNw==?api-version=2024-04-01\u0026t=638493504227642795\u0026c=MIIHHjCCBgagAwIBAgITfwKWMg6goKCq4WwU2AAEApYyDjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMTAzMDI3WhcNMjUwMTI0MTAzMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALMk1pBZQQoNY8tos8XBaEjHjcdWubRHrQk5CqKcX3tpFfukMI0_PVZK-Kr7xkZFQTYp_ItaM2RPRDXx-0W9-mmrUBKvdcQ0rdjcSXDek7GvWS29F5sDHojD1v3e9k2jJa4cVSWwdIguvXmdUa57t1EHxqtDzTL4WmjXitzY8QOIHLMRLyXUNg3Gqfxch40cmQeBoN4rVMlP31LizDfdwRyT1qghK7vgvworA3D9rE00aM0n7TcBH9I0mu-96JE0gSX1FWXctlEcmdwQmXj_U0sZCu11_Yr6Oa34bmUQHGc3hDvO226L1Au-QsLuRWFLbKJ-0wmSV5b3CbU1kweD5LUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBQuoVkxdNhVmd-S8fHDZYn-1n9OaDAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG6_wraDi57hTBBW8zI9n7Dnd66DCf9ok7v4gM1-qxp2gZjb_eEnriIZQcCD3jLvW4q5_59OicwRN13rP_GY33E9HLUgw245zqSCIGd6gYnaCyxPNdhEa-W6-ZBBw1iWX8l-RJqDOUYwkrI7Lw-iea9CuiTbLjw_BJ5NGmd8D5GOVxFRnhJ7RBRrwa6p2_UqZqvdg8kneiyymbidRJCOZ_xkZ8OwL-ini_ge44CIEB7rvqwdf7DfwOjoDr7JU88gM0QgcE7kzx7cVUZpaJAXXhxLvOcb0MBuRiEyexrV6HrbOTafc9naJB26ejIXNHLsuIhpMMa5NEK60hGauLEMNlY\u0026s=nuoW7C4rLuxcyMXxifJySAd5ZFFJT5PwsV3UgNKnZGXcFDTTPxbO39Q9Xb4TN-NlVSdbQa664uoPtLbiwXN6SFqiRji9zIiwRltrocIDMCG8U7lF9ydMsMnhqKKSi7M-UWSKN2f1NRBHz4gheGVPJaTCskuM1fa-qbLByg7op-CigfBueM2nNLpYSV933EMFhHJqtaaFngfOrNQG4XJ7esv00nPyUdYW0GlJ2pl4W7BMCF6MN9uQH4it7ztN1TaQlznIKkwcOVQX3jkJlCvlPg0dCz-7ioUyH-vbXc0l8RCS1D4MjBGx60p2uzXgXsRkP4O4GexUJDBffi4pDckHuA\u0026h=ydAUDERd8Mn8quTeIpceRuHumJIKI_3a3ZZp7ycRLu4+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/operationStatus/NDY0ZDFhZGItNzk0My00NTljLTg3YjYtMjkxZmE1OTIxYWIyOzYwMzYyMWU0LWM0ODktNDNiNS1hNGIzLTQyYWRjZjFjYTlmOQ==?api-version=2023-12-01\u0026t=638469273724307206\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=cBwLnDwRk3WZGi32QXw-cdzmoXszM5vU0R-ZI8EiSNecssDZ3UmYBzJsOWzR-deEnAPPVbSXOlnw3A9id_Rzh3Ox5l5s3xh1In-EnA7wDEoxB5U1xU6qGn0QO37l5I2kY85gTunEbtwoALQPr6VKWdCzqNXwx_Pl977qH3ezy_bdp9tKn12bi8HBAsh4_16JuL88GlTRk4zp-2bBKiR4EBQCx0bn-5bhAZu1CrYxHgu9G3CUzmETIuchNgqxUILyPsrdSz07SckAADrXB6fczkaYIarKnJfrBjmZo1h2L8WIvmvXp5bouyIwTyEUDtrrXL0Kuf31EKoGFm5fGDiYgA\u0026h=cuIMSEkrR0qmAq9cZxvZSP501GyXjW7LxCdjFUet2d4", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/operationStatus/YmE2MDhmNDQtZDkzZi00YmRiLTkxMTgtZTIxODc1MzNjNmNkO2E4MWMzZTBlLTEyNjAtNGE4ZC1iYWUxLTAyYWJlYTgwZmFiNw==?api-version=2024-04-01\u0026t=638493504227642795\u0026c=MIIHHjCCBgagAwIBAgITfwKWMg6goKCq4WwU2AAEApYyDjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMTAzMDI3WhcNMjUwMTI0MTAzMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALMk1pBZQQoNY8tos8XBaEjHjcdWubRHrQk5CqKcX3tpFfukMI0_PVZK-Kr7xkZFQTYp_ItaM2RPRDXx-0W9-mmrUBKvdcQ0rdjcSXDek7GvWS29F5sDHojD1v3e9k2jJa4cVSWwdIguvXmdUa57t1EHxqtDzTL4WmjXitzY8QOIHLMRLyXUNg3Gqfxch40cmQeBoN4rVMlP31LizDfdwRyT1qghK7vgvworA3D9rE00aM0n7TcBH9I0mu-96JE0gSX1FWXctlEcmdwQmXj_U0sZCu11_Yr6Oa34bmUQHGc3hDvO226L1Au-QsLuRWFLbKJ-0wmSV5b3CbU1kweD5LUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBQuoVkxdNhVmd-S8fHDZYn-1n9OaDAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG6_wraDi57hTBBW8zI9n7Dnd66DCf9ok7v4gM1-qxp2gZjb_eEnriIZQcCD3jLvW4q5_59OicwRN13rP_GY33E9HLUgw245zqSCIGd6gYnaCyxPNdhEa-W6-ZBBw1iWX8l-RJqDOUYwkrI7Lw-iea9CuiTbLjw_BJ5NGmd8D5GOVxFRnhJ7RBRrwa6p2_UqZqvdg8kneiyymbidRJCOZ_xkZ8OwL-ini_ge44CIEB7rvqwdf7DfwOjoDr7JU88gM0QgcE7kzx7cVUZpaJAXXhxLvOcb0MBuRiEyexrV6HrbOTafc9naJB26ejIXNHLsuIhpMMa5NEK60hGauLEMNlY\u0026s=nuoW7C4rLuxcyMXxifJySAd5ZFFJT5PwsV3UgNKnZGXcFDTTPxbO39Q9Xb4TN-NlVSdbQa664uoPtLbiwXN6SFqiRji9zIiwRltrocIDMCG8U7lF9ydMsMnhqKKSi7M-UWSKN2f1NRBHz4gheGVPJaTCskuM1fa-qbLByg7op-CigfBueM2nNLpYSV933EMFhHJqtaaFngfOrNQG4XJ7esv00nPyUdYW0GlJ2pl4W7BMCF6MN9uQH4it7ztN1TaQlznIKkwcOVQX3jkJlCvlPg0dCz-7ioUyH-vbXc0l8RCS1D4MjBGx60p2uzXgXsRkP4O4GexUJDBffi4pDckHuA\u0026h=ydAUDERd8Mn8quTeIpceRuHumJIKI_3a3ZZp7ycRLu4", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "5" ], - "x-ms-client-request-id": [ "d2c08984-4a54-46bf-bd92-dfad236744fb" ], + "x-ms-client-request-id": [ "9bc80aa1-858a-4aa1-9fd6-2721b60bf139" ], "CommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc" ], "FullCommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc_BackupExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -187,39 +191,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "51e3688f-8759-4ad9-9088-44841c98919a" ], - "x-ms-correlation-request-id": [ "51e3688f-8759-4ad9-9088-44841c98919a" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T013643Z:51e3688f-8759-4ad9-9088-44841c98919a" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], + "x-ms-request-id": [ "a0ac71b0-89c8-4ff4-92e0-0211b120b934" ], + "x-ms-correlation-request-id": [ "a0ac71b0-89c8-4ff4-92e0-0211b120b934" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240422T024054Z:a0ac71b0-89c8-4ff4-92e0-0211b120b934" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 7494F4E9A55E4B79AC5CF9E31E683A5A Ref B: MAA201060513029 Ref C: 2024-03-25T01:36:42Z" ], - "Date": [ "Mon, 25 Mar 2024 01:36:42 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 63710AC955294257AA9BD463D751522E Ref B: MAA201060514035 Ref C: 2024-04-22T02:40:52Z" ], + "Date": [ "Mon, 22 Apr 2024 02:40:53 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "737" ], + "Content-Length": [ "709" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/operationStatus/NDY0ZDFhZGItNzk0My00NTljLTg3YjYtMjkxZmE1OTIxYWIyOzYwMzYyMWU0LWM0ODktNDNiNS1hNGIzLTQyYWRjZjFjYTlmOQ==\",\"name\":\"NDY0ZDFhZGItNzk0My00NTljLTg3YjYtMjkxZmE1OTIxYWIyOzYwMzYyMWU0LWM0ODktNDNiNS1hNGIzLTQyYWRjZjFjYTlmOQ==\",\"status\":\"Succeeded\",\"startTime\":\"2024-03-25T01:36:12.1953451Z\",\"endTime\":\"2024-03-25T01:36:13Z\",\"properties\":{\"jobId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/vdhingraRG/providers/Microsoft.DataProtection/BackupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"objectType\":\"OperationJobExtendedInfo\"}}", + "Content": "{\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/operationStatus/YmE2MDhmNDQtZDkzZi00YmRiLTkxMTgtZTIxODc1MzNjNmNkO2E4MWMzZTBlLTEyNjAtNGE4ZC1iYWUxLTAyYWJlYTgwZmFiNw==\",\"name\":\"YmE2MDhmNDQtZDkzZi00YmRiLTkxMTgtZTIxODc1MzNjNmNkO2E4MWMzZTBlLTEyNjAtNGE4ZC1iYWUxLTAyYWJlYTgwZmFiNw==\",\"status\":\"Succeeded\",\"startTime\":\"2024-04-22T02:40:22.5768035Z\",\"endTime\":\"2024-04-22T02:40:23Z\",\"properties\":{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"objectType\":\"OperationJobExtendedInfo\"}}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/NDY0ZDFhZGItNzk0My00NTljLTg3YjYtMjkxZmE1OTIxYWIyOzYwMzYyMWU0LWM0ODktNDNiNS1hNGIzLTQyYWRjZjFjYTlmOQ==?api-version=2023-12-01\u0026t=638469273724463900\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=Y4HI722wCO_5JZYO2B6WuD4xCENGRSI1vCwWjN4Of9aSV38Zikm2U1NfsndErbMgzQQl-AcGPnZOuGGD25f6HZnWNl3Ir-tODLC5Yfct590H-6AtrueXpHcbSeh-JPgp1dTOtBE3DJ444xLucsWj4UUw4374qyJYtWH9urIgAUogiryOKQet-myNAJ7CjiGjNCjgVtYt--DlMs1cRZ-iS9Cn60O7Y2ctLSFaaklU02FhPe2pA_ju8NALlWAl1Xj2xDPVRoJjvXZvhok2HnjmMMTlzFeoE5WTwE3HW16in_7p_ns6054jomoKpaVlXC2rZkVOM2LTx7e9KSB82JCi-Q\u0026h=1_jbYe51CrzLE0lcN8FoNCnJKgxNryNFw9o5fl1A3uc+6": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/YmE2MDhmNDQtZDkzZi00YmRiLTkxMTgtZTIxODc1MzNjNmNkO2E4MWMzZTBlLTEyNjAtNGE4ZC1iYWUxLTAyYWJlYTgwZmFiNw==?api-version=2024-04-01\u0026t=638493504227798695\u0026c=MIIHHjCCBgagAwIBAgITfwKWMg6goKCq4WwU2AAEApYyDjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMTAzMDI3WhcNMjUwMTI0MTAzMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALMk1pBZQQoNY8tos8XBaEjHjcdWubRHrQk5CqKcX3tpFfukMI0_PVZK-Kr7xkZFQTYp_ItaM2RPRDXx-0W9-mmrUBKvdcQ0rdjcSXDek7GvWS29F5sDHojD1v3e9k2jJa4cVSWwdIguvXmdUa57t1EHxqtDzTL4WmjXitzY8QOIHLMRLyXUNg3Gqfxch40cmQeBoN4rVMlP31LizDfdwRyT1qghK7vgvworA3D9rE00aM0n7TcBH9I0mu-96JE0gSX1FWXctlEcmdwQmXj_U0sZCu11_Yr6Oa34bmUQHGc3hDvO226L1Au-QsLuRWFLbKJ-0wmSV5b3CbU1kweD5LUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBQuoVkxdNhVmd-S8fHDZYn-1n9OaDAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG6_wraDi57hTBBW8zI9n7Dnd66DCf9ok7v4gM1-qxp2gZjb_eEnriIZQcCD3jLvW4q5_59OicwRN13rP_GY33E9HLUgw245zqSCIGd6gYnaCyxPNdhEa-W6-ZBBw1iWX8l-RJqDOUYwkrI7Lw-iea9CuiTbLjw_BJ5NGmd8D5GOVxFRnhJ7RBRrwa6p2_UqZqvdg8kneiyymbidRJCOZ_xkZ8OwL-ini_ge44CIEB7rvqwdf7DfwOjoDr7JU88gM0QgcE7kzx7cVUZpaJAXXhxLvOcb0MBuRiEyexrV6HrbOTafc9naJB26ejIXNHLsuIhpMMa5NEK60hGauLEMNlY\u0026s=Uvt4Pe5JhGmPo98Tw5WsCJaznnjJiQUBYBsae5YU8LYkoyW1Y9W5gkmNnTsRaGbY3RrQ2WyBWC_jcXCzcI4tSDaKz3AkH6miIHGM_E6cFjPDmt0OCdDzBGqXS04YgtbbQ2xQUtZVMiSzBXbB_QRGuEGyhv2kBkLw5u4zDmenv3yPDOGiFkJ1qUHX8koR4Y8qXgAvzWQeVgWpMfxEBMKvL5Av292E696Sp_2B9DOCy2lUBbjrykVF6kD1_Q9HUXBdPjAlTXuoYs79ye6fVg5mMvhiASXhcc1BQlFmY8JAELXApMEplsBTHRApDURSlWE7QIpLLmNoyyp63rEwO0oF6g\u0026h=ETIiXat7wX7dc6mSKueE2DneKlMhVDcfJs4F72SLxiY+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/NDY0ZDFhZGItNzk0My00NTljLTg3YjYtMjkxZmE1OTIxYWIyOzYwMzYyMWU0LWM0ODktNDNiNS1hNGIzLTQyYWRjZjFjYTlmOQ==?api-version=2023-12-01\u0026t=638469273724463900\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=Y4HI722wCO_5JZYO2B6WuD4xCENGRSI1vCwWjN4Of9aSV38Zikm2U1NfsndErbMgzQQl-AcGPnZOuGGD25f6HZnWNl3Ir-tODLC5Yfct590H-6AtrueXpHcbSeh-JPgp1dTOtBE3DJ444xLucsWj4UUw4374qyJYtWH9urIgAUogiryOKQet-myNAJ7CjiGjNCjgVtYt--DlMs1cRZ-iS9Cn60O7Y2ctLSFaaklU02FhPe2pA_ju8NALlWAl1Xj2xDPVRoJjvXZvhok2HnjmMMTlzFeoE5WTwE3HW16in_7p_ns6054jomoKpaVlXC2rZkVOM2LTx7e9KSB82JCi-Q\u0026h=1_jbYe51CrzLE0lcN8FoNCnJKgxNryNFw9o5fl1A3uc", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/YmE2MDhmNDQtZDkzZi00YmRiLTkxMTgtZTIxODc1MzNjNmNkO2E4MWMzZTBlLTEyNjAtNGE4ZC1iYWUxLTAyYWJlYTgwZmFiNw==?api-version=2024-04-01\u0026t=638493504227798695\u0026c=MIIHHjCCBgagAwIBAgITfwKWMg6goKCq4WwU2AAEApYyDjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMTAzMDI3WhcNMjUwMTI0MTAzMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALMk1pBZQQoNY8tos8XBaEjHjcdWubRHrQk5CqKcX3tpFfukMI0_PVZK-Kr7xkZFQTYp_ItaM2RPRDXx-0W9-mmrUBKvdcQ0rdjcSXDek7GvWS29F5sDHojD1v3e9k2jJa4cVSWwdIguvXmdUa57t1EHxqtDzTL4WmjXitzY8QOIHLMRLyXUNg3Gqfxch40cmQeBoN4rVMlP31LizDfdwRyT1qghK7vgvworA3D9rE00aM0n7TcBH9I0mu-96JE0gSX1FWXctlEcmdwQmXj_U0sZCu11_Yr6Oa34bmUQHGc3hDvO226L1Au-QsLuRWFLbKJ-0wmSV5b3CbU1kweD5LUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBQuoVkxdNhVmd-S8fHDZYn-1n9OaDAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG6_wraDi57hTBBW8zI9n7Dnd66DCf9ok7v4gM1-qxp2gZjb_eEnriIZQcCD3jLvW4q5_59OicwRN13rP_GY33E9HLUgw245zqSCIGd6gYnaCyxPNdhEa-W6-ZBBw1iWX8l-RJqDOUYwkrI7Lw-iea9CuiTbLjw_BJ5NGmd8D5GOVxFRnhJ7RBRrwa6p2_UqZqvdg8kneiyymbidRJCOZ_xkZ8OwL-ini_ge44CIEB7rvqwdf7DfwOjoDr7JU88gM0QgcE7kzx7cVUZpaJAXXhxLvOcb0MBuRiEyexrV6HrbOTafc9naJB26ejIXNHLsuIhpMMa5NEK60hGauLEMNlY\u0026s=Uvt4Pe5JhGmPo98Tw5WsCJaznnjJiQUBYBsae5YU8LYkoyW1Y9W5gkmNnTsRaGbY3RrQ2WyBWC_jcXCzcI4tSDaKz3AkH6miIHGM_E6cFjPDmt0OCdDzBGqXS04YgtbbQ2xQUtZVMiSzBXbB_QRGuEGyhv2kBkLw5u4zDmenv3yPDOGiFkJ1qUHX8koR4Y8qXgAvzWQeVgWpMfxEBMKvL5Av292E696Sp_2B9DOCy2lUBbjrykVF6kD1_Q9HUXBdPjAlTXuoYs79ye6fVg5mMvhiASXhcc1BQlFmY8JAELXApMEplsBTHRApDURSlWE7QIpLLmNoyyp63rEwO0oF6g\u0026h=ETIiXat7wX7dc6mSKueE2DneKlMhVDcfJs4F72SLxiY", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "6" ], - "x-ms-client-request-id": [ "d2c08984-4a54-46bf-bd92-dfad236744fb" ], + "x-ms-client-request-id": [ "9bc80aa1-858a-4aa1-9fd6-2721b60bf139" ], "CommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc" ], "FullCommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc_BackupExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -230,39 +235,40 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Retry-After": [ "30" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationStatus/NDY0ZDFhZGItNzk0My00NTljLTg3YjYtMjkxZmE1OTIxYWIyOzYwMzYyMWU0LWM0ODktNDNiNS1hNGIzLTQyYWRjZjFjYTlmOQ==?api-version=2023-12-01\u0026t=638469274038405200\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=VawgBFmHw5VT75QWTEyCCGwigcSDObL6TzoiY8YCL2bMM9i9P3wWHXyJWs0LqWk6V4k2e-6A1uUVxRTZn32CesYNvOpLqn9XXRkXu4Daj-0ievy6de7AxqJ2PSvJ6742SCYXveH3sC0GAc_QbpRyABvArCVN3BP1Zumzx-rptjoILf1eT-k2FGyUuBqv-ULlmCll79tUQusk6_uRErYz31GelxNqUIx1Ed_HFFxRzp31x_XriaJODPK9yzU7pY_KwW2Z5yWiGF7YJoJWtaHZW5CZVPEzWRBeO7bCLU_Pp6Gw0yGO8piW_W7nI0vKCgEbxRArL80EH3aIcet9r9J1Pg\u0026h=HMCDLAZsy8l9t6qSYAEo7_cNJRV5smh9rfRI9w9PVdY" ], - "x-ms-request-id": [ "4c3301cb-1fef-40d9-a6ce-536e24d95cee" ], - "x-ms-correlation-request-id": [ "4c3301cb-1fef-40d9-a6ce-536e24d95cee" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T013643Z:4c3301cb-1fef-40d9-a6ce-536e24d95cee" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/eastus2euap/operationStatus/YmE2MDhmNDQtZDkzZi00YmRiLTkxMTgtZTIxODc1MzNjNmNkO2E4MWMzZTBlLTEyNjAtNGE4ZC1iYWUxLTAyYWJlYTgwZmFiNw==?api-version=2024-04-01\u0026t=638493504543788908\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=2zox3toZV25A1_vIcp7OUplzvmnqsMiKUkeflacr794rjt98x1OS7rnAtirzNH0M4b0O_RFuGq4SJQk1Auw2FokocrnbCGM0UswzZLlp1Bl9YJXHedcEwmpNV6uUtFi-CtW20ZJz4BjcKlHLwnQUwv-OG6Yj8lTWc3j3A5sTsgTYGUfT-V11Ml4RvtTsBrEquB8vdFun3zclfixGgft2rhiWlnUDPgX1bpEGyW-HIPuF0HT9bh7V2k0hCTfNOYCdqnLuy7Omn9RO73a11MXmMD2YgY04orRoZAuuth1JXkAttSl8yZmHwnoasURxwphBIfrVK45kLd35BUoMiAcuMQ\u0026h=BIbylhplAoAtM_qZxhVlPcUKedlfPcf9llwrWD5At7Q" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "70ed47de-a68c-481f-9f38-6eb52068d7d8" ], + "x-ms-correlation-request-id": [ "70ed47de-a68c-481f-9f38-6eb52068d7d8" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240422T024054Z:70ed47de-a68c-481f-9f38-6eb52068d7d8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 712F5D3FC4B447ACA567B956A078BE68 Ref B: MAA201060513029 Ref C: 2024-03-25T01:36:43Z" ], - "Date": [ "Mon, 25 Mar 2024 01:36:42 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 37F637E9D7C74B9882E86FEF5D7A63B7 Ref B: MAA201060514035 Ref C: 2024-04-22T02:40:54Z" ], + "Date": [ "Mon, 22 Apr 2024 02:40:53 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "245" ], + "Content-Length": [ "231" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"jobId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/vdhingraRG/providers/Microsoft.DataProtection/BackupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"objectType\":\"OperationJobExtendedInfo\"}", + "Content": "{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"objectType\":\"OperationJobExtendedInfo\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+7": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "7" ], - "x-ms-client-request-id": [ "e3199448-c92b-4ca1-a988-692779466326" ], + "x-ms-client-request-id": [ "59724571-0fa0-46e4-b22a-ef54eba9024c" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -274,37 +280,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "4687d4ce-3675-4c84-97d0-16e1336598ab" ], - "x-ms-correlation-request-id": [ "4687d4ce-3675-4c84-97d0-16e1336598ab" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T013655Z:4687d4ce-3675-4c84-97d0-16e1336598ab" ], + "x-ms-request-id": [ "a5400406-2180-4824-b3ff-7a50df8affd6" ], + "x-ms-correlation-request-id": [ "a5400406-2180-4824-b3ff-7a50df8affd6" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240422T024105Z:a5400406-2180-4824-b3ff-7a50df8affd6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: F28BD2B90F114DEA9AA9700AFDD69F64 Ref B: MAA201060513029 Ref C: 2024-03-25T01:36:53Z" ], - "Date": [ "Mon, 25 Mar 2024 01:36:54 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 8AE4F0C6971A4CBE823A217D6206F037 Ref B: MAA201060514035 Ref C: 2024-04-22T02:41:04Z" ], + "Date": [ "Mon, 22 Apr 2024 02:41:05 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+8": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "8" ], - "x-ms-client-request-id": [ "eb44a6b6-4181-419c-931a-b969d7321278" ], + "x-ms-client-request-id": [ "64787ce5-2361-42a1-ae87-807a9d5921b1" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -316,37 +323,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "474e2e52-356f-4f4b-bf41-6d8243d0fa94" ], - "x-ms-correlation-request-id": [ "474e2e52-356f-4f4b-bf41-6d8243d0fa94" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T013706Z:474e2e52-356f-4f4b-bf41-6d8243d0fa94" ], + "x-ms-request-id": [ "87129217-5156-4ad8-a633-53f69fe8ed39" ], + "x-ms-correlation-request-id": [ "87129217-5156-4ad8-a633-53f69fe8ed39" ], + "x-ms-routing-request-id": [ "JIOINDIACENTRAL:20240422T024118Z:87129217-5156-4ad8-a633-53f69fe8ed39" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: FBDD711D148C42A5A2F9D56BFACEFD18 Ref B: MAA201060513029 Ref C: 2024-03-25T01:37:05Z" ], - "Date": [ "Mon, 25 Mar 2024 01:37:05 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 662683BD3313468AB1E207EBBD1933C9 Ref B: MAA201060514035 Ref C: 2024-04-22T02:41:15Z" ], + "Date": [ "Mon, 22 Apr 2024 02:41:17 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+9": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "9" ], - "x-ms-client-request-id": [ "36a47d18-37aa-4954-962b-0f9adf4ef254" ], + "x-ms-client-request-id": [ "0da6c905-1d3f-4f27-8d30-1f74b830ac58" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -358,37 +366,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "7691fcfc-2d05-40da-bf49-15483af2c873" ], - "x-ms-correlation-request-id": [ "7691fcfc-2d05-40da-bf49-15483af2c873" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T013717Z:7691fcfc-2d05-40da-bf49-15483af2c873" ], + "x-ms-request-id": [ "b46d2598-c8d4-4a47-bb5f-51e51ae11e99" ], + "x-ms-correlation-request-id": [ "b46d2598-c8d4-4a47-bb5f-51e51ae11e99" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240422T024129Z:b46d2598-c8d4-4a47-bb5f-51e51ae11e99" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 9F1A05D6D6BD4AA5821036994F3E87D0 Ref B: MAA201060513029 Ref C: 2024-03-25T01:37:16Z" ], - "Date": [ "Mon, 25 Mar 2024 01:37:16 GMT" ] + "X-MSEdge-Ref": [ "Ref A: E263469907C944D9B32E1D0766149B9C Ref B: MAA201060514035 Ref C: 2024-04-22T02:41:28Z" ], + "Date": [ "Mon, 22 Apr 2024 02:41:29 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+10": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "10" ], - "x-ms-client-request-id": [ "a76c939e-3b67-4849-80a4-bd9c623fc162" ], + "x-ms-client-request-id": [ "0acc88da-7519-49f9-b986-8d26bf23bb62" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -400,37 +409,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "ec297cac-4a8a-402b-96b5-2bd82d2ad98f" ], - "x-ms-correlation-request-id": [ "ec297cac-4a8a-402b-96b5-2bd82d2ad98f" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T013729Z:ec297cac-4a8a-402b-96b5-2bd82d2ad98f" ], + "x-ms-request-id": [ "fc7aee18-0e92-4cc4-9b4f-04e280770ad5" ], + "x-ms-correlation-request-id": [ "fc7aee18-0e92-4cc4-9b4f-04e280770ad5" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240422T024141Z:fc7aee18-0e92-4cc4-9b4f-04e280770ad5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: FC27841630144417A8134CC027D28039 Ref B: MAA201060513029 Ref C: 2024-03-25T01:37:27Z" ], - "Date": [ "Mon, 25 Mar 2024 01:37:28 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 9E7BFA370ABC4B8AB09FC29AA1596F6D Ref B: MAA201060514035 Ref C: 2024-04-22T02:41:39Z" ], + "Date": [ "Mon, 22 Apr 2024 02:41:40 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+11": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "11" ], - "x-ms-client-request-id": [ "e5547f0c-f4c4-478f-a953-d068e390afbf" ], + "x-ms-client-request-id": [ "3f583458-5a24-4812-8636-769be55ce70f" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -442,37 +452,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "da6e218f-8390-4a0c-b59d-1d40956e5f8b" ], - "x-ms-correlation-request-id": [ "da6e218f-8390-4a0c-b59d-1d40956e5f8b" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T013740Z:da6e218f-8390-4a0c-b59d-1d40956e5f8b" ], + "x-ms-request-id": [ "5ba1ccac-2bee-4ac4-94c1-c0e13cf8f583" ], + "x-ms-correlation-request-id": [ "5ba1ccac-2bee-4ac4-94c1-c0e13cf8f583" ], + "x-ms-routing-request-id": [ "JIOINDIACENTRAL:20240422T024152Z:5ba1ccac-2bee-4ac4-94c1-c0e13cf8f583" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 7E3FDF5444534ABEB79268876F103CF2 Ref B: MAA201060513029 Ref C: 2024-03-25T01:37:39Z" ], - "Date": [ "Mon, 25 Mar 2024 01:37:39 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 18DDF1324C764DEAA60BE9B12F8AA513 Ref B: MAA201060514035 Ref C: 2024-04-22T02:41:51Z" ], + "Date": [ "Mon, 22 Apr 2024 02:41:51 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+12": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "12" ], - "x-ms-client-request-id": [ "ebc95867-42a9-468d-87c1-cd00d52d9bb9" ], + "x-ms-client-request-id": [ "28702ac6-ccda-4b8c-b0d2-c3bac55382ff" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -484,37 +495,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "e5a65fc0-342e-4d6f-ae13-77fa0870b5cd" ], - "x-ms-correlation-request-id": [ "e5a65fc0-342e-4d6f-ae13-77fa0870b5cd" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T013751Z:e5a65fc0-342e-4d6f-ae13-77fa0870b5cd" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "c96367ce-45df-491d-87fd-fb2afaa58421" ], + "x-ms-correlation-request-id": [ "c96367ce-45df-491d-87fd-fb2afaa58421" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240422T024203Z:c96367ce-45df-491d-87fd-fb2afaa58421" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 5E8BF07EB3914CB189BC11CFE95F8518 Ref B: MAA201060513029 Ref C: 2024-03-25T01:37:50Z" ], - "Date": [ "Mon, 25 Mar 2024 01:37:51 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 821567404D484973A28526DE9D868CE0 Ref B: MAA201060514035 Ref C: 2024-04-22T02:42:02Z" ], + "Date": [ "Mon, 22 Apr 2024 02:42:03 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+13": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "13" ], - "x-ms-client-request-id": [ "132a7ebe-d98b-4c57-a995-a1341d664790" ], + "x-ms-client-request-id": [ "2934d80e-bc2b-4dc9-9418-c10a6cb5dacc" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -526,37 +538,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "51f3b170-a9bf-43bf-abd2-5412525b7050" ], - "x-ms-correlation-request-id": [ "51f3b170-a9bf-43bf-abd2-5412525b7050" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T013802Z:51f3b170-a9bf-43bf-abd2-5412525b7050" ], + "x-ms-request-id": [ "9fb860f1-5cb4-4c93-a90a-579f2fb2b75f" ], + "x-ms-correlation-request-id": [ "9fb860f1-5cb4-4c93-a90a-579f2fb2b75f" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240422T024215Z:9fb860f1-5cb4-4c93-a90a-579f2fb2b75f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 5BDB0845FF564DD897D0BD492CBE58CF Ref B: MAA201060513029 Ref C: 2024-03-25T01:38:01Z" ], - "Date": [ "Mon, 25 Mar 2024 01:38:02 GMT" ] + "X-MSEdge-Ref": [ "Ref A: B12C5C2663DC4B5588053CAF7529C424 Ref B: MAA201060514035 Ref C: 2024-04-22T02:42:13Z" ], + "Date": [ "Mon, 22 Apr 2024 02:42:14 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+14": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+14": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "14" ], - "x-ms-client-request-id": [ "6c888c82-1826-478a-b648-fb8fb04d9cdc" ], + "x-ms-client-request-id": [ "5993aa2f-c595-423a-a4a1-5bdd82c7ff87" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -568,37 +581,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "e8d904bb-0d2d-4c26-8dd8-b9e78d76f52c" ], - "x-ms-correlation-request-id": [ "e8d904bb-0d2d-4c26-8dd8-b9e78d76f52c" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T013813Z:e8d904bb-0d2d-4c26-8dd8-b9e78d76f52c" ], + "x-ms-request-id": [ "cfab6a62-5e95-453f-b4a7-3b92c98b6393" ], + "x-ms-correlation-request-id": [ "cfab6a62-5e95-453f-b4a7-3b92c98b6393" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240422T024226Z:cfab6a62-5e95-453f-b4a7-3b92c98b6393" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 631AFAEF3E47476FB57B4B84D5606ABE Ref B: MAA201060513029 Ref C: 2024-03-25T01:38:12Z" ], - "Date": [ "Mon, 25 Mar 2024 01:38:13 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 0FBEAB4964434379BC0AD1ECD27E835D Ref B: MAA201060514035 Ref C: 2024-04-22T02:42:25Z" ], + "Date": [ "Mon, 22 Apr 2024 02:42:25 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+15": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+15": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "15" ], - "x-ms-client-request-id": [ "0cad544d-45e8-474a-9b4d-c075258a6906" ], + "x-ms-client-request-id": [ "ba338490-d147-4b20-9a36-5b15831ea0ad" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -610,37 +624,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "3aae3866-273b-423f-aecd-8f7400ad2857" ], - "x-ms-correlation-request-id": [ "3aae3866-273b-423f-aecd-8f7400ad2857" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T013824Z:3aae3866-273b-423f-aecd-8f7400ad2857" ], + "x-ms-request-id": [ "80ea5a61-f2e7-41ee-8ec1-74d2e60ae8ec" ], + "x-ms-correlation-request-id": [ "80ea5a61-f2e7-41ee-8ec1-74d2e60ae8ec" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240422T024237Z:80ea5a61-f2e7-41ee-8ec1-74d2e60ae8ec" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: D6B507154C1E4D60BE7062A0C4E11B3E Ref B: MAA201060513029 Ref C: 2024-03-25T01:38:23Z" ], - "Date": [ "Mon, 25 Mar 2024 01:38:24 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 760B407B59264D5494E2ACF84CF0902D Ref B: MAA201060514035 Ref C: 2024-04-22T02:42:36Z" ], + "Date": [ "Mon, 22 Apr 2024 02:42:36 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+16": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+16": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "16" ], - "x-ms-client-request-id": [ "a4df5a8c-fdec-4e01-b0f2-07a13f2474f5" ], + "x-ms-client-request-id": [ "5d8bb990-c560-4fbb-95cc-db29ae5e5f3c" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -652,37 +667,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "197" ], - "x-ms-request-id": [ "c99883e7-3088-44e5-9de4-672c0afdc5e2" ], - "x-ms-correlation-request-id": [ "c99883e7-3088-44e5-9de4-672c0afdc5e2" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T013835Z:c99883e7-3088-44e5-9de4-672c0afdc5e2" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "d0c8e9f2-7fb6-45a5-a7e9-bce0b6579ac2" ], + "x-ms-correlation-request-id": [ "d0c8e9f2-7fb6-45a5-a7e9-bce0b6579ac2" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240422T024248Z:d0c8e9f2-7fb6-45a5-a7e9-bce0b6579ac2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: CB6EF951CB8645A4BC6A7847522B444F Ref B: MAA201060513029 Ref C: 2024-03-25T01:38:34Z" ], - "Date": [ "Mon, 25 Mar 2024 01:38:35 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 234B48FC276744D2BDB426BAEDEBD699 Ref B: MAA201060514035 Ref C: 2024-04-22T02:42:47Z" ], + "Date": [ "Mon, 22 Apr 2024 02:42:48 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+17": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+17": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "17" ], - "x-ms-client-request-id": [ "27ac8cf1-c99f-40ea-b14b-94f594777285" ], + "x-ms-client-request-id": [ "812cc314-4af1-490d-a1ae-75981b191aef" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -694,37 +710,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "4233e2d4-6757-407c-9989-94036ea9aaca" ], - "x-ms-correlation-request-id": [ "4233e2d4-6757-407c-9989-94036ea9aaca" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T013846Z:4233e2d4-6757-407c-9989-94036ea9aaca" ], + "x-ms-request-id": [ "305b6b6b-d04f-4ea4-842c-f6fe244730cf" ], + "x-ms-correlation-request-id": [ "305b6b6b-d04f-4ea4-842c-f6fe244730cf" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240422T024259Z:305b6b6b-d04f-4ea4-842c-f6fe244730cf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 3DCF353DD88A4D32B34BD55A594F83F0 Ref B: MAA201060513029 Ref C: 2024-03-25T01:38:45Z" ], - "Date": [ "Mon, 25 Mar 2024 01:38:46 GMT" ] + "X-MSEdge-Ref": [ "Ref A: F87A422361AB46C8911D75D6920B0A98 Ref B: MAA201060514035 Ref C: 2024-04-22T02:42:58Z" ], + "Date": [ "Mon, 22 Apr 2024 02:42:59 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+18": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+18": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "18" ], - "x-ms-client-request-id": [ "54d5d832-beec-43ae-b5d4-98e20ae3fd35" ], + "x-ms-client-request-id": [ "432f3567-ce6e-460f-97ee-e4fe7e27cfc0" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -736,37 +753,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "abbcec9e-9426-4646-9bff-bb895d74a2fa" ], - "x-ms-correlation-request-id": [ "abbcec9e-9426-4646-9bff-bb895d74a2fa" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T013857Z:abbcec9e-9426-4646-9bff-bb895d74a2fa" ], + "x-ms-request-id": [ "faf1eb31-d733-4ab4-abac-17ffdc4844ec" ], + "x-ms-correlation-request-id": [ "faf1eb31-d733-4ab4-abac-17ffdc4844ec" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240422T024311Z:faf1eb31-d733-4ab4-abac-17ffdc4844ec" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 08A3F22F15A24E79815A48E99C9BFF51 Ref B: MAA201060513029 Ref C: 2024-03-25T01:38:56Z" ], - "Date": [ "Mon, 25 Mar 2024 01:38:57 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 424D511A6E1C4BD1A6B0D2000FDBDD82 Ref B: MAA201060514035 Ref C: 2024-04-22T02:43:10Z" ], + "Date": [ "Mon, 22 Apr 2024 02:43:11 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+19": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+19": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "19" ], - "x-ms-client-request-id": [ "ebe9d806-d304-4dcc-84e1-54525bcc3331" ], + "x-ms-client-request-id": [ "b925138f-498d-45a8-8d06-f0fb1fec89f5" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -778,37 +796,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "d35b8a21-38bd-43b3-8463-367211a11132" ], - "x-ms-correlation-request-id": [ "d35b8a21-38bd-43b3-8463-367211a11132" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T013909Z:d35b8a21-38bd-43b3-8463-367211a11132" ], + "x-ms-request-id": [ "2f288aeb-507b-4c23-a128-2e2f45fc8e0f" ], + "x-ms-correlation-request-id": [ "2f288aeb-507b-4c23-a128-2e2f45fc8e0f" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240422T024323Z:2f288aeb-507b-4c23-a128-2e2f45fc8e0f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: CD538846EB614A97AAB98DD3A624FEAB Ref B: MAA201060513029 Ref C: 2024-03-25T01:39:07Z" ], - "Date": [ "Mon, 25 Mar 2024 01:39:09 GMT" ] + "X-MSEdge-Ref": [ "Ref A: AB2F42DE0CDC49D08C79ED8EB86F4A21 Ref B: MAA201060514035 Ref C: 2024-04-22T02:43:21Z" ], + "Date": [ "Mon, 22 Apr 2024 02:43:22 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+20": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+20": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "20" ], - "x-ms-client-request-id": [ "6e1a951d-afde-4b88-a003-d100b2be6318" ], + "x-ms-client-request-id": [ "a229afff-e605-4a36-94dd-fa142f81223a" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -820,37 +839,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "771356cd-200c-4e72-9ec3-898860c348cd" ], - "x-ms-correlation-request-id": [ "771356cd-200c-4e72-9ec3-898860c348cd" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T013920Z:771356cd-200c-4e72-9ec3-898860c348cd" ], + "x-ms-request-id": [ "d6e9c8b8-2bbc-4057-9c7e-59c77edab5ab" ], + "x-ms-correlation-request-id": [ "d6e9c8b8-2bbc-4057-9c7e-59c77edab5ab" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240422T024334Z:d6e9c8b8-2bbc-4057-9c7e-59c77edab5ab" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 08A753DAFC1B479F937FBFA2F2368AAE Ref B: MAA201060513029 Ref C: 2024-03-25T01:39:19Z" ], - "Date": [ "Mon, 25 Mar 2024 01:39:20 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 39A08437C1F242A3BD5CB722AA5E25A8 Ref B: MAA201060514035 Ref C: 2024-04-22T02:43:33Z" ], + "Date": [ "Mon, 22 Apr 2024 02:43:33 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+21": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+21": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "21" ], - "x-ms-client-request-id": [ "a71b796b-3cc8-43d9-a9ce-e233f7797cd1" ], + "x-ms-client-request-id": [ "f7cacf84-79a0-482b-acc8-120fbd5b9177" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -862,37 +882,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "dca0fff5-a1fd-4df4-9cb3-2dd39bb8e128" ], - "x-ms-correlation-request-id": [ "dca0fff5-a1fd-4df4-9cb3-2dd39bb8e128" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T013931Z:dca0fff5-a1fd-4df4-9cb3-2dd39bb8e128" ], + "x-ms-request-id": [ "cb43d0da-f96d-45d1-8846-aac863d7c360" ], + "x-ms-correlation-request-id": [ "cb43d0da-f96d-45d1-8846-aac863d7c360" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240422T024345Z:cb43d0da-f96d-45d1-8846-aac863d7c360" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 499588265CBB4004842E87ACF388911E Ref B: MAA201060513029 Ref C: 2024-03-25T01:39:30Z" ], - "Date": [ "Mon, 25 Mar 2024 01:39:31 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 634F835A6AFB41CFAFF0DC45885729FF Ref B: MAA201060514035 Ref C: 2024-04-22T02:43:44Z" ], + "Date": [ "Mon, 22 Apr 2024 02:43:44 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+22": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+22": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "22" ], - "x-ms-client-request-id": [ "7b291929-f3e4-4128-b592-46d28f74a6cf" ], + "x-ms-client-request-id": [ "be16c486-36b6-44ac-9b3f-b11a7671cf18" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -904,37 +925,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "71797d08-a9e5-4206-a85a-8d88089c2730" ], - "x-ms-correlation-request-id": [ "71797d08-a9e5-4206-a85a-8d88089c2730" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T013942Z:71797d08-a9e5-4206-a85a-8d88089c2730" ], + "x-ms-request-id": [ "9b067f01-d6e4-4d63-9a5a-2788a2a42774" ], + "x-ms-correlation-request-id": [ "9b067f01-d6e4-4d63-9a5a-2788a2a42774" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240422T024357Z:9b067f01-d6e4-4d63-9a5a-2788a2a42774" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 827FD24A4294431B9A30A05BEA94CB77 Ref B: MAA201060513029 Ref C: 2024-03-25T01:39:41Z" ], - "Date": [ "Mon, 25 Mar 2024 01:39:42 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 4F048D04CEE84C2BB5ADCA4990A95ED9 Ref B: MAA201060514035 Ref C: 2024-04-22T02:43:55Z" ], + "Date": [ "Mon, 22 Apr 2024 02:43:56 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+23": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+23": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "23" ], - "x-ms-client-request-id": [ "1dcba7e2-e78f-4832-b14e-a166fa2cada3" ], + "x-ms-client-request-id": [ "ddc36e05-f51d-432f-bb50-89171529fd71" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -946,37 +968,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "37b5adce-104b-48f9-91dc-f05e356bb220" ], - "x-ms-correlation-request-id": [ "37b5adce-104b-48f9-91dc-f05e356bb220" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T013953Z:37b5adce-104b-48f9-91dc-f05e356bb220" ], + "x-ms-request-id": [ "352a8a9d-d1be-4ac2-8164-decb363d4389" ], + "x-ms-correlation-request-id": [ "352a8a9d-d1be-4ac2-8164-decb363d4389" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240422T024408Z:352a8a9d-d1be-4ac2-8164-decb363d4389" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 03D54F204CD544C181E4F6C07C806554 Ref B: MAA201060513029 Ref C: 2024-03-25T01:39:52Z" ], - "Date": [ "Mon, 25 Mar 2024 01:39:53 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 1805A702078B4D95B419D677740C869D Ref B: MAA201060514035 Ref C: 2024-04-22T02:44:07Z" ], + "Date": [ "Mon, 22 Apr 2024 02:44:07 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+24": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+24": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "24" ], - "x-ms-client-request-id": [ "c9366c2b-9c56-46d9-989a-4a1235345840" ], + "x-ms-client-request-id": [ "8e15b518-0db2-493c-a493-e1d698327549" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -988,37 +1011,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "0ae6527c-86b3-4e2e-b49e-475f87d0ba41" ], - "x-ms-correlation-request-id": [ "0ae6527c-86b3-4e2e-b49e-475f87d0ba41" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014005Z:0ae6527c-86b3-4e2e-b49e-475f87d0ba41" ], + "x-ms-request-id": [ "3bcd9c4a-3f05-4527-8c23-8f41b9268135" ], + "x-ms-correlation-request-id": [ "3bcd9c4a-3f05-4527-8c23-8f41b9268135" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240422T024419Z:3bcd9c4a-3f05-4527-8c23-8f41b9268135" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: C7F1C210C70043FC9CA86D55DC71C7DF Ref B: MAA201060513029 Ref C: 2024-03-25T01:40:04Z" ], - "Date": [ "Mon, 25 Mar 2024 01:40:04 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 4F08DB6994574A77AAAD93C263586C9E Ref B: MAA201060514035 Ref C: 2024-04-22T02:44:18Z" ], + "Date": [ "Mon, 22 Apr 2024 02:44:18 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+25": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+25": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "25" ], - "x-ms-client-request-id": [ "fd007661-cb66-46f1-aefe-8bbf745b3e7e" ], + "x-ms-client-request-id": [ "ffb57d63-ab52-46ff-aa71-5e99e517f108" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1030,37 +1054,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "03d56c5f-27f5-45ab-ba5a-27e63aa36483" ], - "x-ms-correlation-request-id": [ "03d56c5f-27f5-45ab-ba5a-27e63aa36483" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014016Z:03d56c5f-27f5-45ab-ba5a-27e63aa36483" ], + "x-ms-request-id": [ "bb243f86-e27c-4a2b-bc76-a5af18aab146" ], + "x-ms-correlation-request-id": [ "bb243f86-e27c-4a2b-bc76-a5af18aab146" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240422T024430Z:bb243f86-e27c-4a2b-bc76-a5af18aab146" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 560C8EC11E544BB299CE73365EF167DE Ref B: MAA201060513029 Ref C: 2024-03-25T01:40:15Z" ], - "Date": [ "Mon, 25 Mar 2024 01:40:15 GMT" ] + "X-MSEdge-Ref": [ "Ref A: F7DA6907D56A4E898041D0D06756CB89 Ref B: MAA201060514035 Ref C: 2024-04-22T02:44:29Z" ], + "Date": [ "Mon, 22 Apr 2024 02:44:30 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+26": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+26": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "26" ], - "x-ms-client-request-id": [ "bb67eafe-eccc-4035-b7a6-718ed44629f9" ], + "x-ms-client-request-id": [ "6ca3eac7-2bac-4409-86b3-03707d8842d6" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1072,37 +1097,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "3d5469a7-f5fd-4e05-bce7-24354360b188" ], - "x-ms-correlation-request-id": [ "3d5469a7-f5fd-4e05-bce7-24354360b188" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014027Z:3d5469a7-f5fd-4e05-bce7-24354360b188" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], + "x-ms-request-id": [ "5b5a147a-445a-419c-8fcc-f6b6d35edb6d" ], + "x-ms-correlation-request-id": [ "5b5a147a-445a-419c-8fcc-f6b6d35edb6d" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240422T024441Z:5b5a147a-445a-419c-8fcc-f6b6d35edb6d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: EC66346C319B4635AA26C3805CA7A791 Ref B: MAA201060513029 Ref C: 2024-03-25T01:40:26Z" ], - "Date": [ "Mon, 25 Mar 2024 01:40:26 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 023AF56A57314A8889C98408E6863262 Ref B: MAA201060514035 Ref C: 2024-04-22T02:44:40Z" ], + "Date": [ "Mon, 22 Apr 2024 02:44:41 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+27": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+27": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "27" ], - "x-ms-client-request-id": [ "82d5c038-8c24-4f36-a1c5-68bf8c6573de" ], + "x-ms-client-request-id": [ "b3cb22ad-a342-4c1e-bc52-3e1afc2a5480" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1114,37 +1140,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "196" ], - "x-ms-request-id": [ "d747d645-8749-42fa-8d29-0c00d23690c2" ], - "x-ms-correlation-request-id": [ "d747d645-8749-42fa-8d29-0c00d23690c2" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014038Z:d747d645-8749-42fa-8d29-0c00d23690c2" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "b2470e6e-e3fb-487a-b90e-1972237d3322" ], + "x-ms-correlation-request-id": [ "b2470e6e-e3fb-487a-b90e-1972237d3322" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240422T024453Z:b2470e6e-e3fb-487a-b90e-1972237d3322" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 238A7DDD527648CF9C7E377AB82AA1A1 Ref B: MAA201060513029 Ref C: 2024-03-25T01:40:37Z" ], - "Date": [ "Mon, 25 Mar 2024 01:40:38 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 70EB9EF6BC8A4973B59588617BFAAC8C Ref B: MAA201060514035 Ref C: 2024-04-22T02:44:52Z" ], + "Date": [ "Mon, 22 Apr 2024 02:44:52 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+28": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+28": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "28" ], - "x-ms-client-request-id": [ "f9de0120-0535-41b5-8176-07c57bcef992" ], + "x-ms-client-request-id": [ "3ca17eb1-6f22-4fec-8691-3375340d0627" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1156,37 +1183,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "e4c5c5d3-2b2d-4d97-8c8e-29e328892a48" ], - "x-ms-correlation-request-id": [ "e4c5c5d3-2b2d-4d97-8c8e-29e328892a48" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014050Z:e4c5c5d3-2b2d-4d97-8c8e-29e328892a48" ], + "x-ms-request-id": [ "5156eb5d-8510-43af-98c1-dcdb8fdf49c5" ], + "x-ms-correlation-request-id": [ "5156eb5d-8510-43af-98c1-dcdb8fdf49c5" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240422T024504Z:5156eb5d-8510-43af-98c1-dcdb8fdf49c5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 1934132E50E84A83A7046ADFF8E22F62 Ref B: MAA201060513029 Ref C: 2024-03-25T01:40:48Z" ], - "Date": [ "Mon, 25 Mar 2024 01:40:49 GMT" ] + "X-MSEdge-Ref": [ "Ref A: D53C8E7C9A5E470B9F19A52B5C0CC784 Ref B: MAA201060514035 Ref C: 2024-04-22T02:45:03Z" ], + "Date": [ "Mon, 22 Apr 2024 02:45:03 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+29": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+29": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "29" ], - "x-ms-client-request-id": [ "19e11c51-f1a7-4aad-9ea4-cf52b6828e4a" ], + "x-ms-client-request-id": [ "9e9c4874-1e76-4c6f-8fba-56fc8348ed9f" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1198,37 +1226,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "a47f8242-779f-42e4-8330-5dd351bf3eb2" ], - "x-ms-correlation-request-id": [ "a47f8242-779f-42e4-8330-5dd351bf3eb2" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014101Z:a47f8242-779f-42e4-8330-5dd351bf3eb2" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "197" ], + "x-ms-request-id": [ "a8ba5178-3255-4158-af3f-2212c2526d5c" ], + "x-ms-correlation-request-id": [ "a8ba5178-3255-4158-af3f-2212c2526d5c" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240422T024515Z:a8ba5178-3255-4158-af3f-2212c2526d5c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: DDC48699BE64465DA6E1FC81F67A49B9 Ref B: MAA201060513029 Ref C: 2024-03-25T01:41:00Z" ], - "Date": [ "Mon, 25 Mar 2024 01:41:00 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 090753AFB49D4A31A4F5DA4085DD42CB Ref B: MAA201060514035 Ref C: 2024-04-22T02:45:14Z" ], + "Date": [ "Mon, 22 Apr 2024 02:45:14 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+30": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+30": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "30" ], - "x-ms-client-request-id": [ "969a1383-17e2-4256-87fd-bc857c44a15f" ], + "x-ms-client-request-id": [ "6061ae02-2979-4ab3-bf60-4bc6e41f1db5" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1240,37 +1269,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "07d0e70f-a46b-4df7-ba3a-dad14f5088b1" ], - "x-ms-correlation-request-id": [ "07d0e70f-a46b-4df7-ba3a-dad14f5088b1" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014111Z:07d0e70f-a46b-4df7-ba3a-dad14f5088b1" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "34cab017-1b1b-488c-a339-24ceb5b2255b" ], + "x-ms-correlation-request-id": [ "34cab017-1b1b-488c-a339-24ceb5b2255b" ], + "x-ms-routing-request-id": [ "JIOINDIACENTRAL:20240422T024526Z:34cab017-1b1b-488c-a339-24ceb5b2255b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 7E5F6E44CB15475BB2C26F92A97F1E10 Ref B: MAA201060513029 Ref C: 2024-03-25T01:41:11Z" ], - "Date": [ "Mon, 25 Mar 2024 01:41:11 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 09C8D36A5B524AD3A9DA89266EB5198C Ref B: MAA201060514035 Ref C: 2024-04-22T02:45:25Z" ], + "Date": [ "Mon, 22 Apr 2024 02:45:25 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+31": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+31": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "31" ], - "x-ms-client-request-id": [ "79027a06-7740-4353-9703-2b806c9a809e" ], + "x-ms-client-request-id": [ "dfacb991-c2a6-45cc-85b1-4d128a101158" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1282,37 +1312,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "d6c76fcf-b694-4140-8c8c-b990095a7e74" ], - "x-ms-correlation-request-id": [ "d6c76fcf-b694-4140-8c8c-b990095a7e74" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014123Z:d6c76fcf-b694-4140-8c8c-b990095a7e74" ], + "x-ms-request-id": [ "13e76456-8754-4b31-b78e-4292e478f743" ], + "x-ms-correlation-request-id": [ "13e76456-8754-4b31-b78e-4292e478f743" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240422T024537Z:13e76456-8754-4b31-b78e-4292e478f743" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 8A3D93315615452CB324147EA986BC04 Ref B: MAA201060513029 Ref C: 2024-03-25T01:41:22Z" ], - "Date": [ "Mon, 25 Mar 2024 01:41:23 GMT" ] + "X-MSEdge-Ref": [ "Ref A: BCDB33D6EF8F486C837757235AAFC4F7 Ref B: MAA201060514035 Ref C: 2024-04-22T02:45:36Z" ], + "Date": [ "Mon, 22 Apr 2024 02:45:37 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+32": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+32": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "32" ], - "x-ms-client-request-id": [ "fe300416-a3e7-472f-8476-c81523fffc11" ], + "x-ms-client-request-id": [ "63a68e43-48a1-48c3-af4b-40d03e8e593b" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1324,37 +1355,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "f2b90b7b-5f5a-417e-8799-4fbad8fdb967" ], - "x-ms-correlation-request-id": [ "f2b90b7b-5f5a-417e-8799-4fbad8fdb967" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014135Z:f2b90b7b-5f5a-417e-8799-4fbad8fdb967" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "197" ], + "x-ms-request-id": [ "db7d9ee6-2763-4723-9a5a-2d6fa1d47540" ], + "x-ms-correlation-request-id": [ "db7d9ee6-2763-4723-9a5a-2d6fa1d47540" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240422T024549Z:db7d9ee6-2763-4723-9a5a-2d6fa1d47540" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 9A4EC421B7954A32AEBBA64345F97B54 Ref B: MAA201060513029 Ref C: 2024-03-25T01:41:33Z" ], - "Date": [ "Mon, 25 Mar 2024 01:41:35 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 797F7F8E227A4197B7B89A777151EAE7 Ref B: MAA201060514035 Ref C: 2024-04-22T02:45:48Z" ], + "Date": [ "Mon, 22 Apr 2024 02:45:48 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+33": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+33": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "33" ], - "x-ms-client-request-id": [ "adae8ae9-dcdd-4746-b992-494698bcde14" ], + "x-ms-client-request-id": [ "80cbaf4f-a046-4c19-87da-8bfae746c3c7" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1366,37 +1398,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "2e8e5e02-908c-4af4-9f23-d48852b364f1" ], - "x-ms-correlation-request-id": [ "2e8e5e02-908c-4af4-9f23-d48852b364f1" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014146Z:2e8e5e02-908c-4af4-9f23-d48852b364f1" ], + "x-ms-request-id": [ "6ad3233d-eb9a-4fe1-b3a7-dd0eff29e330" ], + "x-ms-correlation-request-id": [ "6ad3233d-eb9a-4fe1-b3a7-dd0eff29e330" ], + "x-ms-routing-request-id": [ "JIOINDIACENTRAL:20240422T024600Z:6ad3233d-eb9a-4fe1-b3a7-dd0eff29e330" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: BF8A058D85D64DCEBD88DF2E3CF47752 Ref B: MAA201060513029 Ref C: 2024-03-25T01:41:45Z" ], - "Date": [ "Mon, 25 Mar 2024 01:41:46 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 8354E350630D477BB627F4D692FFC95E Ref B: MAA201060514035 Ref C: 2024-04-22T02:45:59Z" ], + "Date": [ "Mon, 22 Apr 2024 02:45:59 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+34": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+34": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "34" ], - "x-ms-client-request-id": [ "78d618da-16b5-4767-bef2-7ca7d86c554c" ], + "x-ms-client-request-id": [ "24b24467-cdcf-4af6-91eb-4651c45aee99" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1408,37 +1441,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "0245b0a2-5960-4c05-964c-6c5aa54fd7d4" ], - "x-ms-correlation-request-id": [ "0245b0a2-5960-4c05-964c-6c5aa54fd7d4" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014157Z:0245b0a2-5960-4c05-964c-6c5aa54fd7d4" ], + "x-ms-request-id": [ "a1469100-c82e-46a5-9038-992d15e3e2eb" ], + "x-ms-correlation-request-id": [ "a1469100-c82e-46a5-9038-992d15e3e2eb" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240422T024612Z:a1469100-c82e-46a5-9038-992d15e3e2eb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 113DDF2B76B64442B635144AEE0AD22D Ref B: MAA201060513029 Ref C: 2024-03-25T01:41:56Z" ], - "Date": [ "Mon, 25 Mar 2024 01:41:57 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 6CDD15F8A656438DBD0CDE1599D726BF Ref B: MAA201060514035 Ref C: 2024-04-22T02:46:10Z" ], + "Date": [ "Mon, 22 Apr 2024 02:46:11 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+35": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+35": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "35" ], - "x-ms-client-request-id": [ "64338121-637c-4382-a1cb-1e7de152469e" ], + "x-ms-client-request-id": [ "89f1f770-f93a-4c54-b667-64710c20dfd6" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1450,37 +1484,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "195" ], - "x-ms-request-id": [ "58ee3fb9-c5bb-47f4-b234-e2561fda7f52" ], - "x-ms-correlation-request-id": [ "58ee3fb9-c5bb-47f4-b234-e2561fda7f52" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014208Z:58ee3fb9-c5bb-47f4-b234-e2561fda7f52" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "634c14f9-9ed3-47ae-bfdb-1f18a09fac20" ], + "x-ms-correlation-request-id": [ "634c14f9-9ed3-47ae-bfdb-1f18a09fac20" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240422T024623Z:634c14f9-9ed3-47ae-bfdb-1f18a09fac20" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 9B4724227B3E4D4BA5838387AF97FF00 Ref B: MAA201060513029 Ref C: 2024-03-25T01:42:07Z" ], - "Date": [ "Mon, 25 Mar 2024 01:42:08 GMT" ] + "X-MSEdge-Ref": [ "Ref A: A0303465F22244E88B3D4F3422B43FA8 Ref B: MAA201060514035 Ref C: 2024-04-22T02:46:22Z" ], + "Date": [ "Mon, 22 Apr 2024 02:46:22 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+36": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+36": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "36" ], - "x-ms-client-request-id": [ "9db5757a-33f6-421f-a019-790c339ae585" ], + "x-ms-client-request-id": [ "ef1e736d-7d74-4d85-b6ef-d19036fc6e2a" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1492,37 +1527,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "25b5dc4f-8c5b-4b22-80b2-22951b391657" ], - "x-ms-correlation-request-id": [ "25b5dc4f-8c5b-4b22-80b2-22951b391657" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014220Z:25b5dc4f-8c5b-4b22-80b2-22951b391657" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "196" ], + "x-ms-request-id": [ "56b600b1-9bac-4051-92a5-b162c715c038" ], + "x-ms-correlation-request-id": [ "56b600b1-9bac-4051-92a5-b162c715c038" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240422T024635Z:56b600b1-9bac-4051-92a5-b162c715c038" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 26AA2891217446F1B0C9C99E4DC1CDC5 Ref B: MAA201060513029 Ref C: 2024-03-25T01:42:18Z" ], - "Date": [ "Mon, 25 Mar 2024 01:42:19 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 900E7A555CA54442AED468BDAA6BD21E Ref B: MAA201060514035 Ref C: 2024-04-22T02:46:33Z" ], + "Date": [ "Mon, 22 Apr 2024 02:46:35 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+37": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+37": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "37" ], - "x-ms-client-request-id": [ "823cc194-d0f8-4fa3-ae90-b4c073b7852d" ], + "x-ms-client-request-id": [ "df79c682-4f52-4865-a81a-a71e079fb640" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1534,37 +1570,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "07d751fc-d886-44f7-88ed-2a683b94ddfc" ], - "x-ms-correlation-request-id": [ "07d751fc-d886-44f7-88ed-2a683b94ddfc" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014231Z:07d751fc-d886-44f7-88ed-2a683b94ddfc" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], + "x-ms-request-id": [ "83f63d0f-bae1-48ec-8103-f79e6375ed69" ], + "x-ms-correlation-request-id": [ "83f63d0f-bae1-48ec-8103-f79e6375ed69" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240422T024646Z:83f63d0f-bae1-48ec-8103-f79e6375ed69" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 6EA756DC60D9424096503B89A21A3526 Ref B: MAA201060513029 Ref C: 2024-03-25T01:42:30Z" ], - "Date": [ "Mon, 25 Mar 2024 01:42:30 GMT" ] + "X-MSEdge-Ref": [ "Ref A: B6317A665C3C4ADC8915389B09588420 Ref B: MAA201060514035 Ref C: 2024-04-22T02:46:45Z" ], + "Date": [ "Mon, 22 Apr 2024 02:46:46 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+38": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+38": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "38" ], - "x-ms-client-request-id": [ "414cc865-a321-4da2-95c7-9c0ed8eaec8d" ], + "x-ms-client-request-id": [ "40ca5e91-8d06-4afe-ae45-3e17b171eff5" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1576,37 +1613,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "6bfa62fc-8b09-4cfb-b208-2b8085c9293b" ], - "x-ms-correlation-request-id": [ "6bfa62fc-8b09-4cfb-b208-2b8085c9293b" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014242Z:6bfa62fc-8b09-4cfb-b208-2b8085c9293b" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], + "x-ms-request-id": [ "b1f50f67-9670-488b-b62e-ac4ea7bfe91e" ], + "x-ms-correlation-request-id": [ "b1f50f67-9670-488b-b62e-ac4ea7bfe91e" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240422T024657Z:b1f50f67-9670-488b-b62e-ac4ea7bfe91e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: D814049AE38B4F508DE315F0D92E7975 Ref B: MAA201060513029 Ref C: 2024-03-25T01:42:41Z" ], - "Date": [ "Mon, 25 Mar 2024 01:42:41 GMT" ] + "X-MSEdge-Ref": [ "Ref A: B955C557E0724C6B85B01C2CEAA7894F Ref B: MAA201060514035 Ref C: 2024-04-22T02:46:56Z" ], + "Date": [ "Mon, 22 Apr 2024 02:46:57 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+39": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+39": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "39" ], - "x-ms-client-request-id": [ "bb7e330e-edeb-4c89-ab59-2e2d056fa3af" ], + "x-ms-client-request-id": [ "de3ca707-933b-4aaa-862a-d0252981138e" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1618,37 +1656,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "5d975e3e-2233-408d-974d-0607b1dac131" ], - "x-ms-correlation-request-id": [ "5d975e3e-2233-408d-974d-0607b1dac131" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014253Z:5d975e3e-2233-408d-974d-0607b1dac131" ], + "x-ms-request-id": [ "21e485bc-6137-459e-b121-d7e7df3a0b12" ], + "x-ms-correlation-request-id": [ "21e485bc-6137-459e-b121-d7e7df3a0b12" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240422T024708Z:21e485bc-6137-459e-b121-d7e7df3a0b12" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 3627E84562EF4503B74CEC65D363ACCD Ref B: MAA201060513029 Ref C: 2024-03-25T01:42:52Z" ], - "Date": [ "Mon, 25 Mar 2024 01:42:53 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 9BBB4713E5D04CF5B80F677237DC007B Ref B: MAA201060514035 Ref C: 2024-04-22T02:47:07Z" ], + "Date": [ "Mon, 22 Apr 2024 02:47:08 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+40": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+40": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "40" ], - "x-ms-client-request-id": [ "1d557f4e-3f79-4fdf-896b-267eacddb60b" ], + "x-ms-client-request-id": [ "6e317ba5-9be8-47f8-a46a-127d2f43dc39" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1660,37 +1699,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "c7f3bd5e-04b7-4e8a-891a-041155677124" ], - "x-ms-correlation-request-id": [ "c7f3bd5e-04b7-4e8a-891a-041155677124" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014304Z:c7f3bd5e-04b7-4e8a-891a-041155677124" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "42166d9b-d010-466c-8c32-590effa498d7" ], + "x-ms-correlation-request-id": [ "42166d9b-d010-466c-8c32-590effa498d7" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240422T024719Z:42166d9b-d010-466c-8c32-590effa498d7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: CB27902B2B89400D858F510B88630A60 Ref B: MAA201060513029 Ref C: 2024-03-25T01:43:03Z" ], - "Date": [ "Mon, 25 Mar 2024 01:43:04 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 214172E630CE4378A16896766A37149D Ref B: MAA201060514035 Ref C: 2024-04-22T02:47:18Z" ], + "Date": [ "Mon, 22 Apr 2024 02:47:19 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+41": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+41": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "41" ], - "x-ms-client-request-id": [ "4308823a-9a02-4a11-b92e-21fbbfa1c611" ], + "x-ms-client-request-id": [ "c0625969-e89f-4240-a8ad-cac07cb01c06" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1702,37 +1742,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "aeda591f-491a-4269-a4e3-5078a6d0d43a" ], - "x-ms-correlation-request-id": [ "aeda591f-491a-4269-a4e3-5078a6d0d43a" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014315Z:aeda591f-491a-4269-a4e3-5078a6d0d43a" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "28f9bd86-da18-48b0-9299-9e2c25283e83" ], + "x-ms-correlation-request-id": [ "28f9bd86-da18-48b0-9299-9e2c25283e83" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240422T024730Z:28f9bd86-da18-48b0-9299-9e2c25283e83" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 11247A30F62545FBA909DA345F1B8FEA Ref B: MAA201060513029 Ref C: 2024-03-25T01:43:14Z" ], - "Date": [ "Mon, 25 Mar 2024 01:43:15 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 57E9FDCCFDCA4DD1B10BBA73EF53F73E Ref B: MAA201060514035 Ref C: 2024-04-22T02:47:29Z" ], + "Date": [ "Mon, 22 Apr 2024 02:47:30 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+42": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+42": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "42" ], - "x-ms-client-request-id": [ "bdfe0d22-c301-453e-a452-2bf6e0b64abc" ], + "x-ms-client-request-id": [ "7b3861bb-c7b8-4dc6-ac9b-3b1d298d9baa" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1744,37 +1785,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "ce0dc1f6-096c-408f-8a53-9bb1f537670f" ], - "x-ms-correlation-request-id": [ "ce0dc1f6-096c-408f-8a53-9bb1f537670f" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014326Z:ce0dc1f6-096c-408f-8a53-9bb1f537670f" ], + "x-ms-request-id": [ "bd4f5c2e-5439-4eab-ba55-ddbbff582dd4" ], + "x-ms-correlation-request-id": [ "bd4f5c2e-5439-4eab-ba55-ddbbff582dd4" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240422T024742Z:bd4f5c2e-5439-4eab-ba55-ddbbff582dd4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 1F27481099F143B7AFD95337C6D10048 Ref B: MAA201060513029 Ref C: 2024-03-25T01:43:25Z" ], - "Date": [ "Mon, 25 Mar 2024 01:43:26 GMT" ] + "X-MSEdge-Ref": [ "Ref A: F3510F432F8E42D7A9CB1F3F58DDBB3D Ref B: MAA201060514035 Ref C: 2024-04-22T02:47:40Z" ], + "Date": [ "Mon, 22 Apr 2024 02:47:42 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+43": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+43": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "43" ], - "x-ms-client-request-id": [ "2e48a982-ab39-4ade-95f7-90d970878d46" ], + "x-ms-client-request-id": [ "6b6b2978-95b9-4426-92dc-5f3d333d647b" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1786,37 +1828,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "8f1e3f9f-d70b-42d1-b2e5-fed4584c0cfb" ], - "x-ms-correlation-request-id": [ "8f1e3f9f-d70b-42d1-b2e5-fed4584c0cfb" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014338Z:8f1e3f9f-d70b-42d1-b2e5-fed4584c0cfb" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "0b627cd7-f5a5-42a6-8301-5bcf8fc54304" ], + "x-ms-correlation-request-id": [ "0b627cd7-f5a5-42a6-8301-5bcf8fc54304" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240422T024753Z:0b627cd7-f5a5-42a6-8301-5bcf8fc54304" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: EF736AE27AB74DE2A343056BC842420B Ref B: MAA201060513029 Ref C: 2024-03-25T01:43:37Z" ], - "Date": [ "Mon, 25 Mar 2024 01:43:37 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 6A842D54B70E40C1AF0922525908167E Ref B: MAA201060514035 Ref C: 2024-04-22T02:47:52Z" ], + "Date": [ "Mon, 22 Apr 2024 02:47:53 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+44": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+44": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "44" ], - "x-ms-client-request-id": [ "5b0d737a-f67f-47f5-bdef-075adaab9c67" ], + "x-ms-client-request-id": [ "3b7c830e-d182-4133-8c73-55515f485d87" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1828,37 +1871,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "4b553da7-cca4-44b5-aa6d-23f9fa87db5c" ], - "x-ms-correlation-request-id": [ "4b553da7-cca4-44b5-aa6d-23f9fa87db5c" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014349Z:4b553da7-cca4-44b5-aa6d-23f9fa87db5c" ], + "x-ms-request-id": [ "b9d40d21-d185-48f7-a354-a42975eba5d2" ], + "x-ms-correlation-request-id": [ "b9d40d21-d185-48f7-a354-a42975eba5d2" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240422T024805Z:b9d40d21-d185-48f7-a354-a42975eba5d2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 70A5EEA40C00495190C60B0F3746A32C Ref B: MAA201060513029 Ref C: 2024-03-25T01:43:48Z" ], - "Date": [ "Mon, 25 Mar 2024 01:43:48 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 08BD0EDF52924CD68B447FB30F388E09 Ref B: MAA201060514035 Ref C: 2024-04-22T02:48:04Z" ], + "Date": [ "Mon, 22 Apr 2024 02:48:05 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+45": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+45": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "45" ], - "x-ms-client-request-id": [ "ce0eea12-878f-4225-95f8-8d3f1b468113" ], + "x-ms-client-request-id": [ "88d1dc0c-bbd7-43a5-9465-733a5e0f57ba" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1870,37 +1914,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "8f1707bb-d4da-4a3f-ba39-7ef1ac68612a" ], - "x-ms-correlation-request-id": [ "8f1707bb-d4da-4a3f-ba39-7ef1ac68612a" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014400Z:8f1707bb-d4da-4a3f-ba39-7ef1ac68612a" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "8b38155f-a782-41cd-94d7-8611d4bb5561" ], + "x-ms-correlation-request-id": [ "8b38155f-a782-41cd-94d7-8611d4bb5561" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240422T024816Z:8b38155f-a782-41cd-94d7-8611d4bb5561" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 2992213B3116405191A2C4057FE7F463 Ref B: MAA201060513029 Ref C: 2024-03-25T01:43:59Z" ], - "Date": [ "Mon, 25 Mar 2024 01:43:59 GMT" ] + "X-MSEdge-Ref": [ "Ref A: CA3CF06F5AB042E8A0164B18D41C6E62 Ref B: MAA201060514035 Ref C: 2024-04-22T02:48:15Z" ], + "Date": [ "Mon, 22 Apr 2024 02:48:16 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+46": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+46": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "46" ], - "x-ms-client-request-id": [ "6f95f383-23f0-4075-8d36-570d17582b8e" ], + "x-ms-client-request-id": [ "0ff1f7a3-5f5c-4709-bdc8-b81b65c6d858" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1912,37 +1957,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "1ab78202-6c3c-4651-ab9d-b62ae49e7ddb" ], - "x-ms-correlation-request-id": [ "1ab78202-6c3c-4651-ab9d-b62ae49e7ddb" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014411Z:1ab78202-6c3c-4651-ab9d-b62ae49e7ddb" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], + "x-ms-request-id": [ "911f1787-deaf-48d0-8753-00fc823e9350" ], + "x-ms-correlation-request-id": [ "911f1787-deaf-48d0-8753-00fc823e9350" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240422T024828Z:911f1787-deaf-48d0-8753-00fc823e9350" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: C0FE09A220D54BBC8F44AD029D68A722 Ref B: MAA201060513029 Ref C: 2024-03-25T01:44:10Z" ], - "Date": [ "Mon, 25 Mar 2024 01:44:10 GMT" ] + "X-MSEdge-Ref": [ "Ref A: E3EDB993C8E246DCAD17787BD7BD6F84 Ref B: MAA201060514035 Ref C: 2024-04-22T02:48:26Z" ], + "Date": [ "Mon, 22 Apr 2024 02:48:28 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+47": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+47": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "47" ], - "x-ms-client-request-id": [ "4a913b70-d3da-4ab6-98fc-83bebb21c839" ], + "x-ms-client-request-id": [ "3a98aee0-15f9-4cd1-b405-b54ba3d50656" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1954,37 +2000,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "34a9e1fe-0fdc-4801-9c6e-9adbf8dea1a4" ], - "x-ms-correlation-request-id": [ "34a9e1fe-0fdc-4801-9c6e-9adbf8dea1a4" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014422Z:34a9e1fe-0fdc-4801-9c6e-9adbf8dea1a4" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "ff957bff-52a2-48f1-b387-1ce52b406d95" ], + "x-ms-correlation-request-id": [ "ff957bff-52a2-48f1-b387-1ce52b406d95" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240422T024840Z:ff957bff-52a2-48f1-b387-1ce52b406d95" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: D330F36E59F74D7F979C323D5E47826B Ref B: MAA201060513029 Ref C: 2024-03-25T01:44:21Z" ], - "Date": [ "Mon, 25 Mar 2024 01:44:21 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 6D0BE5EE70D44F158DABF280C5626139 Ref B: MAA201060514035 Ref C: 2024-04-22T02:48:39Z" ], + "Date": [ "Mon, 22 Apr 2024 02:48:40 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+48": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+48": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "48" ], - "x-ms-client-request-id": [ "1a0d8e58-a873-4222-ba69-8267cc0edeee" ], + "x-ms-client-request-id": [ "50193591-58ad-49e1-b9a0-3d30e06db83e" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1996,37 +2043,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "995f2dec-7893-47ba-9073-24e42139716a" ], - "x-ms-correlation-request-id": [ "995f2dec-7893-47ba-9073-24e42139716a" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014433Z:995f2dec-7893-47ba-9073-24e42139716a" ], + "x-ms-request-id": [ "4d4507c8-c9ff-4467-9d47-7bf0aafc6eeb" ], + "x-ms-correlation-request-id": [ "4d4507c8-c9ff-4467-9d47-7bf0aafc6eeb" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240422T024851Z:4d4507c8-c9ff-4467-9d47-7bf0aafc6eeb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 5A9C6F9F92D341C0B316629EA5C3632F Ref B: MAA201060513029 Ref C: 2024-03-25T01:44:32Z" ], - "Date": [ "Mon, 25 Mar 2024 01:44:32 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 7740B573AE244CF1A31271133AB6FB19 Ref B: MAA201060514035 Ref C: 2024-04-22T02:48:50Z" ], + "Date": [ "Mon, 22 Apr 2024 02:48:51 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+49": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+49": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "49" ], - "x-ms-client-request-id": [ "aa38535b-e64d-4306-bf8a-27b980aab468" ], + "x-ms-client-request-id": [ "a179ee17-52f7-40aa-aa4b-22b6b0309c4b" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2038,37 +2086,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "6b1b69d2-b29c-4c1f-b011-962bf5b6f230" ], - "x-ms-correlation-request-id": [ "6b1b69d2-b29c-4c1f-b011-962bf5b6f230" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014444Z:6b1b69d2-b29c-4c1f-b011-962bf5b6f230" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "197" ], + "x-ms-request-id": [ "7fdab3dd-5ceb-41f7-9fd2-bfb3c9b20899" ], + "x-ms-correlation-request-id": [ "7fdab3dd-5ceb-41f7-9fd2-bfb3c9b20899" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240422T024902Z:7fdab3dd-5ceb-41f7-9fd2-bfb3c9b20899" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 2D25E85123094771BDAA851623DF7386 Ref B: MAA201060513029 Ref C: 2024-03-25T01:44:43Z" ], - "Date": [ "Mon, 25 Mar 2024 01:44:43 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 8672266841844817A8CA6F3F07C9920F Ref B: MAA201060514035 Ref C: 2024-04-22T02:49:01Z" ], + "Date": [ "Mon, 22 Apr 2024 02:49:02 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+50": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+50": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "50" ], - "x-ms-client-request-id": [ "503bad6e-4f50-42a2-a620-8e50defbf1d9" ], + "x-ms-client-request-id": [ "309abe0f-c34e-4967-83a9-a7bc351fae03" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2080,37 +2129,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "2f0b9b53-1ef7-47a4-9de3-66e549859066" ], - "x-ms-correlation-request-id": [ "2f0b9b53-1ef7-47a4-9de3-66e549859066" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014455Z:2f0b9b53-1ef7-47a4-9de3-66e549859066" ], + "x-ms-request-id": [ "39dc7f66-8d66-40e7-8190-50d01bca59af" ], + "x-ms-correlation-request-id": [ "39dc7f66-8d66-40e7-8190-50d01bca59af" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240422T024913Z:39dc7f66-8d66-40e7-8190-50d01bca59af" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 53807E0A92054681B3980ACA5C0D9994 Ref B: MAA201060513029 Ref C: 2024-03-25T01:44:54Z" ], - "Date": [ "Mon, 25 Mar 2024 01:44:54 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 5F0F0D9D50D245F6AB08CF14C8DC4039 Ref B: MAA201060514035 Ref C: 2024-04-22T02:49:12Z" ], + "Date": [ "Mon, 22 Apr 2024 02:49:13 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+51": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+51": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "51" ], - "x-ms-client-request-id": [ "4c1763a4-744a-4e52-9e3f-a4155f439b75" ], + "x-ms-client-request-id": [ "f08a30d8-2a23-43a0-b30a-c6ccf7691534" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2122,37 +2172,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "639a6282-2476-4e22-acfc-4d7269b58ff9" ], - "x-ms-correlation-request-id": [ "639a6282-2476-4e22-acfc-4d7269b58ff9" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014506Z:639a6282-2476-4e22-acfc-4d7269b58ff9" ], + "x-ms-request-id": [ "596c0940-2f44-4301-816c-1270401ae3bd" ], + "x-ms-correlation-request-id": [ "596c0940-2f44-4301-816c-1270401ae3bd" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240422T024924Z:596c0940-2f44-4301-816c-1270401ae3bd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 46EA16675B0E465DBEB6839A6F678558 Ref B: MAA201060513029 Ref C: 2024-03-25T01:45:05Z" ], - "Date": [ "Mon, 25 Mar 2024 01:45:05 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 2D865EEBA23849B78243D76996AEB36F Ref B: MAA201060514035 Ref C: 2024-04-22T02:49:23Z" ], + "Date": [ "Mon, 22 Apr 2024 02:49:24 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+52": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+52": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "52" ], - "x-ms-client-request-id": [ "bbd5e501-968d-44b8-b7c0-cb11aa2905ea" ], + "x-ms-client-request-id": [ "f07003c2-e287-4cb9-85b8-843d2dd2921c" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2164,37 +2215,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "7f916ed2-af7d-40f0-978a-9bd307fdadec" ], - "x-ms-correlation-request-id": [ "7f916ed2-af7d-40f0-978a-9bd307fdadec" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014517Z:7f916ed2-af7d-40f0-978a-9bd307fdadec" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "0c74821c-09f3-4e57-9527-dad1b6cb1606" ], + "x-ms-correlation-request-id": [ "0c74821c-09f3-4e57-9527-dad1b6cb1606" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240422T024936Z:0c74821c-09f3-4e57-9527-dad1b6cb1606" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: FFB87419B92249D8885F87029E35BACB Ref B: MAA201060513029 Ref C: 2024-03-25T01:45:16Z" ], - "Date": [ "Mon, 25 Mar 2024 01:45:16 GMT" ] + "X-MSEdge-Ref": [ "Ref A: B11385006D844F7086E809DDF54CC4DB Ref B: MAA201060514035 Ref C: 2024-04-22T02:49:34Z" ], + "Date": [ "Mon, 22 Apr 2024 02:49:35 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+53": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+53": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "53" ], - "x-ms-client-request-id": [ "f966b0f8-1db0-442c-875d-2baead4b3b12" ], + "x-ms-client-request-id": [ "50ec443e-1dd3-42d7-87d2-64d5454e68b1" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2206,37 +2258,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "e1450b13-70c2-4844-8e74-f1e22c92bd12" ], - "x-ms-correlation-request-id": [ "e1450b13-70c2-4844-8e74-f1e22c92bd12" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014528Z:e1450b13-70c2-4844-8e74-f1e22c92bd12" ], + "x-ms-request-id": [ "46bbded9-2977-44f0-b8ed-bc11a46f43c9" ], + "x-ms-correlation-request-id": [ "46bbded9-2977-44f0-b8ed-bc11a46f43c9" ], + "x-ms-routing-request-id": [ "JIOINDIACENTRAL:20240422T024948Z:46bbded9-2977-44f0-b8ed-bc11a46f43c9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 07A80E5D2D1041BDB8F6A1793B679272 Ref B: MAA201060513029 Ref C: 2024-03-25T01:45:27Z" ], - "Date": [ "Mon, 25 Mar 2024 01:45:27 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 1A3655807F9340458E1AEFFE4317A5AF Ref B: MAA201060514035 Ref C: 2024-04-22T02:49:46Z" ], + "Date": [ "Mon, 22 Apr 2024 02:49:48 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+54": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+54": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "54" ], - "x-ms-client-request-id": [ "0327b612-47d6-408b-8377-3b38998a9553" ], + "x-ms-client-request-id": [ "b8552a28-9548-4fc5-b940-1c995a606a61" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2248,37 +2301,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "18ba8598-f73b-42cb-9993-edde3b4fddf0" ], - "x-ms-correlation-request-id": [ "18ba8598-f73b-42cb-9993-edde3b4fddf0" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014539Z:18ba8598-f73b-42cb-9993-edde3b4fddf0" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "6c42bf91-b06c-4117-8937-88f30fdd1948" ], + "x-ms-correlation-request-id": [ "6c42bf91-b06c-4117-8937-88f30fdd1948" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240422T024959Z:6c42bf91-b06c-4117-8937-88f30fdd1948" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: FEE9830CDA1D485490C0F28C1395BF25 Ref B: MAA201060513029 Ref C: 2024-03-25T01:45:39Z" ], - "Date": [ "Mon, 25 Mar 2024 01:45:39 GMT" ] + "X-MSEdge-Ref": [ "Ref A: B7C91D1EF793442485780F1DCB59CDC9 Ref B: MAA201060514035 Ref C: 2024-04-22T02:49:58Z" ], + "Date": [ "Mon, 22 Apr 2024 02:49:59 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2184" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A40%3A23.0987413Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+55": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01+55": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "55" ], - "x-ms-client-request-id": [ "44d21cfa-39cd-49c0-939d-2fb821605eb7" ], + "x-ms-client-request-id": [ "1bbd6e62-031d-4782-bc80-7754fda2a55f" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2290,37 +2344,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "197" ], - "x-ms-request-id": [ "8c5a2bf4-53af-4cd6-b949-b4ee60b4229d" ], - "x-ms-correlation-request-id": [ "8c5a2bf4-53af-4cd6-b949-b4ee60b4229d" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014550Z:8c5a2bf4-53af-4cd6-b949-b4ee60b4229d" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "48b17b08-f42c-4cd4-8b7b-15d1da9387f6" ], + "x-ms-correlation-request-id": [ "48b17b08-f42c-4cd4-8b7b-15d1da9387f6" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240422T025011Z:48b17b08-f42c-4cd4-8b7b-15d1da9387f6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 823FDCF1B8CE4E8DB17135DBEDE7E0C9 Ref B: MAA201060513029 Ref C: 2024-03-25T01:45:50Z" ], - "Date": [ "Mon, 25 Mar 2024 01:45:50 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 790BB371F161458D8FE0D1E40F244B36 Ref B: MAA201060514035 Ref C: 2024-04-22T02:50:09Z" ], + "Date": [ "Mon, 22 Apr 2024 02:50:10 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2464" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A36%3A12.5857373Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":\"VaultStore\",\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A50%3A06.0170877Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:40:22.7626232Z\",\"endTime\":\"2024-04-22T02:50:05.7888092Z\",\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"Completed\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT9M43.026186S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":53759.0,\"targetRecoverPoint\":{\"recoveryPointID\":\"d068309a7ab74c678a5362c80f715737\",\"recoveryPointTime\":\"0001-01-01T00:00:00Z\"},\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"Completed\",\"taskProgress\":null,\"additionalDetails\":{\"OriginalDatasourceSizeInBytes\":\"0\",\"TaskId\":\"9bc80aa1-858a-4aa1-9fd6-2721b60bf139\",\"DatasourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"name\":\"1cf9035b-e560-4cf4-8c0e-cf9985514156\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01+56": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b/recoveryPoints?api-version=2024-04-01+56": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b/recoveryPoints?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "56" ], - "x-ms-client-request-id": [ "54c1aa14-f9ba-4b0d-b3d9-ece4c0c5e837" ], - "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], - "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], + "x-ms-client-request-id": [ "f753094d-1209-4a78-96a6-d2e8ad6d61f0" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionRecoveryPoint" ], + "FullCommandName": [ "Get-AzDataProtectionRecoveryPoint_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2331,38 +2386,39 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "597c6620-c77a-49fa-afc3-d4b0f7ad90ab" ], - "x-ms-correlation-request-id": [ "597c6620-c77a-49fa-afc3-d4b0f7ad90ab" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014601Z:597c6620-c77a-49fa-afc3-d4b0f7ad90ab" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "99" ], + "x-ms-request-id": [ "a6dd24a5-dc8f-4e8b-bde6-1ff6b62f29b2" ], + "x-ms-correlation-request-id": [ "a6dd24a5-dc8f-4e8b-bde6-1ff6b62f29b2" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240422T025017Z:a6dd24a5-dc8f-4e8b-bde6-1ff6b62f29b2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 7B4DD87E50344B2CACBE6F33B16F20AE Ref B: MAA201060513029 Ref C: 2024-03-25T01:46:00Z" ], - "Date": [ "Mon, 25 Mar 2024 01:46:01 GMT" ] + "X-MSEdge-Ref": [ "Ref A: C8D6B2EFBB22487A99751DDBFBE8B97C Ref B: MAA201060514035 Ref C: 2024-04-22T02:50:16Z" ], + "Date": [ "Mon, 22 Apr 2024 02:50:17 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2505" ], + "Content-Length": [ "7967" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A45%3A56.3049376Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:36:12.3865442Z\",\"endTime\":\"2024-03-25T01:45:56.0440486Z\",\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"Completed\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT9M43.6575044S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":71202.0,\"targetRecoverPoint\":{\"recoveryPointID\":\"b46e07471052441681be06ad3a3e3198\",\"recoveryPointTime\":\"0001-01-01T00:00:00Z\"},\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"Completed\",\"taskProgress\":null,\"additionalDetails\":{\"OriginalDatasourceSizeInBytes\":\"7779119\",\"TaskId\":\"d2c08984-4a54-46bf-bd92-dfad236744fb\",\"DatasourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"name\":\"b8419c54-70db-4ec8-b889-fb0493bbdf2e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"value\":[{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"d068309a7ab74c678a5362c80f715737\",\"recoveryPointTime\":\"2024-04-22T02:49:10.9330212Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"d068309a7ab74c678a5362c80f715737\",\"recoveryPointDataStoresDetails\":[{\"id\":\"6824cdb8-6a26-4768-bf21-f1a4cf28ff8a\",\"type\":\"VaultStore\",\"creationTime\":\"2024-04-22T02:49:11.0111525Z\",\"expiryTime\":null,\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638459957075718952\",\"policyName\":\"OssFlexiblePolicy1\",\"policyVersion\":null,\"expiryTime\":null,\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b/recoveryPoints/d068309a7ab74c678a5362c80f715737\",\"name\":\"d068309a7ab74c678a5362c80f715737\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"5e314c586c7b4ff9ae2fb60fc9d3c7dc\",\"recoveryPointTime\":\"2024-04-21T19:05:33.8647972Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"5e314c586c7b4ff9ae2fb60fc9d3c7dc\",\"recoveryPointDataStoresDetails\":[{\"id\":\"6824cdb8-6a26-4768-bf21-f1a4cf28ff8a\",\"type\":\"VaultStore\",\"creationTime\":\"2024-04-21T19:05:33.9429300Z\",\"expiryTime\":\"2024-07-21T19:05:33.9429300Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638459957075718952\",\"policyName\":\"OssFlexiblePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-07-21T19:05:33.9429300Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b/recoveryPoints/5e314c586c7b4ff9ae2fb60fc9d3c7dc\",\"name\":\"5e314c586c7b4ff9ae2fb60fc9d3c7dc\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"f5cb2dfaaf904a38b4ac419fa6ade409\",\"recoveryPointTime\":\"2024-04-21T06:41:28.0192466Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"f5cb2dfaaf904a38b4ac419fa6ade409\",\"recoveryPointDataStoresDetails\":[{\"id\":\"6824cdb8-6a26-4768-bf21-f1a4cf28ff8a\",\"type\":\"VaultStore\",\"creationTime\":\"2024-04-21T06:41:28.0817434Z\",\"expiryTime\":\"2024-07-21T06:41:28.0817434Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638459957075718952\",\"policyName\":\"OssFlexiblePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-07-21T06:41:28.0817434Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b/recoveryPoints/f5cb2dfaaf904a38b4ac419fa6ade409\",\"name\":\"f5cb2dfaaf904a38b4ac419fa6ade409\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"0418de424c6948fa818293dd285fc8d7\",\"recoveryPointTime\":\"2024-04-14T06:39:06.7774786Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"0418de424c6948fa818293dd285fc8d7\",\"recoveryPointDataStoresDetails\":[{\"id\":\"6824cdb8-6a26-4768-bf21-f1a4cf28ff8a\",\"type\":\"VaultStore\",\"creationTime\":\"2024-04-14T06:39:06.8712278Z\",\"expiryTime\":\"2024-07-14T06:39:06.8712278Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638459957075718952\",\"policyName\":\"OssFlexiblePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-07-14T06:39:06.8712278Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b/recoveryPoints/0418de424c6948fa818293dd285fc8d7\",\"name\":\"0418de424c6948fa818293dd285fc8d7\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"513e85681af94d62ba1f4cc317c9273b\",\"recoveryPointTime\":\"2024-04-07T06:38:59.4444446Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"513e85681af94d62ba1f4cc317c9273b\",\"recoveryPointDataStoresDetails\":[{\"id\":\"6824cdb8-6a26-4768-bf21-f1a4cf28ff8a\",\"type\":\"VaultStore\",\"creationTime\":\"2024-04-07T06:38:59.5225730Z\",\"expiryTime\":\"2024-07-07T06:38:59.5225730Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638459957075718952\",\"policyName\":\"OssFlexiblePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-07-07T06:38:59.5225730Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b/recoveryPoints/513e85681af94d62ba1f4cc317c9273b\",\"name\":\"513e85681af94d62ba1f4cc317c9273b\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"3c764e7e4dec418a8b2b24a516368e0a\",\"recoveryPointTime\":\"2024-03-31T06:37:04.3110024Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"3c764e7e4dec418a8b2b24a516368e0a\",\"recoveryPointDataStoresDetails\":[{\"id\":\"6824cdb8-6a26-4768-bf21-f1a4cf28ff8a\",\"type\":\"VaultStore\",\"creationTime\":\"2024-03-31T06:37:04.3735358Z\",\"expiryTime\":\"2024-06-30T06:37:04.3735358Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638459957075718952\",\"policyName\":\"OssFlexiblePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-06-30T06:37:04.3735358Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b/recoveryPoints/3c764e7e4dec418a8b2b24a516368e0a\",\"name\":\"3c764e7e4dec418a8b2b24a516368e0a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"3a9d7a55edba411e961db11da118b00a\",\"recoveryPointTime\":\"2024-03-24T06:39:13.9263203Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"3a9d7a55edba411e961db11da118b00a\",\"recoveryPointDataStoresDetails\":[{\"id\":\"6824cdb8-6a26-4768-bf21-f1a4cf28ff8a\",\"type\":\"VaultStore\",\"creationTime\":\"2024-03-24T06:39:13.9888892Z\",\"expiryTime\":\"2024-06-24T06:39:13.9888892Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638459957075718952\",\"policyName\":\"OssFlexiblePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-06-24T06:39:13.9888892Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b/recoveryPoints/3a9d7a55edba411e961db11da118b00a\",\"name\":\"3a9d7a55edba411e961db11da118b00a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"}]}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints?api-version=2023-12-01+57": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupResourceGuardProxies/DppResourceGuardProxy?api-version=2024-04-01+57": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupResourceGuardProxies/DppResourceGuardProxy?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "57" ], - "x-ms-client-request-id": [ "0d003250-3d08-4ca5-8eef-1337fc093834" ], - "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionRecoveryPoint" ], - "FullCommandName": [ "Get-AzDataProtectionRecoveryPoint_List" ], + "x-ms-client-request-id": [ "c8ded669-4341-4247-8a42-32574059517e" ], + "CommandName": [ "Get-AzDataProtectionResourceGuardMapping" ], + "FullCommandName": [ "Get-AzDataProtectionResourceGuardMapping_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2373,36 +2429,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "99" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "1c0bf652-1e73-47d6-abe7-eb384eface51" ], - "x-ms-correlation-request-id": [ "1c0bf652-1e73-47d6-abe7-eb384eface51" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014608Z:1c0bf652-1e73-47d6-abe7-eb384eface51" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], + "x-ms-request-id": [ "717cb934-e62b-4d20-93ee-c979d1d9ae8d" ], + "x-ms-correlation-request-id": [ "717cb934-e62b-4d20-93ee-c979d1d9ae8d" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240422T025019Z:717cb934-e62b-4d20-93ee-c979d1d9ae8d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: CAF369918AA04A698EE3EDF6F6E37341 Ref B: MAA201060513029 Ref C: 2024-03-25T01:46:06Z" ], - "Date": [ "Mon, 25 Mar 2024 01:46:08 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 61150A3209D24763A49820AC78B1BE4C Ref B: MAA201060514035 Ref C: 2024-04-22T02:50:17Z" ], + "Date": [ "Mon, 22 Apr 2024 02:50:18 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "57775" ], + "Content-Length": [ "3317" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"b46e07471052441681be06ad3a3e3198\",\"recoveryPointTime\":\"2024-03-25T01:45:01.8917584Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"b46e07471052441681be06ad3a3e3198\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-03-25T01:45:01.9855209Z\",\"expiryTime\":\"2024-04-01T01:45:01.9855209Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-04-01T01:45:01.9855209Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/b46e07471052441681be06ad3a3e3198\",\"name\":\"b46e07471052441681be06ad3a3e3198\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"2b1b9505a7c940bf911810c5c62dd1d7\",\"recoveryPointTime\":\"2024-03-24T17:11:32.6269867Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"2b1b9505a7c940bf911810c5c62dd1d7\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-03-24T17:11:32.7051420Z\",\"expiryTime\":\"2024-03-31T17:11:32.7051420Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-03-31T17:11:32.7051420Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/2b1b9505a7c940bf911810c5c62dd1d7\",\"name\":\"2b1b9505a7c940bf911810c5c62dd1d7\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"72cf14baea554d6b80c734a034703aae\",\"recoveryPointTime\":\"2024-03-24T16:39:07.2713811Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"72cf14baea554d6b80c734a034703aae\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-03-24T16:39:07.3494563Z\",\"expiryTime\":\"2024-03-31T16:39:07.3494563Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-03-31T16:39:07.3494563Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/72cf14baea554d6b80c734a034703aae\",\"name\":\"72cf14baea554d6b80c734a034703aae\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"f4cdb1dc4a0e43a299cbb76a61458723\",\"recoveryPointTime\":\"2024-03-24T13:33:44.9228857Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"f4cdb1dc4a0e43a299cbb76a61458723\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-03-24T13:33:45.0010795Z\",\"expiryTime\":\"2024-03-31T13:33:45.0010795Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-03-31T13:33:45.0010795Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/f4cdb1dc4a0e43a299cbb76a61458723\",\"name\":\"f4cdb1dc4a0e43a299cbb76a61458723\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"f8403889b3ff4f6995e155ba81ae7816\",\"recoveryPointTime\":\"2024-03-24T10:29:50.9771305Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"f8403889b3ff4f6995e155ba81ae7816\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-03-24T10:29:51.0552052Z\",\"expiryTime\":\"2024-03-31T10:29:51.0552052Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-03-31T10:29:51.0552052Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/f8403889b3ff4f6995e155ba81ae7816\",\"name\":\"f8403889b3ff4f6995e155ba81ae7816\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"d4f425eb0ff94661a27f9036ad3d9f37\",\"recoveryPointTime\":\"2024-03-23T16:38:01.6771815Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"d4f425eb0ff94661a27f9036ad3d9f37\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-03-23T16:38:01.7396712Z\",\"expiryTime\":\"2024-03-30T16:38:01.7396712Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-03-30T16:38:01.7396712Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/d4f425eb0ff94661a27f9036ad3d9f37\",\"name\":\"d4f425eb0ff94661a27f9036ad3d9f37\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"a1eba8dec68948a1a96ad970b21e3c9a\",\"recoveryPointTime\":\"2024-03-23T10:52:15.1639358Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"a1eba8dec68948a1a96ad970b21e3c9a\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-03-23T10:52:15.2263831Z\",\"expiryTime\":\"2024-03-30T10:52:15.2263831Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-03-30T10:52:15.2263831Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/a1eba8dec68948a1a96ad970b21e3c9a\",\"name\":\"a1eba8dec68948a1a96ad970b21e3c9a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"54997d8ec19a425aa06c85cbd66feb27\",\"recoveryPointTime\":\"2024-03-22T16:38:02.5683896Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"54997d8ec19a425aa06c85cbd66feb27\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-03-22T16:38:02.6621479Z\",\"expiryTime\":\"2024-03-29T16:38:02.6621479Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-03-29T16:38:02.6621479Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/54997d8ec19a425aa06c85cbd66feb27\",\"name\":\"54997d8ec19a425aa06c85cbd66feb27\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"646570906ea0490e96cb2b7dfece610c\",\"recoveryPointTime\":\"2024-03-21T16:38:17.7873401Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"646570906ea0490e96cb2b7dfece610c\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-03-21T16:38:17.8967233Z\",\"expiryTime\":\"2024-03-28T16:38:17.8967233Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-03-28T16:38:17.8967233Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/646570906ea0490e96cb2b7dfece610c\",\"name\":\"646570906ea0490e96cb2b7dfece610c\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"c3931751fe4c4b58b210bb5b481d4420\",\"recoveryPointTime\":\"2024-03-20T16:43:18.7178320Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"c3931751fe4c4b58b210bb5b481d4420\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-03-20T16:43:18.7803306Z\",\"expiryTime\":\"2024-03-27T16:43:18.7803306Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-03-27T16:43:18.7803306Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/c3931751fe4c4b58b210bb5b481d4420\",\"name\":\"c3931751fe4c4b58b210bb5b481d4420\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"a4752da277ff423b9793ed96fd2b4aee\",\"recoveryPointTime\":\"2024-03-14T05:37:42.8293381Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"a4752da277ff423b9793ed96fd2b4aee\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-03-14T05:37:42.9074155Z\",\"expiryTime\":\"2024-03-21T05:37:42.9074155Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-03-21T05:37:42.9074155Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/a4752da277ff423b9793ed96fd2b4aee\",\"name\":\"a4752da277ff423b9793ed96fd2b4aee\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"66e291ee1f24409f9eddc9c9389d3b7f\",\"recoveryPointTime\":\"2024-03-05T05:31:23.3202904Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"66e291ee1f24409f9eddc9c9389d3b7f\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-03-05T05:31:23.3984786Z\",\"expiryTime\":\"2024-03-12T05:31:23.3984786Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-03-12T05:31:23.3984786Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/66e291ee1f24409f9eddc9c9389d3b7f\",\"name\":\"66e291ee1f24409f9eddc9c9389d3b7f\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"65c64f88f183434eafe221ce57b0f748\",\"recoveryPointTime\":\"2024-02-27T17:49:27.9973422Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"65c64f88f183434eafe221ce57b0f748\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-02-27T17:49:28.0598087Z\",\"expiryTime\":\"2024-03-05T17:49:28.0598087Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-03-05T17:49:28.0598087Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/65c64f88f183434eafe221ce57b0f748\",\"name\":\"65c64f88f183434eafe221ce57b0f748\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"e63450b3812644c29d284491f6ff777a\",\"recoveryPointTime\":\"2024-02-26T17:10:48.2775871Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"e63450b3812644c29d284491f6ff777a\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-02-26T17:10:48.3400898Z\",\"expiryTime\":\"2024-03-04T17:10:48.3400898Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-03-04T17:10:48.3400898Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/e63450b3812644c29d284491f6ff777a\",\"name\":\"e63450b3812644c29d284491f6ff777a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"d4cafdd76e7f4352bbcfca9ad8e4985f\",\"recoveryPointTime\":\"2024-02-25T16:39:02.8658028Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"d4cafdd76e7f4352bbcfca9ad8e4985f\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-02-25T16:39:02.9439543Z\",\"expiryTime\":\"2024-03-03T16:39:02.9439543Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-03-03T16:39:02.9439543Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/d4cafdd76e7f4352bbcfca9ad8e4985f\",\"name\":\"d4cafdd76e7f4352bbcfca9ad8e4985f\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"97bea283b5814cfca9377260077ab00b\",\"recoveryPointTime\":\"2024-02-24T16:39:04.1342535Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"97bea283b5814cfca9377260077ab00b\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-02-24T16:39:04.2124121Z\",\"expiryTime\":\"2024-03-02T16:39:04.2124121Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-03-02T16:39:04.2124121Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/97bea283b5814cfca9377260077ab00b\",\"name\":\"97bea283b5814cfca9377260077ab00b\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"a3c667b6884747f39d4030874daa06b5\",\"recoveryPointTime\":\"2024-02-20T16:37:04.4162054Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"a3c667b6884747f39d4030874daa06b5\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-02-20T16:37:04.7215455Z\",\"expiryTime\":\"2024-02-27T16:37:04.7215455Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-02-27T16:37:04.7215455Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/a3c667b6884747f39d4030874daa06b5\",\"name\":\"a3c667b6884747f39d4030874daa06b5\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"20d46c22505b46cc925ae4bdd1279f69\",\"recoveryPointTime\":\"2024-02-19T16:39:31.9710745Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"20d46c22505b46cc925ae4bdd1279f69\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-02-19T16:39:32.0335431Z\",\"expiryTime\":\"2024-02-26T16:39:32.0335431Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-02-26T16:39:32.0335431Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/20d46c22505b46cc925ae4bdd1279f69\",\"name\":\"20d46c22505b46cc925ae4bdd1279f69\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"9b09a53723fb4c42b231c3ca4481d572\",\"recoveryPointTime\":\"2024-02-18T16:36:56.5522203Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"9b09a53723fb4c42b231c3ca4481d572\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-02-18T16:36:56.6303125Z\",\"expiryTime\":\"2024-02-25T16:36:56.6303125Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-02-25T16:36:56.6303125Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/9b09a53723fb4c42b231c3ca4481d572\",\"name\":\"9b09a53723fb4c42b231c3ca4481d572\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"f11a7ebc6bdd47f787b5ec6290ab99eb\",\"recoveryPointTime\":\"2024-02-17T16:37:09.8549456Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"f11a7ebc6bdd47f787b5ec6290ab99eb\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-02-17T16:37:09.9486390Z\",\"expiryTime\":\"2024-02-24T16:37:09.9486390Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-02-24T16:37:09.9486390Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/f11a7ebc6bdd47f787b5ec6290ab99eb\",\"name\":\"f11a7ebc6bdd47f787b5ec6290ab99eb\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"c417bf692982414ca6c5986ec504285c\",\"recoveryPointTime\":\"2024-02-16T16:37:27.0276090Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"c417bf692982414ca6c5986ec504285c\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-02-16T16:37:27.0900493Z\",\"expiryTime\":\"2024-02-23T16:37:27.0900493Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-02-23T16:37:27.0900493Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/c417bf692982414ca6c5986ec504285c\",\"name\":\"c417bf692982414ca6c5986ec504285c\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"15f38ed4658c4d0080bc6dac6bdb666d\",\"recoveryPointTime\":\"2024-02-15T16:39:00.8537299Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"15f38ed4658c4d0080bc6dac6bdb666d\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-02-15T16:39:00.9318532Z\",\"expiryTime\":\"2024-02-22T16:39:00.9318532Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-02-22T16:39:00.9318532Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/15f38ed4658c4d0080bc6dac6bdb666d\",\"name\":\"15f38ed4658c4d0080bc6dac6bdb666d\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"30fec9d078c5467b9fc9e094103e2046\",\"recoveryPointTime\":\"2024-02-14T16:39:40.9903596Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"30fec9d078c5467b9fc9e094103e2046\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-02-14T16:39:41.0528618Z\",\"expiryTime\":\"2024-02-21T16:39:41.0528618Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-02-21T16:39:41.0528618Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/30fec9d078c5467b9fc9e094103e2046\",\"name\":\"30fec9d078c5467b9fc9e094103e2046\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"2a60ffae0f9f465d9d795b840acb4c39\",\"recoveryPointTime\":\"2024-02-13T16:39:04.2847274Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"2a60ffae0f9f465d9d795b840acb4c39\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-02-13T16:39:04.3315905Z\",\"expiryTime\":\"2024-02-20T16:39:04.3315905Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-02-20T16:39:04.3315905Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/2a60ffae0f9f465d9d795b840acb4c39\",\"name\":\"2a60ffae0f9f465d9d795b840acb4c39\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"2da84f329fe042ee914cdf02f5bc148d\",\"recoveryPointTime\":\"2024-02-12T16:36:55.2873434Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"2da84f329fe042ee914cdf02f5bc148d\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-02-12T16:36:55.3654669Z\",\"expiryTime\":\"2024-02-19T16:36:55.3654669Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-02-19T16:36:55.3654669Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/2da84f329fe042ee914cdf02f5bc148d\",\"name\":\"2da84f329fe042ee914cdf02f5bc148d\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"4c5319ce659f4e4da286ec5b9e9b97c2\",\"recoveryPointTime\":\"2024-02-11T16:37:02.7057692Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"4c5319ce659f4e4da286ec5b9e9b97c2\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-02-11T16:37:02.8310155Z\",\"expiryTime\":\"2024-02-18T16:37:02.8310155Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-02-18T16:37:02.8310155Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/4c5319ce659f4e4da286ec5b9e9b97c2\",\"name\":\"4c5319ce659f4e4da286ec5b9e9b97c2\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"9c15b1af6e9a4ac7908979b3a6626f89\",\"recoveryPointTime\":\"2024-02-10T16:37:00.0018277Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"9c15b1af6e9a4ac7908979b3a6626f89\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-02-10T16:37:00.0799513Z\",\"expiryTime\":\"2024-02-17T16:37:00.0799513Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-02-17T16:37:00.0799513Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/9c15b1af6e9a4ac7908979b3a6626f89\",\"name\":\"9c15b1af6e9a4ac7908979b3a6626f89\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"7bf6a81796094712ab1238f416ae9558\",\"recoveryPointTime\":\"2024-02-09T16:38:58.3083971Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"7bf6a81796094712ab1238f416ae9558\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-02-09T16:38:58.3865056Z\",\"expiryTime\":\"2024-02-16T16:38:58.3865056Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-02-16T16:38:58.3865056Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/7bf6a81796094712ab1238f416ae9558\",\"name\":\"7bf6a81796094712ab1238f416ae9558\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"28d48f84357249a0b697227f74350ca2\",\"recoveryPointTime\":\"2024-02-08T16:36:54.9147534Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"28d48f84357249a0b697227f74350ca2\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-02-08T16:36:54.9928980Z\",\"expiryTime\":\"2024-02-15T16:36:54.9928980Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-02-15T16:36:54.9928980Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/28d48f84357249a0b697227f74350ca2\",\"name\":\"28d48f84357249a0b697227f74350ca2\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"074a9fc9193d40058deb546d73e89310\",\"recoveryPointTime\":\"2024-02-07T16:37:58.0128989Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"074a9fc9193d40058deb546d73e89310\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-02-07T16:37:58.0754065Z\",\"expiryTime\":\"2024-02-14T16:37:58.0754065Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-02-14T16:37:58.0754065Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/074a9fc9193d40058deb546d73e89310\",\"name\":\"074a9fc9193d40058deb546d73e89310\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"e20cd8390d51465ebd930b10886a369a\",\"recoveryPointTime\":\"2024-02-06T16:37:00.7710477Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"e20cd8390d51465ebd930b10886a369a\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-02-06T16:37:00.8647342Z\",\"expiryTime\":\"2024-02-13T16:37:00.8647342Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-02-13T16:37:00.8647342Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/e20cd8390d51465ebd930b10886a369a\",\"name\":\"e20cd8390d51465ebd930b10886a369a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"0b072db347144e3da00fb9547c7e5019\",\"recoveryPointTime\":\"2024-02-05T16:37:59.7473827Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"0b072db347144e3da00fb9547c7e5019\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-02-05T16:37:59.8255800Z\",\"expiryTime\":\"2024-02-12T16:37:59.8255800Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-02-12T16:37:59.8255800Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/0b072db347144e3da00fb9547c7e5019\",\"name\":\"0b072db347144e3da00fb9547c7e5019\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"03e1427108ad42c9a87410d6ff6a0161\",\"recoveryPointTime\":\"2024-02-04T16:36:59.4691527Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"03e1427108ad42c9a87410d6ff6a0161\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-02-04T16:36:59.5628982Z\",\"expiryTime\":\"2024-02-11T16:36:59.5628982Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-02-11T16:36:59.5628982Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/03e1427108ad42c9a87410d6ff6a0161\",\"name\":\"03e1427108ad42c9a87410d6ff6a0161\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"86cd72e6f5d048849f5fa5cae8421f68\",\"recoveryPointTime\":\"2024-02-03T16:38:56.4808938Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"86cd72e6f5d048849f5fa5cae8421f68\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-02-03T16:38:56.5558348Z\",\"expiryTime\":\"2024-02-10T16:38:56.5558348Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-02-10T16:38:56.5558348Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/86cd72e6f5d048849f5fa5cae8421f68\",\"name\":\"86cd72e6f5d048849f5fa5cae8421f68\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"e6674ccb365e4ae8b6c77edca18d3a91\",\"recoveryPointTime\":\"2024-02-02T16:39:00.4397535Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"e6674ccb365e4ae8b6c77edca18d3a91\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-02-02T16:39:00.5493249Z\",\"expiryTime\":\"2024-02-09T16:39:00.5493249Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-02-09T16:39:00.5493249Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/e6674ccb365e4ae8b6c77edca18d3a91\",\"name\":\"e6674ccb365e4ae8b6c77edca18d3a91\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"eeb2f61de6974ad5b4d51fb1898ba78d\",\"recoveryPointTime\":\"2024-02-01T16:37:15.6972754Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"eeb2f61de6974ad5b4d51fb1898ba78d\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-02-01T16:37:15.7910235Z\",\"expiryTime\":\"2024-02-08T16:37:15.7910235Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-02-08T16:37:15.7910235Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/eeb2f61de6974ad5b4d51fb1898ba78d\",\"name\":\"eeb2f61de6974ad5b4d51fb1898ba78d\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"19108f3fb835496d9a30e8ae79f0cc47\",\"recoveryPointTime\":\"2024-01-31T16:36:58.9745331Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"19108f3fb835496d9a30e8ae79f0cc47\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-01-31T16:36:59.0526511Z\",\"expiryTime\":\"2024-02-07T16:36:59.0526511Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-02-07T16:36:59.0526511Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/19108f3fb835496d9a30e8ae79f0cc47\",\"name\":\"19108f3fb835496d9a30e8ae79f0cc47\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"c552dcdfedeb4f7d81a5a98cfcfedf42\",\"recoveryPointTime\":\"2024-01-30T16:36:57.3589947Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"c552dcdfedeb4f7d81a5a98cfcfedf42\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-01-30T16:36:57.4214650Z\",\"expiryTime\":\"2024-02-06T16:36:57.4214650Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-02-06T16:36:57.4214650Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/c552dcdfedeb4f7d81a5a98cfcfedf42\",\"name\":\"c552dcdfedeb4f7d81a5a98cfcfedf42\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"5607be4344ff4071880fdedf5f129096\",\"recoveryPointTime\":\"2024-01-29T16:38:00.6246795Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"5607be4344ff4071880fdedf5f129096\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-01-29T16:38:00.8746790Z\",\"expiryTime\":\"2024-02-05T16:38:00.8746790Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-02-05T16:38:00.8746790Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/5607be4344ff4071880fdedf5f129096\",\"name\":\"5607be4344ff4071880fdedf5f129096\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"4fe56ebfeef440cf9721fe3ed6c34fb3\",\"recoveryPointTime\":\"2024-01-28T16:39:44.9583806Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"4fe56ebfeef440cf9721fe3ed6c34fb3\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-01-28T16:39:45.0208554Z\",\"expiryTime\":\"2024-02-04T16:39:45.0208554Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-02-04T16:39:45.0208554Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/4fe56ebfeef440cf9721fe3ed6c34fb3\",\"name\":\"4fe56ebfeef440cf9721fe3ed6c34fb3\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"1c250e9ceae44d8fa647e13c0dd1870b\",\"recoveryPointTime\":\"2024-01-27T16:37:01.8922456Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"1c250e9ceae44d8fa647e13c0dd1870b\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-01-27T16:37:01.9703677Z\",\"expiryTime\":\"2024-02-03T16:37:01.9703677Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-02-03T16:37:01.9703677Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/1c250e9ceae44d8fa647e13c0dd1870b\",\"name\":\"1c250e9ceae44d8fa647e13c0dd1870b\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"1ea662dad86f4aa088508c8b4926fb7a\",\"recoveryPointTime\":\"2024-01-26T16:37:55.1696270Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"1ea662dad86f4aa088508c8b4926fb7a\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-01-26T16:37:55.2320274Z\",\"expiryTime\":\"2024-02-02T16:37:55.2320274Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-02-02T16:37:55.2320274Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/1ea662dad86f4aa088508c8b4926fb7a\",\"name\":\"1ea662dad86f4aa088508c8b4926fb7a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"fc05c628cdfb4175be83e4725e1b0993\",\"recoveryPointTime\":\"2024-01-25T16:36:58.0220760Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"fc05c628cdfb4175be83e4725e1b0993\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-01-25T16:36:58.1002809Z\",\"expiryTime\":\"2024-02-01T16:36:58.1002809Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-02-01T16:36:58.1002809Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/fc05c628cdfb4175be83e4725e1b0993\",\"name\":\"fc05c628cdfb4175be83e4725e1b0993\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"415fd9f41a334c9ebe650034bb89fa06\",\"recoveryPointTime\":\"2024-01-24T16:36:59.5345206Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"415fd9f41a334c9ebe650034bb89fa06\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-01-24T16:36:59.6350331Z\",\"expiryTime\":\"2024-01-31T16:36:59.6350331Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-01-31T16:36:59.6350331Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/415fd9f41a334c9ebe650034bb89fa06\",\"name\":\"415fd9f41a334c9ebe650034bb89fa06\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"0f6b70ff57a140c599810bf871af6550\",\"recoveryPointTime\":\"2024-01-23T16:35:59.1370042Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"0f6b70ff57a140c599810bf871af6550\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-01-23T16:35:59.1994962Z\",\"expiryTime\":\"2024-01-30T16:35:59.1994962Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-01-30T16:35:59.1994962Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/0f6b70ff57a140c599810bf871af6550\",\"name\":\"0f6b70ff57a140c599810bf871af6550\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"55d649e2ceb244f4a7af43706e620c99\",\"recoveryPointTime\":\"2024-01-22T16:37:04.0457554Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"55d649e2ceb244f4a7af43706e620c99\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-01-22T16:37:04.2957586Z\",\"expiryTime\":\"2024-01-29T16:37:04.2957586Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-01-29T16:37:04.2957586Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/55d649e2ceb244f4a7af43706e620c99\",\"name\":\"55d649e2ceb244f4a7af43706e620c99\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"609aa1810b6446098dc7e2082433085f\",\"recoveryPointTime\":\"2024-01-21T16:37:58.6890067Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"609aa1810b6446098dc7e2082433085f\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-01-21T16:37:58.8295685Z\",\"expiryTime\":\"2024-01-28T16:37:58.8295685Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-01-28T16:37:58.8295685Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/609aa1810b6446098dc7e2082433085f\",\"name\":\"609aa1810b6446098dc7e2082433085f\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"3b50e0befe7147c5a61cc27cf3248735\",\"recoveryPointTime\":\"2024-01-20T16:37:58.3051486Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"3b50e0befe7147c5a61cc27cf3248735\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-01-20T16:37:58.4145209Z\",\"expiryTime\":\"2024-01-27T16:37:58.4145209Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-01-27T16:37:58.4145209Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/3b50e0befe7147c5a61cc27cf3248735\",\"name\":\"3b50e0befe7147c5a61cc27cf3248735\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"4e5c22ef99db453cbcb12ba7878169e7\",\"recoveryPointTime\":\"2024-01-19T17:27:09.2713881Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"4e5c22ef99db453cbcb12ba7878169e7\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-01-19T17:27:09.3339251Z\",\"expiryTime\":\"2024-01-26T17:27:09.3339251Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-01-26T17:27:09.3339251Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/4e5c22ef99db453cbcb12ba7878169e7\",\"name\":\"4e5c22ef99db453cbcb12ba7878169e7\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"f227e8d019264e3598bd7522910c8180\",\"recoveryPointTime\":\"2024-01-19T16:37:58.9657981Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"f227e8d019264e3598bd7522910c8180\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-01-19T16:37:59.0439222Z\",\"expiryTime\":\"2024-01-26T16:37:59.0439222Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638404894728631230\",\"policyName\":\"pgflexArchivePolicy1\",\"policyVersion\":null,\"expiryTime\":\"2024-01-26T16:37:59.0439222Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints/f227e8d019264e3598bd7522910c8180\",\"name\":\"f227e8d019264e3598bd7522910c8180\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"}],\"nextLink\":\"https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/recoveryPoints?api-version=2023-12-01\u0026%24skiptoken=1!48!YjdlMmFlZmYtOTU1Ny00ZTVmLTgwNmUtNjA5YWQ3NGNiZjVi+1!140!cGl0aW5kZXg1XzBfMjUxNjk2NzA0OTc3NzkzNzEzMV8wXzhjZjVlZmNhODRjMTQxNDFiMzI5MDYxZDNkNjI4NDQyXzBfMDQ3NTEwOGYtZjY4Ny00Y2MzLTgwZWYtNTJlYTk3Yzg2MzMy\"}", + "Content": "{\"properties\":{\"resourceGuardResourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/resourceGuards/testresguardecy1\",\"resourceGuardOperationDetails\":[{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/backupInstances/delete\",\"defaultResourceRequest\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/resourceGuards/testresguardecy1/deleteBackupInstanceRequests/default\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/backupResourceGuardProxies/delete\",\"defaultResourceRequest\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/resourceGuards/testresguardecy1/deleteResourceGuardProxyRequests/default\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/write#reduceImmutabilityState\",\"defaultResourceRequest\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/resourceGuards/testresguardecy1/dppReduceImmutabilityStateRequests/default\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/write#reduceSoftDeleteSecurity\",\"defaultResourceRequest\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/resourceGuards/testresguardecy1/dppReduceSoftDeleteSecurityRequests/default\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/write#modifyEncryptionSettings\",\"defaultResourceRequest\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/resourceGuards/testresguardecy1/dppModifyEncryptionSettingsRequests/default\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/backupInstances/stopProtection/action\",\"defaultResourceRequest\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/resourceGuards/testresguardecy1/dppDisableStopProtectionRequests/default\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/backupInstances/suspendBackups/action\",\"defaultResourceRequest\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/resourceGuards/testresguardecy1/dppDisableSuspendBackupsRequests/default\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/backupInstances/write\",\"defaultResourceRequest\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/resourceGuards/testresguardecy1/dppModifyPolicy/default\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/backupInstances/restore/action\",\"defaultResourceRequest\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/resourceGuards/testresguardecy1/dppTriggerRestoreRequests/default\"}],\"lastUpdatedTime\":\"2024-04-17T19:36:39.7489598Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupResourceGuardProxies/DppResourceGuardProxy\",\"name\":\"DppResourceGuardProxy\",\"type\":\"Microsoft.DataProtection/vaults/backupResourceGuardProxies\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$POST+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/restore?api-version=2023-12-01+58": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$POST+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b/restore?api-version=2024-04-01+58": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7/restore?api-version=2023-12-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\": \"dummyprefix\",\r\n \"restoreTargetLocationType\": \"AzureBlobs\",\r\n \"url\": \"https://vdhingra1psa.blob.core.windows.net/powershellpgflexrestore\"\r\n }\r\n },\r\n \"sourceDataStoreType\": \"VaultStore\",\r\n \"recoveryPointId\": \"b46e07471052441681be06ad3a3e3198\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b/restore?api-version=2024-04-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\": \"dummyprefix\",\r\n \"restoreTargetLocationType\": \"AzureBlobs\",\r\n \"url\": \"https://akneemasaecy.blob.core.windows.net/oss-csr-container\"\r\n }\r\n },\r\n \"sourceDataStoreType\": \"VaultStore\",\r\n \"resourceGuardOperationRequests\": [ \"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/resourceGuards/testresguardecy1/dppTriggerRestoreRequests/default\" ],\r\n \"recoveryPointId\": \"d068309a7ab74c678a5362c80f715737\"\r\n}", "isContentBase64": false, "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "520" ] + "Content-Length": [ "735" ] } }, "Response": { @@ -2410,18 +2467,19 @@ "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/NDY0ZDFhZGItNzk0My00NTljLTg3YjYtMjkxZmE1OTIxYWIyOzIyYjdlNTZiLThmZWUtNDNlMi1hYjAxLTQwMGIwMjg4MTE1MQ==?api-version=2023-12-01\u0026t=638469279696923470\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=O0nLNMcAWrC7WXWAm3ouX5--ahg84G4nX4rYxSStDVp64aSRRQ3q46XuMPyd_Sl6Vj0GvgoXiT_k29Z3lQkrXtv6Qo-isV9tU1XTDl48Y0B86Z7aASo5_vzQKcqMzqRtJJZ43ZurqstElFAPWBQMTVKyky-4hVXGVr3CkPUic1zAWMEdt30zW9MSWo27stxnDeO-bWJv_OHKxzLHgG6Oly6ZEwFfyRgq5F_w04GOrDm3derYV_JCUToi6l6S3kMnmhrbRx3mNtz5Ai6jmR3hm200ls7A0FGdz3YeKJHCy91OehPWE3IpbzbEPNGNtJVk6uTbxiQS9oxx4q80aY6wfA\u0026h=WnfQRnSvn7UuFX7FhqpT-N9TcudtmJYfUFS1gWaRFmk" ], + "Location": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/YmE2MDhmNDQtZDkzZi00YmRiLTkxMTgtZTIxODc1MzNjNmNkO2FkMmQ4NmM4LWUyMjYtNGQ3YS1hMzFlLWU3YWY3NzZmYmZkMw==?api-version=2024-04-01\u0026t=638493510205128374\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=N9akhjjFtSYSFpvpQjsTXibe-cgsOhNZfijM7_Kc_Zb2TiLzF55NA5xCoihRTEOv_0tlzIWDQF0gPU-VJtYS4hpVN2_yWCTpTi5POBtipK_KcxqFHH0_qf4qBbYRhAiVWr_O1IxfjL7xMSeAZWDSa2CF8VVZ7a6dTsVDE1-qM_H91mzDcD2USpVEqXaW9Phevy7in7RYa_kAq8qzCeJZSrrJUc6mwcmI0gLMd6sdGMApEpHb3elAwWYRu28z2o25ATePzdslsspDFkBs_Tu1XTQzXEsc4RTi5eY31hTMszCEyTDScVtowMlHG18zvVrtcfLXhqqp_1HI3NG8jrNiMA\u0026h=pc6NXuz_uOJ7DHxyZkYOpVggVw-zZn29EXdXPu5mca0" ], "Retry-After": [ "30" ], "X-Content-Type-Options": [ "nosniff" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/operationStatus/NDY0ZDFhZGItNzk0My00NTljLTg3YjYtMjkxZmE1OTIxYWIyOzIyYjdlNTZiLThmZWUtNDNlMi1hYjAxLTQwMGIwMjg4MTE1MQ==?api-version=2023-12-01\u0026t=638469279696767204\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=eP0_YVHxeYwbeKEhqbtQ_sFeUhbuiExLHxThvmxWujR-quntTNiGrxVir8w3VUOMhSmwqL6qr_-nFx71tkciQO2rMRY3AC3cAsL41nnpl1gelH_XL7dj8mKZVnZfloPel7S79EwUai-jw9bja1QqIs3_ONQHuCx_WSenFMhq8r0olJidmjDEmxkufGv18EqqHyaKfA4z1v-eVGDTwLXuc9Dw5Z8L6QE9hL7oRl9fWwNbgRFW76c0-qIDEz9DtwL3RnBWgHT8T4R-MSLP9S-kBcsy0ngFy0nv3-vUvluN-7hp6-WSJs7UQFV-owtLCYQHPwwXj2-HSpr17Y_Rz4ukSg\u0026h=wLVFqS_juECVO44qpwx7fLovb9UE7U2Sj7HVJfPQov4" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/operationStatus/YmE2MDhmNDQtZDkzZi00YmRiLTkxMTgtZTIxODc1MzNjNmNkO2FkMmQ4NmM4LWUyMjYtNGQ3YS1hMzFlLWU3YWY3NzZmYmZkMw==?api-version=2024-04-01\u0026t=638493510205128374\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=jn5In8qCjNkAKGraV8K27DGggZgdbgRvWkrNNLh2qc0tfytDIuGYQE2qEj8D8Mnatq7RzjxuPjlBCq1S8KiuWkzUwS1ZOeOdA4UXKL0ZaLAvPsN2K7Z8Cbx_1v1sW35_p6RZAX16XUG-aZPachUGtfeKhNZO0TwCJIacl3jox6M-zFwrZVC06SqtCPqhuaQM0ttNGxQikLH_BvI578oMXhDBetg1bCvRDhoCovd7swIYjfePGvLRoCBt_yXyZZ6sEHnl1S6yx49avxsdIzDRRbfKKdfeHRdGPuWf60Po3KAsT5W8A7b6_jHRu6R8uBsVBqYx528sjnJGx-pUSdHu3Q\u0026h=PvLt1dY42KZzncYLr3bQyz0ByUeDSKLmes-cQgE0xoo" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-request-id": [ "d299b6c6-cfe2-4354-b106-aa18686c4cb6" ], - "x-ms-correlation-request-id": [ "d299b6c6-cfe2-4354-b106-aa18686c4cb6" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014609Z:d299b6c6-cfe2-4354-b106-aa18686c4cb6" ], + "x-ms-request-id": [ "0b8276f8-a211-4f2a-9eed-9160ae212658" ], + "x-ms-correlation-request-id": [ "0b8276f8-a211-4f2a-9eed-9160ae212658" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240422T025020Z:0b8276f8-a211-4f2a-9eed-9160ae212658" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: E848C80952C944A0BB830211C186F5D5 Ref B: MAA201060513029 Ref C: 2024-03-25T01:46:08Z" ], - "Date": [ "Mon, 25 Mar 2024 01:46:09 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 5BE506D6AE0847C69994160A47E31818 Ref B: MAA201060514035 Ref C: 2024-04-22T02:50:19Z" ], + "Date": [ "Mon, 22 Apr 2024 02:50:20 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -2431,20 +2489,20 @@ "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/operationStatus/NDY0ZDFhZGItNzk0My00NTljLTg3YjYtMjkxZmE1OTIxYWIyOzIyYjdlNTZiLThmZWUtNDNlMi1hYjAxLTQwMGIwMjg4MTE1MQ==?api-version=2023-12-01\u0026t=638469279696767204\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=eP0_YVHxeYwbeKEhqbtQ_sFeUhbuiExLHxThvmxWujR-quntTNiGrxVir8w3VUOMhSmwqL6qr_-nFx71tkciQO2rMRY3AC3cAsL41nnpl1gelH_XL7dj8mKZVnZfloPel7S79EwUai-jw9bja1QqIs3_ONQHuCx_WSenFMhq8r0olJidmjDEmxkufGv18EqqHyaKfA4z1v-eVGDTwLXuc9Dw5Z8L6QE9hL7oRl9fWwNbgRFW76c0-qIDEz9DtwL3RnBWgHT8T4R-MSLP9S-kBcsy0ngFy0nv3-vUvluN-7hp6-WSJs7UQFV-owtLCYQHPwwXj2-HSpr17Y_Rz4ukSg\u0026h=wLVFqS_juECVO44qpwx7fLovb9UE7U2Sj7HVJfPQov4+59": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/operationStatus/YmE2MDhmNDQtZDkzZi00YmRiLTkxMTgtZTIxODc1MzNjNmNkO2FkMmQ4NmM4LWUyMjYtNGQ3YS1hMzFlLWU3YWY3NzZmYmZkMw==?api-version=2024-04-01\u0026t=638493510205128374\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=jn5In8qCjNkAKGraV8K27DGggZgdbgRvWkrNNLh2qc0tfytDIuGYQE2qEj8D8Mnatq7RzjxuPjlBCq1S8KiuWkzUwS1ZOeOdA4UXKL0ZaLAvPsN2K7Z8Cbx_1v1sW35_p6RZAX16XUG-aZPachUGtfeKhNZO0TwCJIacl3jox6M-zFwrZVC06SqtCPqhuaQM0ttNGxQikLH_BvI578oMXhDBetg1bCvRDhoCovd7swIYjfePGvLRoCBt_yXyZZ6sEHnl1S6yx49avxsdIzDRRbfKKdfeHRdGPuWf60Po3KAsT5W8A7b6_jHRu6R8uBsVBqYx528sjnJGx-pUSdHu3Q\u0026h=PvLt1dY42KZzncYLr3bQyz0ByUeDSKLmes-cQgE0xoo+59": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/operationStatus/NDY0ZDFhZGItNzk0My00NTljLTg3YjYtMjkxZmE1OTIxYWIyOzIyYjdlNTZiLThmZWUtNDNlMi1hYjAxLTQwMGIwMjg4MTE1MQ==?api-version=2023-12-01\u0026t=638469279696767204\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=eP0_YVHxeYwbeKEhqbtQ_sFeUhbuiExLHxThvmxWujR-quntTNiGrxVir8w3VUOMhSmwqL6qr_-nFx71tkciQO2rMRY3AC3cAsL41nnpl1gelH_XL7dj8mKZVnZfloPel7S79EwUai-jw9bja1QqIs3_ONQHuCx_WSenFMhq8r0olJidmjDEmxkufGv18EqqHyaKfA4z1v-eVGDTwLXuc9Dw5Z8L6QE9hL7oRl9fWwNbgRFW76c0-qIDEz9DtwL3RnBWgHT8T4R-MSLP9S-kBcsy0ngFy0nv3-vUvluN-7hp6-WSJs7UQFV-owtLCYQHPwwXj2-HSpr17Y_Rz4ukSg\u0026h=wLVFqS_juECVO44qpwx7fLovb9UE7U2Sj7HVJfPQov4", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/operationStatus/YmE2MDhmNDQtZDkzZi00YmRiLTkxMTgtZTIxODc1MzNjNmNkO2FkMmQ4NmM4LWUyMjYtNGQ3YS1hMzFlLWU3YWY3NzZmYmZkMw==?api-version=2024-04-01\u0026t=638493510205128374\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=jn5In8qCjNkAKGraV8K27DGggZgdbgRvWkrNNLh2qc0tfytDIuGYQE2qEj8D8Mnatq7RzjxuPjlBCq1S8KiuWkzUwS1ZOeOdA4UXKL0ZaLAvPsN2K7Z8Cbx_1v1sW35_p6RZAX16XUG-aZPachUGtfeKhNZO0TwCJIacl3jox6M-zFwrZVC06SqtCPqhuaQM0ttNGxQikLH_BvI578oMXhDBetg1bCvRDhoCovd7swIYjfePGvLRoCBt_yXyZZ6sEHnl1S6yx49avxsdIzDRRbfKKdfeHRdGPuWf60Po3KAsT5W8A7b6_jHRu6R8uBsVBqYx528sjnJGx-pUSdHu3Q\u0026h=PvLt1dY42KZzncYLr3bQyz0ByUeDSKLmes-cQgE0xoo", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "59" ], - "x-ms-client-request-id": [ "3eb7ed7d-0fc1-4b3b-93ca-47ac65edc6da" ], + "x-ms-client-request-id": [ "1f732bc2-d532-4e8c-9caa-6cff5d866e0a" ], "CommandName": [ "Az.DataProtection.Internal\\Start-AzDataProtectionBackupInstanceRestore" ], "FullCommandName": [ "Start-AzDataProtectionBackupInstanceRestore_Trigger" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -2454,39 +2512,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "c815083a-bf3a-4244-a5b7-dd4cf24dcdec" ], - "x-ms-correlation-request-id": [ "c815083a-bf3a-4244-a5b7-dd4cf24dcdec" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014640Z:c815083a-bf3a-4244-a5b7-dd4cf24dcdec" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], + "x-ms-request-id": [ "57a494a9-6166-4212-8bb4-ed2d65f866c3" ], + "x-ms-correlation-request-id": [ "57a494a9-6166-4212-8bb4-ed2d65f866c3" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240422T025052Z:57a494a9-6166-4212-8bb4-ed2d65f866c3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: DA5D29D863954497BEDB3829C6F3944D Ref B: MAA201060513029 Ref C: 2024-03-25T01:46:39Z" ], - "Date": [ "Mon, 25 Mar 2024 01:46:40 GMT" ] + "X-MSEdge-Ref": [ "Ref A: F1847EE4C5AF4DF59CFD0B614E3FC439 Ref B: MAA201060514035 Ref C: 2024-04-22T02:50:50Z" ], + "Date": [ "Mon, 22 Apr 2024 02:50:52 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "737" ], + "Content-Length": [ "709" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/operationStatus/NDY0ZDFhZGItNzk0My00NTljLTg3YjYtMjkxZmE1OTIxYWIyOzIyYjdlNTZiLThmZWUtNDNlMi1hYjAxLTQwMGIwMjg4MTE1MQ==\",\"name\":\"NDY0ZDFhZGItNzk0My00NTljLTg3YjYtMjkxZmE1OTIxYWIyOzIyYjdlNTZiLThmZWUtNDNlMi1hYjAxLTQwMGIwMjg4MTE1MQ==\",\"status\":\"Succeeded\",\"startTime\":\"2024-03-25T01:46:09.5169137Z\",\"endTime\":\"2024-03-25T01:46:10Z\",\"properties\":{\"jobId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/vdhingraRG/providers/Microsoft.DataProtection/BackupVaults/vdhingraBackupVault/backupJobs/ff36cbfb-40b7-4838-ba90-cc23d6fe41e8\",\"objectType\":\"OperationJobExtendedInfo\"}}", + "Content": "{\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/operationStatus/YmE2MDhmNDQtZDkzZi00YmRiLTkxMTgtZTIxODc1MzNjNmNkO2FkMmQ4NmM4LWUyMjYtNGQ3YS1hMzFlLWU3YWY3NzZmYmZkMw==\",\"name\":\"YmE2MDhmNDQtZDkzZi00YmRiLTkxMTgtZTIxODc1MzNjNmNkO2FkMmQ4NmM4LWUyMjYtNGQ3YS1hMzFlLWU3YWY3NzZmYmZkMw==\",\"status\":\"Succeeded\",\"startTime\":\"2024-04-22T02:50:20.3202986Z\",\"endTime\":\"2024-04-22T02:50:21Z\",\"properties\":{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/51f30141-c508-485c-ab3b-8c41d0f5429a\",\"objectType\":\"OperationJobExtendedInfo\"}}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/NDY0ZDFhZGItNzk0My00NTljLTg3YjYtMjkxZmE1OTIxYWIyOzIyYjdlNTZiLThmZWUtNDNlMi1hYjAxLTQwMGIwMjg4MTE1MQ==?api-version=2023-12-01\u0026t=638469279696923470\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=O0nLNMcAWrC7WXWAm3ouX5--ahg84G4nX4rYxSStDVp64aSRRQ3q46XuMPyd_Sl6Vj0GvgoXiT_k29Z3lQkrXtv6Qo-isV9tU1XTDl48Y0B86Z7aASo5_vzQKcqMzqRtJJZ43ZurqstElFAPWBQMTVKyky-4hVXGVr3CkPUic1zAWMEdt30zW9MSWo27stxnDeO-bWJv_OHKxzLHgG6Oly6ZEwFfyRgq5F_w04GOrDm3derYV_JCUToi6l6S3kMnmhrbRx3mNtz5Ai6jmR3hm200ls7A0FGdz3YeKJHCy91OehPWE3IpbzbEPNGNtJVk6uTbxiQS9oxx4q80aY6wfA\u0026h=WnfQRnSvn7UuFX7FhqpT-N9TcudtmJYfUFS1gWaRFmk+60": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/YmE2MDhmNDQtZDkzZi00YmRiLTkxMTgtZTIxODc1MzNjNmNkO2FkMmQ4NmM4LWUyMjYtNGQ3YS1hMzFlLWU3YWY3NzZmYmZkMw==?api-version=2024-04-01\u0026t=638493510205128374\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=N9akhjjFtSYSFpvpQjsTXibe-cgsOhNZfijM7_Kc_Zb2TiLzF55NA5xCoihRTEOv_0tlzIWDQF0gPU-VJtYS4hpVN2_yWCTpTi5POBtipK_KcxqFHH0_qf4qBbYRhAiVWr_O1IxfjL7xMSeAZWDSa2CF8VVZ7a6dTsVDE1-qM_H91mzDcD2USpVEqXaW9Phevy7in7RYa_kAq8qzCeJZSrrJUc6mwcmI0gLMd6sdGMApEpHb3elAwWYRu28z2o25ATePzdslsspDFkBs_Tu1XTQzXEsc4RTi5eY31hTMszCEyTDScVtowMlHG18zvVrtcfLXhqqp_1HI3NG8jrNiMA\u0026h=pc6NXuz_uOJ7DHxyZkYOpVggVw-zZn29EXdXPu5mca0+60": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/NDY0ZDFhZGItNzk0My00NTljLTg3YjYtMjkxZmE1OTIxYWIyOzIyYjdlNTZiLThmZWUtNDNlMi1hYjAxLTQwMGIwMjg4MTE1MQ==?api-version=2023-12-01\u0026t=638469279696923470\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=O0nLNMcAWrC7WXWAm3ouX5--ahg84G4nX4rYxSStDVp64aSRRQ3q46XuMPyd_Sl6Vj0GvgoXiT_k29Z3lQkrXtv6Qo-isV9tU1XTDl48Y0B86Z7aASo5_vzQKcqMzqRtJJZ43ZurqstElFAPWBQMTVKyky-4hVXGVr3CkPUic1zAWMEdt30zW9MSWo27stxnDeO-bWJv_OHKxzLHgG6Oly6ZEwFfyRgq5F_w04GOrDm3derYV_JCUToi6l6S3kMnmhrbRx3mNtz5Ai6jmR3hm200ls7A0FGdz3YeKJHCy91OehPWE3IpbzbEPNGNtJVk6uTbxiQS9oxx4q80aY6wfA\u0026h=WnfQRnSvn7UuFX7FhqpT-N9TcudtmJYfUFS1gWaRFmk", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/YmE2MDhmNDQtZDkzZi00YmRiLTkxMTgtZTIxODc1MzNjNmNkO2FkMmQ4NmM4LWUyMjYtNGQ3YS1hMzFlLWU3YWY3NzZmYmZkMw==?api-version=2024-04-01\u0026t=638493510205128374\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=N9akhjjFtSYSFpvpQjsTXibe-cgsOhNZfijM7_Kc_Zb2TiLzF55NA5xCoihRTEOv_0tlzIWDQF0gPU-VJtYS4hpVN2_yWCTpTi5POBtipK_KcxqFHH0_qf4qBbYRhAiVWr_O1IxfjL7xMSeAZWDSa2CF8VVZ7a6dTsVDE1-qM_H91mzDcD2USpVEqXaW9Phevy7in7RYa_kAq8qzCeJZSrrJUc6mwcmI0gLMd6sdGMApEpHb3elAwWYRu28z2o25ATePzdslsspDFkBs_Tu1XTQzXEsc4RTi5eY31hTMszCEyTDScVtowMlHG18zvVrtcfLXhqqp_1HI3NG8jrNiMA\u0026h=pc6NXuz_uOJ7DHxyZkYOpVggVw-zZn29EXdXPu5mca0", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "60" ], - "x-ms-client-request-id": [ "3eb7ed7d-0fc1-4b3b-93ca-47ac65edc6da" ], + "x-ms-client-request-id": [ "1f732bc2-d532-4e8c-9caa-6cff5d866e0a" ], "CommandName": [ "Az.DataProtection.Internal\\Start-AzDataProtectionBackupInstanceRestore" ], "FullCommandName": [ "Start-AzDataProtectionBackupInstanceRestore_Trigger" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -2497,39 +2556,40 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Retry-After": [ "30" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationStatus/NDY0ZDFhZGItNzk0My00NTljLTg3YjYtMjkxZmE1OTIxYWIyOzIyYjdlNTZiLThmZWUtNDNlMi1hYjAxLTQwMGIwMjg4MTE1MQ==?api-version=2023-12-01\u0026t=638469280012610878\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=q89GUnaNSMNRviSXuetF_vpgLsYtLmK7y9zJI3jMl_plFyKamPkcYjUYmFB1t5Dpa9iIPOxhNFXlTzxaWkJ0TwFxMfpcuVHfe1lfVkcFftk-C_Ub8aHC6HBBvQueEuG7o9NMTU6wdaFZn6sOmyYRcL-OKwtNf31Pvi9lktwKxhe0qZgyz-Dllp9rV8RFe2ebBqhW8cBbogpJ-dYp_O2B2Nsp8nsUdcGNf4zIdv5levJaLgUmpmKySbCTmwvP_X_6OO2cBQRZK986jpZfe-jqXlhcasPgTeVbvcgISiR7VIuWuIq4IhvFczRr1VTx5OaEfsQ9Ip5LVsHlrCQoODJN_Q\u0026h=-qHV8RWI3CIhPdPiXpk0yvoHiowzjBG61mn-NdTSz-E" ], - "x-ms-request-id": [ "b473ef70-8a66-4a14-8c4d-0feb009e9c1e" ], - "x-ms-correlation-request-id": [ "b473ef70-8a66-4a14-8c4d-0feb009e9c1e" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014641Z:b473ef70-8a66-4a14-8c4d-0feb009e9c1e" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/eastus2euap/operationStatus/YmE2MDhmNDQtZDkzZi00YmRiLTkxMTgtZTIxODc1MzNjNmNkO2FkMmQ4NmM4LWUyMjYtNGQ3YS1hMzFlLWU3YWY3NzZmYmZkMw==?api-version=2024-04-01\u0026t=638493510533311066\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=HE9gO1AhWxnRKJQL6wU5RJv_rIDGMQ5KTcqsfDwBDHEjetWBemk_VHtwT6pWaa2Kq4uErf-PtgxEBMQJEkq9WHPzdHfCO-HaJ05O3pBcDhVgo9eU7z3GYS9kEGRfeygDZKG3OTEX8nDljFlc8ehJH8hvuOHxcwMbcOyXvdyaTTaHhslXWq11ohf8sKBFovtMXsg0Ajo_KfR3vtuX4C_7o4P5JJx_UJ4SZe37yOUBSL3ktyfUswWQc3D104BLlSLN58kynpPORrHs58F1T0I9q-iBTTFaWZjzREoS0b3jn4kKOE_nzf-ZKY4bbsDbbDVRGW_0BOPbp4ILVXcemXUcgQ\u0026h=MedMlGWwQivikY2i4OeNZS07yHQ637FWKxQRjwOPATo" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "44b996f9-296c-44d1-9be3-591e0a582b69" ], + "x-ms-correlation-request-id": [ "44b996f9-296c-44d1-9be3-591e0a582b69" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240422T025053Z:44b996f9-296c-44d1-9be3-591e0a582b69" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 536B6BCD65634741A62E0DB1D9DEDE20 Ref B: MAA201060513029 Ref C: 2024-03-25T01:46:40Z" ], - "Date": [ "Mon, 25 Mar 2024 01:46:41 GMT" ] + "X-MSEdge-Ref": [ "Ref A: D317993C89824D318FD019A6E0A01411 Ref B: MAA201060514035 Ref C: 2024-04-22T02:50:52Z" ], + "Date": [ "Mon, 22 Apr 2024 02:50:52 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "245" ], + "Content-Length": [ "231" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"jobId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/vdhingraRG/providers/Microsoft.DataProtection/BackupVaults/vdhingraBackupVault/backupJobs/ff36cbfb-40b7-4838-ba90-cc23d6fe41e8\",\"objectType\":\"OperationJobExtendedInfo\"}", + "Content": "{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/51f30141-c508-485c-ab3b-8c41d0f5429a\",\"objectType\":\"OperationJobExtendedInfo\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/ff36cbfb-40b7-4838-ba90-cc23d6fe41e8?api-version=2023-12-01+61": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/51f30141-c508-485c-ab3b-8c41d0f5429a?api-version=2024-04-01+61": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/ff36cbfb-40b7-4838-ba90-cc23d6fe41e8?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/51f30141-c508-485c-ab3b-8c41d0f5429a?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "61" ], - "x-ms-client-request-id": [ "0526396d-cb20-4742-b57e-6358bb25300e" ], + "x-ms-client-request-id": [ "45fdfd0e-526f-4d7a-8456-bd382529a580" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2541,37 +2601,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "b89d22a1-2086-4d15-b96c-3d9e11106c90" ], - "x-ms-correlation-request-id": [ "b89d22a1-2086-4d15-b96c-3d9e11106c90" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014653Z:b89d22a1-2086-4d15-b96c-3d9e11106c90" ], + "x-ms-request-id": [ "125e340c-fcac-4c2b-9975-9ece06c8a2a1" ], + "x-ms-correlation-request-id": [ "125e340c-fcac-4c2b-9975-9ece06c8a2a1" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240422T025104Z:125e340c-fcac-4c2b-9975-9ece06c8a2a1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 57F0C0E6E14D44B4B4F134F2D30FE41F Ref B: MAA201060513029 Ref C: 2024-03-25T01:46:51Z" ], - "Date": [ "Mon, 25 Mar 2024 01:46:52 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 9FFB9A12AB0D40BCBA03947539CC3052 Ref B: MAA201060514035 Ref C: 2024-04-22T02:51:03Z" ], + "Date": [ "Mon, 22 Apr 2024 02:51:04 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2413" ], + "Content-Length": [ "2365" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"3eb7ed7d-0fc1-4b3b-93ca-47ac65edc6da\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A46%3A09.8389129Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:46:09.6780612Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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\":\"b46e07471052441681be06ad3a3e3198\",\"recoveryPointTime\":\"2024-03-25T01:45:01.8917584Z\"},\"recoveryDestination\":\"https://vdhingra1psa.blob.core.windows.net/powershellpgflexrestore\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"Restore File Prefix\":\"dummyprefix\"},\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/ff36cbfb-40b7-4838-ba90-cc23d6fe41e8\",\"name\":\"ff36cbfb-40b7-4838-ba90-cc23d6fe41e8\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"1f732bc2-d532-4e8c-9caa-6cff5d866e0a\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A50%3A20.6644778Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:50:20.4987934Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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\":\"d068309a7ab74c678a5362c80f715737\",\"recoveryPointTime\":\"2024-04-22T02:49:10.9330212Z\"},\"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\":\"dummyprefix\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/51f30141-c508-485c-ab3b-8c41d0f5429a\",\"name\":\"51f30141-c508-485c-ab3b-8c41d0f5429a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/ff36cbfb-40b7-4838-ba90-cc23d6fe41e8?api-version=2023-12-01+62": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/51f30141-c508-485c-ab3b-8c41d0f5429a?api-version=2024-04-01+62": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/ff36cbfb-40b7-4838-ba90-cc23d6fe41e8?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/51f30141-c508-485c-ab3b-8c41d0f5429a?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "62" ], - "x-ms-client-request-id": [ "170ab2da-515c-483a-aa3e-9a91aaabbcc2" ], + "x-ms-client-request-id": [ "688fc279-8de6-4d7d-8014-4b5cf93aa904" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2583,37 +2644,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "a8ad040d-6b9d-4dea-9101-ab88549beaea" ], - "x-ms-correlation-request-id": [ "a8ad040d-6b9d-4dea-9101-ab88549beaea" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014703Z:a8ad040d-6b9d-4dea-9101-ab88549beaea" ], + "x-ms-request-id": [ "44d5e394-4c67-4ae3-a753-5a3bb97c0864" ], + "x-ms-correlation-request-id": [ "44d5e394-4c67-4ae3-a753-5a3bb97c0864" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240422T025115Z:44d5e394-4c67-4ae3-a753-5a3bb97c0864" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: F583199C3D8F45B580ADF5125FCB2603 Ref B: MAA201060513029 Ref C: 2024-03-25T01:47:03Z" ], - "Date": [ "Mon, 25 Mar 2024 01:47:03 GMT" ] + "X-MSEdge-Ref": [ "Ref A: D8D08916F5524873A0279EBD55C12D80 Ref B: MAA201060514035 Ref C: 2024-04-22T02:51:14Z" ], + "Date": [ "Mon, 22 Apr 2024 02:51:15 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2413" ], + "Content-Length": [ "2365" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"3eb7ed7d-0fc1-4b3b-93ca-47ac65edc6da\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A46%3A09.8389129Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:46:09.6780612Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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\":\"b46e07471052441681be06ad3a3e3198\",\"recoveryPointTime\":\"2024-03-25T01:45:01.8917584Z\"},\"recoveryDestination\":\"https://vdhingra1psa.blob.core.windows.net/powershellpgflexrestore\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"Restore File Prefix\":\"dummyprefix\"},\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/ff36cbfb-40b7-4838-ba90-cc23d6fe41e8\",\"name\":\"ff36cbfb-40b7-4838-ba90-cc23d6fe41e8\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"1f732bc2-d532-4e8c-9caa-6cff5d866e0a\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A50%3A20.6644778Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:50:20.4987934Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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\":\"d068309a7ab74c678a5362c80f715737\",\"recoveryPointTime\":\"2024-04-22T02:49:10.9330212Z\"},\"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\":\"dummyprefix\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/51f30141-c508-485c-ab3b-8c41d0f5429a\",\"name\":\"51f30141-c508-485c-ab3b-8c41d0f5429a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/ff36cbfb-40b7-4838-ba90-cc23d6fe41e8?api-version=2023-12-01+63": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/51f30141-c508-485c-ab3b-8c41d0f5429a?api-version=2024-04-01+63": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/ff36cbfb-40b7-4838-ba90-cc23d6fe41e8?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/51f30141-c508-485c-ab3b-8c41d0f5429a?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "63" ], - "x-ms-client-request-id": [ "2c83ebdb-5623-4cb3-b2bb-6f53bc4a89ab" ], + "x-ms-client-request-id": [ "ee82ca1d-dada-4ed4-a0b9-7451fdcd8fb1" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2625,37 +2687,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "197" ], - "x-ms-request-id": [ "287790e1-8140-4250-929a-6307195beba5" ], - "x-ms-correlation-request-id": [ "287790e1-8140-4250-929a-6307195beba5" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014714Z:287790e1-8140-4250-929a-6307195beba5" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "a62d32f0-8257-4220-a9e1-dab1ac25d03a" ], + "x-ms-correlation-request-id": [ "a62d32f0-8257-4220-a9e1-dab1ac25d03a" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240422T025126Z:a62d32f0-8257-4220-a9e1-dab1ac25d03a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 2AB59DF67E1F47C2A832ABC0F0D73E66 Ref B: MAA201060513029 Ref C: 2024-03-25T01:47:13Z" ], - "Date": [ "Mon, 25 Mar 2024 01:47:14 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 202659277F5F420EA6E938CFB896C26D Ref B: MAA201060514035 Ref C: 2024-04-22T02:51:25Z" ], + "Date": [ "Mon, 22 Apr 2024 02:51:26 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2413" ], + "Content-Length": [ "2365" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"3eb7ed7d-0fc1-4b3b-93ca-47ac65edc6da\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A46%3A09.8389129Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:46:09.6780612Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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\":\"b46e07471052441681be06ad3a3e3198\",\"recoveryPointTime\":\"2024-03-25T01:45:01.8917584Z\"},\"recoveryDestination\":\"https://vdhingra1psa.blob.core.windows.net/powershellpgflexrestore\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"Restore File Prefix\":\"dummyprefix\"},\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/ff36cbfb-40b7-4838-ba90-cc23d6fe41e8\",\"name\":\"ff36cbfb-40b7-4838-ba90-cc23d6fe41e8\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"1f732bc2-d532-4e8c-9caa-6cff5d866e0a\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A50%3A20.6644778Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:50:20.4987934Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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\":\"d068309a7ab74c678a5362c80f715737\",\"recoveryPointTime\":\"2024-04-22T02:49:10.9330212Z\"},\"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\":\"dummyprefix\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/51f30141-c508-485c-ab3b-8c41d0f5429a\",\"name\":\"51f30141-c508-485c-ab3b-8c41d0f5429a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/ff36cbfb-40b7-4838-ba90-cc23d6fe41e8?api-version=2023-12-01+64": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/51f30141-c508-485c-ab3b-8c41d0f5429a?api-version=2024-04-01+64": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/ff36cbfb-40b7-4838-ba90-cc23d6fe41e8?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/51f30141-c508-485c-ab3b-8c41d0f5429a?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "64" ], - "x-ms-client-request-id": [ "d09f2c12-2a3b-4e24-b8f9-7f0156d24ca4" ], + "x-ms-client-request-id": [ "0faecccb-3ebe-4e3a-9d9b-fa1c144278e3" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2667,37 +2730,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "d4c44e93-da0f-4a30-bc9f-9b523fbe68ab" ], - "x-ms-correlation-request-id": [ "d4c44e93-da0f-4a30-bc9f-9b523fbe68ab" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014725Z:d4c44e93-da0f-4a30-bc9f-9b523fbe68ab" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "3bab98df-f0d6-407d-a2b5-6cc213876692" ], + "x-ms-correlation-request-id": [ "3bab98df-f0d6-407d-a2b5-6cc213876692" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240422T025138Z:3bab98df-f0d6-407d-a2b5-6cc213876692" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: C97786CEF764478B9356BB5DDA3F8442 Ref B: MAA201060513029 Ref C: 2024-03-25T01:47:24Z" ], - "Date": [ "Mon, 25 Mar 2024 01:47:25 GMT" ] + "X-MSEdge-Ref": [ "Ref A: C046C7DB3BA143BB8A6B9DB85CBD0328 Ref B: MAA201060514035 Ref C: 2024-04-22T02:51:37Z" ], + "Date": [ "Mon, 22 Apr 2024 02:51:37 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2413" ], + "Content-Length": [ "2365" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"3eb7ed7d-0fc1-4b3b-93ca-47ac65edc6da\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A46%3A09.8389129Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:46:09.6780612Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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\":\"b46e07471052441681be06ad3a3e3198\",\"recoveryPointTime\":\"2024-03-25T01:45:01.8917584Z\"},\"recoveryDestination\":\"https://vdhingra1psa.blob.core.windows.net/powershellpgflexrestore\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"Restore File Prefix\":\"dummyprefix\"},\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/ff36cbfb-40b7-4838-ba90-cc23d6fe41e8\",\"name\":\"ff36cbfb-40b7-4838-ba90-cc23d6fe41e8\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"1f732bc2-d532-4e8c-9caa-6cff5d866e0a\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A50%3A20.6644778Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:50:20.4987934Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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\":\"d068309a7ab74c678a5362c80f715737\",\"recoveryPointTime\":\"2024-04-22T02:49:10.9330212Z\"},\"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\":\"dummyprefix\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/51f30141-c508-485c-ab3b-8c41d0f5429a\",\"name\":\"51f30141-c508-485c-ab3b-8c41d0f5429a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/ff36cbfb-40b7-4838-ba90-cc23d6fe41e8?api-version=2023-12-01+65": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/51f30141-c508-485c-ab3b-8c41d0f5429a?api-version=2024-04-01+65": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/ff36cbfb-40b7-4838-ba90-cc23d6fe41e8?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/51f30141-c508-485c-ab3b-8c41d0f5429a?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "65" ], - "x-ms-client-request-id": [ "6af900ba-baed-4196-902b-ebaade0d1592" ], + "x-ms-client-request-id": [ "6b98dc7a-411a-4639-b881-13d8d911ac13" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2709,37 +2773,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "197" ], - "x-ms-request-id": [ "1cbd593e-9caa-4377-bb65-5ca893b94d9b" ], - "x-ms-correlation-request-id": [ "1cbd593e-9caa-4377-bb65-5ca893b94d9b" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014737Z:1cbd593e-9caa-4377-bb65-5ca893b94d9b" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "de2246d2-52d8-421a-8c16-3540259429c3" ], + "x-ms-correlation-request-id": [ "de2246d2-52d8-421a-8c16-3540259429c3" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240422T025149Z:de2246d2-52d8-421a-8c16-3540259429c3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 6B9BE32534554D66BE60AD1E51E378CE Ref B: MAA201060513029 Ref C: 2024-03-25T01:47:35Z" ], - "Date": [ "Mon, 25 Mar 2024 01:47:37 GMT" ] + "X-MSEdge-Ref": [ "Ref A: D794BD1571EF42D6A63C3873D1218942 Ref B: MAA201060514035 Ref C: 2024-04-22T02:51:48Z" ], + "Date": [ "Mon, 22 Apr 2024 02:51:49 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2413" ], + "Content-Length": [ "2365" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"3eb7ed7d-0fc1-4b3b-93ca-47ac65edc6da\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A46%3A09.8389129Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:46:09.6780612Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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\":\"b46e07471052441681be06ad3a3e3198\",\"recoveryPointTime\":\"2024-03-25T01:45:01.8917584Z\"},\"recoveryDestination\":\"https://vdhingra1psa.blob.core.windows.net/powershellpgflexrestore\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"Restore File Prefix\":\"dummyprefix\"},\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/ff36cbfb-40b7-4838-ba90-cc23d6fe41e8\",\"name\":\"ff36cbfb-40b7-4838-ba90-cc23d6fe41e8\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"1f732bc2-d532-4e8c-9caa-6cff5d866e0a\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A50%3A20.6644778Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:50:20.4987934Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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\":\"d068309a7ab74c678a5362c80f715737\",\"recoveryPointTime\":\"2024-04-22T02:49:10.9330212Z\"},\"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\":\"dummyprefix\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/51f30141-c508-485c-ab3b-8c41d0f5429a\",\"name\":\"51f30141-c508-485c-ab3b-8c41d0f5429a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/ff36cbfb-40b7-4838-ba90-cc23d6fe41e8?api-version=2023-12-01+66": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/51f30141-c508-485c-ab3b-8c41d0f5429a?api-version=2024-04-01+66": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/ff36cbfb-40b7-4838-ba90-cc23d6fe41e8?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/51f30141-c508-485c-ab3b-8c41d0f5429a?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "66" ], - "x-ms-client-request-id": [ "3292c854-a9fa-4466-8cee-2a637234f4a7" ], + "x-ms-client-request-id": [ "fd779aa2-396b-474d-9be6-9786c0d979bc" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2751,37 +2816,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "3520d9e3-2d93-4448-9c4b-fe96ed8526ab" ], - "x-ms-correlation-request-id": [ "3520d9e3-2d93-4448-9c4b-fe96ed8526ab" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014749Z:3520d9e3-2d93-4448-9c4b-fe96ed8526ab" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "62384cbe-bc7c-4ba3-b882-252a1e72ac16" ], + "x-ms-correlation-request-id": [ "62384cbe-bc7c-4ba3-b882-252a1e72ac16" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240422T025201Z:62384cbe-bc7c-4ba3-b882-252a1e72ac16" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 75E0DE4D661149D4B5F73DB69D40F922 Ref B: MAA201060513029 Ref C: 2024-03-25T01:47:47Z" ], - "Date": [ "Mon, 25 Mar 2024 01:47:48 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 97EAAA9529094C51ABBFAAC946F6FC12 Ref B: MAA201060514035 Ref C: 2024-04-22T02:51:59Z" ], + "Date": [ "Mon, 22 Apr 2024 02:52:01 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2413" ], + "Content-Length": [ "2365" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"3eb7ed7d-0fc1-4b3b-93ca-47ac65edc6da\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A46%3A09.8389129Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:46:09.6780612Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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\":\"b46e07471052441681be06ad3a3e3198\",\"recoveryPointTime\":\"2024-03-25T01:45:01.8917584Z\"},\"recoveryDestination\":\"https://vdhingra1psa.blob.core.windows.net/powershellpgflexrestore\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"Restore File Prefix\":\"dummyprefix\"},\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/ff36cbfb-40b7-4838-ba90-cc23d6fe41e8\",\"name\":\"ff36cbfb-40b7-4838-ba90-cc23d6fe41e8\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"1f732bc2-d532-4e8c-9caa-6cff5d866e0a\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A50%3A20.6644778Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:50:20.4987934Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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\":\"d068309a7ab74c678a5362c80f715737\",\"recoveryPointTime\":\"2024-04-22T02:49:10.9330212Z\"},\"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\":\"dummyprefix\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/51f30141-c508-485c-ab3b-8c41d0f5429a\",\"name\":\"51f30141-c508-485c-ab3b-8c41d0f5429a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/ff36cbfb-40b7-4838-ba90-cc23d6fe41e8?api-version=2023-12-01+67": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/51f30141-c508-485c-ab3b-8c41d0f5429a?api-version=2024-04-01+67": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/ff36cbfb-40b7-4838-ba90-cc23d6fe41e8?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/51f30141-c508-485c-ab3b-8c41d0f5429a?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "67" ], - "x-ms-client-request-id": [ "08074256-74a2-4b96-8411-8032994d53da" ], + "x-ms-client-request-id": [ "0eed0225-4aba-4e82-ac94-1e36dfe921eb" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2793,37 +2859,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "197" ], - "x-ms-request-id": [ "0ecff365-f506-465d-b3a1-ca1a242c2f13" ], - "x-ms-correlation-request-id": [ "0ecff365-f506-465d-b3a1-ca1a242c2f13" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014800Z:0ecff365-f506-465d-b3a1-ca1a242c2f13" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "ece11afe-7140-496d-b449-d81fe6b46ba2" ], + "x-ms-correlation-request-id": [ "ece11afe-7140-496d-b449-d81fe6b46ba2" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240422T025212Z:ece11afe-7140-496d-b449-d81fe6b46ba2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 1180CC0E375F400EA3A71BB9F782DF71 Ref B: MAA201060513029 Ref C: 2024-03-25T01:47:59Z" ], - "Date": [ "Mon, 25 Mar 2024 01:47:59 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 800FC6FE00254617AD92F1FFB974E3B5 Ref B: MAA201060514035 Ref C: 2024-04-22T02:52:11Z" ], + "Date": [ "Mon, 22 Apr 2024 02:52:12 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2413" ], + "Content-Length": [ "2365" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"3eb7ed7d-0fc1-4b3b-93ca-47ac65edc6da\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A46%3A09.8389129Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:46:09.6780612Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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\":\"b46e07471052441681be06ad3a3e3198\",\"recoveryPointTime\":\"2024-03-25T01:45:01.8917584Z\"},\"recoveryDestination\":\"https://vdhingra1psa.blob.core.windows.net/powershellpgflexrestore\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"Restore File Prefix\":\"dummyprefix\"},\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/ff36cbfb-40b7-4838-ba90-cc23d6fe41e8\",\"name\":\"ff36cbfb-40b7-4838-ba90-cc23d6fe41e8\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"1f732bc2-d532-4e8c-9caa-6cff5d866e0a\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A50%3A20.6644778Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:50:20.4987934Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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\":\"d068309a7ab74c678a5362c80f715737\",\"recoveryPointTime\":\"2024-04-22T02:49:10.9330212Z\"},\"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\":\"dummyprefix\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/51f30141-c508-485c-ab3b-8c41d0f5429a\",\"name\":\"51f30141-c508-485c-ab3b-8c41d0f5429a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/ff36cbfb-40b7-4838-ba90-cc23d6fe41e8?api-version=2023-12-01+68": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/51f30141-c508-485c-ab3b-8c41d0f5429a?api-version=2024-04-01+68": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/ff36cbfb-40b7-4838-ba90-cc23d6fe41e8?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/51f30141-c508-485c-ab3b-8c41d0f5429a?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "68" ], - "x-ms-client-request-id": [ "fffbee3b-3fcd-4c91-bf9a-d12c75c64b24" ], + "x-ms-client-request-id": [ "6bdf725f-4b4c-45a5-84c5-e024e018c433" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2835,37 +2902,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "e3c9dee1-a4e5-481c-a510-e02f0276a953" ], - "x-ms-correlation-request-id": [ "e3c9dee1-a4e5-481c-a510-e02f0276a953" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014811Z:e3c9dee1-a4e5-481c-a510-e02f0276a953" ], + "x-ms-request-id": [ "9a1efb94-d27d-495f-8508-a3ddd9cf1c50" ], + "x-ms-correlation-request-id": [ "9a1efb94-d27d-495f-8508-a3ddd9cf1c50" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240422T025224Z:9a1efb94-d27d-495f-8508-a3ddd9cf1c50" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 87871E97DEB044D9969F9281111BC83F Ref B: MAA201060513029 Ref C: 2024-03-25T01:48:10Z" ], - "Date": [ "Mon, 25 Mar 2024 01:48:11 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 42B5DBD979A24171A5075D7A37AB7C5E Ref B: MAA201060514035 Ref C: 2024-04-22T02:52:22Z" ], + "Date": [ "Mon, 22 Apr 2024 02:52:23 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2413" ], + "Content-Length": [ "2365" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"3eb7ed7d-0fc1-4b3b-93ca-47ac65edc6da\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A46%3A09.8389129Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:46:09.6780612Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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\":\"b46e07471052441681be06ad3a3e3198\",\"recoveryPointTime\":\"2024-03-25T01:45:01.8917584Z\"},\"recoveryDestination\":\"https://vdhingra1psa.blob.core.windows.net/powershellpgflexrestore\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"Restore File Prefix\":\"dummyprefix\"},\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/ff36cbfb-40b7-4838-ba90-cc23d6fe41e8\",\"name\":\"ff36cbfb-40b7-4838-ba90-cc23d6fe41e8\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"1f732bc2-d532-4e8c-9caa-6cff5d866e0a\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A50%3A20.6644778Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:50:20.4987934Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"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\":\"d068309a7ab74c678a5362c80f715737\",\"recoveryPointTime\":\"2024-04-22T02:49:10.9330212Z\"},\"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\":\"dummyprefix\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/51f30141-c508-485c-ab3b-8c41d0f5429a\",\"name\":\"51f30141-c508-485c-ab3b-8c41d0f5429a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/ff36cbfb-40b7-4838-ba90-cc23d6fe41e8?api-version=2023-12-01+69": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+PGFlexRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/51f30141-c508-485c-ab3b-8c41d0f5429a?api-version=2024-04-01+69": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/ff36cbfb-40b7-4838-ba90-cc23d6fe41e8?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/51f30141-c508-485c-ab3b-8c41d0f5429a?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "69" ], - "x-ms-client-request-id": [ "07d22edf-61da-44ce-93ec-10b1c42b2801" ], + "x-ms-client-request-id": [ "b2e5d13a-bc57-4611-9e0a-f6f1aa51b4f4" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2877,37 +2945,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "595f56f1-efc4-4014-a81f-888708dd05de" ], - "x-ms-correlation-request-id": [ "595f56f1-efc4-4014-a81f-888708dd05de" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014822Z:595f56f1-efc4-4014-a81f-888708dd05de" ], + "x-ms-request-id": [ "e865d229-0a95-4325-823b-398477c50826" ], + "x-ms-correlation-request-id": [ "e865d229-0a95-4325-823b-398477c50826" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240422T025235Z:e865d229-0a95-4325-823b-398477c50826" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 04F8A80BD7F747749E1783FDCF2B6092 Ref B: MAA201060513029 Ref C: 2024-03-25T01:48:21Z" ], - "Date": [ "Mon, 25 Mar 2024 01:48:22 GMT" ] + "X-MSEdge-Ref": [ "Ref A: E6EECFF47C2946EE8D836E90A7D5307D Ref B: MAA201060514035 Ref C: 2024-04-22T02:52:34Z" ], + "Date": [ "Mon, 22 Apr 2024 02:52:35 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2586" ], + "Content-Length": [ "2538" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"3eb7ed7d-0fc1-4b3b-93ca-47ac65edc6da\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"archive-test\",\"policyName\":\"pgflexArchivePolicy1\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"archive-test\",\"dataSourceName\":\"archive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A48%3A13.7385385Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:46:09.6780612Z\",\"endTime\":\"2024-03-25T01:48:13.5499161Z\",\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"Completed\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT2M3.8718549S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"b46e07471052441681be06ad3a3e3198\",\"recoveryPointTime\":\"2024-03-25T01:45:01.8917584Z\"},\"recoveryDestination\":\"https://vdhingra1psa.blob.core.windows.net/powershellpgflexrestore\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"Completed\",\"taskProgress\":null,\"additionalDetails\":{\"DataTransferredInBytes\":\"71222\",\"TaskId\":\"3eb7ed7d-0fc1-4b3b-93ca-47ac65edc6da\",\"DatasourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}}],\"additionalDetails\":{\"Restore File Prefix\":\"dummyprefix\"},\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/ff36cbfb-40b7-4838-ba90-cc23d6fe41e8\",\"name\":\"ff36cbfb-40b7-4838-ba90-cc23d6fe41e8\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"1f732bc2-d532-4e8c-9caa-6cff5d866e0a\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupInstances/zubair-pgflex-cli1-zubair-pgflex-cli1-b184233a-d578-11ee-b8f7-60a5e243551b\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupPolicies/OssFlexiblePolicy1\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/zubair-pgflex-cli1\",\"vaultName\":\"zpgflex\",\"backupInstanceFriendlyName\":\"zubair-pgflex-cli1\",\"policyName\":\"OssFlexiblePolicy1\",\"sourceResourceGroup\":\"zubairRG\",\"dataSourceSetName\":null,\"dataSourceName\":\"zubair-pgflex-cli1\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-04-22T02%3A52%3A25.3782084Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:50:20.4987934Z\",\"endTime\":\"2024-04-22T02:52:25.1352646Z\",\"dataSourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"Completed\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT2M4.6364712S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"d068309a7ab74c678a5362c80f715737\",\"recoveryPointTime\":\"2024-04-22T02:49:10.9330212Z\"},\"recoveryDestination\":\"https://akneemasaecy.blob.core.windows.net/oss-csr-container\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"Completed\",\"taskProgress\":null,\"additionalDetails\":{\"DataTransferredInBytes\":\"54085\",\"TaskId\":\"1f732bc2-d532-4e8c-9caa-6cff5d866e0a\",\"DatasourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\"}}],\"additionalDetails\":{\"Restore File Prefix\":\"dummyprefix\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/zubairRG/providers/Microsoft.DataProtection/backupVaults/zpgflex/backupJobs/51f30141-c508-485c-ab3b-8c41d0f5429a\",\"name\":\"51f30141-c508-485c-ab3b-8c41d0f5429a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+MySQLRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault?api-version=2023-12-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=2024-04-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "70" ], - "x-ms-client-request-id": [ "93ee3c1d-1f00-4ec1-844a-06ef19e773e9" ], + "x-ms-client-request-id": [ "524dcd8d-0a44-4e0a-977b-ffa8ed8f8863" ], "CommandName": [ "Get-AzDataProtectionBackupVault" ], "FullCommandName": [ "Get-AzDataProtectionBackupVault_Get2" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2918,38 +2987,39 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "499" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "da35aaca-c9e9-4fac-b229-9f2f60c828f9" ], - "x-ms-correlation-request-id": [ "da35aaca-c9e9-4fac-b229-9f2f60c828f9" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014824Z:da35aaca-c9e9-4fac-b229-9f2f60c828f9" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "499" ], + "x-ms-request-id": [ "b4947143-3110-4f6d-8675-d7248c9a4827" ], + "x-ms-correlation-request-id": [ "b4947143-3110-4f6d-8675-d7248c9a4827" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240422T025237Z:b4947143-3110-4f6d-8675-d7248c9a4827" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: F4CD30552BA14B22B7857CB9AAF09BE6 Ref B: MAA201060513029 Ref C: 2024-03-25T01:48:22Z" ], - "Date": [ "Mon, 25 Mar 2024 01:48:23 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 43A2A73A5F04444B8C85D174F6FD192C Ref B: MAA201060514035 Ref C: 2024-04-22T02:52:35Z" ], + "Date": [ "Mon, 22 Apr 2024 02:52:36 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "880" ], + "Content-Length": [ "851" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"location\":\"eastus2euap\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"0886c1e9-5c5f-4d5e-8c8f-d69c92c59cad\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"storageSettings\":[{\"datastoreType\":\"VaultStore\",\"type\":\"LocallyRedundant\"},{\"datastoreType\":\"ArchiveStore\",\"type\":\"LocallyRedundant\"}],\"isVaultProtectedByResourceGuard\":false,\"securitySettings\":{\"softDeleteSettings\":{\"state\":\"OFF\",\"retentionDurationInDays\":14.0},\"immutabilitySettings\":{\"state\":\"Disabled\"}},\"featureSettings\":{\"crossSubscriptionRestoreSettings\":{\"state\":\"Enabled\"}},\"secureScore\":\"None\",\"replicatedRegions\":[]},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/vdhingraRG/providers/Microsoft.DataProtection/BackupVaults/vdhingraBackupVault\",\"name\":\"vdhingraBackupVault\",\"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\",\"bcdrSecurityLevel\":\"Poor\",\"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]+MySQLRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances?api-version=2023-12-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=2024-04-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "71" ], - "x-ms-client-request-id": [ "f70608a9-bcd1-407e-968a-2a22ef114383" ], + "x-ms-client-request-id": [ "79d89c4e-32dd-4fac-bf7c-f9d9a0e628ae" ], "CommandName": [ "Get-AzDataProtectionBackupInstance" ], "FullCommandName": [ "Get-AzDataProtectionBackupInstance_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2960,38 +3030,39 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1999" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "9b7e4c64-6bde-4fa5-82c1-60879957cbed" ], - "x-ms-correlation-request-id": [ "9b7e4c64-6bde-4fa5-82c1-60879957cbed" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014825Z:9b7e4c64-6bde-4fa5-82c1-60879957cbed" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1999" ], + "x-ms-request-id": [ "3f463329-0e9a-4294-93df-a9b8649b5a7e" ], + "x-ms-correlation-request-id": [ "3f463329-0e9a-4294-93df-a9b8649b5a7e" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240422T025238Z:3f463329-0e9a-4294-93df-a9b8649b5a7e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 65E64F6875AA4EC5B0152131625B2F89 Ref B: MAA201060513029 Ref C: 2024-03-25T01:48:24Z" ], - "Date": [ "Mon, 25 Mar 2024 01:48:25 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 4FA7F238E9A24EB69DBA10B1F0A70DE1 Ref B: MAA201060514035 Ref C: 2024-04-22T02:52:37Z" ], + "Date": [ "Mon, 22 Apr 2024 02:52:37 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "3789" ], + "Content-Length": [ "5916" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"properties\":{\"friendlyName\":\"arhive-test\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforMySQL/flexibleServers/arhive-test\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforMySQL/flexibleServers/arhive-test\",\"datasourceType\":\"Microsoft.DBforMySQL/flexibleServers\",\"resourceName\":\"arhive-test\",\"resourceType\":\"Microsoft.DBforMySQL/flexibleServers\",\"resourceLocation\":\"eastus2euap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforMySQL/flexibleServers/arhive-test\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforMySQL/flexibleServers/arhive-test\",\"datasourceType\":\"Microsoft.DBforMySQL/flexibleServers\",\"resourceName\":\"arhive-test\",\"resourceType\":\"Microsoft.DBforMySQL/flexibleServers\",\"resourceLocation\":\"eastus2euap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pstest-simple-mysql\"},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/arhive-test-arhive-test-5ab61453-6bab-4333-82fb-cdbab5655b6f\",\"name\":\"arhive-test-arhive-test-5ab61453-6bab-4333-82fb-cdbab5655b6f\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"archive-test\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"datasourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"resourceName\":\"archive-test\",\"resourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"resourceLocation\":\"eastus2euap\",\"resourceProperties\":{\"objectType\":\"DefaultResourceProperties\"},\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforPostgreSQL/flexibleServers/archive-test\",\"datasourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"resourceName\":\"archive-test\",\"resourceType\":\"Microsoft.DBforPostgreSQL/flexibleServers\",\"resourceLocation\":\"eastus2euap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pgflexArchivePolicy1\"},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"name\":\"archive-test-archive-test-128b591b-dae0-455e-af07-efed0d1e80b7\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"}]}", + "Content": "{\"value\":[{\"properties\":{\"friendlyName\":\"csrecypostgrestest\\\\postgres\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DBforPostgreSQL/servers/csrecypostgrestest/databases/postgres\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"resourceName\":\"postgres\",\"resourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"resourceLocation\":\"eastus2euap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DBforPostgreSQL/servers/csrecypostgrestest\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"resourceName\":\"csrecypostgrestest\",\"resourceType\":\"Microsoft.DBforPostgreSQL/servers\",\"resourceLocation\":\"eastus2euap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupPolicies/CSROssPolicy\",\"policyVersion\":\"\"},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"datasourceAuthCredentials\":{\"objectType\":\"SecretStoreBasedAuthCredentials\",\"secretStoreResource\":{\"uri\":\"https://csrportaltestkv.vault.azure.net/secrets/CSRPortalTestPostgres\",\"value\":null,\"secretStoreType\":\"AzureKeyVault\"}},\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f\",\"name\":\"csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"CSREcyTestDisk1\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.Compute/disks/CSREcyTestDisk1\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.Compute/disks/CSREcyTestDisk1\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"CSREcyTestDisk1\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"eastus2euap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.Compute/disks/CSREcyTestDisk1\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.Compute/disks/CSREcyTestDisk1\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"CSREcyTestDisk1\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"eastus2euap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupPolicies/CSRDiskPolicy\",\"policyVersion\":\"\",\"policyParameters\":{\"dataStoreParametersList\":[{\"objectType\":\"AzureOperationalStoreParameters\",\"dataStoreType\":\"OperationalStore\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg\"}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/CSREcyTestDisk1-CSREcyTestDisk1-8d873cb3-df03-47ba-9cdb-2b94e58f1072\",\"name\":\"CSREcyTestDisk1-CSREcyTestDisk1-8d873cb3-df03-47ba-9cdb-2b94e58f1072\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"csrtestrgecy\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/DppPostgresTestingEcy/providers/Microsoft.Storage/storageAccounts/csrtestrgecy\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/DppPostgresTestingEcy/providers/Microsoft.Storage/storageAccounts/csrtestrgecy\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"csrtestrgecy\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"eastus2euap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/DppPostgresTestingEcy/providers/Microsoft.Storage/storageAccounts/csrtestrgecy\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/DppPostgresTestingEcy/providers/Microsoft.Storage/storageAccounts/csrtestrgecy\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"csrtestrgecy\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"eastus2euap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupPolicies/csrblobpolicy2\",\"policyVersion\":\"\",\"policyParameters\":{\"backupDatasourceParametersList\":[{\"objectType\":\"BlobBackupDatasourceParameters\",\"containersList\":[\"dnstestcon\"]}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrtestrgecy-csrtestrgecy-a8a22bdb-6b4e-4e49-b730-2fb7f8ff205c\",\"name\":\"csrtestrgecy-csrtestrgecy-a8a22bdb-6b4e-4e49-b730-2fb7f8ff205c\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"}]}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+MySQLRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pstest-simple-mysql?api-version=2023-12-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=2024-04-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pstest-simple-mysql?api-version=2023-12-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=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "72" ], - "x-ms-client-request-id": [ "ba1f1347-756e-47ae-a74e-7cae12d2d403" ], - "CommandName": [ "Get-AzDataProtectionBackupPolicy" ], - "FullCommandName": [ "Get-AzDataProtectionBackupPolicy_Get" ], + "x-ms-client-request-id": [ "c292fb5f-1ec7-44c4-bac2-0a54ac566e5e" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionRecoveryPoint" ], + "FullCommandName": [ "Get-AzDataProtectionRecoveryPoint_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3002,36 +3073,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "03356be3-3fb2-48f4-bbee-9335f21f69f1" ], - "x-ms-correlation-request-id": [ "03356be3-3fb2-48f4-bbee-9335f21f69f1" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014826Z:03356be3-3fb2-48f4-bbee-9335f21f69f1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "99" ], + "x-ms-request-id": [ "70178129-cb2d-4b86-b321-02bc40f7735e" ], + "x-ms-correlation-request-id": [ "70178129-cb2d-4b86-b321-02bc40f7735e" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240422T025239Z:70178129-cb2d-4b86-b321-02bc40f7735e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 32452C1B9038489EB5A22D1E69A634B3 Ref B: MAA201060513029 Ref C: 2024-03-25T01:48:25Z" ], - "Date": [ "Mon, 25 Mar 2024 01:48:26 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 7D4D8C3282804D7EAFD12405E8860A89 Ref B: MAA201060514035 Ref C: 2024-04-22T02:52:38Z" ], + "Date": [ "Mon, 22 Apr 2024 02:52:38 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1625" ], + "Content-Length": [ "1144" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P10D\"},\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"full\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2024-01-04T09:00:00+05:30/P1W\",\"R/2024-01-05T09: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\":[{\"daysOfMonth\":[{\"date\":1,\"isLast\":false},{\"date\":5,\"isLast\":false},{\"date\":1,\"isLast\":true}],\"objectType\":\"ScheduleBasedBackupCriteria\"}]}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupWeekly\",\"objectType\":\"AzureBackupRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P6M\"},\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Monthly\",\"objectType\":\"AzureRetentionRule\"}],\"datasourceTypes\":[\"Microsoft.DBforMySQL/flexibleServers\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pstest-simple-mysql\",\"name\":\"pstest-simple-mysql\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"}", + "Content": "{\"value\":[{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"3aa4114473584905bc4fe653451ac631\",\"recoveryPointTime\":\"2023-12-31T23:30:49.4084489Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"afab8850d67443c5a90bba8770363e8a\",\"recoveryPointDataStoresDetails\":[{\"id\":\"7b389110-a921-4120-b4ab-6e0a3cd13351\",\"type\":\"VaultStore\",\"creationTime\":\"2023-12-31T23:30:49.4084489Z\",\"expiryTime\":\"2024-03-31T23:30:49.4084489Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638037610754051287\",\"policyName\":\"CSROssPolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-31T23:30:49.4084489Z\",\"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/3aa4114473584905bc4fe653451ac631\",\"name\":\"3aa4114473584905bc4fe653451ac631\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"}]}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+MySQLRestore+$POST+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/arhive-test-arhive-test-5ab61453-6bab-4333-82fb-cdbab5655b6f/backup?api-version=2023-12-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=2024-04-01+4": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/arhive-test-arhive-test-5ab61453-6bab-4333-82fb-cdbab5655b6f/backup?api-version=2023-12-01", - "Content": "{\r\n \"backupRuleOptions\": {\r\n \"triggerOption\": {\r\n \"retentionTagOverride\": \"Default\"\r\n },\r\n \"ruleName\": \"BackupWeekly\"\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=2024-04-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-22-04-2024-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\": \"3aa4114473584905bc4fe653451ac631\"\r\n }\r\n}", "isContentBase64": false, "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "140" ] + "Content-Length": [ "828" ] } }, "Response": { @@ -3039,18 +3111,19 @@ "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/NDY0ZDFhZGItNzk0My00NTljLTg3YjYtMjkxZmE1OTIxYWIyO2YxNTcyZDNhLTEzNjUtNGMzNy1hMGYxLTJlNmM2NDNkNjZhOA==?api-version=2023-12-01\u0026t=638469281072245483\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=pIUQxxDxUvvzN2FjRXQqbJUFkUDid5aNblOYsi1aNmkyu72wFOtkQkhhmJvsZqH7hGnOo3HxaZOQuH2HRGyUtsWzmAdA3UG65S47e7QQBp4X5AiAtwj-6UAaVLjS2MToIYy1SOgfu5QuWaEV7e9TvPCQ0APgf4lWSZqRIaVHToZNWPKCtxpu-E09qSeNP7OzxzqxAoEpKNEocVj8NqpeoT0sJzeeh39-01pE9r4AgQuQyISGiV53K84C4Xu3ZADCMRJjq8LKX2cFhKuMZ0hTM2Y9xt4-qVNvernl2G6gD-zUKzl4PELBhCdNjDoKKH24qp722w47Q9f73uVY3FR_6w\u0026h=EfLbWyytFXZ7flRo9Y6yDPTjwxWcoPA4OHPLPO88CJs" ], - "Retry-After": [ "30" ], + "Location": [ "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzYzMzBiODU5LTJhZjYtNDVlOS05YTUxLTlkNWFkZDVkMjkwNQ==?api-version=2024-04-01\u0026t=638493511599608103\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=ibRxTMDz_xAH4XAklEO1EELhQNTIksFUFSdMT9XMZDc8j84DQdNyL0c0vSvVtr-UmK7ITm1x4mcYyni7joNjPnmiIRu7lws5wkAOCor0B30wzperJ0KFqEvt9Q42T7hAbOt1CMzwls1IF4Ht3WPcSX7sp18uBKweetSTeMQNgJKS1LFs--33Z4nvnPfrtMRN-ARqSXgd9yhC5SZUnIh2ejlDTckYBpkK4FtGplEBE7-dtsNm_O2oARcByVjhqelwyW3tBHx6gcZ5y_e2y5Qt41g70MnkjzsIu6TpBCeRJIljnIjs4gcOeDXeZyP07X8Agw5u52n2G0ulO5Jt4oTPAA\u0026h=2S5ScEI2jsMiWvn0xjyaPq4N-lM1z_MiebJpUvuctEw" ], + "Retry-After": [ "10" ], "X-Content-Type-Options": [ "nosniff" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/operationStatus/NDY0ZDFhZGItNzk0My00NTljLTg3YjYtMjkxZmE1OTIxYWIyO2YxNTcyZDNhLTEzNjUtNGMzNy1hMGYxLTJlNmM2NDNkNjZhOA==?api-version=2023-12-01\u0026t=638469281072089492\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=lrn4UATl1hSM4b2h7kg7EXsuHG2ayzHaOHWCnd3qD5nNxxUKQ2XaT7yTD_WPUvVQVLdBq-8lvnhtp3C8BhLySIPQBilj9Simfv3EDkxrvei311hKeaVPyWGdlpAsy10cB3qylWMzSwUE_9oJxwVquVNsu5xJlAueKB_X6A8Lt7ImdIYkj-qWVhSv9yc9C1a0ABDs2XadEB2KrHCvywrBmQm9H_sXvEMM-p3CDTK25IbijHLP4Tnh536IDzg4FaS39BbFZ--WgCUR9QGrxgpjMSlhAkTOviDrkwHdcSDBBsC5nUe43xETx50R4GYbEbhu6L5kynJ7pdLoQQrEVuRNmA\u0026h=pZDD15KmoT7GxMBlm6gOpVdVq1ECZE6erdYJSJem_OI" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/operationStatus/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzYzMzBiODU5LTJhZjYtNDVlOS05YTUxLTlkNWFkZDVkMjkwNQ==?api-version=2024-04-01\u0026t=638493511599451590\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=SwCXFKnLFusOoOz1S6RTTT6GvMIwXKFFP6Gqt51g_0RgIsC5q-p3jAAHr6UiAeCOtDw4zNYFdYchOkTj0H-pDJOG1ol_bdY-whg1uSc0530J8tFUEVxahFCTS1F0AsqEhPEx1K8YOUz8i41uI4ZDY-5DjXDODNDhKohVSMXzi8hCQHhJa_0_jMVGdEoPqYe4j-fqZzVoGND0SJTdFgahv8KsIWSOa7CCcV031ynqN_HVvS39zKqaCzmciihxAxSjYUiLXMhj5cw7HaJi3ALStbX9W6ulLgtzLzml8ldQVPKv7KhRpEfF7dk4SQUyZbS_5i1XVCq71-BIOziBlic1Aw\u0026h=4F_36eS0JYo_aLIn0XKM1CLIvmG8VKWqlC79CGRCoJI" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-request-id": [ "f47b56c4-55fc-4dcb-bfe6-8be62b097540" ], - "x-ms-correlation-request-id": [ "f47b56c4-55fc-4dcb-bfe6-8be62b097540" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014827Z:f47b56c4-55fc-4dcb-bfe6-8be62b097540" ], + "x-ms-request-id": [ "dd6e9f52-4b55-4de6-b101-acbd23b70dab" ], + "x-ms-correlation-request-id": [ "dd6e9f52-4b55-4de6-b101-acbd23b70dab" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240422T025239Z:dd6e9f52-4b55-4de6-b101-acbd23b70dab" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 83449124E11C45CEAAC026DC2A5AB02C Ref B: MAA201060513029 Ref C: 2024-03-25T01:48:26Z" ], - "Date": [ "Mon, 25 Mar 2024 01:48:26 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 148EE9F9AFDE4DD68E932B7A96BD3DDB Ref B: MAA201060514035 Ref C: 2024-04-22T02:52:39Z" ], + "Date": [ "Mon, 22 Apr 2024 02:52:39 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -3060,20 +3133,20 @@ "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+MySQLRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/operationStatus/NDY0ZDFhZGItNzk0My00NTljLTg3YjYtMjkxZmE1OTIxYWIyO2YxNTcyZDNhLTEzNjUtNGMzNy1hMGYxLTJlNmM2NDNkNjZhOA==?api-version=2023-12-01\u0026t=638469281072089492\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=lrn4UATl1hSM4b2h7kg7EXsuHG2ayzHaOHWCnd3qD5nNxxUKQ2XaT7yTD_WPUvVQVLdBq-8lvnhtp3C8BhLySIPQBilj9Simfv3EDkxrvei311hKeaVPyWGdlpAsy10cB3qylWMzSwUE_9oJxwVquVNsu5xJlAueKB_X6A8Lt7ImdIYkj-qWVhSv9yc9C1a0ABDs2XadEB2KrHCvywrBmQm9H_sXvEMM-p3CDTK25IbijHLP4Tnh536IDzg4FaS39BbFZ--WgCUR9QGrxgpjMSlhAkTOviDrkwHdcSDBBsC5nUe43xETx50R4GYbEbhu6L5kynJ7pdLoQQrEVuRNmA\u0026h=pZDD15KmoT7GxMBlm6gOpVdVq1ECZE6erdYJSJem_OI+5": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+CrossSubscriptionRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/operationStatus/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzYzMzBiODU5LTJhZjYtNDVlOS05YTUxLTlkNWFkZDVkMjkwNQ==?api-version=2024-04-01\u0026t=638493511599451590\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=SwCXFKnLFusOoOz1S6RTTT6GvMIwXKFFP6Gqt51g_0RgIsC5q-p3jAAHr6UiAeCOtDw4zNYFdYchOkTj0H-pDJOG1ol_bdY-whg1uSc0530J8tFUEVxahFCTS1F0AsqEhPEx1K8YOUz8i41uI4ZDY-5DjXDODNDhKohVSMXzi8hCQHhJa_0_jMVGdEoPqYe4j-fqZzVoGND0SJTdFgahv8KsIWSOa7CCcV031ynqN_HVvS39zKqaCzmciihxAxSjYUiLXMhj5cw7HaJi3ALStbX9W6ulLgtzLzml8ldQVPKv7KhRpEfF7dk4SQUyZbS_5i1XVCq71-BIOziBlic1Aw\u0026h=4F_36eS0JYo_aLIn0XKM1CLIvmG8VKWqlC79CGRCoJI+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/operationStatus/NDY0ZDFhZGItNzk0My00NTljLTg3YjYtMjkxZmE1OTIxYWIyO2YxNTcyZDNhLTEzNjUtNGMzNy1hMGYxLTJlNmM2NDNkNjZhOA==?api-version=2023-12-01\u0026t=638469281072089492\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=lrn4UATl1hSM4b2h7kg7EXsuHG2ayzHaOHWCnd3qD5nNxxUKQ2XaT7yTD_WPUvVQVLdBq-8lvnhtp3C8BhLySIPQBilj9Simfv3EDkxrvei311hKeaVPyWGdlpAsy10cB3qylWMzSwUE_9oJxwVquVNsu5xJlAueKB_X6A8Lt7ImdIYkj-qWVhSv9yc9C1a0ABDs2XadEB2KrHCvywrBmQm9H_sXvEMM-p3CDTK25IbijHLP4Tnh536IDzg4FaS39BbFZ--WgCUR9QGrxgpjMSlhAkTOviDrkwHdcSDBBsC5nUe43xETx50R4GYbEbhu6L5kynJ7pdLoQQrEVuRNmA\u0026h=pZDD15KmoT7GxMBlm6gOpVdVq1ECZE6erdYJSJem_OI", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/operationStatus/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzYzMzBiODU5LTJhZjYtNDVlOS05YTUxLTlkNWFkZDVkMjkwNQ==?api-version=2024-04-01\u0026t=638493511599451590\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=SwCXFKnLFusOoOz1S6RTTT6GvMIwXKFFP6Gqt51g_0RgIsC5q-p3jAAHr6UiAeCOtDw4zNYFdYchOkTj0H-pDJOG1ol_bdY-whg1uSc0530J8tFUEVxahFCTS1F0AsqEhPEx1K8YOUz8i41uI4ZDY-5DjXDODNDhKohVSMXzi8hCQHhJa_0_jMVGdEoPqYe4j-fqZzVoGND0SJTdFgahv8KsIWSOa7CCcV031ynqN_HVvS39zKqaCzmciihxAxSjYUiLXMhj5cw7HaJi3ALStbX9W6ulLgtzLzml8ldQVPKv7KhRpEfF7dk4SQUyZbS_5i1XVCq71-BIOziBlic1Aw\u0026h=4F_36eS0JYo_aLIn0XKM1CLIvmG8VKWqlC79CGRCoJI", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "74" ], - "x-ms-client-request-id": [ "3c26c913-860f-4c2b-be82-8a7444df280e" ], - "CommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc" ], - "FullCommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc_BackupExpanded" ], + "x-ms-client-request-id": [ "06ca45d1-09b1-4d13-af77-7b61607d47ae" ], + "CommandName": [ "Az.DataProtection.Internal\\Test-AzDataProtectionBackupInstanceRestore" ], + "FullCommandName": [ "Test-AzDataProtectionBackupInstanceRestore_Validate1" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -3083,39 +3156,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "5367a769-5ca3-47dd-954a-697150904039" ], - "x-ms-correlation-request-id": [ "5367a769-5ca3-47dd-954a-697150904039" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014858Z:5367a769-5ca3-47dd-954a-697150904039" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], + "x-ms-request-id": [ "a3198dc6-8d1d-4adc-a253-7018bdea2cb9" ], + "x-ms-correlation-request-id": [ "a3198dc6-8d1d-4adc-a253-7018bdea2cb9" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240422T025251Z:a3198dc6-8d1d-4adc-a253-7018bdea2cb9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: A4683BC3273C4EF39A4C077A8BC7388D Ref B: MAA201060513029 Ref C: 2024-03-25T01:48:57Z" ], - "Date": [ "Mon, 25 Mar 2024 01:48:57 GMT" ] + "X-MSEdge-Ref": [ "Ref A: D96E8C3FC9AD4F579957E38515CA6330 Ref B: MAA201060514035 Ref C: 2024-04-22T02:52:50Z" ], + "Date": [ "Mon, 22 Apr 2024 02:52:51 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "737" ], + "Content-Length": [ "476" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/operationStatus/NDY0ZDFhZGItNzk0My00NTljLTg3YjYtMjkxZmE1OTIxYWIyO2YxNTcyZDNhLTEzNjUtNGMzNy1hMGYxLTJlNmM2NDNkNjZhOA==\",\"name\":\"NDY0ZDFhZGItNzk0My00NTljLTg3YjYtMjkxZmE1OTIxYWIyO2YxNTcyZDNhLTEzNjUtNGMzNy1hMGYxLTJlNmM2NDNkNjZhOA==\",\"status\":\"Succeeded\",\"startTime\":\"2024-03-25T01:48:27.0639007Z\",\"endTime\":\"2024-03-25T01:48:27Z\",\"properties\":{\"jobId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/vdhingraRG/providers/Microsoft.DataProtection/BackupVaults/vdhingraBackupVault/backupJobs/4cb6ab97-c961-485c-97c6-126727bd02bf\",\"objectType\":\"OperationJobExtendedInfo\"}}", + "Content": "{\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/operationStatus/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzYzMzBiODU5LTJhZjYtNDVlOS05YTUxLTlkNWFkZDVkMjkwNQ==\",\"name\":\"MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzYzMzBiODU5LTJhZjYtNDVlOS05YTUxLTlkNWFkZDVkMjkwNQ==\",\"status\":\"Inprogress\",\"startTime\":\"2024-04-22T02:52:39.782331Z\",\"endTime\":\"0001-01-01T00:00:00Z\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+MySQLRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/NDY0ZDFhZGItNzk0My00NTljLTg3YjYtMjkxZmE1OTIxYWIyO2YxNTcyZDNhLTEzNjUtNGMzNy1hMGYxLTJlNmM2NDNkNjZhOA==?api-version=2023-12-01\u0026t=638469281072245483\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=pIUQxxDxUvvzN2FjRXQqbJUFkUDid5aNblOYsi1aNmkyu72wFOtkQkhhmJvsZqH7hGnOo3HxaZOQuH2HRGyUtsWzmAdA3UG65S47e7QQBp4X5AiAtwj-6UAaVLjS2MToIYy1SOgfu5QuWaEV7e9TvPCQ0APgf4lWSZqRIaVHToZNWPKCtxpu-E09qSeNP7OzxzqxAoEpKNEocVj8NqpeoT0sJzeeh39-01pE9r4AgQuQyISGiV53K84C4Xu3ZADCMRJjq8LKX2cFhKuMZ0hTM2Y9xt4-qVNvernl2G6gD-zUKzl4PELBhCdNjDoKKH24qp722w47Q9f73uVY3FR_6w\u0026h=EfLbWyytFXZ7flRo9Y6yDPTjwxWcoPA4OHPLPO88CJs+6": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+CrossSubscriptionRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/operationStatus/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzYzMzBiODU5LTJhZjYtNDVlOS05YTUxLTlkNWFkZDVkMjkwNQ==?api-version=2024-04-01\u0026t=638493511599451590\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=SwCXFKnLFusOoOz1S6RTTT6GvMIwXKFFP6Gqt51g_0RgIsC5q-p3jAAHr6UiAeCOtDw4zNYFdYchOkTj0H-pDJOG1ol_bdY-whg1uSc0530J8tFUEVxahFCTS1F0AsqEhPEx1K8YOUz8i41uI4ZDY-5DjXDODNDhKohVSMXzi8hCQHhJa_0_jMVGdEoPqYe4j-fqZzVoGND0SJTdFgahv8KsIWSOa7CCcV031ynqN_HVvS39zKqaCzmciihxAxSjYUiLXMhj5cw7HaJi3ALStbX9W6ulLgtzLzml8ldQVPKv7KhRpEfF7dk4SQUyZbS_5i1XVCq71-BIOziBlic1Aw\u0026h=4F_36eS0JYo_aLIn0XKM1CLIvmG8VKWqlC79CGRCoJI+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/NDY0ZDFhZGItNzk0My00NTljLTg3YjYtMjkxZmE1OTIxYWIyO2YxNTcyZDNhLTEzNjUtNGMzNy1hMGYxLTJlNmM2NDNkNjZhOA==?api-version=2023-12-01\u0026t=638469281072245483\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=pIUQxxDxUvvzN2FjRXQqbJUFkUDid5aNblOYsi1aNmkyu72wFOtkQkhhmJvsZqH7hGnOo3HxaZOQuH2HRGyUtsWzmAdA3UG65S47e7QQBp4X5AiAtwj-6UAaVLjS2MToIYy1SOgfu5QuWaEV7e9TvPCQ0APgf4lWSZqRIaVHToZNWPKCtxpu-E09qSeNP7OzxzqxAoEpKNEocVj8NqpeoT0sJzeeh39-01pE9r4AgQuQyISGiV53K84C4Xu3ZADCMRJjq8LKX2cFhKuMZ0hTM2Y9xt4-qVNvernl2G6gD-zUKzl4PELBhCdNjDoKKH24qp722w47Q9f73uVY3FR_6w\u0026h=EfLbWyytFXZ7flRo9Y6yDPTjwxWcoPA4OHPLPO88CJs", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/operationStatus/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzYzMzBiODU5LTJhZjYtNDVlOS05YTUxLTlkNWFkZDVkMjkwNQ==?api-version=2024-04-01\u0026t=638493511599451590\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=SwCXFKnLFusOoOz1S6RTTT6GvMIwXKFFP6Gqt51g_0RgIsC5q-p3jAAHr6UiAeCOtDw4zNYFdYchOkTj0H-pDJOG1ol_bdY-whg1uSc0530J8tFUEVxahFCTS1F0AsqEhPEx1K8YOUz8i41uI4ZDY-5DjXDODNDhKohVSMXzi8hCQHhJa_0_jMVGdEoPqYe4j-fqZzVoGND0SJTdFgahv8KsIWSOa7CCcV031ynqN_HVvS39zKqaCzmciihxAxSjYUiLXMhj5cw7HaJi3ALStbX9W6ulLgtzLzml8ldQVPKv7KhRpEfF7dk4SQUyZbS_5i1XVCq71-BIOziBlic1Aw\u0026h=4F_36eS0JYo_aLIn0XKM1CLIvmG8VKWqlC79CGRCoJI", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "75" ], - "x-ms-client-request-id": [ "3c26c913-860f-4c2b-be82-8a7444df280e" ], - "CommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc" ], - "FullCommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc_BackupExpanded" ], + "x-ms-client-request-id": [ "06ca45d1-09b1-4d13-af77-7b61607d47ae" ], + "CommandName": [ "Az.DataProtection.Internal\\Test-AzDataProtectionBackupInstanceRestore" ], + "FullCommandName": [ "Test-AzDataProtectionBackupInstanceRestore_Validate1" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -3125,41 +3199,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationStatus/NDY0ZDFhZGItNzk0My00NTljLTg3YjYtMjkxZmE1OTIxYWIyO2YxNTcyZDNhLTEzNjUtNGMzNy1hMGYxLTJlNmM2NDNkNjZhOA==?api-version=2023-12-01\u0026t=638469281391974097\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=hXUDBitoU3BTEEXbxBcAfoBdwLgkR7dJB97llyMQv3-w2B5NDN2C52bgtZuJx0v_h_ND-jtOzEcgNrlcyYuDqBW4ybu_qotGDMzXmc1WkAaGgWrSGBfmhg2-EujzzTDpYpktD54P3jwEWB-C3xGLInDdjKrDteBJQogJXznhcbnk48L6KhQ8sU16fmHF4HY5tj-6BhjNLeK-irYMvF2omt77MMy6zmTO4pTQTri7phukflQafM9TJr9b10yQHTbZOiPntekxs-XxEGBZf709ukk5tVbKYm78OAHQYIP_NUmUuiBlcKzKCCR8dpsLg0G7WLobeufsTRUitqTCG4HyZg\u0026h=ZWtSxubUBG4M4d-WO2eba5Uay6jIU6DsIFTzrvxiBDQ" ], - "x-ms-request-id": [ "f190cf37-5b5d-4016-9aa5-20970b14ca98" ], - "x-ms-correlation-request-id": [ "f190cf37-5b5d-4016-9aa5-20970b14ca98" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014859Z:f190cf37-5b5d-4016-9aa5-20970b14ca98" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], + "x-ms-request-id": [ "d272cfe2-276f-4c31-a27c-b5ec42c89875" ], + "x-ms-correlation-request-id": [ "d272cfe2-276f-4c31-a27c-b5ec42c89875" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240422T025322Z:d272cfe2-276f-4c31-a27c-b5ec42c89875" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 7122C26CBEC247D48719F38D4D83D0BB Ref B: MAA201060513029 Ref C: 2024-03-25T01:48:58Z" ], - "Date": [ "Mon, 25 Mar 2024 01:48:58 GMT" ] + "X-MSEdge-Ref": [ "Ref A: FA063A31B830405C931EFC7D310D0C7E Ref B: MAA201060514035 Ref C: 2024-04-22T02:53:21Z" ], + "Date": [ "Mon, 22 Apr 2024 02:53:22 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "245" ], + "Content-Length": [ "475" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"jobId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/vdhingraRG/providers/Microsoft.DataProtection/BackupVaults/vdhingraBackupVault/backupJobs/4cb6ab97-c961-485c-97c6-126727bd02bf\",\"objectType\":\"OperationJobExtendedInfo\"}", + "Content": "{\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/operationStatus/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzYzMzBiODU5LTJhZjYtNDVlOS05YTUxLTlkNWFkZDVkMjkwNQ==\",\"name\":\"MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzYzMzBiODU5LTJhZjYtNDVlOS05YTUxLTlkNWFkZDVkMjkwNQ==\",\"status\":\"Succeeded\",\"startTime\":\"2024-04-22T02:52:39.782331Z\",\"endTime\":\"2024-04-22T02:53:20Z\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+MySQLRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/4cb6ab97-c961-485c-97c6-126727bd02bf?api-version=2023-12-01+7": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+CrossSubscriptionRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzYzMzBiODU5LTJhZjYtNDVlOS05YTUxLTlkNWFkZDVkMjkwNQ==?api-version=2024-04-01\u0026t=638493511599608103\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=ibRxTMDz_xAH4XAklEO1EELhQNTIksFUFSdMT9XMZDc8j84DQdNyL0c0vSvVtr-UmK7ITm1x4mcYyni7joNjPnmiIRu7lws5wkAOCor0B30wzperJ0KFqEvt9Q42T7hAbOt1CMzwls1IF4Ht3WPcSX7sp18uBKweetSTeMQNgJKS1LFs--33Z4nvnPfrtMRN-ARqSXgd9yhC5SZUnIh2ejlDTckYBpkK4FtGplEBE7-dtsNm_O2oARcByVjhqelwyW3tBHx6gcZ5y_e2y5Qt41g70MnkjzsIu6TpBCeRJIljnIjs4gcOeDXeZyP07X8Agw5u52n2G0ulO5Jt4oTPAA\u0026h=2S5ScEI2jsMiWvn0xjyaPq4N-lM1z_MiebJpUvuctEw+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/4cb6ab97-c961-485c-97c6-126727bd02bf?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzYzMzBiODU5LTJhZjYtNDVlOS05YTUxLTlkNWFkZDVkMjkwNQ==?api-version=2024-04-01\u0026t=638493511599608103\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=ibRxTMDz_xAH4XAklEO1EELhQNTIksFUFSdMT9XMZDc8j84DQdNyL0c0vSvVtr-UmK7ITm1x4mcYyni7joNjPnmiIRu7lws5wkAOCor0B30wzperJ0KFqEvt9Q42T7hAbOt1CMzwls1IF4Ht3WPcSX7sp18uBKweetSTeMQNgJKS1LFs--33Z4nvnPfrtMRN-ARqSXgd9yhC5SZUnIh2ejlDTckYBpkK4FtGplEBE7-dtsNm_O2oARcByVjhqelwyW3tBHx6gcZ5y_e2y5Qt41g70MnkjzsIu6TpBCeRJIljnIjs4gcOeDXeZyP07X8Agw5u52n2G0ulO5Jt4oTPAA\u0026h=2S5ScEI2jsMiWvn0xjyaPq4N-lM1z_MiebJpUvuctEw", "Content": null, "isContentBase64": false, "Headers": { + "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "76" ], - "x-ms-client-request-id": [ "49c23409-c6f7-4372-be6f-fd82b3b72e97" ], - "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], - "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], + "x-ms-client-request-id": [ "06ca45d1-09b1-4d13-af77-7b61607d47ae" ], + "CommandName": [ "Az.DataProtection.Internal\\Test-AzDataProtectionBackupInstanceRestore" ], + "FullCommandName": [ "Test-AzDataProtectionBackupInstanceRestore_Validate1" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], - "Authorization": [ "[Filtered]" ] + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -3169,81 +3242,82 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "ffde08fb-e52f-46f1-a906-36dc2911e6c1" ], - "x-ms-correlation-request-id": [ "ffde08fb-e52f-46f1-a906-36dc2911e6c1" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014910Z:ffde08fb-e52f-46f1-a906-36dc2911e6c1" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationStatus/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzYzMzBiODU5LTJhZjYtNDVlOS05YTUxLTlkNWFkZDVkMjkwNQ==?api-version=2024-04-01\u0026t=638493512039211640\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=WDDXr4J4kohUsevYG7JAuk13dyiYDucNSMjS7R3LTcD5HAfsuCcMForimMskiLfQQIOQ33gomujv6tF7yUFuG5pCW2Poequq2NjTM-9Bq_Y0AqW_ezyE-ZaqMegbierbF20bP4lclrIICHmTL-bqNTN5Uk-zKkL9xoQR62UCeBWZywocLH8BnYZ9-VKNCpoma1iypCxj_dsEtM0yyYJ1U6cJS0O7P932dGNlKRAv1-cIoFVzUbq2Bg5oQe1kXRQn1xVtneWD-V_JVd3PfFvSBPgcKHJhhgrY_pGD2mpusmFO2SFaZ4XA8EJKAgl7jkkL7MxAPU4J2IJuWO14cSoV1A\u0026h=W7Z9UG7wja5VUysTzNOAH-lJTyIu9aRZKrOnKg7QVT0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "f5c8a2c8-054f-4fa9-8418-3f981b3bd435" ], + "x-ms-correlation-request-id": [ "f5c8a2c8-054f-4fa9-8418-3f981b3bd435" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240422T025323Z:f5c8a2c8-054f-4fa9-8418-3f981b3bd435" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: A5C358F0ED4F4162B0F52D6F9A6111F8 Ref B: MAA201060513029 Ref C: 2024-03-25T01:49:09Z" ], - "Date": [ "Mon, 25 Mar 2024 01:49:09 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 5BA40CFDC3634696866B68FF6C237FDD Ref B: MAA201060514035 Ref C: 2024-04-22T02:53:23Z" ], + "Date": [ "Mon, 22 Apr 2024 02:53:23 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2208" ], + "Content-Length": [ "41" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"3c26c913-860f-4c2b-be82-8a7444df280e\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/arhive-test-arhive-test-5ab61453-6bab-4333-82fb-cdbab5655b6f\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pstest-simple-mysql\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforMySQL/flexibleServers/arhive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"arhive-test\",\"policyName\":\"pstest-simple-mysql\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"arhive-test\",\"dataSourceName\":\"arhive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A48%3A27.4194288Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:48:27.1965063Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforMySQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/4cb6ab97-c961-485c-97c6-126727bd02bf\",\"name\":\"4cb6ab97-c961-485c-97c6-126727bd02bf\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"objectType\":\"OperationJobExtendedInfo\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+MySQLRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/4cb6ab97-c961-485c-97c6-126727bd02bf?api-version=2023-12-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=2024-04-01+8": { "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/4cb6ab97-c961-485c-97c6-126727bd02bf?api-version=2023-12-01", - "Content": null, + "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=2024-04-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-22-04-2024-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\": \"3aa4114473584905bc4fe653451ac631\"\r\n}", "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "77" ], - "x-ms-client-request-id": [ "a4a84e88-52d8-41de-bbe2-eae6c7e38acc" ], - "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], - "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], - "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "766" ] } }, "Response": { - "StatusCode": 200, + "StatusCode": 202, "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/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzAxNTZlMzA0LTA4NGItNDAzYy1hMWYwLTQ2OTQ3MTliZDVmMA==?api-version=2024-04-01\u0026t=638493512056427190\u0026c=MIIHHjCCBgagAwIBAgITfwKW7CzhHP5y3OJv9wAEApbsLDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMjI1MDAwWhcNMjUwMTI0MjI1MDAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMdLBpeMT45PrN0PVwT2qCTSx3AfLEvwe5P5doB25hgw3G_LW7hBtO2tLKJzuhM3uxJW8gFuOx1MuVnjrBRL4d98ph5IjRZ4OFOXwSKPpL7V4IUYdhN5VF0QLCF_PC0Q0Ks_YBQrZS0XfQPzwrt3SylvrV_mQ61ZqoLZdN4cU3gNwWYxAyJJ1x0sUGxczNhOE_klwSa8CDqE51O960b9vUxQXNyQ5W7WiNv9zjmFsiNFk-dJ66Rm0Ip7Io6Ff7OXoPSjNoHZmYQbNikuFQWY7Tw8INzs9KRqPTq8u9WjLeJm1t81XrrVulos6wd1dPREDUZ-UO54M5BV3ztdx9ShgfUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBSiiBrqZUTzRyEtvkUcyxy1eSSo9DAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAIJcAqCwQ4xKJpAGA_PQX052uxYLuR_vWJXfYr6OD0DQB_HaQQajLwTsdm5YRsAduP063zHHZTaM1PGSBvU2VPUeg4JcB7u9DTGzCXJXX-B7s0gVBu-LtRKcElnj2yIUaJm591km020QN8oZPjqanSfJu_4wJo3FjgVkqZIZZbfs40OaLRTr5gN1FvFi8nrvRCFs3C4qOksSLM7sRZGE8YJejGsw_DZdTeroabL3FrAMOTVKDlDEW11fJ3mGT4fkrxz-IvPnJJ02dbjUIsB0fporGNuIDWYhMm6XV5LbYoOlLlkLKqppqGysFNj4rQvXypr9KM9XjEBbK1vdB59IRE4\u0026s=AF3RDZIUB70LpC2GSlxVdNtWF3yyK1AOCZfstLWi4QW_Ru6K_MFvV0iEaEatZO5bIbYOoRVWMsHveJOeM3NCGWITU6B3fWyMjP1tOLFdWl8rJG2hj5YSSfnjbFl_Se6T_xVckkrwdAraqqIq9Vb45iUqrKm_J_oE31mwGZOW1Imeug4Mo_2CSgqr94rc6BxlSeabUd9cJAy9cWi8CxZO8j2gPSTMIRkiJntTJK197J5iLov714EmkZ4wco00iwqdadpm4Qz-i56jmdcP0KZ6GOOsbAHAIlcIAefLZAnt28V3RdLBdKPTTVhiPV3XJZ-ORfjp7WiIReBYrB6kfXU4fA\u0026h=ChHaUlY2Ekvz2Cgytdeq2PDlsjpezuRkyiW5YjM9GUI" ], + "Retry-After": [ "30" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "197" ], - "x-ms-request-id": [ "1e01dc85-4133-4d85-a374-dea1d405e564" ], - "x-ms-correlation-request-id": [ "1e01dc85-4133-4d85-a374-dea1d405e564" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014921Z:1e01dc85-4133-4d85-a374-dea1d405e564" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/operationStatus/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzAxNTZlMzA0LTA4NGItNDAzYy1hMWYwLTQ2OTQ3MTliZDVmMA==?api-version=2024-04-01\u0026t=638493512056270682\u0026c=MIIHHjCCBgagAwIBAgITfwKW7CzhHP5y3OJv9wAEApbsLDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMjI1MDAwWhcNMjUwMTI0MjI1MDAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMdLBpeMT45PrN0PVwT2qCTSx3AfLEvwe5P5doB25hgw3G_LW7hBtO2tLKJzuhM3uxJW8gFuOx1MuVnjrBRL4d98ph5IjRZ4OFOXwSKPpL7V4IUYdhN5VF0QLCF_PC0Q0Ks_YBQrZS0XfQPzwrt3SylvrV_mQ61ZqoLZdN4cU3gNwWYxAyJJ1x0sUGxczNhOE_klwSa8CDqE51O960b9vUxQXNyQ5W7WiNv9zjmFsiNFk-dJ66Rm0Ip7Io6Ff7OXoPSjNoHZmYQbNikuFQWY7Tw8INzs9KRqPTq8u9WjLeJm1t81XrrVulos6wd1dPREDUZ-UO54M5BV3ztdx9ShgfUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBSiiBrqZUTzRyEtvkUcyxy1eSSo9DAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAIJcAqCwQ4xKJpAGA_PQX052uxYLuR_vWJXfYr6OD0DQB_HaQQajLwTsdm5YRsAduP063zHHZTaM1PGSBvU2VPUeg4JcB7u9DTGzCXJXX-B7s0gVBu-LtRKcElnj2yIUaJm591km020QN8oZPjqanSfJu_4wJo3FjgVkqZIZZbfs40OaLRTr5gN1FvFi8nrvRCFs3C4qOksSLM7sRZGE8YJejGsw_DZdTeroabL3FrAMOTVKDlDEW11fJ3mGT4fkrxz-IvPnJJ02dbjUIsB0fporGNuIDWYhMm6XV5LbYoOlLlkLKqppqGysFNj4rQvXypr9KM9XjEBbK1vdB59IRE4\u0026s=Jn0kMppEQKBl3KkmGk615PdM_4aws9BaFJfsk8sR54dj_OGZ55B92JLaNfeg3VlevY-wG0nzSPLalFkzfW9N_H7Cc8pPOjLO4cQOrg45iVQihitn3W3LAhEHvMs0ZH5orZKxJWe3JpOufOP3GL_WPZTrhC623cZ-d5gtRn4WA3sVZ8uiuXayXB7ja5paphGnouSfbbLdTb0Kis1wXNkE3yt7dRwclIiXfUNrj34F9RmV_kDdn632Dd-zOx0i26lKjD5VPQqu58GGUkAqiKfrlSaP8zrznDo9VVh94OpoERfbZMN2a4QxVvWzAKM-N6BEUo0Uo3GMvKF2suni7nMfiQ\u0026h=UPFoN7Mr3-OebHwhykr-KzyxDbNXzLvgKEd8hLm-sso" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-request-id": [ "f36a9a84-ca78-48e2-96b0-a3a4a5922b5e" ], + "x-ms-correlation-request-id": [ "f36a9a84-ca78-48e2-96b0-a3a4a5922b5e" ], + "x-ms-routing-request-id": [ "JIOINDIACENTRAL:20240422T025325Z:f36a9a84-ca78-48e2-96b0-a3a4a5922b5e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 197A842505A747F2A2B5E56CF9EC7092 Ref B: MAA201060513029 Ref C: 2024-03-25T01:49:20Z" ], - "Date": [ "Mon, 25 Mar 2024 01:49:20 GMT" ] + "X-MSEdge-Ref": [ "Ref A: B873D19AAB674F1EA37BAB9FB869CB90 Ref B: MAA201060514035 Ref C: 2024-04-22T02:53:24Z" ], + "Date": [ "Mon, 22 Apr 2024 02:53:25 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2208" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] + "Expires": [ "-1" ], + "Content-Length": [ "0" ] }, - "Content": "{\"properties\":{\"activityID\":\"3c26c913-860f-4c2b-be82-8a7444df280e\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/arhive-test-arhive-test-5ab61453-6bab-4333-82fb-cdbab5655b6f\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pstest-simple-mysql\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforMySQL/flexibleServers/arhive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"arhive-test\",\"policyName\":\"pstest-simple-mysql\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"arhive-test\",\"dataSourceName\":\"arhive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A48%3A27.4194288Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:48:27.1965063Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforMySQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/4cb6ab97-c961-485c-97c6-126727bd02bf\",\"name\":\"4cb6ab97-c961-485c-97c6-126727bd02bf\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": null, "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+MySQLRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/4cb6ab97-c961-485c-97c6-126727bd02bf?api-version=2023-12-01+9": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+CrossSubscriptionRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/operationStatus/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzAxNTZlMzA0LTA4NGItNDAzYy1hMWYwLTQ2OTQ3MTliZDVmMA==?api-version=2024-04-01\u0026t=638493512056270682\u0026c=MIIHHjCCBgagAwIBAgITfwKW7CzhHP5y3OJv9wAEApbsLDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMjI1MDAwWhcNMjUwMTI0MjI1MDAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMdLBpeMT45PrN0PVwT2qCTSx3AfLEvwe5P5doB25hgw3G_LW7hBtO2tLKJzuhM3uxJW8gFuOx1MuVnjrBRL4d98ph5IjRZ4OFOXwSKPpL7V4IUYdhN5VF0QLCF_PC0Q0Ks_YBQrZS0XfQPzwrt3SylvrV_mQ61ZqoLZdN4cU3gNwWYxAyJJ1x0sUGxczNhOE_klwSa8CDqE51O960b9vUxQXNyQ5W7WiNv9zjmFsiNFk-dJ66Rm0Ip7Io6Ff7OXoPSjNoHZmYQbNikuFQWY7Tw8INzs9KRqPTq8u9WjLeJm1t81XrrVulos6wd1dPREDUZ-UO54M5BV3ztdx9ShgfUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBSiiBrqZUTzRyEtvkUcyxy1eSSo9DAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAIJcAqCwQ4xKJpAGA_PQX052uxYLuR_vWJXfYr6OD0DQB_HaQQajLwTsdm5YRsAduP063zHHZTaM1PGSBvU2VPUeg4JcB7u9DTGzCXJXX-B7s0gVBu-LtRKcElnj2yIUaJm591km020QN8oZPjqanSfJu_4wJo3FjgVkqZIZZbfs40OaLRTr5gN1FvFi8nrvRCFs3C4qOksSLM7sRZGE8YJejGsw_DZdTeroabL3FrAMOTVKDlDEW11fJ3mGT4fkrxz-IvPnJJ02dbjUIsB0fporGNuIDWYhMm6XV5LbYoOlLlkLKqppqGysFNj4rQvXypr9KM9XjEBbK1vdB59IRE4\u0026s=Jn0kMppEQKBl3KkmGk615PdM_4aws9BaFJfsk8sR54dj_OGZ55B92JLaNfeg3VlevY-wG0nzSPLalFkzfW9N_H7Cc8pPOjLO4cQOrg45iVQihitn3W3LAhEHvMs0ZH5orZKxJWe3JpOufOP3GL_WPZTrhC623cZ-d5gtRn4WA3sVZ8uiuXayXB7ja5paphGnouSfbbLdTb0Kis1wXNkE3yt7dRwclIiXfUNrj34F9RmV_kDdn632Dd-zOx0i26lKjD5VPQqu58GGUkAqiKfrlSaP8zrznDo9VVh94OpoERfbZMN2a4QxVvWzAKM-N6BEUo0Uo3GMvKF2suni7nMfiQ\u0026h=UPFoN7Mr3-OebHwhykr-KzyxDbNXzLvgKEd8hLm-sso+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/4cb6ab97-c961-485c-97c6-126727bd02bf?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/operationStatus/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzAxNTZlMzA0LTA4NGItNDAzYy1hMWYwLTQ2OTQ3MTliZDVmMA==?api-version=2024-04-01\u0026t=638493512056270682\u0026c=MIIHHjCCBgagAwIBAgITfwKW7CzhHP5y3OJv9wAEApbsLDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMjI1MDAwWhcNMjUwMTI0MjI1MDAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMdLBpeMT45PrN0PVwT2qCTSx3AfLEvwe5P5doB25hgw3G_LW7hBtO2tLKJzuhM3uxJW8gFuOx1MuVnjrBRL4d98ph5IjRZ4OFOXwSKPpL7V4IUYdhN5VF0QLCF_PC0Q0Ks_YBQrZS0XfQPzwrt3SylvrV_mQ61ZqoLZdN4cU3gNwWYxAyJJ1x0sUGxczNhOE_klwSa8CDqE51O960b9vUxQXNyQ5W7WiNv9zjmFsiNFk-dJ66Rm0Ip7Io6Ff7OXoPSjNoHZmYQbNikuFQWY7Tw8INzs9KRqPTq8u9WjLeJm1t81XrrVulos6wd1dPREDUZ-UO54M5BV3ztdx9ShgfUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBSiiBrqZUTzRyEtvkUcyxy1eSSo9DAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAIJcAqCwQ4xKJpAGA_PQX052uxYLuR_vWJXfYr6OD0DQB_HaQQajLwTsdm5YRsAduP063zHHZTaM1PGSBvU2VPUeg4JcB7u9DTGzCXJXX-B7s0gVBu-LtRKcElnj2yIUaJm591km020QN8oZPjqanSfJu_4wJo3FjgVkqZIZZbfs40OaLRTr5gN1FvFi8nrvRCFs3C4qOksSLM7sRZGE8YJejGsw_DZdTeroabL3FrAMOTVKDlDEW11fJ3mGT4fkrxz-IvPnJJ02dbjUIsB0fporGNuIDWYhMm6XV5LbYoOlLlkLKqppqGysFNj4rQvXypr9KM9XjEBbK1vdB59IRE4\u0026s=Jn0kMppEQKBl3KkmGk615PdM_4aws9BaFJfsk8sR54dj_OGZ55B92JLaNfeg3VlevY-wG0nzSPLalFkzfW9N_H7Cc8pPOjLO4cQOrg45iVQihitn3W3LAhEHvMs0ZH5orZKxJWe3JpOufOP3GL_WPZTrhC623cZ-d5gtRn4WA3sVZ8uiuXayXB7ja5paphGnouSfbbLdTb0Kis1wXNkE3yt7dRwclIiXfUNrj34F9RmV_kDdn632Dd-zOx0i26lKjD5VPQqu58GGUkAqiKfrlSaP8zrznDo9VVh94OpoERfbZMN2a4QxVvWzAKM-N6BEUo0Uo3GMvKF2suni7nMfiQ\u0026h=UPFoN7Mr3-OebHwhykr-KzyxDbNXzLvgKEd8hLm-sso", "Content": null, "isContentBase64": false, "Headers": { + "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "78" ], - "x-ms-client-request-id": [ "60a6185c-5530-46bc-91ab-42776366ec1f" ], - "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], - "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], + "x-ms-client-request-id": [ "9363f104-0949-4a91-a58c-2053fa764ecf" ], + "CommandName": [ "Az.DataProtection.Internal\\Start-AzDataProtectionBackupInstanceRestore" ], + "FullCommandName": [ "Start-AzDataProtectionBackupInstanceRestore_Trigger" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], - "Authorization": [ "[Filtered]" ] + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -3253,39 +3327,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "72dabfd2-1967-43e8-a648-34201ce58463" ], - "x-ms-correlation-request-id": [ "72dabfd2-1967-43e8-a648-34201ce58463" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014932Z:72dabfd2-1967-43e8-a648-34201ce58463" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], + "x-ms-request-id": [ "04c71bcd-a805-4331-b0b6-8b70fb99ad4b" ], + "x-ms-correlation-request-id": [ "04c71bcd-a805-4331-b0b6-8b70fb99ad4b" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240422T025357Z:04c71bcd-a805-4331-b0b6-8b70fb99ad4b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 1F43B38AEBF7435699DDBBB70420ECAA Ref B: MAA201060513029 Ref C: 2024-03-25T01:49:31Z" ], - "Date": [ "Mon, 25 Mar 2024 01:49:32 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 1ECA82EE6E8C42729FC23924E04ADC84 Ref B: MAA201060514035 Ref C: 2024-04-22T02:53:55Z" ], + "Date": [ "Mon, 22 Apr 2024 02:53:56 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2208" ], + "Content-Length": [ "733" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"3c26c913-860f-4c2b-be82-8a7444df280e\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/arhive-test-arhive-test-5ab61453-6bab-4333-82fb-cdbab5655b6f\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pstest-simple-mysql\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforMySQL/flexibleServers/arhive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"arhive-test\",\"policyName\":\"pstest-simple-mysql\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"arhive-test\",\"dataSourceName\":\"arhive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A48%3A27.4194288Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:48:27.1965063Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforMySQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/4cb6ab97-c961-485c-97c6-126727bd02bf\",\"name\":\"4cb6ab97-c961-485c-97c6-126727bd02bf\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/operationStatus/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzAxNTZlMzA0LTA4NGItNDAzYy1hMWYwLTQ2OTQ3MTliZDVmMA==\",\"name\":\"MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzAxNTZlMzA0LTA4NGItNDAzYy1hMWYwLTQ2OTQ3MTliZDVmMA==\",\"status\":\"Succeeded\",\"startTime\":\"2024-04-22T02:53:25.4578776Z\",\"endTime\":\"2024-04-22T02:53:26Z\",\"properties\":{\"jobId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/CSRTestRg/providers/Microsoft.DataProtection/BackupVaults/CSRPortalTestVault/backupJobs/23d4d4d3-0425-48a8-a10f-619753decd16\",\"objectType\":\"OperationJobExtendedInfo\"}}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+MySQLRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/4cb6ab97-c961-485c-97c6-126727bd02bf?api-version=2023-12-01+10": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+CrossSubscriptionRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzAxNTZlMzA0LTA4NGItNDAzYy1hMWYwLTQ2OTQ3MTliZDVmMA==?api-version=2024-04-01\u0026t=638493512056427190\u0026c=MIIHHjCCBgagAwIBAgITfwKW7CzhHP5y3OJv9wAEApbsLDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMjI1MDAwWhcNMjUwMTI0MjI1MDAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMdLBpeMT45PrN0PVwT2qCTSx3AfLEvwe5P5doB25hgw3G_LW7hBtO2tLKJzuhM3uxJW8gFuOx1MuVnjrBRL4d98ph5IjRZ4OFOXwSKPpL7V4IUYdhN5VF0QLCF_PC0Q0Ks_YBQrZS0XfQPzwrt3SylvrV_mQ61ZqoLZdN4cU3gNwWYxAyJJ1x0sUGxczNhOE_klwSa8CDqE51O960b9vUxQXNyQ5W7WiNv9zjmFsiNFk-dJ66Rm0Ip7Io6Ff7OXoPSjNoHZmYQbNikuFQWY7Tw8INzs9KRqPTq8u9WjLeJm1t81XrrVulos6wd1dPREDUZ-UO54M5BV3ztdx9ShgfUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBSiiBrqZUTzRyEtvkUcyxy1eSSo9DAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAIJcAqCwQ4xKJpAGA_PQX052uxYLuR_vWJXfYr6OD0DQB_HaQQajLwTsdm5YRsAduP063zHHZTaM1PGSBvU2VPUeg4JcB7u9DTGzCXJXX-B7s0gVBu-LtRKcElnj2yIUaJm591km020QN8oZPjqanSfJu_4wJo3FjgVkqZIZZbfs40OaLRTr5gN1FvFi8nrvRCFs3C4qOksSLM7sRZGE8YJejGsw_DZdTeroabL3FrAMOTVKDlDEW11fJ3mGT4fkrxz-IvPnJJ02dbjUIsB0fporGNuIDWYhMm6XV5LbYoOlLlkLKqppqGysFNj4rQvXypr9KM9XjEBbK1vdB59IRE4\u0026s=AF3RDZIUB70LpC2GSlxVdNtWF3yyK1AOCZfstLWi4QW_Ru6K_MFvV0iEaEatZO5bIbYOoRVWMsHveJOeM3NCGWITU6B3fWyMjP1tOLFdWl8rJG2hj5YSSfnjbFl_Se6T_xVckkrwdAraqqIq9Vb45iUqrKm_J_oE31mwGZOW1Imeug4Mo_2CSgqr94rc6BxlSeabUd9cJAy9cWi8CxZO8j2gPSTMIRkiJntTJK197J5iLov714EmkZ4wco00iwqdadpm4Qz-i56jmdcP0KZ6GOOsbAHAIlcIAefLZAnt28V3RdLBdKPTTVhiPV3XJZ-ORfjp7WiIReBYrB6kfXU4fA\u0026h=ChHaUlY2Ekvz2Cgytdeq2PDlsjpezuRkyiW5YjM9GUI+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/4cb6ab97-c961-485c-97c6-126727bd02bf?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzAxNTZlMzA0LTA4NGItNDAzYy1hMWYwLTQ2OTQ3MTliZDVmMA==?api-version=2024-04-01\u0026t=638493512056427190\u0026c=MIIHHjCCBgagAwIBAgITfwKW7CzhHP5y3OJv9wAEApbsLDANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMjI1MDAwWhcNMjUwMTI0MjI1MDAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMdLBpeMT45PrN0PVwT2qCTSx3AfLEvwe5P5doB25hgw3G_LW7hBtO2tLKJzuhM3uxJW8gFuOx1MuVnjrBRL4d98ph5IjRZ4OFOXwSKPpL7V4IUYdhN5VF0QLCF_PC0Q0Ks_YBQrZS0XfQPzwrt3SylvrV_mQ61ZqoLZdN4cU3gNwWYxAyJJ1x0sUGxczNhOE_klwSa8CDqE51O960b9vUxQXNyQ5W7WiNv9zjmFsiNFk-dJ66Rm0Ip7Io6Ff7OXoPSjNoHZmYQbNikuFQWY7Tw8INzs9KRqPTq8u9WjLeJm1t81XrrVulos6wd1dPREDUZ-UO54M5BV3ztdx9ShgfUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBSiiBrqZUTzRyEtvkUcyxy1eSSo9DAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAIJcAqCwQ4xKJpAGA_PQX052uxYLuR_vWJXfYr6OD0DQB_HaQQajLwTsdm5YRsAduP063zHHZTaM1PGSBvU2VPUeg4JcB7u9DTGzCXJXX-B7s0gVBu-LtRKcElnj2yIUaJm591km020QN8oZPjqanSfJu_4wJo3FjgVkqZIZZbfs40OaLRTr5gN1FvFi8nrvRCFs3C4qOksSLM7sRZGE8YJejGsw_DZdTeroabL3FrAMOTVKDlDEW11fJ3mGT4fkrxz-IvPnJJ02dbjUIsB0fporGNuIDWYhMm6XV5LbYoOlLlkLKqppqGysFNj4rQvXypr9KM9XjEBbK1vdB59IRE4\u0026s=AF3RDZIUB70LpC2GSlxVdNtWF3yyK1AOCZfstLWi4QW_Ru6K_MFvV0iEaEatZO5bIbYOoRVWMsHveJOeM3NCGWITU6B3fWyMjP1tOLFdWl8rJG2hj5YSSfnjbFl_Se6T_xVckkrwdAraqqIq9Vb45iUqrKm_J_oE31mwGZOW1Imeug4Mo_2CSgqr94rc6BxlSeabUd9cJAy9cWi8CxZO8j2gPSTMIRkiJntTJK197J5iLov714EmkZ4wco00iwqdadpm4Qz-i56jmdcP0KZ6GOOsbAHAIlcIAefLZAnt28V3RdLBdKPTTVhiPV3XJZ-ORfjp7WiIReBYrB6kfXU4fA\u0026h=ChHaUlY2Ekvz2Cgytdeq2PDlsjpezuRkyiW5YjM9GUI", "Content": null, "isContentBase64": false, "Headers": { + "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "79" ], - "x-ms-client-request-id": [ "345d4781-94a9-4397-992a-54e2063b7787" ], - "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], - "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], + "x-ms-client-request-id": [ "9363f104-0949-4a91-a58c-2053fa764ecf" ], + "CommandName": [ "Az.DataProtection.Internal\\Start-AzDataProtectionBackupInstanceRestore" ], + "FullCommandName": [ "Start-AzDataProtectionBackupInstanceRestore_Trigger" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], - "Authorization": [ "[Filtered]" ] + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -3295,38 +3370,41 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], + "Retry-After": [ "30" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "197" ], - "x-ms-request-id": [ "aaf6b827-c85b-4521-883d-3ab6e5e2d003" ], - "x-ms-correlation-request-id": [ "aaf6b827-c85b-4521-883d-3ab6e5e2d003" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014943Z:aaf6b827-c85b-4521-883d-3ab6e5e2d003" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationStatus/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzAxNTZlMzA0LTA4NGItNDAzYy1hMWYwLTQ2OTQ3MTliZDVmMA==?api-version=2024-04-01\u0026t=638493512380043856\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=VBxR3jbbxT9GOKiYMCK7Hpdx3yGVABoAm2CQMjYYdgP4fbaPse2J70DyDWmmnse4PdjhF2Hb_d37Mu08gF388BNOpyZGJi1qGYmoJdoQUWriUG3wt_PyorYSM1O-nf-H4uokPQQ9xYkNpAMMhXGeebqKl_TElioJXScUjyLJav-pT-lNmG36IkaGDjG-fMI-saJ36cCPsEau3rqnLaH5I486rtSJ9S6qry62ms8nKt_1WfOw43xKlgxWfiEzwDMMcPLQURTh_DtitvSE5F2-NVvmZyyxcH-jUmigyszlJk6mvwRxsXlO7H45C4zPr_qJTqOB5qrUHKXQCMmZgmm3vA\u0026h=63PXGMPpdjr6xt_WGOaApBHzwakfejNGM78T1fYq7Bc" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "04885b9f-e4e3-48ed-a9fe-c950127368b9" ], + "x-ms-correlation-request-id": [ "04885b9f-e4e3-48ed-a9fe-c950127368b9" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240422T025358Z:04885b9f-e4e3-48ed-a9fe-c950127368b9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 46EB9542E46E45AD8B045801C6A7A613 Ref B: MAA201060513029 Ref C: 2024-03-25T01:49:42Z" ], - "Date": [ "Mon, 25 Mar 2024 01:49:43 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 435874F2D27B4C21AC48575CB712343F Ref B: MAA201060514035 Ref C: 2024-04-22T02:53:57Z" ], + "Date": [ "Mon, 22 Apr 2024 02:53:57 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2208" ], + "Content-Length": [ "243" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"3c26c913-860f-4c2b-be82-8a7444df280e\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/arhive-test-arhive-test-5ab61453-6bab-4333-82fb-cdbab5655b6f\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pstest-simple-mysql\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforMySQL/flexibleServers/arhive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"arhive-test\",\"policyName\":\"pstest-simple-mysql\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"arhive-test\",\"dataSourceName\":\"arhive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A48%3A27.4194288Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:48:27.1965063Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforMySQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/4cb6ab97-c961-485c-97c6-126727bd02bf\",\"name\":\"4cb6ab97-c961-485c-97c6-126727bd02bf\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"jobId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/CSRTestRg/providers/Microsoft.DataProtection/BackupVaults/CSRPortalTestVault/backupJobs/23d4d4d3-0425-48a8-a10f-619753decd16\",\"objectType\":\"OperationJobExtendedInfo\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+MySQLRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/4cb6ab97-c961-485c-97c6-126727bd02bf?api-version=2023-12-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/23d4d4d3-0425-48a8-a10f-619753decd16?api-version=2024-04-01+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/4cb6ab97-c961-485c-97c6-126727bd02bf?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/23d4d4d3-0425-48a8-a10f-619753decd16?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "80" ], - "x-ms-client-request-id": [ "165c66eb-f9bd-43aa-88e7-3d3f584a04b1" ], + "x-ms-client-request-id": [ "5e0c7247-a590-47a5-996c-6587e38a0fa6" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3338,37 +3416,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "9d98ff90-27ad-461a-a7e0-75a3e4355475" ], - "x-ms-correlation-request-id": [ "9d98ff90-27ad-461a-a7e0-75a3e4355475" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T014954Z:9d98ff90-27ad-461a-a7e0-75a3e4355475" ], + "x-ms-request-id": [ "82f17aeb-3bac-4e27-8ec1-e4a0c16ebc5c" ], + "x-ms-correlation-request-id": [ "82f17aeb-3bac-4e27-8ec1-e4a0c16ebc5c" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240422T025409Z:82f17aeb-3bac-4e27-8ec1-e4a0c16ebc5c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 828BE809354243C4A2EDB7290E3565B8 Ref B: MAA201060513029 Ref C: 2024-03-25T01:49:53Z" ], - "Date": [ "Mon, 25 Mar 2024 01:49:54 GMT" ] + "X-MSEdge-Ref": [ "Ref A: EF6B2073477A4031824D6FC3942C58AA Ref B: MAA201060514035 Ref C: 2024-04-22T02:54:08Z" ], + "Date": [ "Mon, 22 Apr 2024 02:54:08 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2208" ], + "Content-Length": [ "2458" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"3c26c913-860f-4c2b-be82-8a7444df280e\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/arhive-test-arhive-test-5ab61453-6bab-4333-82fb-cdbab5655b6f\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pstest-simple-mysql\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforMySQL/flexibleServers/arhive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"arhive-test\",\"policyName\":\"pstest-simple-mysql\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"arhive-test\",\"dataSourceName\":\"arhive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A48%3A27.4194288Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:48:27.1965063Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforMySQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/4cb6ab97-c961-485c-97c6-126727bd02bf\",\"name\":\"4cb6ab97-c961-485c-97c6-126727bd02bf\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9363f104-0949-4a91-a58c-2053fa764ecf\",\"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\u00272024-04-22T02%3A53%3A25.8631527Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:53:25.6495549Z\",\"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\":\"3aa4114473584905bc4fe653451ac631\",\"recoveryPointTime\":\"2023-12-31T23:30:49.4084489Z\"},\"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-22-04-2024-3-11-11\"},\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/23d4d4d3-0425-48a8-a10f-619753decd16\",\"name\":\"23d4d4d3-0425-48a8-a10f-619753decd16\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+MySQLRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/4cb6ab97-c961-485c-97c6-126727bd02bf?api-version=2023-12-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/23d4d4d3-0425-48a8-a10f-619753decd16?api-version=2024-04-01+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/4cb6ab97-c961-485c-97c6-126727bd02bf?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/23d4d4d3-0425-48a8-a10f-619753decd16?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "81" ], - "x-ms-client-request-id": [ "653b79d7-b3d6-4042-8347-ebbc39c366a5" ], + "x-ms-client-request-id": [ "e78863ba-2796-4056-b39e-dd42e2012260" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3380,37 +3459,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "d1cda396-dbfd-45e8-81fe-080663e0a6f2" ], - "x-ms-correlation-request-id": [ "d1cda396-dbfd-45e8-81fe-080663e0a6f2" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015005Z:d1cda396-dbfd-45e8-81fe-080663e0a6f2" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "f46544b0-b11c-40f6-91f6-8dd724c532d0" ], + "x-ms-correlation-request-id": [ "f46544b0-b11c-40f6-91f6-8dd724c532d0" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240422T025420Z:f46544b0-b11c-40f6-91f6-8dd724c532d0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 6E94FFC5AD824AA7AE5902264C0B8D2D Ref B: MAA201060513029 Ref C: 2024-03-25T01:50:04Z" ], - "Date": [ "Mon, 25 Mar 2024 01:50:05 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 8DA17201E7B64B76B222CC80D73D8B48 Ref B: MAA201060514035 Ref C: 2024-04-22T02:54:19Z" ], + "Date": [ "Mon, 22 Apr 2024 02:54:19 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2208" ], + "Content-Length": [ "2458" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"3c26c913-860f-4c2b-be82-8a7444df280e\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/arhive-test-arhive-test-5ab61453-6bab-4333-82fb-cdbab5655b6f\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pstest-simple-mysql\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforMySQL/flexibleServers/arhive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"arhive-test\",\"policyName\":\"pstest-simple-mysql\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"arhive-test\",\"dataSourceName\":\"arhive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A48%3A27.4194288Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:48:27.1965063Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforMySQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/4cb6ab97-c961-485c-97c6-126727bd02bf\",\"name\":\"4cb6ab97-c961-485c-97c6-126727bd02bf\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9363f104-0949-4a91-a58c-2053fa764ecf\",\"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\u00272024-04-22T02%3A53%3A25.8631527Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:53:25.6495549Z\",\"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\":\"3aa4114473584905bc4fe653451ac631\",\"recoveryPointTime\":\"2023-12-31T23:30:49.4084489Z\"},\"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-22-04-2024-3-11-11\"},\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/23d4d4d3-0425-48a8-a10f-619753decd16\",\"name\":\"23d4d4d3-0425-48a8-a10f-619753decd16\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+MySQLRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/4cb6ab97-c961-485c-97c6-126727bd02bf?api-version=2023-12-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/23d4d4d3-0425-48a8-a10f-619753decd16?api-version=2024-04-01+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/4cb6ab97-c961-485c-97c6-126727bd02bf?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/23d4d4d3-0425-48a8-a10f-619753decd16?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "82" ], - "x-ms-client-request-id": [ "8bdaa3c3-4491-45eb-855b-b1368295c81b" ], + "x-ms-client-request-id": [ "d596ed3a-3beb-4bfa-aebb-34ae744eaa46" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3422,37 +3502,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "cac91fcb-1936-468a-b37f-bfd264d31f5b" ], - "x-ms-correlation-request-id": [ "cac91fcb-1936-468a-b37f-bfd264d31f5b" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015017Z:cac91fcb-1936-468a-b37f-bfd264d31f5b" ], + "x-ms-request-id": [ "c1b2a8c9-baaa-43e9-afc5-b1130481704a" ], + "x-ms-correlation-request-id": [ "c1b2a8c9-baaa-43e9-afc5-b1130481704a" ], + "x-ms-routing-request-id": [ "JIOINDIACENTRAL:20240422T025432Z:c1b2a8c9-baaa-43e9-afc5-b1130481704a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 7DD28E0094AF4D369271A5DFE3944C50 Ref B: MAA201060513029 Ref C: 2024-03-25T01:50:16Z" ], - "Date": [ "Mon, 25 Mar 2024 01:50:16 GMT" ] + "X-MSEdge-Ref": [ "Ref A: BBC73BF49B224C949574C06E8A977E21 Ref B: MAA201060514035 Ref C: 2024-04-22T02:54:30Z" ], + "Date": [ "Mon, 22 Apr 2024 02:54:31 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2208" ], + "Content-Length": [ "2458" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"3c26c913-860f-4c2b-be82-8a7444df280e\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/arhive-test-arhive-test-5ab61453-6bab-4333-82fb-cdbab5655b6f\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pstest-simple-mysql\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforMySQL/flexibleServers/arhive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"arhive-test\",\"policyName\":\"pstest-simple-mysql\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"arhive-test\",\"dataSourceName\":\"arhive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A48%3A27.4194288Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:48:27.1965063Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforMySQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/4cb6ab97-c961-485c-97c6-126727bd02bf\",\"name\":\"4cb6ab97-c961-485c-97c6-126727bd02bf\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9363f104-0949-4a91-a58c-2053fa764ecf\",\"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\u00272024-04-22T02%3A53%3A25.8631527Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:53:25.6495549Z\",\"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\":\"3aa4114473584905bc4fe653451ac631\",\"recoveryPointTime\":\"2023-12-31T23:30:49.4084489Z\"},\"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-22-04-2024-3-11-11\"},\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/23d4d4d3-0425-48a8-a10f-619753decd16\",\"name\":\"23d4d4d3-0425-48a8-a10f-619753decd16\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+MySQLRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/4cb6ab97-c961-485c-97c6-126727bd02bf?api-version=2023-12-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/23d4d4d3-0425-48a8-a10f-619753decd16?api-version=2024-04-01+14": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/4cb6ab97-c961-485c-97c6-126727bd02bf?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/23d4d4d3-0425-48a8-a10f-619753decd16?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "83" ], - "x-ms-client-request-id": [ "c6bae1fb-b3d1-470f-aa0f-783bd22004f5" ], + "x-ms-client-request-id": [ "e89cb017-c98e-4108-b0e6-1356ee230db5" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3464,37 +3545,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "686cf4aa-a858-4206-9aad-600cced83172" ], - "x-ms-correlation-request-id": [ "686cf4aa-a858-4206-9aad-600cced83172" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015028Z:686cf4aa-a858-4206-9aad-600cced83172" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "8a3ace52-ea02-47c3-9e5d-0ca01d682087" ], + "x-ms-correlation-request-id": [ "8a3ace52-ea02-47c3-9e5d-0ca01d682087" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240422T025443Z:8a3ace52-ea02-47c3-9e5d-0ca01d682087" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 118E062BD834447AA25F62DF9B2BB51C Ref B: MAA201060513029 Ref C: 2024-03-25T01:50:27Z" ], - "Date": [ "Mon, 25 Mar 2024 01:50:27 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 23BB0D62F1C04C05A81E276562FBC660 Ref B: MAA201060514035 Ref C: 2024-04-22T02:54:42Z" ], + "Date": [ "Mon, 22 Apr 2024 02:54:42 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2208" ], + "Content-Length": [ "2630" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"3c26c913-860f-4c2b-be82-8a7444df280e\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/arhive-test-arhive-test-5ab61453-6bab-4333-82fb-cdbab5655b6f\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pstest-simple-mysql\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforMySQL/flexibleServers/arhive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"arhive-test\",\"policyName\":\"pstest-simple-mysql\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"arhive-test\",\"dataSourceName\":\"arhive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A48%3A27.4194288Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:48:27.1965063Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforMySQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/4cb6ab97-c961-485c-97c6-126727bd02bf\",\"name\":\"4cb6ab97-c961-485c-97c6-126727bd02bf\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9363f104-0949-4a91-a58c-2053fa764ecf\",\"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\u00272024-04-22T02%3A54%3A41.6684618Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-04-22T02:53:25.6495549Z\",\"endTime\":\"2024-04-22T02:54:41.5163424Z\",\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"Completed\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT1M15.8667875S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"3aa4114473584905bc4fe653451ac631\",\"recoveryPointTime\":\"2023-12-31T23:30:49.4084489Z\"},\"recoveryDestination\":\"https://akneemasaecy.blob.core.windows.net/oss-csr-container\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"Completed\",\"taskProgress\":null,\"additionalDetails\":{\"DataTransferredInBytes\":\"0\",\"TaskId\":\"9363f104-0949-4a91-a58c-2053fa764ecf\",\"DatasourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\"}}],\"additionalDetails\":{\"Restore File Prefix\":\"oss-csr-pstest-restoreasfiles-22-04-2024-3-11-11\"},\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/23d4d4d3-0425-48a8-a10f-619753decd16\",\"name\":\"23d4d4d3-0425-48a8-a10f-619753decd16\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+MySQLRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/4cb6ab97-c961-485c-97c6-126727bd02bf?api-version=2023-12-01+15": { + "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=2024-04-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/4cb6ab97-c961-485c-97c6-126727bd02bf?api-version=2023-12-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=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "84" ], - "x-ms-client-request-id": [ "77081334-a506-4376-b58e-ecbb96a48ee1" ], - "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], - "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], + "x-ms-client-request-id": [ "6931006a-6bad-4be4-bed0-fcfe26eb640c" ], + "CommandName": [ "Get-AzDataProtectionBackupVault" ], + "FullCommandName": [ "Get-AzDataProtectionBackupVault_Get2" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3505,38 +3587,39 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "64858c3e-f0ba-4eb3-a2e2-c1ab4926c44c" ], - "x-ms-correlation-request-id": [ "64858c3e-f0ba-4eb3-a2e2-c1ab4926c44c" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015039Z:64858c3e-f0ba-4eb3-a2e2-c1ab4926c44c" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "499" ], + "x-ms-request-id": [ "ee385ba1-285e-40d0-8ed5-34f32b8e8180" ], + "x-ms-correlation-request-id": [ "ee385ba1-285e-40d0-8ed5-34f32b8e8180" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240422T025444Z:ee385ba1-285e-40d0-8ed5-34f32b8e8180" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: BA51D0E6BDB64E368FFBA710A9EC9753 Ref B: MAA201060513029 Ref C: 2024-03-25T01:50:38Z" ], - "Date": [ "Mon, 25 Mar 2024 01:50:39 GMT" ] + "X-MSEdge-Ref": [ "Ref A: C1C3A9E0F6584136AAD842EF58417792 Ref B: MAA201060514035 Ref C: 2024-04-22T02:54:43Z" ], + "Date": [ "Mon, 22 Apr 2024 02:54:43 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2208" ], + "Content-Length": [ "844" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"3c26c913-860f-4c2b-be82-8a7444df280e\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/arhive-test-arhive-test-5ab61453-6bab-4333-82fb-cdbab5655b6f\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pstest-simple-mysql\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforMySQL/flexibleServers/arhive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"arhive-test\",\"policyName\":\"pstest-simple-mysql\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"arhive-test\",\"dataSourceName\":\"arhive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A48%3A27.4194288Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:48:27.1965063Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforMySQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/4cb6ab97-c961-485c-97c6-126727bd02bf\",\"name\":\"4cb6ab97-c961-485c-97c6-126727bd02bf\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "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\",\"bcdrSecurityLevel\":\"Poor\",\"replicatedRegions\":[\"eastus2euap\"]},\"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]+MySQLRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/4cb6ab97-c961-485c-97c6-126727bd02bf?api-version=2023-12-01+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/backupInstances?api-version=2024-04-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/4cb6ab97-c961-485c-97c6-126727bd02bf?api-version=2023-12-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=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "85" ], - "x-ms-client-request-id": [ "b51f268e-92a2-4473-8aaa-80b6a45b2c82" ], - "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], - "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], + "x-ms-client-request-id": [ "1bc18249-1d4e-4ee6-9f12-c4831375094a" ], + "CommandName": [ "Get-AzDataProtectionBackupInstance" ], + "FullCommandName": [ "Get-AzDataProtectionBackupInstance_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3547,38 +3630,39 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "9bd056c7-9db7-4a2f-ac2e-03852dceb851" ], - "x-ms-correlation-request-id": [ "9bd056c7-9db7-4a2f-ac2e-03852dceb851" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015050Z:9bd056c7-9db7-4a2f-ac2e-03852dceb851" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1999" ], + "x-ms-request-id": [ "139ffd09-bcd8-47e6-b3e7-cc73c4d06d6e" ], + "x-ms-correlation-request-id": [ "139ffd09-bcd8-47e6-b3e7-cc73c4d06d6e" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240422T025445Z:139ffd09-bcd8-47e6-b3e7-cc73c4d06d6e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 76DB7B8058594F7E849255671BDA00A0 Ref B: MAA201060513029 Ref C: 2024-03-25T01:50:49Z" ], - "Date": [ "Mon, 25 Mar 2024 01:50:50 GMT" ] + "X-MSEdge-Ref": [ "Ref A: FA78C5EF886C41ABA660C4C2AAF82F6A Ref B: MAA201060514035 Ref C: 2024-04-22T02:54:44Z" ], + "Date": [ "Mon, 22 Apr 2024 02:54:45 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2208" ], + "Content-Length": [ "1879" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"3c26c913-860f-4c2b-be82-8a7444df280e\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/arhive-test-arhive-test-5ab61453-6bab-4333-82fb-cdbab5655b6f\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pstest-simple-mysql\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforMySQL/flexibleServers/arhive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"arhive-test\",\"policyName\":\"pstest-simple-mysql\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"arhive-test\",\"dataSourceName\":\"arhive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A48%3A27.4194288Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:48:27.1965063Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforMySQL/flexibleServers\",\"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/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/4cb6ab97-c961-485c-97c6-126727bd02bf\",\"name\":\"4cb6ab97-c961-485c-97c6-126727bd02bf\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"value\":[{\"properties\":{\"friendlyName\":\"oss-pstest-server\\\\postgres\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"resourceName\":\"postgres\",\"resourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"resourceName\":\"oss-pstest-server\",\"resourceType\":\"Microsoft.DBforPostgreSQL/servers\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"policyVersion\":\"\"},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"datasourceAuthCredentials\":{\"objectType\":\"SecretStoreBasedAuthCredentials\",\"secretStoreResource\":{\"uri\":\"https://oss-pstest-keyvault.vault.azure.net/secrets/oss-pstest-secret\",\"value\":null,\"secretStoreType\":\"AzureKeyVault\"}},\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"name\":\"oss-pstest-server-postgres-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"}]}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+MySQLRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/4cb6ab97-c961-485c-97c6-126727bd02bf?api-version=2023-12-01+17": { + "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=2024-04-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/4cb6ab97-c961-485c-97c6-126727bd02bf?api-version=2023-12-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=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "86" ], - "x-ms-client-request-id": [ "48e4dc6f-6b42-4ef4-bd81-2889363532b0" ], - "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], - "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], + "x-ms-client-request-id": [ "c725dca1-885e-404d-b8e1-600a3fb142c9" ], + "CommandName": [ "Get-AzDataProtectionBackupPolicy" ], + "FullCommandName": [ "Get-AzDataProtectionBackupPolicy_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3589,120 +3673,123 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "f5f0bcee-0cca-42df-9f79-66d71575add5" ], - "x-ms-correlation-request-id": [ "f5f0bcee-0cca-42df-9f79-66d71575add5" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015102Z:f5f0bcee-0cca-42df-9f79-66d71575add5" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "ed9fa73b-ffad-4b64-8546-5e6136b3d40b" ], + "x-ms-correlation-request-id": [ "ed9fa73b-ffad-4b64-8546-5e6136b3d40b" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240422T025447Z:ed9fa73b-ffad-4b64-8546-5e6136b3d40b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 96D50B9EAAB24A2D95704422AD6A4974 Ref B: MAA201060513029 Ref C: 2024-03-25T01:51:01Z" ], - "Date": [ "Mon, 25 Mar 2024 01:51:01 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 82FD1E5E879E45FD8BB837C8B758BCA6 Ref B: MAA201060514035 Ref C: 2024-04-22T02:54:45Z" ], + "Date": [ "Mon, 22 Apr 2024 02:54:46 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2487" ], + "Content-Length": [ "15305" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"3c26c913-860f-4c2b-be82-8a7444df280e\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/arhive-test-arhive-test-5ab61453-6bab-4333-82fb-cdbab5655b6f\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pstest-simple-mysql\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforMySQL/flexibleServers/arhive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"arhive-test\",\"policyName\":\"pstest-simple-mysql\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"arhive-test\",\"dataSourceName\":\"arhive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A50%3A52.790592Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:48:27.1965063Z\",\"endTime\":\"2024-03-25T01:50:52.5824907Z\",\"dataSourceType\":\"Microsoft.DBforMySQL/flexibleServers\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"Completed\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT2M25.3859844S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":623768004.0,\"targetRecoverPoint\":{\"recoveryPointID\":\"6bb575f12a7644b8b6fda49949f2554b\",\"recoveryPointTime\":\"0001-01-01T00:00:00Z\"},\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"Completed\",\"taskProgress\":null,\"additionalDetails\":{\"OriginalDatasourceSizeInBytes\":\"623768004\",\"TaskId\":\"3c26c913-860f-4c2b-be82-8a7444df280e\",\"DatasourceType\":\"Microsoft.DBforMySQL/flexibleServers\"}}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/4cb6ab97-c961-485c-97c6-126727bd02bf\",\"name\":\"4cb6ab97-c961-485c-97c6-126727bd02bf\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"value\":[{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P12W\"},\"targetDataStoreCopySettings\":[{\"dataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"},\"copyAfter\":{\"objectType\":\"CopyOnExpiryOption\"}}],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}},{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P27W\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Weekly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P1M\"},\"targetDataStoreCopySettings\":[{\"dataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"},\"copyAfter\":{\"objectType\":\"CopyOnExpiryOption\"}}],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}},{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P5M\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Full\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-12-31T10:00:00+05:30/P1W\"],\"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\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupWeekly\",\"objectType\":\"AzureBackupRule\"}],\"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/tf-pol2\",\"name\":\"tf-pol2\",\"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\":\"P15D\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Discrete\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2024-01-08T16:00:00+00:00/P1D\"],\"timeZone\":\"UTC\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Monthly\",\"id\":\"Monthly_\"},\"taggingPriority\":15,\"isDefault\":false,\"criteria\":[{\"daysOfMonth\":[{\"date\":1,\"isLast\":false},{\"date\":28,\"isLast\":false},{\"date\":0,\"isLast\":true},{\"date\":10,\"isLast\":false}],\"weeksOfTheMonth\":[],\"daysOfTheWeek\":[],\"monthsOfYear\":[],\"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/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/dom\",\"name\":\"dom\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P12W\"},\"targetDataStoreCopySettings\":[{\"dataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"},\"copyAfter\":{\"objectType\":\"CopyOnExpiryOption\"}}],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}},{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P27W\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Weekly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P1M\"},\"targetDataStoreCopySettings\":[{\"dataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"},\"copyAfter\":{\"objectType\":\"CopyOnExpiryOption\"}}],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}},{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P5M\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Full\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-12-31T10:00:00+05:30/P1W\"],\"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\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupWeekly\",\"objectType\":\"AzureBackupRule\"}],\"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/tf-pol1\",\"name\":\"tf-pol1\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P12W\"},\"targetDataStoreCopySettings\":[{\"dataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"},\"copyAfter\":{\"objectType\":\"CopyOnExpiryOption\"}}],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}},{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P27W\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Weekly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P1M\"},\"targetDataStoreCopySettings\":[{\"dataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"},\"copyAfter\":{\"objectType\":\"CopyOnExpiryOption\"}}],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}},{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P5M\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Full\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-12-31T10:00:00+05:30/P1W\"],\"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\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupWeekly\",\"objectType\":\"AzureBackupRule\"}],\"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/tf-pol3\",\"name\":\"tf-pol3\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P3M\"},\"targetDataStoreCopySettings\":[{\"dataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"},\"copyAfter\":{\"objectType\":\"CopyOnExpiryOption\"}}],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}},{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P27M\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Monthly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P3M\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Full\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-12-31T06:30:00+00:00/P1W\"],\"timeZone\":\"UTC\"},\"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\":\"BackupWeekly\",\"objectType\":\"AzureBackupRule\"}],\"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/terraform-pol1\",\"name\":\"terraform-pol1\",\"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\"},{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P6M\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Monthly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P3M\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Full\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2024-01-14T20:00:00+00:00/P1W\",\"R/2024-01-08T20:00:00+00:00/P1W\",\"R/2024-01-09T20:00:00+00:00/P1W\",\"R/2024-01-10T20:00:00+00:00/P1W\",\"R/2024-01-11T20:00:00+00:00/P1W\",\"R/2024-01-12T20:00:00+00:00/P1W\",\"R/2024-01-13T20:00:00+00:00/P1W\"],\"timeZone\":\"UTC\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Monthly\",\"id\":\"Monthly_\"},\"taggingPriority\":15,\"isDefault\":false,\"criteria\":[{\"daysOfMonth\":[],\"weeksOfTheMonth\":[\"First\"],\"daysOfTheWeek\":[\"Sunday\",\"Wednesday\"],\"monthsOfYear\":[],\"objectType\":\"ScheduleBasedBackupCriteria\"}]},{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupWeekly\",\"objectType\":\"AzureBackupRule\"}],\"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/dom-weekbased\",\"name\":\"dom-weekbased\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"}]}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+MySQLRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/arhive-test-arhive-test-5ab61453-6bab-4333-82fb-cdbab5655b6f/recoveryPoints?api-version=2023-12-01+18": { + "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-d63f9173-e53b-4d5c-bca1-0aca87410065/backup?api-version=2024-04-01+4": { "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/arhive-test-arhive-test-5ab61453-6bab-4333-82fb-cdbab5655b6f/recoveryPoints?api-version=2023-12-01", - "Content": null, + "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-d63f9173-e53b-4d5c-bca1-0aca87410065/backup?api-version=2024-04-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": { - "x-ms-unique-id": [ "87" ], - "x-ms-client-request-id": [ "9ac73cc7-fd6b-4260-bdd3-46c673d3044d" ], - "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionRecoveryPoint" ], - "FullCommandName": [ "Get-AzDataProtectionRecoveryPoint_List" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], - "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { + "Content-Type": [ "application/json" ], + "Content-Length": [ "140" ] } }, "Response": { - "StatusCode": 200, + "StatusCode": 202, "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "99" ], + "Location": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2ZjYzgxYjc3LWIwZGYtNDBkNy1hN2EwLWU4ZTFmMjU1YmRhNA==?api-version=2024-04-01\u0026t=638493512885974523\u0026c=MIIHHjCCBgagAwIBAgITfwKWMg6goKCq4WwU2AAEApYyDjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMTAzMDI3WhcNMjUwMTI0MTAzMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALMk1pBZQQoNY8tos8XBaEjHjcdWubRHrQk5CqKcX3tpFfukMI0_PVZK-Kr7xkZFQTYp_ItaM2RPRDXx-0W9-mmrUBKvdcQ0rdjcSXDek7GvWS29F5sDHojD1v3e9k2jJa4cVSWwdIguvXmdUa57t1EHxqtDzTL4WmjXitzY8QOIHLMRLyXUNg3Gqfxch40cmQeBoN4rVMlP31LizDfdwRyT1qghK7vgvworA3D9rE00aM0n7TcBH9I0mu-96JE0gSX1FWXctlEcmdwQmXj_U0sZCu11_Yr6Oa34bmUQHGc3hDvO226L1Au-QsLuRWFLbKJ-0wmSV5b3CbU1kweD5LUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBQuoVkxdNhVmd-S8fHDZYn-1n9OaDAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG6_wraDi57hTBBW8zI9n7Dnd66DCf9ok7v4gM1-qxp2gZjb_eEnriIZQcCD3jLvW4q5_59OicwRN13rP_GY33E9HLUgw245zqSCIGd6gYnaCyxPNdhEa-W6-ZBBw1iWX8l-RJqDOUYwkrI7Lw-iea9CuiTbLjw_BJ5NGmd8D5GOVxFRnhJ7RBRrwa6p2_UqZqvdg8kneiyymbidRJCOZ_xkZ8OwL-ini_ge44CIEB7rvqwdf7DfwOjoDr7JU88gM0QgcE7kzx7cVUZpaJAXXhxLvOcb0MBuRiEyexrV6HrbOTafc9naJB26ejIXNHLsuIhpMMa5NEK60hGauLEMNlY\u0026s=PBAY7hysFiO8FGW6pdrKW6Ili9jQmcN_hW3DwHevxzD2SSDWlcohsHKn-63wmQdoePIibYSUqzB_1IETUJe0_SJGLXRGXm2YrWwn3mLdum6pTZYpthBhN1SQC6ROKKFgZbPrwg9j7pbm44ktTTfiO7aK53aVX9i7HLVrwl27vI79nr1UPegGqpBuiF7psApOTL0fvUDR-THsnUkYwxuFqB2f37a7k5wWSJ-naGwoQ6bOy4uuZa74wqOi3kGmE_WfX22xmY8qayQOggDHF8D41kArgE6li8sWNOf8topa54iaRigkfgNz-VRzCZeLMX7HKT1Tf5t6ETa2hppc5o8R9A\u0026h=1ULAhtdQvrnbe6jJjjxr3Q17jfW2IcyR-9r0zguIMGc" ], + "Retry-After": [ "30" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "e2cd8809-0027-4248-a825-930e1e7a2309" ], - "x-ms-correlation-request-id": [ "e2cd8809-0027-4248-a825-930e1e7a2309" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015108Z:e2cd8809-0027-4248-a825-930e1e7a2309" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2ZjYzgxYjc3LWIwZGYtNDBkNy1hN2EwLWU4ZTFmMjU1YmRhNA==?api-version=2024-04-01\u0026t=638493512885818242\u0026c=MIIHHjCCBgagAwIBAgITfwKWMg6goKCq4WwU2AAEApYyDjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMTAzMDI3WhcNMjUwMTI0MTAzMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALMk1pBZQQoNY8tos8XBaEjHjcdWubRHrQk5CqKcX3tpFfukMI0_PVZK-Kr7xkZFQTYp_ItaM2RPRDXx-0W9-mmrUBKvdcQ0rdjcSXDek7GvWS29F5sDHojD1v3e9k2jJa4cVSWwdIguvXmdUa57t1EHxqtDzTL4WmjXitzY8QOIHLMRLyXUNg3Gqfxch40cmQeBoN4rVMlP31LizDfdwRyT1qghK7vgvworA3D9rE00aM0n7TcBH9I0mu-96JE0gSX1FWXctlEcmdwQmXj_U0sZCu11_Yr6Oa34bmUQHGc3hDvO226L1Au-QsLuRWFLbKJ-0wmSV5b3CbU1kweD5LUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBQuoVkxdNhVmd-S8fHDZYn-1n9OaDAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG6_wraDi57hTBBW8zI9n7Dnd66DCf9ok7v4gM1-qxp2gZjb_eEnriIZQcCD3jLvW4q5_59OicwRN13rP_GY33E9HLUgw245zqSCIGd6gYnaCyxPNdhEa-W6-ZBBw1iWX8l-RJqDOUYwkrI7Lw-iea9CuiTbLjw_BJ5NGmd8D5GOVxFRnhJ7RBRrwa6p2_UqZqvdg8kneiyymbidRJCOZ_xkZ8OwL-ini_ge44CIEB7rvqwdf7DfwOjoDr7JU88gM0QgcE7kzx7cVUZpaJAXXhxLvOcb0MBuRiEyexrV6HrbOTafc9naJB26ejIXNHLsuIhpMMa5NEK60hGauLEMNlY\u0026s=C9WmggVpNcZWyVfUH2YLPeKCEzsIDvMhhTeuB7zxtnBVcNIa01tMFreivyFkR0l8Kci9UhyqrUP1M_ebZjDn1d2Gj47Cf3AOgxfz16vkhiiLbk-Rzy8GuEmuN4KjZ5dQQEsQ4MpLcozdQvZiP56mJxmPy-NGmZkX8i138JK_A2WvmNZc2EYLdwgpE1CAOkhHqksmxV1sq4E8AyGsyJ1XEuZShf4pSt7PzOwU_GHhKXb0nzs-75IxHgXD5PGDpGjWv6qZO9bzpZyRhanOmLOpryOKG4gHgdC4mPxUushAjCnkA1_GK37L3p3EfVXqiG1pWxCMgqKdXisujo0cGw1NTA\u0026h=K9eYBD6v8Tc_ZD0LTIHpp6hv9jjLXOgYfa-uRk0r2ig" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-request-id": [ "32f1d1d7-20ea-4d73-b312-ad5e64613219" ], + "x-ms-correlation-request-id": [ "32f1d1d7-20ea-4d73-b312-ad5e64613219" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240422T025448Z:32f1d1d7-20ea-4d73-b312-ad5e64613219" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: A1ADF0F423C54FD2B1EDFBA38D3077CF Ref B: MAA201060513029 Ref C: 2024-03-25T01:51:07Z" ], - "Date": [ "Mon, 25 Mar 2024 01:51:07 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 2AE4E47ED7184580BA2AB97B301FE015 Ref B: MAA201060514035 Ref C: 2024-04-22T02:54:47Z" ], + "Date": [ "Mon, 22 Apr 2024 02:54:47 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "15968" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] + "Expires": [ "-1" ], + "Content-Length": [ "0" ] }, - "Content": "{\"value\":[{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"6bb575f12a7644b8b6fda49949f2554b\",\"recoveryPointTime\":\"2024-03-25T01:49:51.7914104Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"6bb575f12a7644b8b6fda49949f2554b\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-03-25T01:49:51.8539242Z\",\"expiryTime\":null,\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638412792322488545\",\"policyName\":\"pstest-simple-mysql\",\"policyVersion\":null,\"expiryTime\":null,\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/arhive-test-arhive-test-5ab61453-6bab-4333-82fb-cdbab5655b6f/recoveryPoints/6bb575f12a7644b8b6fda49949f2554b\",\"name\":\"6bb575f12a7644b8b6fda49949f2554b\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"cff2e71546b04f7197e9861856ba6611\",\"recoveryPointTime\":\"2024-03-24T17:20:04.8460986Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"cff2e71546b04f7197e9861856ba6611\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-03-24T17:20:04.9085695Z\",\"expiryTime\":\"2024-04-03T17:20:04.9085695Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638412792322488545\",\"policyName\":\"pstest-simple-mysql\",\"policyVersion\":null,\"expiryTime\":\"2024-04-03T17:20:04.9085695Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/arhive-test-arhive-test-5ab61453-6bab-4333-82fb-cdbab5655b6f/recoveryPoints/cff2e71546b04f7197e9861856ba6611\",\"name\":\"cff2e71546b04f7197e9861856ba6611\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"3de39a993cae4806a61c0fd3eee9d32e\",\"recoveryPointTime\":\"2024-03-24T13:38:44.1909332Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"3de39a993cae4806a61c0fd3eee9d32e\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-03-24T13:38:44.2426139Z\",\"expiryTime\":\"2024-04-03T13:38:44.2426139Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638412792322488545\",\"policyName\":\"pstest-simple-mysql\",\"policyVersion\":null,\"expiryTime\":\"2024-04-03T13:38:44.2426139Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/arhive-test-arhive-test-5ab61453-6bab-4333-82fb-cdbab5655b6f/recoveryPoints/3de39a993cae4806a61c0fd3eee9d32e\",\"name\":\"3de39a993cae4806a61c0fd3eee9d32e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"5a9e8fa74c864cd2acaeb69bc8464ffa\",\"recoveryPointTime\":\"2024-03-24T10:35:12.4840067Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"5a9e8fa74c864cd2acaeb69bc8464ffa\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-03-24T10:35:12.5464656Z\",\"expiryTime\":\"2024-04-03T10:35:12.5464656Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638412792322488545\",\"policyName\":\"pstest-simple-mysql\",\"policyVersion\":null,\"expiryTime\":\"2024-04-03T10:35:12.5464656Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/arhive-test-arhive-test-5ab61453-6bab-4333-82fb-cdbab5655b6f/recoveryPoints/5a9e8fa74c864cd2acaeb69bc8464ffa\",\"name\":\"5a9e8fa74c864cd2acaeb69bc8464ffa\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"993c5501a872410cac60b9ba8dd26441\",\"recoveryPointTime\":\"2024-03-24T02:42:23.1453360Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"993c5501a872410cac60b9ba8dd26441\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-03-24T02:42:23.2548796Z\",\"expiryTime\":\"2024-04-03T02:42:23.2548796Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638412792322488545\",\"policyName\":\"pstest-simple-mysql\",\"policyVersion\":null,\"expiryTime\":\"2024-04-03T02:42:23.2548796Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/arhive-test-arhive-test-5ab61453-6bab-4333-82fb-cdbab5655b6f/recoveryPoints/993c5501a872410cac60b9ba8dd26441\",\"name\":\"993c5501a872410cac60b9ba8dd26441\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"7d1a1bd25d4b434c9aa4319276925a72\",\"recoveryPointTime\":\"2024-03-22T03:31:14.9620436Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"7d1a1bd25d4b434c9aa4319276925a72\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-03-22T03:31:15.0245328Z\",\"expiryTime\":\"2024-04-01T03:31:15.0245328Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638412792322488545\",\"policyName\":\"pstest-simple-mysql\",\"policyVersion\":null,\"expiryTime\":\"2024-04-01T03:31:15.0245328Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/arhive-test-arhive-test-5ab61453-6bab-4333-82fb-cdbab5655b6f/recoveryPoints/7d1a1bd25d4b434c9aa4319276925a72\",\"name\":\"7d1a1bd25d4b434c9aa4319276925a72\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"9eee7b258e2a40e0b0bec42e383b7d33\",\"recoveryPointTime\":\"2024-03-21T03:31:17.9812871Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"9eee7b258e2a40e0b0bec42e383b7d33\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-03-21T03:31:18.0437827Z\",\"expiryTime\":\"2024-03-31T03:31:18.0437827Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638412792322488545\",\"policyName\":\"pstest-simple-mysql\",\"policyVersion\":null,\"expiryTime\":\"2024-03-31T03:31:18.0437827Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/arhive-test-arhive-test-5ab61453-6bab-4333-82fb-cdbab5655b6f/recoveryPoints/9eee7b258e2a40e0b0bec42e383b7d33\",\"name\":\"9eee7b258e2a40e0b0bec42e383b7d33\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"de383bc057bd41ccb521370cd8fb00a2\",\"recoveryPointTime\":\"2024-03-15T03:31:39.6877758Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"de383bc057bd41ccb521370cd8fb00a2\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-03-15T03:31:39.7501921Z\",\"expiryTime\":\"2024-03-25T03:31:39.7501921Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638412792322488545\",\"policyName\":\"pstest-simple-mysql\",\"policyVersion\":null,\"expiryTime\":\"2024-03-25T03:31:39.7501921Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/arhive-test-arhive-test-5ab61453-6bab-4333-82fb-cdbab5655b6f/recoveryPoints/de383bc057bd41ccb521370cd8fb00a2\",\"name\":\"de383bc057bd41ccb521370cd8fb00a2\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"756d98625db945e9b24ae73780b62009\",\"recoveryPointTime\":\"2024-03-07T03:31:16.3626260Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"756d98625db945e9b24ae73780b62009\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-03-07T03:31:16.4251410Z\",\"expiryTime\":\"2024-09-07T03:31:16.4251410Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Monthly\",\"retentionTagVersion\":\"638412792322488545\",\"policyName\":\"pstest-simple-mysql\",\"policyVersion\":null,\"expiryTime\":\"2024-09-07T03:31:16.4251410Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/arhive-test-arhive-test-5ab61453-6bab-4333-82fb-cdbab5655b6f/recoveryPoints/756d98625db945e9b24ae73780b62009\",\"name\":\"756d98625db945e9b24ae73780b62009\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"6d7c0727a1ea4cad81fc937eae5a2642\",\"recoveryPointTime\":\"2024-03-01T03:31:35.9848044Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"6d7c0727a1ea4cad81fc937eae5a2642\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-03-01T03:31:36.0474018Z\",\"expiryTime\":\"2024-09-01T03:31:36.0474018Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Monthly\",\"retentionTagVersion\":\"638412792322488545\",\"policyName\":\"pstest-simple-mysql\",\"policyVersion\":null,\"expiryTime\":\"2024-09-01T03:31:36.0474018Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/arhive-test-arhive-test-5ab61453-6bab-4333-82fb-cdbab5655b6f/recoveryPoints/6d7c0727a1ea4cad81fc937eae5a2642\",\"name\":\"6d7c0727a1ea4cad81fc937eae5a2642\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"7a08a56007b942bdb9bfcc6fb64526c7\",\"recoveryPointTime\":\"2024-02-29T03:31:13.0410419Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"7a08a56007b942bdb9bfcc6fb64526c7\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-02-29T03:31:13.1034678Z\",\"expiryTime\":\"2024-08-29T03:31:13.1034678Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Monthly\",\"retentionTagVersion\":\"638412792322488545\",\"policyName\":\"pstest-simple-mysql\",\"policyVersion\":null,\"expiryTime\":\"2024-08-29T03:31:13.1034678Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/arhive-test-arhive-test-5ab61453-6bab-4333-82fb-cdbab5655b6f/recoveryPoints/7a08a56007b942bdb9bfcc6fb64526c7\",\"name\":\"7a08a56007b942bdb9bfcc6fb64526c7\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"7f947ad3b284439aa472c8ba8e9c43d5\",\"recoveryPointTime\":\"2024-02-08T03:31:15.0228654Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"7f947ad3b284439aa472c8ba8e9c43d5\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-02-08T03:31:15.0853066Z\",\"expiryTime\":\"2024-08-08T03:31:15.0853066Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Monthly\",\"retentionTagVersion\":\"638412792322488545\",\"policyName\":\"pstest-simple-mysql\",\"policyVersion\":null,\"expiryTime\":\"2024-08-08T03:31:15.0853066Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/arhive-test-arhive-test-5ab61453-6bab-4333-82fb-cdbab5655b6f/recoveryPoints/7f947ad3b284439aa472c8ba8e9c43d5\",\"name\":\"7f947ad3b284439aa472c8ba8e9c43d5\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"7d4210d507ea47409912cff9429d3733\",\"recoveryPointTime\":\"2024-02-01T03:31:15.0173242Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"7d4210d507ea47409912cff9429d3733\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-02-01T03:31:15.0798153Z\",\"expiryTime\":\"2024-08-01T03:31:15.0798153Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Monthly\",\"retentionTagVersion\":\"638412792322488545\",\"policyName\":\"pstest-simple-mysql\",\"policyVersion\":null,\"expiryTime\":\"2024-08-01T03:31:15.0798153Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/arhive-test-arhive-test-5ab61453-6bab-4333-82fb-cdbab5655b6f/recoveryPoints/7d4210d507ea47409912cff9429d3733\",\"name\":\"7d4210d507ea47409912cff9429d3733\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"3397240d43d04876acfd39d803c0d532\",\"recoveryPointTime\":\"2024-01-25T03:31:13.4776484Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"3397240d43d04876acfd39d803c0d532\",\"recoveryPointDataStoresDetails\":[{\"id\":\"0475108f-f687-4cc3-80ef-52ea97c86332\",\"type\":\"VaultStore\",\"creationTime\":\"2024-01-25T03:31:13.5401528Z\",\"expiryTime\":\"2024-07-25T03:31:13.5401528Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Monthly\",\"retentionTagVersion\":\"638412792322488545\",\"policyName\":\"pstest-simple-mysql\",\"policyVersion\":null,\"expiryTime\":\"2024-07-25T03:31:13.5401528Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/arhive-test-arhive-test-5ab61453-6bab-4333-82fb-cdbab5655b6f/recoveryPoints/3397240d43d04876acfd39d803c0d532\",\"name\":\"3397240d43d04876acfd39d803c0d532\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"}]}", + "Content": null, "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+MySQLRestore+$POST+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/arhive-test-arhive-test-5ab61453-6bab-4333-82fb-cdbab5655b6f/restore?api-version=2023-12-01+19": { + "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/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2ZjYzgxYjc3LWIwZGYtNDBkNy1hN2EwLWU4ZTFmMjU1YmRhNA==?api-version=2024-04-01\u0026t=638493512885818242\u0026c=MIIHHjCCBgagAwIBAgITfwKWMg6goKCq4WwU2AAEApYyDjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMTAzMDI3WhcNMjUwMTI0MTAzMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALMk1pBZQQoNY8tos8XBaEjHjcdWubRHrQk5CqKcX3tpFfukMI0_PVZK-Kr7xkZFQTYp_ItaM2RPRDXx-0W9-mmrUBKvdcQ0rdjcSXDek7GvWS29F5sDHojD1v3e9k2jJa4cVSWwdIguvXmdUa57t1EHxqtDzTL4WmjXitzY8QOIHLMRLyXUNg3Gqfxch40cmQeBoN4rVMlP31LizDfdwRyT1qghK7vgvworA3D9rE00aM0n7TcBH9I0mu-96JE0gSX1FWXctlEcmdwQmXj_U0sZCu11_Yr6Oa34bmUQHGc3hDvO226L1Au-QsLuRWFLbKJ-0wmSV5b3CbU1kweD5LUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBQuoVkxdNhVmd-S8fHDZYn-1n9OaDAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG6_wraDi57hTBBW8zI9n7Dnd66DCf9ok7v4gM1-qxp2gZjb_eEnriIZQcCD3jLvW4q5_59OicwRN13rP_GY33E9HLUgw245zqSCIGd6gYnaCyxPNdhEa-W6-ZBBw1iWX8l-RJqDOUYwkrI7Lw-iea9CuiTbLjw_BJ5NGmd8D5GOVxFRnhJ7RBRrwa6p2_UqZqvdg8kneiyymbidRJCOZ_xkZ8OwL-ini_ge44CIEB7rvqwdf7DfwOjoDr7JU88gM0QgcE7kzx7cVUZpaJAXXhxLvOcb0MBuRiEyexrV6HrbOTafc9naJB26ejIXNHLsuIhpMMa5NEK60hGauLEMNlY\u0026s=C9WmggVpNcZWyVfUH2YLPeKCEzsIDvMhhTeuB7zxtnBVcNIa01tMFreivyFkR0l8Kci9UhyqrUP1M_ebZjDn1d2Gj47Cf3AOgxfz16vkhiiLbk-Rzy8GuEmuN4KjZ5dQQEsQ4MpLcozdQvZiP56mJxmPy-NGmZkX8i138JK_A2WvmNZc2EYLdwgpE1CAOkhHqksmxV1sq4E8AyGsyJ1XEuZShf4pSt7PzOwU_GHhKXb0nzs-75IxHgXD5PGDpGjWv6qZO9bzpZyRhanOmLOpryOKG4gHgdC4mPxUushAjCnkA1_GK37L3p3EfVXqiG1pWxCMgqKdXisujo0cGw1NTA\u0026h=K9eYBD6v8Tc_ZD0LTIHpp6hv9jjLXOgYfa-uRk0r2ig+5": { "Request": { - "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/arhive-test-arhive-test-5ab61453-6bab-4333-82fb-cdbab5655b6f/restore?api-version=2023-12-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\": \"dummyprefix\",\r\n \"restoreTargetLocationType\": \"AzureBlobs\",\r\n \"url\": \"https://vdhingra1psa.blob.core.windows.net/powershellpgflexrestore\"\r\n }\r\n },\r\n \"sourceDataStoreType\": \"VaultStore\",\r\n \"recoveryPointId\": \"6bb575f12a7644b8b6fda49949f2554b\"\r\n}", + "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/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2ZjYzgxYjc3LWIwZGYtNDBkNy1hN2EwLWU4ZTFmMjU1YmRhNA==?api-version=2024-04-01\u0026t=638493512885818242\u0026c=MIIHHjCCBgagAwIBAgITfwKWMg6goKCq4WwU2AAEApYyDjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMTAzMDI3WhcNMjUwMTI0MTAzMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALMk1pBZQQoNY8tos8XBaEjHjcdWubRHrQk5CqKcX3tpFfukMI0_PVZK-Kr7xkZFQTYp_ItaM2RPRDXx-0W9-mmrUBKvdcQ0rdjcSXDek7GvWS29F5sDHojD1v3e9k2jJa4cVSWwdIguvXmdUa57t1EHxqtDzTL4WmjXitzY8QOIHLMRLyXUNg3Gqfxch40cmQeBoN4rVMlP31LizDfdwRyT1qghK7vgvworA3D9rE00aM0n7TcBH9I0mu-96JE0gSX1FWXctlEcmdwQmXj_U0sZCu11_Yr6Oa34bmUQHGc3hDvO226L1Au-QsLuRWFLbKJ-0wmSV5b3CbU1kweD5LUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBQuoVkxdNhVmd-S8fHDZYn-1n9OaDAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG6_wraDi57hTBBW8zI9n7Dnd66DCf9ok7v4gM1-qxp2gZjb_eEnriIZQcCD3jLvW4q5_59OicwRN13rP_GY33E9HLUgw245zqSCIGd6gYnaCyxPNdhEa-W6-ZBBw1iWX8l-RJqDOUYwkrI7Lw-iea9CuiTbLjw_BJ5NGmd8D5GOVxFRnhJ7RBRrwa6p2_UqZqvdg8kneiyymbidRJCOZ_xkZ8OwL-ini_ge44CIEB7rvqwdf7DfwOjoDr7JU88gM0QgcE7kzx7cVUZpaJAXXhxLvOcb0MBuRiEyexrV6HrbOTafc9naJB26ejIXNHLsuIhpMMa5NEK60hGauLEMNlY\u0026s=C9WmggVpNcZWyVfUH2YLPeKCEzsIDvMhhTeuB7zxtnBVcNIa01tMFreivyFkR0l8Kci9UhyqrUP1M_ebZjDn1d2Gj47Cf3AOgxfz16vkhiiLbk-Rzy8GuEmuN4KjZ5dQQEsQ4MpLcozdQvZiP56mJxmPy-NGmZkX8i138JK_A2WvmNZc2EYLdwgpE1CAOkhHqksmxV1sq4E8AyGsyJ1XEuZShf4pSt7PzOwU_GHhKXb0nzs-75IxHgXD5PGDpGjWv6qZO9bzpZyRhanOmLOpryOKG4gHgdC4mPxUushAjCnkA1_GK37L3p3EfVXqiG1pWxCMgqKdXisujo0cGw1NTA\u0026h=K9eYBD6v8Tc_ZD0LTIHpp6hv9jjLXOgYfa-uRk0r2ig", + "Content": null, "isContentBase64": false, "Headers": { + "Authorization": [ "[Filtered]" ], + "x-ms-unique-id": [ "88" ], + "x-ms-client-request-id": [ "9366c273-65d1-4214-9e16-cebc982ac12e" ], + "CommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc" ], + "FullCommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc_BackupExpanded" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "520" ] } }, "Response": { - "StatusCode": 202, + "StatusCode": 200, "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/NDY0ZDFhZGItNzk0My00NTljLTg3YjYtMjkxZmE1OTIxYWIyOzE4OTJlZTQ4LTExMjUtNDRlZC04NjQwLWY2M2ZmZGY4YzI2Mw==?api-version=2023-12-01\u0026t=638469282701038691\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=qnFUtipq4Wiordb8X_fRdB-RExSEnPuPrB7VaJaKD12_LVowsT51mMuvdW8PAwHs2GR0c1ze6EDU6yE8-dYP1AcDlkr8-zUTDIN4Z2Jgy-z-ZZQHdQZdqDAuIKeLycLtkrpHJxEAeBaSEfWdLUlY6goRkEg6YoCX0MD7EE_KDBWEcjPdN28pp2Nomf5sklkcBZNJ_B7Pax4EyHf0V_CrPUyNxYF9ZHzjhCXTkuxWKYOXJFpNQG8im_WNavDgU_t-Gr-FBMcsvw2g9mpzuxyQhDYOXsYpechKVRmOlhMLrbPQhiET5BH9wEbLd_b7mEiipPHGL579HfeAmdWJJHxeMw\u0026h=o6kjTpXhF3wxf-DfyNmy1YPJJXfaooecGK0Mi-ysWIU" ], - "Retry-After": [ "30" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/operationStatus/NDY0ZDFhZGItNzk0My00NTljLTg3YjYtMjkxZmE1OTIxYWIyOzE4OTJlZTQ4LTExMjUtNDRlZC04NjQwLWY2M2ZmZGY4YzI2Mw==?api-version=2023-12-01\u0026t=638469282700882467\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=oXNFbGnF-jcxYuWmTdebYTdlWY0gD4Vgfv9YYLTh_G_mTiLZAqqNPooUwlVGUiFe991a9lVyCBTX6xMniPS3-ybXpplW-OFPqOapBtWLmKktnBswKFg6QdNaeTtGGhKhJKyu2NnJMhkghQA-zdeqJZCLZoQblT_e5erw8NKoZLWYd3EeZb5SWRNIMesisiymb5k7xHso3apoWnDOBm2znM5RZaJ6tlzA76cIkE15urrYFRmnzyv1294yNZykBeNlpUAEBHS5oUvD79wGtEeZsjfldXiD1CPhJkP1Yw0e6Lc9LZpfOK2nd3szx7oO69t-D3DF9eQe_JTtJxEDG_B4hQ\u0026h=Z6L2SmoKEFI1JOIcyEs5kLotN1O_HDPY6ogrwvrzJ78" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-request-id": [ "020e5784-ffd5-4bd4-9e5f-4b16d59a49dd" ], - "x-ms-correlation-request-id": [ "020e5784-ffd5-4bd4-9e5f-4b16d59a49dd" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015110Z:020e5784-ffd5-4bd4-9e5f-4b16d59a49dd" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], + "x-ms-request-id": [ "09b0b388-8556-4867-940d-dba937d281f5" ], + "x-ms-correlation-request-id": [ "09b0b388-8556-4867-940d-dba937d281f5" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240422T025519Z:09b0b388-8556-4867-940d-dba937d281f5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 92524E3AD9CB4E9BB7B4202A1F5672E4 Ref B: MAA201060513029 Ref C: 2024-03-25T01:51:08Z" ], - "Date": [ "Mon, 25 Mar 2024 01:51:09 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 1EAF8E0C29574C61A844DA1FAFE1E1C0 Ref B: MAA201060514035 Ref C: 2024-04-22T02:55:18Z" ], + "Date": [ "Mon, 22 Apr 2024 02:55:19 GMT" ] }, "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] + "Content-Length": [ "737" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] }, - "Content": null, + "Content": "{\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2ZjYzgxYjc3LWIwZGYtNDBkNy1hN2EwLWU4ZTFmMjU1YmRhNA==\",\"name\":\"ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2ZjYzgxYjc3LWIwZGYtNDBkNy1hN2EwLWU4ZTFmMjU1YmRhNA==\",\"status\":\"Succeeded\",\"startTime\":\"2024-04-22T02:54:48.4154556Z\",\"endTime\":\"2024-04-22T02:54:49Z\",\"properties\":{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/oss-pstest-rg/providers/Microsoft.DataProtection/BackupVaults/oss-pstest-vault/backupJobs/e5977846-f949-47de-b726-4a5ce5e4c29e\",\"objectType\":\"OperationJobExtendedInfo\"}}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+MySQLRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/operationStatus/NDY0ZDFhZGItNzk0My00NTljLTg3YjYtMjkxZmE1OTIxYWIyOzE4OTJlZTQ4LTExMjUtNDRlZC04NjQwLWY2M2ZmZGY4YzI2Mw==?api-version=2023-12-01\u0026t=638469282700882467\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=oXNFbGnF-jcxYuWmTdebYTdlWY0gD4Vgfv9YYLTh_G_mTiLZAqqNPooUwlVGUiFe991a9lVyCBTX6xMniPS3-ybXpplW-OFPqOapBtWLmKktnBswKFg6QdNaeTtGGhKhJKyu2NnJMhkghQA-zdeqJZCLZoQblT_e5erw8NKoZLWYd3EeZb5SWRNIMesisiymb5k7xHso3apoWnDOBm2znM5RZaJ6tlzA76cIkE15urrYFRmnzyv1294yNZykBeNlpUAEBHS5oUvD79wGtEeZsjfldXiD1CPhJkP1Yw0e6Lc9LZpfOK2nd3szx7oO69t-D3DF9eQe_JTtJxEDG_B4hQ\u0026h=Z6L2SmoKEFI1JOIcyEs5kLotN1O_HDPY6ogrwvrzJ78+20": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2ZjYzgxYjc3LWIwZGYtNDBkNy1hN2EwLWU4ZTFmMjU1YmRhNA==?api-version=2024-04-01\u0026t=638493512885974523\u0026c=MIIHHjCCBgagAwIBAgITfwKWMg6goKCq4WwU2AAEApYyDjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMTAzMDI3WhcNMjUwMTI0MTAzMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALMk1pBZQQoNY8tos8XBaEjHjcdWubRHrQk5CqKcX3tpFfukMI0_PVZK-Kr7xkZFQTYp_ItaM2RPRDXx-0W9-mmrUBKvdcQ0rdjcSXDek7GvWS29F5sDHojD1v3e9k2jJa4cVSWwdIguvXmdUa57t1EHxqtDzTL4WmjXitzY8QOIHLMRLyXUNg3Gqfxch40cmQeBoN4rVMlP31LizDfdwRyT1qghK7vgvworA3D9rE00aM0n7TcBH9I0mu-96JE0gSX1FWXctlEcmdwQmXj_U0sZCu11_Yr6Oa34bmUQHGc3hDvO226L1Au-QsLuRWFLbKJ-0wmSV5b3CbU1kweD5LUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBQuoVkxdNhVmd-S8fHDZYn-1n9OaDAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG6_wraDi57hTBBW8zI9n7Dnd66DCf9ok7v4gM1-qxp2gZjb_eEnriIZQcCD3jLvW4q5_59OicwRN13rP_GY33E9HLUgw245zqSCIGd6gYnaCyxPNdhEa-W6-ZBBw1iWX8l-RJqDOUYwkrI7Lw-iea9CuiTbLjw_BJ5NGmd8D5GOVxFRnhJ7RBRrwa6p2_UqZqvdg8kneiyymbidRJCOZ_xkZ8OwL-ini_ge44CIEB7rvqwdf7DfwOjoDr7JU88gM0QgcE7kzx7cVUZpaJAXXhxLvOcb0MBuRiEyexrV6HrbOTafc9naJB26ejIXNHLsuIhpMMa5NEK60hGauLEMNlY\u0026s=PBAY7hysFiO8FGW6pdrKW6Ili9jQmcN_hW3DwHevxzD2SSDWlcohsHKn-63wmQdoePIibYSUqzB_1IETUJe0_SJGLXRGXm2YrWwn3mLdum6pTZYpthBhN1SQC6ROKKFgZbPrwg9j7pbm44ktTTfiO7aK53aVX9i7HLVrwl27vI79nr1UPegGqpBuiF7psApOTL0fvUDR-THsnUkYwxuFqB2f37a7k5wWSJ-naGwoQ6bOy4uuZa74wqOi3kGmE_WfX22xmY8qayQOggDHF8D41kArgE6li8sWNOf8topa54iaRigkfgNz-VRzCZeLMX7HKT1Tf5t6ETa2hppc5o8R9A\u0026h=1ULAhtdQvrnbe6jJjjxr3Q17jfW2IcyR-9r0zguIMGc+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/operationStatus/NDY0ZDFhZGItNzk0My00NTljLTg3YjYtMjkxZmE1OTIxYWIyOzE4OTJlZTQ4LTExMjUtNDRlZC04NjQwLWY2M2ZmZGY4YzI2Mw==?api-version=2023-12-01\u0026t=638469282700882467\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=oXNFbGnF-jcxYuWmTdebYTdlWY0gD4Vgfv9YYLTh_G_mTiLZAqqNPooUwlVGUiFe991a9lVyCBTX6xMniPS3-ybXpplW-OFPqOapBtWLmKktnBswKFg6QdNaeTtGGhKhJKyu2NnJMhkghQA-zdeqJZCLZoQblT_e5erw8NKoZLWYd3EeZb5SWRNIMesisiymb5k7xHso3apoWnDOBm2znM5RZaJ6tlzA76cIkE15urrYFRmnzyv1294yNZykBeNlpUAEBHS5oUvD79wGtEeZsjfldXiD1CPhJkP1Yw0e6Lc9LZpfOK2nd3szx7oO69t-D3DF9eQe_JTtJxEDG_B4hQ\u0026h=Z6L2SmoKEFI1JOIcyEs5kLotN1O_HDPY6ogrwvrzJ78", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2ZjYzgxYjc3LWIwZGYtNDBkNy1hN2EwLWU4ZTFmMjU1YmRhNA==?api-version=2024-04-01\u0026t=638493512885974523\u0026c=MIIHHjCCBgagAwIBAgITfwKWMg6goKCq4WwU2AAEApYyDjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjQwMTMwMTAzMDI3WhcNMjUwMTI0MTAzMDI3WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALMk1pBZQQoNY8tos8XBaEjHjcdWubRHrQk5CqKcX3tpFfukMI0_PVZK-Kr7xkZFQTYp_ItaM2RPRDXx-0W9-mmrUBKvdcQ0rdjcSXDek7GvWS29F5sDHojD1v3e9k2jJa4cVSWwdIguvXmdUa57t1EHxqtDzTL4WmjXitzY8QOIHLMRLyXUNg3Gqfxch40cmQeBoN4rVMlP31LizDfdwRyT1qghK7vgvworA3D9rE00aM0n7TcBH9I0mu-96JE0gSX1FWXctlEcmdwQmXj_U0sZCu11_Yr6Oa34bmUQHGc3hDvO226L1Au-QsLuRWFLbKJ-0wmSV5b3CbU1kweD5LUCAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBQuoVkxdNhVmd-S8fHDZYn-1n9OaDAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAG6_wraDi57hTBBW8zI9n7Dnd66DCf9ok7v4gM1-qxp2gZjb_eEnriIZQcCD3jLvW4q5_59OicwRN13rP_GY33E9HLUgw245zqSCIGd6gYnaCyxPNdhEa-W6-ZBBw1iWX8l-RJqDOUYwkrI7Lw-iea9CuiTbLjw_BJ5NGmd8D5GOVxFRnhJ7RBRrwa6p2_UqZqvdg8kneiyymbidRJCOZ_xkZ8OwL-ini_ge44CIEB7rvqwdf7DfwOjoDr7JU88gM0QgcE7kzx7cVUZpaJAXXhxLvOcb0MBuRiEyexrV6HrbOTafc9naJB26ejIXNHLsuIhpMMa5NEK60hGauLEMNlY\u0026s=PBAY7hysFiO8FGW6pdrKW6Ili9jQmcN_hW3DwHevxzD2SSDWlcohsHKn-63wmQdoePIibYSUqzB_1IETUJe0_SJGLXRGXm2YrWwn3mLdum6pTZYpthBhN1SQC6ROKKFgZbPrwg9j7pbm44ktTTfiO7aK53aVX9i7HLVrwl27vI79nr1UPegGqpBuiF7psApOTL0fvUDR-THsnUkYwxuFqB2f37a7k5wWSJ-naGwoQ6bOy4uuZa74wqOi3kGmE_WfX22xmY8qayQOggDHF8D41kArgE6li8sWNOf8topa54iaRigkfgNz-VRzCZeLMX7HKT1Tf5t6ETa2hppc5o8R9A\u0026h=1ULAhtdQvrnbe6jJjjxr3Q17jfW2IcyR-9r0zguIMGc", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "89" ], - "x-ms-client-request-id": [ "8cdf7832-14f0-4c11-8a66-bb3ea59e72f4" ], - "CommandName": [ "Az.DataProtection.Internal\\Start-AzDataProtectionBackupInstanceRestore" ], - "FullCommandName": [ "Start-AzDataProtectionBackupInstanceRestore_Trigger" ], + "x-ms-client-request-id": [ "9366c273-65d1-4214-9e16-cebc982ac12e" ], + "CommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc" ], + "FullCommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc_BackupExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -3712,39 +3799,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], + "Retry-After": [ "30" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "4a9061b8-b616-4ce3-86f6-4f33b6e389ad" ], - "x-ms-correlation-request-id": [ "4a9061b8-b616-4ce3-86f6-4f33b6e389ad" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015141Z:4a9061b8-b616-4ce3-86f6-4f33b6e389ad" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2ZjYzgxYjc3LWIwZGYtNDBkNy1hN2EwLWU4ZTFmMjU1YmRhNA==?api-version=2024-04-01\u0026t=638493513208525744\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=HnESiGkCOJ_8oaxILEqbDUv0CBRfP2N7VjV01H5uWlo9coDKfXPgAutUUJkC0u-xPMN5OsM2o6s_TxvOXaRRkcfSekgUYTQtzE-dV4qmKNi6ZMNRS_w4miZya_3yCO2UC0CkGjj1Z0MrSaLL98EA4xU4lKIg71k2Carynd8RILlZr9gAF1OlfGHn2tJrx6aYAQUhEa5sHEwV4YXhaVLUqUnEP323-bK0m9DvFgqL9qJHk6F-XdnPk4Sh6-blbcPCBxK6HiKxqIpkcw0AaGVarU22wOyaxRkv53HsazPrTwkWZiUjtmLP_GNiMpBT7QeZp3sPd05Yy9WOX7urypMspw\u0026h=WT33N5XL5BuUqeE5c7PVpKfSz-Qd94BF-TuXCQD-O9s" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "9ddb6cef-f7fc-489c-b998-2f700e735704" ], + "x-ms-correlation-request-id": [ "9ddb6cef-f7fc-489c-b998-2f700e735704" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240422T025520Z:9ddb6cef-f7fc-489c-b998-2f700e735704" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 997168105A034F0A8957B8AD7A9850A1 Ref B: MAA201060513029 Ref C: 2024-03-25T01:51:40Z" ], - "Date": [ "Mon, 25 Mar 2024 01:51:40 GMT" ] + "X-MSEdge-Ref": [ "Ref A: D56B9201F147417DA09A8FE957BF3E69 Ref B: MAA201060514035 Ref C: 2024-04-22T02:55:19Z" ], + "Date": [ "Mon, 22 Apr 2024 02:55:20 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "737" ], + "Content-Length": [ "245" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/operationStatus/NDY0ZDFhZGItNzk0My00NTljLTg3YjYtMjkxZmE1OTIxYWIyOzE4OTJlZTQ4LTExMjUtNDRlZC04NjQwLWY2M2ZmZGY4YzI2Mw==\",\"name\":\"NDY0ZDFhZGItNzk0My00NTljLTg3YjYtMjkxZmE1OTIxYWIyOzE4OTJlZTQ4LTExMjUtNDRlZC04NjQwLWY2M2ZmZGY4YzI2Mw==\",\"status\":\"Succeeded\",\"startTime\":\"2024-03-25T01:51:09.9388325Z\",\"endTime\":\"2024-03-25T01:51:10Z\",\"properties\":{\"jobId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/vdhingraRG/providers/Microsoft.DataProtection/BackupVaults/vdhingraBackupVault/backupJobs/8bbf18fa-5c2f-4ed1-adfa-9ee9989c320e\",\"objectType\":\"OperationJobExtendedInfo\"}}", + "Content": "{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/oss-pstest-rg/providers/Microsoft.DataProtection/BackupVaults/oss-pstest-vault/backupJobs/e5977846-f949-47de-b726-4a5ce5e4c29e\",\"objectType\":\"OperationJobExtendedInfo\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+MySQLRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/NDY0ZDFhZGItNzk0My00NTljLTg3YjYtMjkxZmE1OTIxYWIyOzE4OTJlZTQ4LTExMjUtNDRlZC04NjQwLWY2M2ZmZGY4YzI2Mw==?api-version=2023-12-01\u0026t=638469282701038691\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=qnFUtipq4Wiordb8X_fRdB-RExSEnPuPrB7VaJaKD12_LVowsT51mMuvdW8PAwHs2GR0c1ze6EDU6yE8-dYP1AcDlkr8-zUTDIN4Z2Jgy-z-ZZQHdQZdqDAuIKeLycLtkrpHJxEAeBaSEfWdLUlY6goRkEg6YoCX0MD7EE_KDBWEcjPdN28pp2Nomf5sklkcBZNJ_B7Pax4EyHf0V_CrPUyNxYF9ZHzjhCXTkuxWKYOXJFpNQG8im_WNavDgU_t-Gr-FBMcsvw2g9mpzuxyQhDYOXsYpechKVRmOlhMLrbPQhiET5BH9wEbLd_b7mEiipPHGL579HfeAmdWJJHxeMw\u0026h=o6kjTpXhF3wxf-DfyNmy1YPJJXfaooecGK0Mi-ysWIU+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/e5977846-f949-47de-b726-4a5ce5e4c29e?api-version=2024-04-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/NDY0ZDFhZGItNzk0My00NTljLTg3YjYtMjkxZmE1OTIxYWIyOzE4OTJlZTQ4LTExMjUtNDRlZC04NjQwLWY2M2ZmZGY4YzI2Mw==?api-version=2023-12-01\u0026t=638469282701038691\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=qnFUtipq4Wiordb8X_fRdB-RExSEnPuPrB7VaJaKD12_LVowsT51mMuvdW8PAwHs2GR0c1ze6EDU6yE8-dYP1AcDlkr8-zUTDIN4Z2Jgy-z-ZZQHdQZdqDAuIKeLycLtkrpHJxEAeBaSEfWdLUlY6goRkEg6YoCX0MD7EE_KDBWEcjPdN28pp2Nomf5sklkcBZNJ_B7Pax4EyHf0V_CrPUyNxYF9ZHzjhCXTkuxWKYOXJFpNQG8im_WNavDgU_t-Gr-FBMcsvw2g9mpzuxyQhDYOXsYpechKVRmOlhMLrbPQhiET5BH9wEbLd_b7mEiipPHGL579HfeAmdWJJHxeMw\u0026h=o6kjTpXhF3wxf-DfyNmy1YPJJXfaooecGK0Mi-ysWIU", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/e5977846-f949-47de-b726-4a5ce5e4c29e?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "90" ], - "x-ms-client-request-id": [ "8cdf7832-14f0-4c11-8a66-bb3ea59e72f4" ], - "CommandName": [ "Az.DataProtection.Internal\\Start-AzDataProtectionBackupInstanceRestore" ], - "FullCommandName": [ "Start-AzDataProtectionBackupInstanceRestore_Trigger" ], + "x-ms-client-request-id": [ "9f4abde4-9b6c-46a0-9a52-460b1a63dc8b" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], + "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], + "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { } @@ -3754,40 +3844,39 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "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/NDY0ZDFhZGItNzk0My00NTljLTg3YjYtMjkxZmE1OTIxYWIyOzE4OTJlZTQ4LTExMjUtNDRlZC04NjQwLWY2M2ZmZGY4YzI2Mw==?api-version=2023-12-01\u0026t=638469283020745542\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=l6UyloEeKn63m2UiDPKhqzGxFPjHUc8wCXnzruqSZHas4JS8cQz80_44ghuGchM1tneUKrspm2E2MFcHjy88NwJRmmQSYMofcY4QYcjBoryXMA8_XuaMs88Qf8Iro670T73F3b0GsB-qoL0C6mhprtd5SUKtV_PyWdXGT9jNIj5T9XryibFi8MNNciVeLvtFA6z4jdpwgrj_sD7gcrnjtRohrj--L66MYwqcliRf-Sxhzw1XmZpCCjc5v3ACf7vmFgMKtJ3dbaNzBn-gjPDEeL51IX138tpPeGmBuwuf-tKlQiC_H8BNBpp_QQbNPg--Uxwa0ygR0Rq0wZ5yxTrKJw\u0026h=lLsZzwgZKA9FrzJrzq38v-dBCjtTzl_jwMVLJby-URE" ], - "x-ms-request-id": [ "11fb8a44-6701-4b84-9e59-b0464bcf6a80" ], - "x-ms-correlation-request-id": [ "11fb8a44-6701-4b84-9e59-b0464bcf6a80" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015142Z:11fb8a44-6701-4b84-9e59-b0464bcf6a80" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], + "x-ms-request-id": [ "74d6948e-7440-4033-8bf4-31600cc2df9b" ], + "x-ms-correlation-request-id": [ "74d6948e-7440-4033-8bf4-31600cc2df9b" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240422T025532Z:74d6948e-7440-4033-8bf4-31600cc2df9b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: E8B52EB5AB5448C290C80F89AF315924 Ref B: MAA201060513029 Ref C: 2024-03-25T01:51:41Z" ], - "Date": [ "Mon, 25 Mar 2024 01:51:41 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 43C7CBC6EDDF4C30B77B5FE44905F284 Ref B: MAA201060514035 Ref C: 2024-04-22T02:55:30Z" ], + "Date": [ "Mon, 22 Apr 2024 02:55:32 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "245" ], + "Content-Length": [ "2247" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"jobId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/vdhingraRG/providers/Microsoft.DataProtection/BackupVaults/vdhingraBackupVault/backupJobs/8bbf18fa-5c2f-4ed1-adfa-9ee9989c320e\",\"objectType\":\"OperationJobExtendedInfo\"}", + "Content": "{\"properties\":{\"activityID\":\"9366c273-65d1-4214-9e16-cebc982ac12e\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-04-22T02%3A54%3A48.786204Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-22T02:54:48.5671162Z\",\"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/e5977846-f949-47de-b726-4a5ce5e4c29e\",\"name\":\"e5977846-f949-47de-b726-4a5ce5e4c29e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+MySQLRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/8bbf18fa-5c2f-4ed1-adfa-9ee9989c320e?api-version=2023-12-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/e5977846-f949-47de-b726-4a5ce5e4c29e?api-version=2024-04-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/8bbf18fa-5c2f-4ed1-adfa-9ee9989c320e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/e5977846-f949-47de-b726-4a5ce5e4c29e?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "91" ], - "x-ms-client-request-id": [ "4dab99f4-b252-4d6d-ba1c-59f852625215" ], + "x-ms-client-request-id": [ "49d6619c-1f36-4db5-96ab-44f81239c2c6" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3799,37 +3888,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "f475db76-7033-453e-a696-32ac6fe69bc8" ], - "x-ms-correlation-request-id": [ "f475db76-7033-453e-a696-32ac6fe69bc8" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015153Z:f475db76-7033-453e-a696-32ac6fe69bc8" ], + "x-ms-request-id": [ "35a16318-0e9a-4cdf-92df-8abf26d54a23" ], + "x-ms-correlation-request-id": [ "35a16318-0e9a-4cdf-92df-8abf26d54a23" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240422T025544Z:35a16318-0e9a-4cdf-92df-8abf26d54a23" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 89E06F531F81498E981A39CB5FA2ECDD Ref B: MAA201060513029 Ref C: 2024-03-25T01:51:52Z" ], - "Date": [ "Mon, 25 Mar 2024 01:51:52 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 620ED9D8310E4C09B900EB9A44A4B59F Ref B: MAA201060514035 Ref C: 2024-04-22T02:55:43Z" ], + "Date": [ "Mon, 22 Apr 2024 02:55:43 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2395" ], + "Content-Length": [ "2247" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"8cdf7832-14f0-4c11-8a66-bb3ea59e72f4\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/arhive-test-arhive-test-5ab61453-6bab-4333-82fb-cdbab5655b6f\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pstest-simple-mysql\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforMySQL/flexibleServers/arhive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"arhive-test\",\"policyName\":\"pstest-simple-mysql\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"arhive-test\",\"dataSourceName\":\"arhive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A51%3A10.2937939Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:51:10.1034377Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforMySQL/flexibleServers\",\"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\":\"6bb575f12a7644b8b6fda49949f2554b\",\"recoveryPointTime\":\"2024-03-25T01:49:51.7914104Z\"},\"recoveryDestination\":\"https://vdhingra1psa.blob.core.windows.net/powershellpgflexrestore\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"Restore File Prefix\":\"dummyprefix\"},\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/8bbf18fa-5c2f-4ed1-adfa-9ee9989c320e\",\"name\":\"8bbf18fa-5c2f-4ed1-adfa-9ee9989c320e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9366c273-65d1-4214-9e16-cebc982ac12e\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-04-22T02%3A54%3A48.786204Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-22T02:54:48.5671162Z\",\"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/e5977846-f949-47de-b726-4a5ce5e4c29e\",\"name\":\"e5977846-f949-47de-b726-4a5ce5e4c29e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+MySQLRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/8bbf18fa-5c2f-4ed1-adfa-9ee9989c320e?api-version=2023-12-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/e5977846-f949-47de-b726-4a5ce5e4c29e?api-version=2024-04-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/8bbf18fa-5c2f-4ed1-adfa-9ee9989c320e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/e5977846-f949-47de-b726-4a5ce5e4c29e?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "92" ], - "x-ms-client-request-id": [ "3dc753fe-fdf1-40bb-b639-95a228a92999" ], + "x-ms-client-request-id": [ "a03cc6ff-913d-44cc-a2ec-a83e270e595a" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3841,37 +3931,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "196" ], - "x-ms-request-id": [ "261104f6-3a66-4785-a7ec-dbc9a834add9" ], - "x-ms-correlation-request-id": [ "261104f6-3a66-4785-a7ec-dbc9a834add9" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015204Z:261104f6-3a66-4785-a7ec-dbc9a834add9" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "3af89920-eae9-4ad9-9d4a-22f2c2a0c49c" ], + "x-ms-correlation-request-id": [ "3af89920-eae9-4ad9-9d4a-22f2c2a0c49c" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240422T025556Z:3af89920-eae9-4ad9-9d4a-22f2c2a0c49c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: D0BFAEA22916459DAC543FA62D51F8BC Ref B: MAA201060513029 Ref C: 2024-03-25T01:52:03Z" ], - "Date": [ "Mon, 25 Mar 2024 01:52:04 GMT" ] + "X-MSEdge-Ref": [ "Ref A: AB69ED290F7C48CEAE7EC87C23C1DC7D Ref B: MAA201060514035 Ref C: 2024-04-22T02:55:54Z" ], + "Date": [ "Mon, 22 Apr 2024 02:55:55 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2395" ], + "Content-Length": [ "2247" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"8cdf7832-14f0-4c11-8a66-bb3ea59e72f4\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/arhive-test-arhive-test-5ab61453-6bab-4333-82fb-cdbab5655b6f\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pstest-simple-mysql\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforMySQL/flexibleServers/arhive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"arhive-test\",\"policyName\":\"pstest-simple-mysql\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"arhive-test\",\"dataSourceName\":\"arhive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A51%3A10.2937939Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:51:10.1034377Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforMySQL/flexibleServers\",\"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\":\"6bb575f12a7644b8b6fda49949f2554b\",\"recoveryPointTime\":\"2024-03-25T01:49:51.7914104Z\"},\"recoveryDestination\":\"https://vdhingra1psa.blob.core.windows.net/powershellpgflexrestore\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"Restore File Prefix\":\"dummyprefix\"},\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/8bbf18fa-5c2f-4ed1-adfa-9ee9989c320e\",\"name\":\"8bbf18fa-5c2f-4ed1-adfa-9ee9989c320e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9366c273-65d1-4214-9e16-cebc982ac12e\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-04-22T02%3A54%3A48.786204Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-22T02:54:48.5671162Z\",\"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/e5977846-f949-47de-b726-4a5ce5e4c29e\",\"name\":\"e5977846-f949-47de-b726-4a5ce5e4c29e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+MySQLRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/8bbf18fa-5c2f-4ed1-adfa-9ee9989c320e?api-version=2023-12-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/e5977846-f949-47de-b726-4a5ce5e4c29e?api-version=2024-04-01+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/8bbf18fa-5c2f-4ed1-adfa-9ee9989c320e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/e5977846-f949-47de-b726-4a5ce5e4c29e?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "93" ], - "x-ms-client-request-id": [ "0e4d2b18-7f6d-4d1f-940a-130f11f6014d" ], + "x-ms-client-request-id": [ "a23a3de5-b844-4f7a-a732-049437198f19" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3883,37 +3974,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "41381d88-c45f-4b48-8a22-fc68a30c64ac" ], - "x-ms-correlation-request-id": [ "41381d88-c45f-4b48-8a22-fc68a30c64ac" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015216Z:41381d88-c45f-4b48-8a22-fc68a30c64ac" ], + "x-ms-request-id": [ "7ca31f67-00f2-4df3-8f3c-bf48f6240af7" ], + "x-ms-correlation-request-id": [ "7ca31f67-00f2-4df3-8f3c-bf48f6240af7" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240422T025607Z:7ca31f67-00f2-4df3-8f3c-bf48f6240af7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 1D84E7ABCB094521B197C2AF0B2E8944 Ref B: MAA201060513029 Ref C: 2024-03-25T01:52:15Z" ], - "Date": [ "Mon, 25 Mar 2024 01:52:15 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 3B6EB877DDB848BB8FAC2F4D0CFD3FDA Ref B: MAA201060514035 Ref C: 2024-04-22T02:56:06Z" ], + "Date": [ "Mon, 22 Apr 2024 02:56:06 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2395" ], + "Content-Length": [ "2247" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"8cdf7832-14f0-4c11-8a66-bb3ea59e72f4\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/arhive-test-arhive-test-5ab61453-6bab-4333-82fb-cdbab5655b6f\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pstest-simple-mysql\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforMySQL/flexibleServers/arhive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"arhive-test\",\"policyName\":\"pstest-simple-mysql\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"arhive-test\",\"dataSourceName\":\"arhive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A51%3A10.2937939Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:51:10.1034377Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforMySQL/flexibleServers\",\"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\":\"6bb575f12a7644b8b6fda49949f2554b\",\"recoveryPointTime\":\"2024-03-25T01:49:51.7914104Z\"},\"recoveryDestination\":\"https://vdhingra1psa.blob.core.windows.net/powershellpgflexrestore\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"Restore File Prefix\":\"dummyprefix\"},\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/8bbf18fa-5c2f-4ed1-adfa-9ee9989c320e\",\"name\":\"8bbf18fa-5c2f-4ed1-adfa-9ee9989c320e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9366c273-65d1-4214-9e16-cebc982ac12e\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-04-22T02%3A54%3A48.786204Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-22T02:54:48.5671162Z\",\"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/e5977846-f949-47de-b726-4a5ce5e4c29e\",\"name\":\"e5977846-f949-47de-b726-4a5ce5e4c29e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+MySQLRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/8bbf18fa-5c2f-4ed1-adfa-9ee9989c320e?api-version=2023-12-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/e5977846-f949-47de-b726-4a5ce5e4c29e?api-version=2024-04-01+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/8bbf18fa-5c2f-4ed1-adfa-9ee9989c320e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/e5977846-f949-47de-b726-4a5ce5e4c29e?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "94" ], - "x-ms-client-request-id": [ "4bd2386d-416d-4f26-ac0e-8359db407863" ], + "x-ms-client-request-id": [ "3506b7dd-0d0c-4e3b-9638-4710cfb2a73e" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3925,37 +4017,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "c00582fe-2888-4af3-a4ce-6593708a1157" ], - "x-ms-correlation-request-id": [ "c00582fe-2888-4af3-a4ce-6593708a1157" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015227Z:c00582fe-2888-4af3-a4ce-6593708a1157" ], + "x-ms-request-id": [ "8702375f-04cd-43f8-8ef6-876af1ea7486" ], + "x-ms-correlation-request-id": [ "8702375f-04cd-43f8-8ef6-876af1ea7486" ], + "x-ms-routing-request-id": [ "JIOINDIACENTRAL:20240422T025619Z:8702375f-04cd-43f8-8ef6-876af1ea7486" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: E81CC94230D746D18C68B9A92D4ED2C6 Ref B: MAA201060513029 Ref C: 2024-03-25T01:52:26Z" ], - "Date": [ "Mon, 25 Mar 2024 01:52:26 GMT" ] + "X-MSEdge-Ref": [ "Ref A: ADD2FC97520B41B2AB36E7EFB43753F3 Ref B: MAA201060514035 Ref C: 2024-04-22T02:56:17Z" ], + "Date": [ "Mon, 22 Apr 2024 02:56:18 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2395" ], + "Content-Length": [ "2247" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"8cdf7832-14f0-4c11-8a66-bb3ea59e72f4\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/arhive-test-arhive-test-5ab61453-6bab-4333-82fb-cdbab5655b6f\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pstest-simple-mysql\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforMySQL/flexibleServers/arhive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"arhive-test\",\"policyName\":\"pstest-simple-mysql\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"arhive-test\",\"dataSourceName\":\"arhive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A51%3A10.2937939Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:51:10.1034377Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforMySQL/flexibleServers\",\"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\":\"6bb575f12a7644b8b6fda49949f2554b\",\"recoveryPointTime\":\"2024-03-25T01:49:51.7914104Z\"},\"recoveryDestination\":\"https://vdhingra1psa.blob.core.windows.net/powershellpgflexrestore\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"Restore File Prefix\":\"dummyprefix\"},\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/8bbf18fa-5c2f-4ed1-adfa-9ee9989c320e\",\"name\":\"8bbf18fa-5c2f-4ed1-adfa-9ee9989c320e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9366c273-65d1-4214-9e16-cebc982ac12e\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-04-22T02%3A54%3A48.786204Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-22T02:54:48.5671162Z\",\"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/e5977846-f949-47de-b726-4a5ce5e4c29e\",\"name\":\"e5977846-f949-47de-b726-4a5ce5e4c29e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+MySQLRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/8bbf18fa-5c2f-4ed1-adfa-9ee9989c320e?api-version=2023-12-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/e5977846-f949-47de-b726-4a5ce5e4c29e?api-version=2024-04-01+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/8bbf18fa-5c2f-4ed1-adfa-9ee9989c320e?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/e5977846-f949-47de-b726-4a5ce5e4c29e?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "95" ], - "x-ms-client-request-id": [ "2d92e8c4-af85-4c9f-aec8-e8df67fedd8d" ], + "x-ms-client-request-id": [ "8b8009a9-2c01-439f-b17f-e4c66e64a06f" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3967,1294 +4060,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "48d956ef-afd7-4a99-b977-867ef766494b" ], - "x-ms-correlation-request-id": [ "48d956ef-afd7-4a99-b977-867ef766494b" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015238Z:48d956ef-afd7-4a99-b977-867ef766494b" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "0259a7c2-cefa-4c50-91df-0a63067bdb78" ], + "x-ms-correlation-request-id": [ "0259a7c2-cefa-4c50-91df-0a63067bdb78" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240422T025630Z:0259a7c2-cefa-4c50-91df-0a63067bdb78" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: AA1FC4D7764C438586C8F6C01B5BEB20 Ref B: MAA201060513029 Ref C: 2024-03-25T01:52:37Z" ], - "Date": [ "Mon, 25 Mar 2024 01:52:37 GMT" ] + "X-MSEdge-Ref": [ "Ref A: E30AF51BAA244A81A5D22D440FC3695F Ref B: MAA201060514035 Ref C: 2024-04-22T02:56:29Z" ], + "Date": [ "Mon, 22 Apr 2024 02:56:29 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2395" ], + "Content-Length": [ "2527" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"8cdf7832-14f0-4c11-8a66-bb3ea59e72f4\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/arhive-test-arhive-test-5ab61453-6bab-4333-82fb-cdbab5655b6f\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pstest-simple-mysql\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforMySQL/flexibleServers/arhive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"arhive-test\",\"policyName\":\"pstest-simple-mysql\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"arhive-test\",\"dataSourceName\":\"arhive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A51%3A10.2937939Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:51:10.1034377Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforMySQL/flexibleServers\",\"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\":\"6bb575f12a7644b8b6fda49949f2554b\",\"recoveryPointTime\":\"2024-03-25T01:49:51.7914104Z\"},\"recoveryDestination\":\"https://vdhingra1psa.blob.core.windows.net/powershellpgflexrestore\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"Restore File Prefix\":\"dummyprefix\"},\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/8bbf18fa-5c2f-4ed1-adfa-9ee9989c320e\",\"name\":\"8bbf18fa-5c2f-4ed1-adfa-9ee9989c320e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9366c273-65d1-4214-9e16-cebc982ac12e\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-04-22T02%3A56%3A23.488971Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-22T02:54:48.5671162Z\",\"endTime\":\"2024-04-22T02:56:23.3101271Z\",\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"Completed\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT1M34.7430109S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":2063.0,\"targetRecoverPoint\":{\"recoveryPointID\":\"2001797b6a074e55ac397e021cf5e22b\",\"recoveryPointTime\":\"0001-01-01T00:00:00Z\"},\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"Completed\",\"taskProgress\":null,\"additionalDetails\":{\"OriginalDatasourceSizeInBytes\":\"8876703\",\"TaskId\":\"9366c273-65d1-4214-9e16-cebc982ac12e\",\"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/e5977846-f949-47de-b726-4a5ce5e4c29e\",\"name\":\"e5977846-f949-47de-b726-4a5ce5e4c29e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+MySQLRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/8bbf18fa-5c2f-4ed1-adfa-9ee9989c320e?api-version=2023-12-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-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints?api-version=2024-04-01+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/8bbf18fa-5c2f-4ed1-adfa-9ee9989c320e?api-version=2023-12-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-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "96" ], - "x-ms-client-request-id": [ "ed9e9a97-262d-4371-ba32-1d3586d36204" ], - "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], - "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "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-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "6a2cbc5e-1545-40c7-b4d6-0155cb4f9679" ], - "x-ms-correlation-request-id": [ "6a2cbc5e-1545-40c7-b4d6-0155cb4f9679" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015249Z:6a2cbc5e-1545-40c7-b4d6-0155cb4f9679" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: DF6E93A63F3645E6999E0A1EE31D7F91 Ref B: MAA201060513029 Ref C: 2024-03-25T01:52:48Z" ], - "Date": [ "Mon, 25 Mar 2024 01:52:48 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "2567" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"activityID\":\"8cdf7832-14f0-4c11-8a66-bb3ea59e72f4\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupInstances/arhive-test-arhive-test-5ab61453-6bab-4333-82fb-cdbab5655b6f\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupPolicies/pstest-simple-mysql\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DBforMySQL/flexibleServers/arhive-test\",\"vaultName\":\"vdhingraBackupVault\",\"backupInstanceFriendlyName\":\"arhive-test\",\"policyName\":\"pstest-simple-mysql\",\"sourceResourceGroup\":\"vdhingraRG\",\"dataSourceSetName\":\"arhive-test\",\"dataSourceName\":\"arhive-test\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272024-03-25T01%3A52%3A44.9206576Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:51:10.1034377Z\",\"endTime\":\"2024-03-25T01:52:44.744789Z\",\"dataSourceType\":\"Microsoft.DBforMySQL/flexibleServers\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"Completed\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT1M34.6413513S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"6bb575f12a7644b8b6fda49949f2554b\",\"recoveryPointTime\":\"2024-03-25T01:49:51.7914104Z\"},\"recoveryDestination\":\"https://vdhingra1psa.blob.core.windows.net/powershellpgflexrestore\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"Completed\",\"taskProgress\":null,\"additionalDetails\":{\"DataTransferredInBytes\":\"623768004\",\"TaskId\":\"8cdf7832-14f0-4c11-8a66-bb3ea59e72f4\",\"DatasourceType\":\"Microsoft.DBforMySQL/flexibleServers\"}}],\"additionalDetails\":{\"Restore File Prefix\":\"dummyprefix\"},\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/vdhingraRG/providers/Microsoft.DataProtection/backupVaults/vdhingraBackupVault/backupJobs/8bbf18fa-5c2f-4ed1-adfa-9ee9989c320e\",\"name\":\"8bbf18fa-5c2f-4ed1-adfa-9ee9989c320e\",\"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?api-version=2023-12-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-12-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "97" ], - "x-ms-client-request-id": [ "99a1910a-9023-4c30-a2d4-d07930f8eb5a" ], - "CommandName": [ "Get-AzDataProtectionBackupVault" ], - "FullCommandName": [ "Get-AzDataProtectionBackupVault_Get2" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "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": [ "499" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "04a1467b-b3c2-4b6c-a9e9-d2e1fce67c57" ], - "x-ms-correlation-request-id": [ "04a1467b-b3c2-4b6c-a9e9-d2e1fce67c57" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015251Z:04a1467b-b3c2-4b6c-a9e9-d2e1fce67c57" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 6EA7206907FB497E8FA9ECF3059DDEE5 Ref B: MAA201060513029 Ref C: 2024-03-25T01:52:49Z" ], - "Date": [ "Mon, 25 Mar 2024 01:52:50 GMT" ] - }, - "ContentHeaders": { - "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\",\"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-12-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-12-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "98" ], - "x-ms-client-request-id": [ "e795b0c1-43f6-431c-9564-43d3553f804f" ], - "CommandName": [ "Get-AzDataProtectionBackupInstance" ], - "FullCommandName": [ "Get-AzDataProtectionBackupInstance_List" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "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": [ "1999" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "5fa80faf-00b0-4147-84ae-bd5532799cce" ], - "x-ms-correlation-request-id": [ "5fa80faf-00b0-4147-84ae-bd5532799cce" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015253Z:5fa80faf-00b0-4147-84ae-bd5532799cce" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: AF716C769978439C8EE2B534812959C4 Ref B: MAA201060513029 Ref C: 2024-03-25T01:52:51Z" ], - "Date": [ "Mon, 25 Mar 2024 01:52:52 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "5916" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"value\":[{\"properties\":{\"friendlyName\":\"csrecypostgrestest\\\\postgres\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DBforPostgreSQL/servers/csrecypostgrestest/databases/postgres\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"resourceName\":\"postgres\",\"resourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"resourceLocation\":\"eastus2euap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DBforPostgreSQL/servers/csrecypostgrestest\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"resourceName\":\"csrecypostgrestest\",\"resourceType\":\"Microsoft.DBforPostgreSQL/servers\",\"resourceLocation\":\"eastus2euap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupPolicies/CSROssPolicy\",\"policyVersion\":\"\"},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"datasourceAuthCredentials\":{\"objectType\":\"SecretStoreBasedAuthCredentials\",\"secretStoreResource\":{\"uri\":\"https://csrportaltestkv.vault.azure.net/secrets/CSRPortalTestPostgres\",\"value\":null,\"secretStoreType\":\"AzureKeyVault\"}},\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f\",\"name\":\"csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"CSREcyTestDisk1\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.Compute/disks/CSREcyTestDisk1\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.Compute/disks/CSREcyTestDisk1\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"CSREcyTestDisk1\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"eastus2euap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.Compute/disks/CSREcyTestDisk1\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.Compute/disks/CSREcyTestDisk1\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"CSREcyTestDisk1\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"eastus2euap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupPolicies/CSRDiskPolicy\",\"policyVersion\":\"\",\"policyParameters\":{\"dataStoreParametersList\":[{\"objectType\":\"AzureOperationalStoreParameters\",\"dataStoreType\":\"OperationalStore\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg\"}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/CSREcyTestDisk1-CSREcyTestDisk1-8d873cb3-df03-47ba-9cdb-2b94e58f1072\",\"name\":\"CSREcyTestDisk1-CSREcyTestDisk1-8d873cb3-df03-47ba-9cdb-2b94e58f1072\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"csrtestrgecy\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/DppPostgresTestingEcy/providers/Microsoft.Storage/storageAccounts/csrtestrgecy\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/DppPostgresTestingEcy/providers/Microsoft.Storage/storageAccounts/csrtestrgecy\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"csrtestrgecy\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"eastus2euap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/DppPostgresTestingEcy/providers/Microsoft.Storage/storageAccounts/csrtestrgecy\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/DppPostgresTestingEcy/providers/Microsoft.Storage/storageAccounts/csrtestrgecy\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"csrtestrgecy\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"eastus2euap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupPolicies/csrblobpolicy2\",\"policyVersion\":\"\",\"policyParameters\":{\"backupDatasourceParametersList\":[{\"objectType\":\"BlobBackupDatasourceParameters\",\"containersList\":[\"dnstestcon\"]}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrtestrgecy-csrtestrgecy-a8a22bdb-6b4e-4e49-b730-2fb7f8ff205c\",\"name\":\"csrtestrgecy-csrtestrgecy-a8a22bdb-6b4e-4e49-b730-2fb7f8ff205c\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"}]}", - "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-12-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-12-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "99" ], - "x-ms-client-request-id": [ "e4133855-9b7e-4e5f-99fa-770065c9afc2" ], - "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionRecoveryPoint" ], - "FullCommandName": [ "Get-AzDataProtectionRecoveryPoint_List" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "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": [ "99" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "987968a6-560d-4b7b-9dc2-a015f7b783f8" ], - "x-ms-correlation-request-id": [ "987968a6-560d-4b7b-9dc2-a015f7b783f8" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015254Z:987968a6-560d-4b7b-9dc2-a015f7b783f8" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 36A534A1ADAC433ABED098772BA8F4D2 Ref B: MAA201060513029 Ref C: 2024-03-25T01:52:53Z" ], - "Date": [ "Mon, 25 Mar 2024 01:52:53 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "1144" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"value\":[{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"3aa4114473584905bc4fe653451ac631\",\"recoveryPointTime\":\"2023-12-31T23:30:49.4084489Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"afab8850d67443c5a90bba8770363e8a\",\"recoveryPointDataStoresDetails\":[{\"id\":\"7b389110-a921-4120-b4ab-6e0a3cd13351\",\"type\":\"VaultStore\",\"creationTime\":\"2023-12-31T23:30:49.4084489Z\",\"expiryTime\":\"2024-03-31T23:30:49.4084489Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638037610754051287\",\"policyName\":\"CSROssPolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-31T23:30:49.4084489Z\",\"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/3aa4114473584905bc4fe653451ac631\",\"name\":\"3aa4114473584905bc4fe653451ac631\",\"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-12-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-12-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-03-2024-1-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\": \"3aa4114473584905bc4fe653451ac631\"\r\n }\r\n}", - "isContentBase64": false, - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "828" ] - } - }, - "Response": { - "StatusCode": 202, - "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/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzFjZDgwZGU2LWQ1YjQtNDY2Zi05NzY5LTE3ZTQ4NGY5ZTExNg==?api-version=2023-12-01\u0026t=638469283751759702\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=KI38BJMTjAwyVNyqLNjksIPpUjg1wUTjKYVHCq2ED71vFKMRiFPFbFXmiOtYMAJ7MzpA1pv8VwUeg4o7DbdlIJdIpUhs54-xcr8oKnjjMR-Mfjdx9xtMwPDUOGMTvPQjodSC1N3rrcDcr1ROUQWIWadRoVwLP4lRAgaxFsfQH3QFYUoKvqLsmnhKbu0-23FRlpK8XmyJIt9WClLNHswMHdxNlWdLmGz4F-qnJ8huVEDtlKqDFY8_TsrSJ9O2QNz-OVut50oPc-DNv4MoWfDg3j4mImi_dLxTAI8-p3IA6B35R7IKbz21ePkcQQRahm_X6DUGqIc9IcsixcYbPujr-A\u0026h=TW7um-0sFMNaN1Nxgsri7YIqMhldrLAXmN3RNAoepyg" ], - "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/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzFjZDgwZGU2LWQ1YjQtNDY2Zi05NzY5LTE3ZTQ4NGY5ZTExNg==?api-version=2023-12-01\u0026t=638469283751603119\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=TP4QcpZYjSbBNg_jQi9I-0EAO358E8TcbxQRM4hq0WXAMA_onaxY4oRKOc3yWxzO82WCc83RTeM3CqqU18ebBCfofPZqFAi1LIViMRnTAH0hZW876XyeU_XkUYb381G-gV_hbPhjuaj1Gt7zuUlAOHOhZInEs8Ow7phfDMbFesHlTvlvUHSVJDD8fr9xO-K8r24xk2eKcsXW5JAxriZc27I_fn9u8ceCaDNm8A9-TQTVplPTEOxP0TslBvQ1mvt0e5irXzvYiJI7RJIv8U-FQPmOriUViA9CYk9xBaxIV5D5OK68IIoxTqDuhmBMlzp9XzVC2atuZm5S94D05MLwcA\u0026h=Yh0aryru8bm3HpFis0xO2tXtU4XGEDnAXOfT_9jISsA" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], - "x-ms-request-id": [ "5dff9240-d646-4a44-8902-01146c95eb59" ], - "x-ms-correlation-request-id": [ "5dff9240-d646-4a44-8902-01146c95eb59" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015255Z:5dff9240-d646-4a44-8902-01146c95eb59" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: B4C732C732C944F28E92FA3C7236E60C Ref B: MAA201060513029 Ref C: 2024-03-25T01:52:54Z" ], - "Date": [ "Mon, 25 Mar 2024 01:52:54 GMT" ] - }, - "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] - }, - "Content": null, - "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/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzFjZDgwZGU2LWQ1YjQtNDY2Zi05NzY5LTE3ZTQ4NGY5ZTExNg==?api-version=2023-12-01\u0026t=638469283751603119\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=TP4QcpZYjSbBNg_jQi9I-0EAO358E8TcbxQRM4hq0WXAMA_onaxY4oRKOc3yWxzO82WCc83RTeM3CqqU18ebBCfofPZqFAi1LIViMRnTAH0hZW876XyeU_XkUYb381G-gV_hbPhjuaj1Gt7zuUlAOHOhZInEs8Ow7phfDMbFesHlTvlvUHSVJDD8fr9xO-K8r24xk2eKcsXW5JAxriZc27I_fn9u8ceCaDNm8A9-TQTVplPTEOxP0TslBvQ1mvt0e5irXzvYiJI7RJIv8U-FQPmOriUViA9CYk9xBaxIV5D5OK68IIoxTqDuhmBMlzp9XzVC2atuZm5S94D05MLwcA\u0026h=Yh0aryru8bm3HpFis0xO2tXtU4XGEDnAXOfT_9jISsA+5": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/operationStatus/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzFjZDgwZGU2LWQ1YjQtNDY2Zi05NzY5LTE3ZTQ4NGY5ZTExNg==?api-version=2023-12-01\u0026t=638469283751603119\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=TP4QcpZYjSbBNg_jQi9I-0EAO358E8TcbxQRM4hq0WXAMA_onaxY4oRKOc3yWxzO82WCc83RTeM3CqqU18ebBCfofPZqFAi1LIViMRnTAH0hZW876XyeU_XkUYb381G-gV_hbPhjuaj1Gt7zuUlAOHOhZInEs8Ow7phfDMbFesHlTvlvUHSVJDD8fr9xO-K8r24xk2eKcsXW5JAxriZc27I_fn9u8ceCaDNm8A9-TQTVplPTEOxP0TslBvQ1mvt0e5irXzvYiJI7RJIv8U-FQPmOriUViA9CYk9xBaxIV5D5OK68IIoxTqDuhmBMlzp9XzVC2atuZm5S94D05MLwcA\u0026h=Yh0aryru8bm3HpFis0xO2tXtU4XGEDnAXOfT_9jISsA", - "Content": null, - "isContentBase64": false, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "101" ], - "x-ms-client-request-id": [ "094b517d-7092-42a4-8282-33369574dc4f" ], - "CommandName": [ "Az.DataProtection.Internal\\Test-AzDataProtectionBackupInstanceRestore" ], - "FullCommandName": [ "Test-AzDataProtectionBackupInstanceRestore_Validate1" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "5d59f0a0-b843-475e-8f36-ded29ae91915" ], - "x-ms-correlation-request-id": [ "5d59f0a0-b843-475e-8f36-ded29ae91915" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015306Z:5d59f0a0-b843-475e-8f36-ded29ae91915" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: CADF9FF0F2644D6984DE616A4D082BE3 Ref B: MAA201060513029 Ref C: 2024-03-25T01:53:05Z" ], - "Date": [ "Mon, 25 Mar 2024 01:53:05 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/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzFjZDgwZGU2LWQ1YjQtNDY2Zi05NzY5LTE3ZTQ4NGY5ZTExNg==\",\"name\":\"MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzFjZDgwZGU2LWQ1YjQtNDY2Zi05NzY5LTE3ZTQ4NGY5ZTExNg==\",\"status\":\"Inprogress\",\"startTime\":\"2024-03-25T01:52:55.0005591Z\",\"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/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzFjZDgwZGU2LWQ1YjQtNDY2Zi05NzY5LTE3ZTQ4NGY5ZTExNg==?api-version=2023-12-01\u0026t=638469283751603119\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=TP4QcpZYjSbBNg_jQi9I-0EAO358E8TcbxQRM4hq0WXAMA_onaxY4oRKOc3yWxzO82WCc83RTeM3CqqU18ebBCfofPZqFAi1LIViMRnTAH0hZW876XyeU_XkUYb381G-gV_hbPhjuaj1Gt7zuUlAOHOhZInEs8Ow7phfDMbFesHlTvlvUHSVJDD8fr9xO-K8r24xk2eKcsXW5JAxriZc27I_fn9u8ceCaDNm8A9-TQTVplPTEOxP0TslBvQ1mvt0e5irXzvYiJI7RJIv8U-FQPmOriUViA9CYk9xBaxIV5D5OK68IIoxTqDuhmBMlzp9XzVC2atuZm5S94D05MLwcA\u0026h=Yh0aryru8bm3HpFis0xO2tXtU4XGEDnAXOfT_9jISsA+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/operationStatus/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzFjZDgwZGU2LWQ1YjQtNDY2Zi05NzY5LTE3ZTQ4NGY5ZTExNg==?api-version=2023-12-01\u0026t=638469283751603119\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=TP4QcpZYjSbBNg_jQi9I-0EAO358E8TcbxQRM4hq0WXAMA_onaxY4oRKOc3yWxzO82WCc83RTeM3CqqU18ebBCfofPZqFAi1LIViMRnTAH0hZW876XyeU_XkUYb381G-gV_hbPhjuaj1Gt7zuUlAOHOhZInEs8Ow7phfDMbFesHlTvlvUHSVJDD8fr9xO-K8r24xk2eKcsXW5JAxriZc27I_fn9u8ceCaDNm8A9-TQTVplPTEOxP0TslBvQ1mvt0e5irXzvYiJI7RJIv8U-FQPmOriUViA9CYk9xBaxIV5D5OK68IIoxTqDuhmBMlzp9XzVC2atuZm5S94D05MLwcA\u0026h=Yh0aryru8bm3HpFis0xO2tXtU4XGEDnAXOfT_9jISsA", - "Content": null, - "isContentBase64": false, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "102" ], - "x-ms-client-request-id": [ "094b517d-7092-42a4-8282-33369574dc4f" ], - "CommandName": [ "Az.DataProtection.Internal\\Test-AzDataProtectionBackupInstanceRestore" ], - "FullCommandName": [ "Test-AzDataProtectionBackupInstanceRestore_Validate1" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "5b9670be-8170-4ddf-ae1f-f349d9bdd229" ], - "x-ms-correlation-request-id": [ "5b9670be-8170-4ddf-ae1f-f349d9bdd229" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015337Z:5b9670be-8170-4ddf-ae1f-f349d9bdd229" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 4A266AC8CCE140F7AF22AB86F88CD1E0 Ref B: MAA201060513029 Ref C: 2024-03-25T01:53:36Z" ], - "Date": [ "Mon, 25 Mar 2024 01:53:36 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/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzFjZDgwZGU2LWQ1YjQtNDY2Zi05NzY5LTE3ZTQ4NGY5ZTExNg==\",\"name\":\"MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzFjZDgwZGU2LWQ1YjQtNDY2Zi05NzY5LTE3ZTQ4NGY5ZTExNg==\",\"status\":\"Succeeded\",\"startTime\":\"2024-03-25T01:52:55.0005591Z\",\"endTime\":\"2024-03-25T01:53:15Z\"}", - "isContentBase64": false - } - }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+CrossSubscriptionRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzFjZDgwZGU2LWQ1YjQtNDY2Zi05NzY5LTE3ZTQ4NGY5ZTExNg==?api-version=2023-12-01\u0026t=638469283751759702\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=KI38BJMTjAwyVNyqLNjksIPpUjg1wUTjKYVHCq2ED71vFKMRiFPFbFXmiOtYMAJ7MzpA1pv8VwUeg4o7DbdlIJdIpUhs54-xcr8oKnjjMR-Mfjdx9xtMwPDUOGMTvPQjodSC1N3rrcDcr1ROUQWIWadRoVwLP4lRAgaxFsfQH3QFYUoKvqLsmnhKbu0-23FRlpK8XmyJIt9WClLNHswMHdxNlWdLmGz4F-qnJ8huVEDtlKqDFY8_TsrSJ9O2QNz-OVut50oPc-DNv4MoWfDg3j4mImi_dLxTAI8-p3IA6B35R7IKbz21ePkcQQRahm_X6DUGqIc9IcsixcYbPujr-A\u0026h=TW7um-0sFMNaN1Nxgsri7YIqMhldrLAXmN3RNAoepyg+7": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzFjZDgwZGU2LWQ1YjQtNDY2Zi05NzY5LTE3ZTQ4NGY5ZTExNg==?api-version=2023-12-01\u0026t=638469283751759702\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=KI38BJMTjAwyVNyqLNjksIPpUjg1wUTjKYVHCq2ED71vFKMRiFPFbFXmiOtYMAJ7MzpA1pv8VwUeg4o7DbdlIJdIpUhs54-xcr8oKnjjMR-Mfjdx9xtMwPDUOGMTvPQjodSC1N3rrcDcr1ROUQWIWadRoVwLP4lRAgaxFsfQH3QFYUoKvqLsmnhKbu0-23FRlpK8XmyJIt9WClLNHswMHdxNlWdLmGz4F-qnJ8huVEDtlKqDFY8_TsrSJ9O2QNz-OVut50oPc-DNv4MoWfDg3j4mImi_dLxTAI8-p3IA6B35R7IKbz21ePkcQQRahm_X6DUGqIc9IcsixcYbPujr-A\u0026h=TW7um-0sFMNaN1Nxgsri7YIqMhldrLAXmN3RNAoepyg", - "Content": null, - "isContentBase64": false, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "103" ], - "x-ms-client-request-id": [ "094b517d-7092-42a4-8282-33369574dc4f" ], - "CommandName": [ "Az.DataProtection.Internal\\Test-AzDataProtectionBackupInstanceRestore" ], - "FullCommandName": [ "Test-AzDataProtectionBackupInstanceRestore_Validate1" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "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/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzFjZDgwZGU2LWQ1YjQtNDY2Zi05NzY5LTE3ZTQ4NGY5ZTExNg==?api-version=2023-12-01\u0026t=638469284181761335\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=W3v-VuzsVilRq9HcnWRHJWS8J_z665LWEPRb8hz0SgD5Ar5RpPPdtKgXZiYIzf8Fbz5LNJ1fafnCw-kKLvxUU3CIGnq0keM2-gvqrKTOvlPd_72r_FKglGKWVX4al4_Vh11OD0UiJS7YV3BcDTkHkW-n1OD9e8jzP6hFqczIZNlkdy_PGS0yebnI2IEkKs5anS29p6OB2RHWPh5WgpLK_GawK2EC46SaxuJBwxj0q8zGgON1FsjDvaWWjU5PstPBudJ00ozuBacTW9MnGTuCfIOByfFZqspvV-98FAWbu5BMn7i7__bfN9oar66x4HMS9uau7M06jmxP6HdeM9ssIg\u0026h=d7sLaOZYINnSasy3gY-tnwfvaFVoNyPXdGSkze5OP5U" ], - "x-ms-request-id": [ "290fc43f-7d2d-48d1-9fc7-fd0a33a17367" ], - "x-ms-correlation-request-id": [ "290fc43f-7d2d-48d1-9fc7-fd0a33a17367" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015338Z:290fc43f-7d2d-48d1-9fc7-fd0a33a17367" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: DD4500CB8A6B4ABA9ED7F8F3337E2A9B Ref B: MAA201060513029 Ref C: 2024-03-25T01:53:37Z" ], - "Date": [ "Mon, 25 Mar 2024 01:53:37 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "41" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"objectType\":\"OperationJobExtendedInfo\"}", - "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-12-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-12-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-03-2024-1-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\": \"3aa4114473584905bc4fe653451ac631\"\r\n}", - "isContentBase64": false, - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "766" ] - } - }, - "Response": { - "StatusCode": 202, - "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/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2O2UyM2JkZWJkLWZhNDAtNDhkZi05ZGY3LTZlMGU2MGRhYjMzNw==?api-version=2023-12-01\u0026t=638469284189579627\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=in2axQqgCQy7cX4gqEvL0N0EJgBZEh78xgu1naeI9Gp1D2JQCFBDd7Np7QA2m5M8-1tDLLi6kEkDdrTfdF8joEjj9eL4YyDAiaC_0AKlcaTStGq0AyIGY8Inkr_qtkTMfDUZgfdgVqiA4Hl71Pcs-Roy6d5qzVZE8kQHrq22cjaru6waU5t-hGq5rI09k9CSc0YkQQO5uQuEsqyzCBzjbv140r89DkxASxl1BlWSposFZzR6bXhrc6zm91_hFD0V4B0BkUmxzNmDUaEqE8a4lU-y06bC8nNHB7VB3CqalMyZZKClxXCPfwItxLP0vYoii0ttoBPBna2GjoLanbda7g\u0026h=K963spfW-Hle7lTdhyVocKTN93S0bKCxo9hR-shhM-o" ], - "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/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2O2UyM2JkZWJkLWZhNDAtNDhkZi05ZGY3LTZlMGU2MGRhYjMzNw==?api-version=2023-12-01\u0026t=638469284189423699\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=rGNZvE13KDOCMzBroSoyk9aRv_4KtSttpIg4iactWovbj5ld7FU3pzWTYJgAyiy6fF8rg_v6ieYK8b_KpySXsa85X8R9YnMPNqcGy85S4KYCmZ4A7AMfab4hC09hL0Z0WdHlBloSv8vHAW0VVLCCIOt9jvTSfgOocOU9XYTLXXIS2-yZqFW-Hg7Nqe3DF9HCV5MiiJu9wFPRF81lw0mhsUHsO0IB853Wl5pThvto0ozsSGKPKxCYYSdPxYaPLZDqrepM5cH4TJbGDhn7N8b8Mz1l2sCvZpV1X3fvFavIW9_DjjiU_v6Eww_lHFLhRcEGS04Z6mQmmt2khJD4L0aGmw\u0026h=LHCfQGdQeVQtSdKChvLkUafInKZTgUeYbdFJaWjDtLw" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], - "x-ms-request-id": [ "a8c0913d-cd34-486b-b9cd-4303196ce4f9" ], - "x-ms-correlation-request-id": [ "a8c0913d-cd34-486b-b9cd-4303196ce4f9" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015338Z:a8c0913d-cd34-486b-b9cd-4303196ce4f9" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: AEF55713558E4A7DB6C58C19F6DE00FC Ref B: MAA201060513029 Ref C: 2024-03-25T01:53:38Z" ], - "Date": [ "Mon, 25 Mar 2024 01:53:38 GMT" ] - }, - "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] - }, - "Content": null, - "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/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2O2UyM2JkZWJkLWZhNDAtNDhkZi05ZGY3LTZlMGU2MGRhYjMzNw==?api-version=2023-12-01\u0026t=638469284189423699\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=rGNZvE13KDOCMzBroSoyk9aRv_4KtSttpIg4iactWovbj5ld7FU3pzWTYJgAyiy6fF8rg_v6ieYK8b_KpySXsa85X8R9YnMPNqcGy85S4KYCmZ4A7AMfab4hC09hL0Z0WdHlBloSv8vHAW0VVLCCIOt9jvTSfgOocOU9XYTLXXIS2-yZqFW-Hg7Nqe3DF9HCV5MiiJu9wFPRF81lw0mhsUHsO0IB853Wl5pThvto0ozsSGKPKxCYYSdPxYaPLZDqrepM5cH4TJbGDhn7N8b8Mz1l2sCvZpV1X3fvFavIW9_DjjiU_v6Eww_lHFLhRcEGS04Z6mQmmt2khJD4L0aGmw\u0026h=LHCfQGdQeVQtSdKChvLkUafInKZTgUeYbdFJaWjDtLw+9": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/operationStatus/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2O2UyM2JkZWJkLWZhNDAtNDhkZi05ZGY3LTZlMGU2MGRhYjMzNw==?api-version=2023-12-01\u0026t=638469284189423699\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=rGNZvE13KDOCMzBroSoyk9aRv_4KtSttpIg4iactWovbj5ld7FU3pzWTYJgAyiy6fF8rg_v6ieYK8b_KpySXsa85X8R9YnMPNqcGy85S4KYCmZ4A7AMfab4hC09hL0Z0WdHlBloSv8vHAW0VVLCCIOt9jvTSfgOocOU9XYTLXXIS2-yZqFW-Hg7Nqe3DF9HCV5MiiJu9wFPRF81lw0mhsUHsO0IB853Wl5pThvto0ozsSGKPKxCYYSdPxYaPLZDqrepM5cH4TJbGDhn7N8b8Mz1l2sCvZpV1X3fvFavIW9_DjjiU_v6Eww_lHFLhRcEGS04Z6mQmmt2khJD4L0aGmw\u0026h=LHCfQGdQeVQtSdKChvLkUafInKZTgUeYbdFJaWjDtLw", - "Content": null, - "isContentBase64": false, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "105" ], - "x-ms-client-request-id": [ "d1fbf87f-61b5-4d4b-b498-82ded68304ce" ], - "CommandName": [ "Az.DataProtection.Internal\\Start-AzDataProtectionBackupInstanceRestore" ], - "FullCommandName": [ "Start-AzDataProtectionBackupInstanceRestore_Trigger" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "3a8ad2b8-b984-46aa-ab28-9b7c6aab9008" ], - "x-ms-correlation-request-id": [ "3a8ad2b8-b984-46aa-ab28-9b7c6aab9008" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015410Z:3a8ad2b8-b984-46aa-ab28-9b7c6aab9008" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: C449533F6FB94E63A52A62614770D6DE Ref B: MAA201060513029 Ref C: 2024-03-25T01:54:09Z" ], - "Date": [ "Mon, 25 Mar 2024 01:54:10 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "732" ], - "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/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2O2UyM2JkZWJkLWZhNDAtNDhkZi05ZGY3LTZlMGU2MGRhYjMzNw==\",\"name\":\"MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2O2UyM2JkZWJkLWZhNDAtNDhkZi05ZGY3LTZlMGU2MGRhYjMzNw==\",\"status\":\"Succeeded\",\"startTime\":\"2024-03-25T01:53:38.794191Z\",\"endTime\":\"2024-03-25T01:53:39Z\",\"properties\":{\"jobId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/CSRTestRg/providers/Microsoft.DataProtection/BackupVaults/CSRPortalTestVault/backupJobs/d8a84786-e342-47af-ba19-1999bde1fe6e\",\"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/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2O2UyM2JkZWJkLWZhNDAtNDhkZi05ZGY3LTZlMGU2MGRhYjMzNw==?api-version=2023-12-01\u0026t=638469284189579627\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=in2axQqgCQy7cX4gqEvL0N0EJgBZEh78xgu1naeI9Gp1D2JQCFBDd7Np7QA2m5M8-1tDLLi6kEkDdrTfdF8joEjj9eL4YyDAiaC_0AKlcaTStGq0AyIGY8Inkr_qtkTMfDUZgfdgVqiA4Hl71Pcs-Roy6d5qzVZE8kQHrq22cjaru6waU5t-hGq5rI09k9CSc0YkQQO5uQuEsqyzCBzjbv140r89DkxASxl1BlWSposFZzR6bXhrc6zm91_hFD0V4B0BkUmxzNmDUaEqE8a4lU-y06bC8nNHB7VB3CqalMyZZKClxXCPfwItxLP0vYoii0ttoBPBna2GjoLanbda7g\u0026h=K963spfW-Hle7lTdhyVocKTN93S0bKCxo9hR-shhM-o+10": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2O2UyM2JkZWJkLWZhNDAtNDhkZi05ZGY3LTZlMGU2MGRhYjMzNw==?api-version=2023-12-01\u0026t=638469284189579627\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=in2axQqgCQy7cX4gqEvL0N0EJgBZEh78xgu1naeI9Gp1D2JQCFBDd7Np7QA2m5M8-1tDLLi6kEkDdrTfdF8joEjj9eL4YyDAiaC_0AKlcaTStGq0AyIGY8Inkr_qtkTMfDUZgfdgVqiA4Hl71Pcs-Roy6d5qzVZE8kQHrq22cjaru6waU5t-hGq5rI09k9CSc0YkQQO5uQuEsqyzCBzjbv140r89DkxASxl1BlWSposFZzR6bXhrc6zm91_hFD0V4B0BkUmxzNmDUaEqE8a4lU-y06bC8nNHB7VB3CqalMyZZKClxXCPfwItxLP0vYoii0ttoBPBna2GjoLanbda7g\u0026h=K963spfW-Hle7lTdhyVocKTN93S0bKCxo9hR-shhM-o", - "Content": null, - "isContentBase64": false, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "106" ], - "x-ms-client-request-id": [ "d1fbf87f-61b5-4d4b-b498-82ded68304ce" ], - "CommandName": [ "Az.DataProtection.Internal\\Start-AzDataProtectionBackupInstanceRestore" ], - "FullCommandName": [ "Start-AzDataProtectionBackupInstanceRestore_Trigger" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "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/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2O2UyM2JkZWJkLWZhNDAtNDhkZi05ZGY3LTZlMGU2MGRhYjMzNw==?api-version=2023-12-01\u0026t=638469284509147814\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=ItJ1L3BAmkwHmgwUIl4XnRSyBcDsOUq9YSa4-6xIlGBG4ZbmG8R4D1mwjn9F3iKvMddwc6I-eRN_5QWNZfjCw5nhInCFBxk-RcsXASTy1i6ZR6JjvFmyHTeSMFunR3ytK8-FziOcplU7pXf1xVTkleJk-zkShpVNZv5MT1qqKLsyo0A1YF2opGm6A4EFWj5FEwvxtoS1dOFNdAY7UZe7MgXLMidp2ViuuX3zZI2DDH_7f0upjSDOYRC8wkf9a-SsRzB0Vi9tX_EHPnwpMA9F0jyeE5xC-pCIAVUeSqLIEV_nFfKtjxHE2lpzeURMyT6B23VhDPvmguDeUDuM7fowvQ\u0026h=MNhukeACxsBXJKbVzvCJgqfrqaOorPV9lRY3lSQWBsc" ], - "x-ms-request-id": [ "00961ba5-8b3a-4922-8129-bfef3a3678b0" ], - "x-ms-correlation-request-id": [ "00961ba5-8b3a-4922-8129-bfef3a3678b0" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015410Z:00961ba5-8b3a-4922-8129-bfef3a3678b0" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 56FFFB1E22BE441B922E3AF857A993A6 Ref B: MAA201060513029 Ref C: 2024-03-25T01:54:10Z" ], - "Date": [ "Mon, 25 Mar 2024 01:54:10 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/d8a84786-e342-47af-ba19-1999bde1fe6e\",\"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/d8a84786-e342-47af-ba19-1999bde1fe6e?api-version=2023-12-01+11": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/d8a84786-e342-47af-ba19-1999bde1fe6e?api-version=2023-12-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "107" ], - "x-ms-client-request-id": [ "44e1ad5e-8233-4303-b5c4-8ad7a7943c90" ], - "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], - "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "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-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "1f075823-f5bf-441d-bf3d-7f690c70f562" ], - "x-ms-correlation-request-id": [ "1f075823-f5bf-441d-bf3d-7f690c70f562" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015422Z:1f075823-f5bf-441d-bf3d-7f690c70f562" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 4679576459334FF2A8E7E67660C1B516 Ref B: MAA201060513029 Ref C: 2024-03-25T01:54:21Z" ], - "Date": [ "Mon, 25 Mar 2024 01:54:22 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "2458" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"activityID\":\"d1fbf87f-61b5-4d4b-b498-82ded68304ce\",\"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\u00272024-03-25T01%3A53%3A39.1687026Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:53:38.9838451Z\",\"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\":\"3aa4114473584905bc4fe653451ac631\",\"recoveryPointTime\":\"2023-12-31T23:30:49.4084489Z\"},\"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-03-2024-1-11-11\"},\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/d8a84786-e342-47af-ba19-1999bde1fe6e\",\"name\":\"d8a84786-e342-47af-ba19-1999bde1fe6e\",\"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/d8a84786-e342-47af-ba19-1999bde1fe6e?api-version=2023-12-01+12": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/d8a84786-e342-47af-ba19-1999bde1fe6e?api-version=2023-12-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "108" ], - "x-ms-client-request-id": [ "d4568657-817b-4a8b-8921-d7a9f2dfc9d2" ], - "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], - "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "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-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "8bc9649f-f9b9-4053-8b3a-5d7b3b8ff22f" ], - "x-ms-correlation-request-id": [ "8bc9649f-f9b9-4053-8b3a-5d7b3b8ff22f" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015433Z:8bc9649f-f9b9-4053-8b3a-5d7b3b8ff22f" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 7DB164FB667A45DEBD7E65A705321CF4 Ref B: MAA201060513029 Ref C: 2024-03-25T01:54:32Z" ], - "Date": [ "Mon, 25 Mar 2024 01:54:33 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "2458" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"activityID\":\"d1fbf87f-61b5-4d4b-b498-82ded68304ce\",\"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\u00272024-03-25T01%3A53%3A39.1687026Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:53:38.9838451Z\",\"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\":\"3aa4114473584905bc4fe653451ac631\",\"recoveryPointTime\":\"2023-12-31T23:30:49.4084489Z\"},\"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-03-2024-1-11-11\"},\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/d8a84786-e342-47af-ba19-1999bde1fe6e\",\"name\":\"d8a84786-e342-47af-ba19-1999bde1fe6e\",\"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/d8a84786-e342-47af-ba19-1999bde1fe6e?api-version=2023-12-01+13": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/d8a84786-e342-47af-ba19-1999bde1fe6e?api-version=2023-12-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "109" ], - "x-ms-client-request-id": [ "3f84d086-ee8c-4d32-be9a-9032d25771cc" ], - "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], - "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "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-ratelimit-remaining-subscription-resource-requests": [ "196" ], - "x-ms-request-id": [ "045978a3-74ee-4511-8f9a-b9babafb88d9" ], - "x-ms-correlation-request-id": [ "045978a3-74ee-4511-8f9a-b9babafb88d9" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015444Z:045978a3-74ee-4511-8f9a-b9babafb88d9" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 3B80FC961E0E4DD19F642D212B08C786 Ref B: MAA201060513029 Ref C: 2024-03-25T01:54:43Z" ], - "Date": [ "Mon, 25 Mar 2024 01:54:44 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "2458" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"activityID\":\"d1fbf87f-61b5-4d4b-b498-82ded68304ce\",\"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\u00272024-03-25T01%3A53%3A39.1687026Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:53:38.9838451Z\",\"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\":\"3aa4114473584905bc4fe653451ac631\",\"recoveryPointTime\":\"2023-12-31T23:30:49.4084489Z\"},\"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-03-2024-1-11-11\"},\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/d8a84786-e342-47af-ba19-1999bde1fe6e\",\"name\":\"d8a84786-e342-47af-ba19-1999bde1fe6e\",\"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/d8a84786-e342-47af-ba19-1999bde1fe6e?api-version=2023-12-01+14": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/d8a84786-e342-47af-ba19-1999bde1fe6e?api-version=2023-12-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "110" ], - "x-ms-client-request-id": [ "c0adca83-ff04-43ad-84f8-7d94089da5a2" ], - "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], - "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "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-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "f4969b67-e411-49a1-b7a3-ecc528c29ecf" ], - "x-ms-correlation-request-id": [ "f4969b67-e411-49a1-b7a3-ecc528c29ecf" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015455Z:f4969b67-e411-49a1-b7a3-ecc528c29ecf" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: D259C52111F14438B35E4A4A956A3F82 Ref B: MAA201060513029 Ref C: 2024-03-25T01:54:54Z" ], - "Date": [ "Mon, 25 Mar 2024 01:54:55 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "2458" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"activityID\":\"d1fbf87f-61b5-4d4b-b498-82ded68304ce\",\"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\u00272024-03-25T01%3A53%3A39.1687026Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:53:38.9838451Z\",\"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\":\"3aa4114473584905bc4fe653451ac631\",\"recoveryPointTime\":\"2023-12-31T23:30:49.4084489Z\"},\"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-03-2024-1-11-11\"},\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/d8a84786-e342-47af-ba19-1999bde1fe6e\",\"name\":\"d8a84786-e342-47af-ba19-1999bde1fe6e\",\"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/d8a84786-e342-47af-ba19-1999bde1fe6e?api-version=2023-12-01+15": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/d8a84786-e342-47af-ba19-1999bde1fe6e?api-version=2023-12-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "111" ], - "x-ms-client-request-id": [ "e6646d22-356a-45b6-a6d9-58f0429f129d" ], - "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], - "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "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-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "8310de34-2634-42ea-b792-2ff78873b8b5" ], - "x-ms-correlation-request-id": [ "8310de34-2634-42ea-b792-2ff78873b8b5" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015506Z:8310de34-2634-42ea-b792-2ff78873b8b5" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 79DAB92E3A2D45108282D1E306F21AB2 Ref B: MAA201060513029 Ref C: 2024-03-25T01:55:05Z" ], - "Date": [ "Mon, 25 Mar 2024 01:55:06 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "2458" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"activityID\":\"d1fbf87f-61b5-4d4b-b498-82ded68304ce\",\"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\u00272024-03-25T01%3A53%3A39.1687026Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:53:38.9838451Z\",\"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\":\"3aa4114473584905bc4fe653451ac631\",\"recoveryPointTime\":\"2023-12-31T23:30:49.4084489Z\"},\"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-03-2024-1-11-11\"},\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/d8a84786-e342-47af-ba19-1999bde1fe6e\",\"name\":\"d8a84786-e342-47af-ba19-1999bde1fe6e\",\"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/d8a84786-e342-47af-ba19-1999bde1fe6e?api-version=2023-12-01+16": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/d8a84786-e342-47af-ba19-1999bde1fe6e?api-version=2023-12-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "112" ], - "x-ms-client-request-id": [ "ad3b1e7b-a116-45cc-ba2d-011dfd5cf1ba" ], - "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], - "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "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-ratelimit-remaining-subscription-resource-requests": [ "197" ], - "x-ms-request-id": [ "a60d51a0-601f-4206-a138-8a4fa9922e25" ], - "x-ms-correlation-request-id": [ "a60d51a0-601f-4206-a138-8a4fa9922e25" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015517Z:a60d51a0-601f-4206-a138-8a4fa9922e25" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: B19E8BF983D540089E4371CAC41FC269 Ref B: MAA201060513029 Ref C: 2024-03-25T01:55:16Z" ], - "Date": [ "Mon, 25 Mar 2024 01:55:17 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "2458" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"activityID\":\"d1fbf87f-61b5-4d4b-b498-82ded68304ce\",\"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\u00272024-03-25T01%3A53%3A39.1687026Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:53:38.9838451Z\",\"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\":\"3aa4114473584905bc4fe653451ac631\",\"recoveryPointTime\":\"2023-12-31T23:30:49.4084489Z\"},\"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-03-2024-1-11-11\"},\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/d8a84786-e342-47af-ba19-1999bde1fe6e\",\"name\":\"d8a84786-e342-47af-ba19-1999bde1fe6e\",\"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/d8a84786-e342-47af-ba19-1999bde1fe6e?api-version=2023-12-01+17": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/d8a84786-e342-47af-ba19-1999bde1fe6e?api-version=2023-12-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "113" ], - "x-ms-client-request-id": [ "f082b868-2dca-4e57-9f3b-a88377e779bd" ], - "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], - "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "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-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "a6a5755e-300a-43f2-819f-dcb833ff300b" ], - "x-ms-correlation-request-id": [ "a6a5755e-300a-43f2-819f-dcb833ff300b" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015529Z:a6a5755e-300a-43f2-819f-dcb833ff300b" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 67FD6F7BCA3041259BA7445D0A8FC77A Ref B: MAA201060513029 Ref C: 2024-03-25T01:55:27Z" ], - "Date": [ "Mon, 25 Mar 2024 01:55:28 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "2630" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"activityID\":\"d1fbf87f-61b5-4d4b-b498-82ded68304ce\",\"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\u00272024-03-25T01%3A55%3A24.9898609Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2024-03-25T01:53:38.9838451Z\",\"endTime\":\"2024-03-25T01:55:24.8342649Z\",\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"Completed\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT1M45.8504198S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"3aa4114473584905bc4fe653451ac631\",\"recoveryPointTime\":\"2023-12-31T23:30:49.4084489Z\"},\"recoveryDestination\":\"https://akneemasaecy.blob.core.windows.net/oss-csr-container\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"Completed\",\"taskProgress\":null,\"additionalDetails\":{\"DataTransferredInBytes\":\"0\",\"TaskId\":\"d1fbf87f-61b5-4d4b-b498-82ded68304ce\",\"DatasourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\"}}],\"additionalDetails\":{\"Restore File Prefix\":\"oss-csr-pstest-restoreasfiles-25-03-2024-1-11-11\"},\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/d8a84786-e342-47af-ba19-1999bde1fe6e\",\"name\":\"d8a84786-e342-47af-ba19-1999bde1fe6e\",\"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-12-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-12-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "114" ], - "x-ms-client-request-id": [ "80c34825-fb66-4ec0-8ce7-d5cac9d535b8" ], - "CommandName": [ "Get-AzDataProtectionBackupVault" ], - "FullCommandName": [ "Get-AzDataProtectionBackupVault_Get2" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "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": [ "499" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "3199af9c-81d9-43eb-95ce-b17145fd81a8" ], - "x-ms-correlation-request-id": [ "3199af9c-81d9-43eb-95ce-b17145fd81a8" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015530Z:3199af9c-81d9-43eb-95ce-b17145fd81a8" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 71918396A0B34D049F086F0550802087 Ref B: MAA201060513029 Ref C: 2024-03-25T01:55:29Z" ], - "Date": [ "Mon, 25 Mar 2024 01:55:30 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "817" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "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,\"featureSettings\":{\"crossRegionRestoreSettings\":{\"state\":\"Enabled\"}},\"secureScore\":\"None\",\"replicatedRegions\":[\"eastus2euap\"]},\"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-12-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-12-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "115" ], - "x-ms-client-request-id": [ "9ee5a1b0-653c-4cb3-8fbc-bdd03e1dd61b" ], - "CommandName": [ "Get-AzDataProtectionBackupInstance" ], - "FullCommandName": [ "Get-AzDataProtectionBackupInstance_List" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "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": [ "1999" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "4cf35ca8-0190-415c-9ea0-29869ecfdf31" ], - "x-ms-correlation-request-id": [ "4cf35ca8-0190-415c-9ea0-29869ecfdf31" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015530Z:4cf35ca8-0190-415c-9ea0-29869ecfdf31" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 5BEE88DBAC324AF1BC4F89CA235669A8 Ref B: MAA201060513029 Ref C: 2024-03-25T01:55:30Z" ], - "Date": [ "Mon, 25 Mar 2024 01:55:30 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "1879" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"value\":[{\"properties\":{\"friendlyName\":\"oss-pstest-server\\\\postgres\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"resourceName\":\"postgres\",\"resourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"resourceName\":\"oss-pstest-server\",\"resourceType\":\"Microsoft.DBforPostgreSQL/servers\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"policyVersion\":\"\"},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"datasourceAuthCredentials\":{\"objectType\":\"SecretStoreBasedAuthCredentials\",\"secretStoreResource\":{\"uri\":\"https://oss-pstest-keyvault.vault.azure.net/secrets/oss-pstest-secret\",\"value\":null,\"secretStoreType\":\"AzureKeyVault\"}},\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"name\":\"oss-pstest-server-postgres-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"}]}", - "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-12-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-12-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "116" ], - "x-ms-client-request-id": [ "df9856e2-e331-4475-8ff0-3b2613943cd7" ], - "CommandName": [ "Get-AzDataProtectionBackupPolicy" ], - "FullCommandName": [ "Get-AzDataProtectionBackupPolicy_List" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "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" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "a730f6ae-fd6f-4a63-8bda-227cb5b6ea1f" ], - "x-ms-correlation-request-id": [ "a730f6ae-fd6f-4a63-8bda-227cb5b6ea1f" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015532Z:a730f6ae-fd6f-4a63-8bda-227cb5b6ea1f" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: FB2B8E5B993843D1BE4088A5E555169E Ref B: MAA201060513029 Ref C: 2024-03-25T01:55:31Z" ], - "Date": [ "Mon, 25 Mar 2024 01:55:32 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "15305" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"value\":[{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P12W\"},\"targetDataStoreCopySettings\":[{\"dataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"},\"copyAfter\":{\"objectType\":\"CopyOnExpiryOption\"}}],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}},{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P27W\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Weekly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P1M\"},\"targetDataStoreCopySettings\":[{\"dataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"},\"copyAfter\":{\"objectType\":\"CopyOnExpiryOption\"}}],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}},{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P5M\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Full\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-12-31T10:00:00+05:30/P1W\"],\"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\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupWeekly\",\"objectType\":\"AzureBackupRule\"}],\"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/tf-pol2\",\"name\":\"tf-pol2\",\"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\":\"P15D\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Discrete\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2024-01-08T16:00:00+00:00/P1D\"],\"timeZone\":\"UTC\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Monthly\",\"id\":\"Monthly_\"},\"taggingPriority\":15,\"isDefault\":false,\"criteria\":[{\"daysOfMonth\":[{\"date\":1,\"isLast\":false},{\"date\":28,\"isLast\":false},{\"date\":0,\"isLast\":true},{\"date\":10,\"isLast\":false}],\"weeksOfTheMonth\":[],\"daysOfTheWeek\":[],\"monthsOfYear\":[],\"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/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/dom\",\"name\":\"dom\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P12W\"},\"targetDataStoreCopySettings\":[{\"dataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"},\"copyAfter\":{\"objectType\":\"CopyOnExpiryOption\"}}],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}},{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P27W\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Weekly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P1M\"},\"targetDataStoreCopySettings\":[{\"dataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"},\"copyAfter\":{\"objectType\":\"CopyOnExpiryOption\"}}],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}},{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P5M\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Full\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-12-31T10:00:00+05:30/P1W\"],\"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\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupWeekly\",\"objectType\":\"AzureBackupRule\"}],\"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/tf-pol1\",\"name\":\"tf-pol1\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P12W\"},\"targetDataStoreCopySettings\":[{\"dataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"},\"copyAfter\":{\"objectType\":\"CopyOnExpiryOption\"}}],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}},{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P27W\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Weekly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P1M\"},\"targetDataStoreCopySettings\":[{\"dataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"},\"copyAfter\":{\"objectType\":\"CopyOnExpiryOption\"}}],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}},{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P5M\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Full\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-12-31T10:00:00+05:30/P1W\"],\"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\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupWeekly\",\"objectType\":\"AzureBackupRule\"}],\"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/tf-pol3\",\"name\":\"tf-pol3\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P3M\"},\"targetDataStoreCopySettings\":[{\"dataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"},\"copyAfter\":{\"objectType\":\"CopyOnExpiryOption\"}}],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}},{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P27M\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Monthly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P3M\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Full\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-12-31T06:30:00+00:00/P1W\"],\"timeZone\":\"UTC\"},\"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\":\"BackupWeekly\",\"objectType\":\"AzureBackupRule\"}],\"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/terraform-pol1\",\"name\":\"terraform-pol1\",\"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\"},{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P6M\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Monthly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P3M\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Full\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2024-01-14T20:00:00+00:00/P1W\",\"R/2024-01-08T20:00:00+00:00/P1W\",\"R/2024-01-09T20:00:00+00:00/P1W\",\"R/2024-01-10T20:00:00+00:00/P1W\",\"R/2024-01-11T20:00:00+00:00/P1W\",\"R/2024-01-12T20:00:00+00:00/P1W\",\"R/2024-01-13T20:00:00+00:00/P1W\"],\"timeZone\":\"UTC\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Monthly\",\"id\":\"Monthly_\"},\"taggingPriority\":15,\"isDefault\":false,\"criteria\":[{\"daysOfMonth\":[],\"weeksOfTheMonth\":[\"First\"],\"daysOfTheWeek\":[\"Sunday\",\"Wednesday\"],\"monthsOfYear\":[],\"objectType\":\"ScheduleBasedBackupCriteria\"}]},{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupWeekly\",\"objectType\":\"AzureBackupRule\"}],\"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/dom-weekbased\",\"name\":\"dom-weekbased\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"}]}", - "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-d63f9173-e53b-4d5c-bca1-0aca87410065/backup?api-version=2023-12-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-d63f9173-e53b-4d5c-bca1-0aca87410065/backup?api-version=2023-12-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": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "140" ] - } - }, - "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/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2VlOWQxYjRmLWYxNjEtNDM4OS04NmQ4LWI4ZmQ0M2M3NmI5Yw==?api-version=2023-12-01\u0026t=638469285350973233\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=n4IW3WYqNSq_rTs6KqE5EkJLz3KiQzbBDawQ2_FoOVEy6nYmWwlKA7rEhsiuqikRkyiGTtn4bQ9Oq9RM8EICME9sc3LX7I78wtp9vGUJBSa590AKMfR5M3WTAQbxHDXhd5ezlE6TG8ObnH9QNH1Gtxo8L3K1v4BpcbIRxTxNyXbXqKImG0rSWyQOiI0IfObI7hzu74ueux-Y7_2KD8MN-cLd4wbHkislxGYpoDMY3k6McGZzBvAu2pir2odrtQwctXePk-YqWsUx5V7o5ljNqv5_ygm8Ot2CKdkbyl0cubruPIOdlgFNLgt9WDz7SRriADp1PbB9SONaagaZ_W49Cw\u0026h=Yy_DTHf5J0ikjMXhfwhN4jm-j8Ll1nzGKThVtab1ynw" ], - "Retry-After": [ "30" ], - "X-Content-Type-Options": [ "nosniff" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2VlOWQxYjRmLWYxNjEtNDM4OS04NmQ4LWI4ZmQ0M2M3NmI5Yw==?api-version=2023-12-01\u0026t=638469285350973233\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=gt0SHLfgDd9hvM1r6bLHcyPYgRiz1t8SjzwSWu0NRhz-AwYQ2OMQYr1FZRY-Cinr86Zu1HwDqQhH8Whcaf26v_WUazAY-MyZSFB2C973Fe2vC-mj_IwEQJFddI5CyvvsRD0h8_OZ4j8MnsBOxd04aHCrBG_zVpW65mmgltkz6XASR37u4V7P8pNSHQmZxvcSTuwrpTVotyyM6OHPXnOXlNzOk1KvdnzfUKvQnAiMbqj1B5iq6ISd50yHpacTLQyH_bmgyYud2qr7x62HB92ioyImv2fUMky4GXevMGKO7THTWxXrEYmA89hoBR4UmKGs6SE-ipK2klmoEF4C-xcgJQ\u0026h=p1NexhAPG9y9RBWbDylRIkOySm6jjblZ5IcEQ8HDErY" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-request-id": [ "fa9ff7e9-e9ee-4986-acf5-75694b1189ec" ], - "x-ms-correlation-request-id": [ "fa9ff7e9-e9ee-4986-acf5-75694b1189ec" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015535Z:fa9ff7e9-e9ee-4986-acf5-75694b1189ec" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 6D8EFECCF37647139794FCCA00E334C8 Ref B: MAA201060513029 Ref C: 2024-03-25T01:55:33Z" ], - "Date": [ "Mon, 25 Mar 2024 01:55:34 GMT" ] - }, - "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] - }, - "Content": null, - "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/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2VlOWQxYjRmLWYxNjEtNDM4OS04NmQ4LWI4ZmQ0M2M3NmI5Yw==?api-version=2023-12-01\u0026t=638469285350973233\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=gt0SHLfgDd9hvM1r6bLHcyPYgRiz1t8SjzwSWu0NRhz-AwYQ2OMQYr1FZRY-Cinr86Zu1HwDqQhH8Whcaf26v_WUazAY-MyZSFB2C973Fe2vC-mj_IwEQJFddI5CyvvsRD0h8_OZ4j8MnsBOxd04aHCrBG_zVpW65mmgltkz6XASR37u4V7P8pNSHQmZxvcSTuwrpTVotyyM6OHPXnOXlNzOk1KvdnzfUKvQnAiMbqj1B5iq6ISd50yHpacTLQyH_bmgyYud2qr7x62HB92ioyImv2fUMky4GXevMGKO7THTWxXrEYmA89hoBR4UmKGs6SE-ipK2klmoEF4C-xcgJQ\u0026h=p1NexhAPG9y9RBWbDylRIkOySm6jjblZ5IcEQ8HDErY+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/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2VlOWQxYjRmLWYxNjEtNDM4OS04NmQ4LWI4ZmQ0M2M3NmI5Yw==?api-version=2023-12-01\u0026t=638469285350973233\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=gt0SHLfgDd9hvM1r6bLHcyPYgRiz1t8SjzwSWu0NRhz-AwYQ2OMQYr1FZRY-Cinr86Zu1HwDqQhH8Whcaf26v_WUazAY-MyZSFB2C973Fe2vC-mj_IwEQJFddI5CyvvsRD0h8_OZ4j8MnsBOxd04aHCrBG_zVpW65mmgltkz6XASR37u4V7P8pNSHQmZxvcSTuwrpTVotyyM6OHPXnOXlNzOk1KvdnzfUKvQnAiMbqj1B5iq6ISd50yHpacTLQyH_bmgyYud2qr7x62HB92ioyImv2fUMky4GXevMGKO7THTWxXrEYmA89hoBR4UmKGs6SE-ipK2klmoEF4C-xcgJQ\u0026h=p1NexhAPG9y9RBWbDylRIkOySm6jjblZ5IcEQ8HDErY", - "Content": null, - "isContentBase64": false, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "118" ], - "x-ms-client-request-id": [ "a7897272-c161-4620-a4ac-bf3639b8ac4a" ], - "CommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc" ], - "FullCommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc_BackupExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "84d7ff4c-8f26-42e5-8f29-46e7bb61adda" ], - "x-ms-correlation-request-id": [ "84d7ff4c-8f26-42e5-8f29-46e7bb61adda" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015606Z:84d7ff4c-8f26-42e5-8f29-46e7bb61adda" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: EE3466AD6E4648F4B14E28784C97278B Ref B: MAA201060513029 Ref C: 2024-03-25T01:56:05Z" ], - "Date": [ "Mon, 25 Mar 2024 01:56:06 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "737" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2VlOWQxYjRmLWYxNjEtNDM4OS04NmQ4LWI4ZmQ0M2M3NmI5Yw==\",\"name\":\"ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2VlOWQxYjRmLWYxNjEtNDM4OS04NmQ4LWI4ZmQ0M2M3NmI5Yw==\",\"status\":\"Succeeded\",\"startTime\":\"2024-03-25T01:55:34.9162701Z\",\"endTime\":\"2024-03-25T01:55:35Z\",\"properties\":{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/oss-pstest-rg/providers/Microsoft.DataProtection/BackupVaults/oss-pstest-vault/backupJobs/ba4a566f-1230-459d-9d1f-b6808de38253\",\"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/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2VlOWQxYjRmLWYxNjEtNDM4OS04NmQ4LWI4ZmQ0M2M3NmI5Yw==?api-version=2023-12-01\u0026t=638469285350973233\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=n4IW3WYqNSq_rTs6KqE5EkJLz3KiQzbBDawQ2_FoOVEy6nYmWwlKA7rEhsiuqikRkyiGTtn4bQ9Oq9RM8EICME9sc3LX7I78wtp9vGUJBSa590AKMfR5M3WTAQbxHDXhd5ezlE6TG8ObnH9QNH1Gtxo8L3K1v4BpcbIRxTxNyXbXqKImG0rSWyQOiI0IfObI7hzu74ueux-Y7_2KD8MN-cLd4wbHkislxGYpoDMY3k6McGZzBvAu2pir2odrtQwctXePk-YqWsUx5V7o5ljNqv5_ygm8Ot2CKdkbyl0cubruPIOdlgFNLgt9WDz7SRriADp1PbB9SONaagaZ_W49Cw\u0026h=Yy_DTHf5J0ikjMXhfwhN4jm-j8Ll1nzGKThVtab1ynw+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2VlOWQxYjRmLWYxNjEtNDM4OS04NmQ4LWI4ZmQ0M2M3NmI5Yw==?api-version=2023-12-01\u0026t=638469285350973233\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=n4IW3WYqNSq_rTs6KqE5EkJLz3KiQzbBDawQ2_FoOVEy6nYmWwlKA7rEhsiuqikRkyiGTtn4bQ9Oq9RM8EICME9sc3LX7I78wtp9vGUJBSa590AKMfR5M3WTAQbxHDXhd5ezlE6TG8ObnH9QNH1Gtxo8L3K1v4BpcbIRxTxNyXbXqKImG0rSWyQOiI0IfObI7hzu74ueux-Y7_2KD8MN-cLd4wbHkislxGYpoDMY3k6McGZzBvAu2pir2odrtQwctXePk-YqWsUx5V7o5ljNqv5_ygm8Ot2CKdkbyl0cubruPIOdlgFNLgt9WDz7SRriADp1PbB9SONaagaZ_W49Cw\u0026h=Yy_DTHf5J0ikjMXhfwhN4jm-j8Ll1nzGKThVtab1ynw", - "Content": null, - "isContentBase64": false, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "119" ], - "x-ms-client-request-id": [ "a7897272-c161-4620-a4ac-bf3639b8ac4a" ], - "CommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc" ], - "FullCommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc_BackupExpanded" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "X-Content-Type-Options": [ "nosniff" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2VlOWQxYjRmLWYxNjEtNDM4OS04NmQ4LWI4ZmQ0M2M3NmI5Yw==?api-version=2023-12-01\u0026t=638469285672582166\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=GdEHmocQsX0oFLnhnkM5ZQsUAP-pSBt5T2cEF7_sFL1y7KUbbqJSHFk3tiilPl50U9dAn5SWlrCUtAB9eNFXDSkHQzQVGYWVrVWFyZAgkE51CaE4UAN5INee46YvqpOgfY_E2PzHY0wZlLeIvzZwot76-yWJn_BcthOhsOvz6trrF0ZjHC2Du3zkntC5BzLkGr5KwZF2wzqOQJfVHVPiERvn3DecNWuMPgdUvVw8STEHISkU6VATRjwSj47BECnObFA4jQbr8au9AYVBJ10MVvE-vj5DGvPLlgK2AkljYq7q1brrjr6mvRv8UVWx4hPUCU5XlU5XVUmp4__i-Me6nQ\u0026h=Ti-boRagtnY5ES7ODbsZc-VV7BGIzF_wHxTqzEi-NyE" ], - "x-ms-request-id": [ "59b1e4d6-13b0-4b12-aed9-706ae5b38a00" ], - "x-ms-correlation-request-id": [ "59b1e4d6-13b0-4b12-aed9-706ae5b38a00" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015607Z:59b1e4d6-13b0-4b12-aed9-706ae5b38a00" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 75BCB04B33F04B5896FDB01DFA9E71E2 Ref B: MAA201060513029 Ref C: 2024-03-25T01:56:06Z" ], - "Date": [ "Mon, 25 Mar 2024 01:56:07 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "245" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/oss-pstest-rg/providers/Microsoft.DataProtection/BackupVaults/oss-pstest-vault/backupJobs/ba4a566f-1230-459d-9d1f-b6808de38253\",\"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/ba4a566f-1230-459d-9d1f-b6808de38253?api-version=2023-12-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/ba4a566f-1230-459d-9d1f-b6808de38253?api-version=2023-12-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "120" ], - "x-ms-client-request-id": [ "7e44e30f-8033-43c5-81ab-fddb07fb9cd2" ], - "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], - "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "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-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "41107253-86e3-4480-bac4-762f0abfcdcc" ], - "x-ms-correlation-request-id": [ "41107253-86e3-4480-bac4-762f0abfcdcc" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015619Z:41107253-86e3-4480-bac4-762f0abfcdcc" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: EA2D5F8ED07949C398F552EC1A3C70A9 Ref B: MAA201060513029 Ref C: 2024-03-25T01:56:17Z" ], - "Date": [ "Mon, 25 Mar 2024 01:56:18 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "2248" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"activityID\":\"a7897272-c161-4620-a4ac-bf3639b8ac4a\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-03-25T01%3A55%3A35.3294625Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-25T01:55:35.1044464Z\",\"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/ba4a566f-1230-459d-9d1f-b6808de38253\",\"name\":\"ba4a566f-1230-459d-9d1f-b6808de38253\",\"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/ba4a566f-1230-459d-9d1f-b6808de38253?api-version=2023-12-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/ba4a566f-1230-459d-9d1f-b6808de38253?api-version=2023-12-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "121" ], - "x-ms-client-request-id": [ "ce56a680-a953-423d-b9f3-8952584b6faa" ], - "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], - "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "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-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "b7091609-d4e8-4b1f-8a76-fa0af26b2881" ], - "x-ms-correlation-request-id": [ "b7091609-d4e8-4b1f-8a76-fa0af26b2881" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015630Z:b7091609-d4e8-4b1f-8a76-fa0af26b2881" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: C5916A2A3C7744EEBC371553220810B6 Ref B: MAA201060513029 Ref C: 2024-03-25T01:56:29Z" ], - "Date": [ "Mon, 25 Mar 2024 01:56:30 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "2248" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"activityID\":\"a7897272-c161-4620-a4ac-bf3639b8ac4a\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-03-25T01%3A55%3A35.3294625Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-25T01:55:35.1044464Z\",\"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/ba4a566f-1230-459d-9d1f-b6808de38253\",\"name\":\"ba4a566f-1230-459d-9d1f-b6808de38253\",\"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/ba4a566f-1230-459d-9d1f-b6808de38253?api-version=2023-12-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/ba4a566f-1230-459d-9d1f-b6808de38253?api-version=2023-12-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "122" ], - "x-ms-client-request-id": [ "6106e117-bbb0-474a-8783-f58f1c537bbe" ], - "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], - "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "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-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "8b845b78-d019-4d72-8504-c243e9fae071" ], - "x-ms-correlation-request-id": [ "8b845b78-d019-4d72-8504-c243e9fae071" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015642Z:8b845b78-d019-4d72-8504-c243e9fae071" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 550C748FABC547D38B48DFFA4E309A43 Ref B: MAA201060513029 Ref C: 2024-03-25T01:56:40Z" ], - "Date": [ "Mon, 25 Mar 2024 01:56:42 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "2248" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"activityID\":\"a7897272-c161-4620-a4ac-bf3639b8ac4a\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-03-25T01%3A55%3A35.3294625Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-25T01:55:35.1044464Z\",\"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/ba4a566f-1230-459d-9d1f-b6808de38253\",\"name\":\"ba4a566f-1230-459d-9d1f-b6808de38253\",\"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/ba4a566f-1230-459d-9d1f-b6808de38253?api-version=2023-12-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/ba4a566f-1230-459d-9d1f-b6808de38253?api-version=2023-12-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "123" ], - "x-ms-client-request-id": [ "a0e3d3ee-4181-47df-8854-99ca86977432" ], - "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], - "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "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-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "7606604a-1c7f-47e5-8600-d8f93f708a12" ], - "x-ms-correlation-request-id": [ "7606604a-1c7f-47e5-8600-d8f93f708a12" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015653Z:7606604a-1c7f-47e5-8600-d8f93f708a12" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 04BDF416CF104C4B8E2F3297334D0F63 Ref B: MAA201060513029 Ref C: 2024-03-25T01:56:52Z" ], - "Date": [ "Mon, 25 Mar 2024 01:56:53 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "2248" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"activityID\":\"a7897272-c161-4620-a4ac-bf3639b8ac4a\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-03-25T01%3A55%3A35.3294625Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-25T01:55:35.1044464Z\",\"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/ba4a566f-1230-459d-9d1f-b6808de38253\",\"name\":\"ba4a566f-1230-459d-9d1f-b6808de38253\",\"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/ba4a566f-1230-459d-9d1f-b6808de38253?api-version=2023-12-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/ba4a566f-1230-459d-9d1f-b6808de38253?api-version=2023-12-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "124" ], - "x-ms-client-request-id": [ "cfff12b2-519a-4565-8fe7-8d0994594af0" ], - "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], - "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "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-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "eb978c49-dd99-49f1-a40e-a265eecebc12" ], - "x-ms-correlation-request-id": [ "eb978c49-dd99-49f1-a40e-a265eecebc12" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015705Z:eb978c49-dd99-49f1-a40e-a265eecebc12" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 282AEF21FD77479E98AA7265B36C118E Ref B: MAA201060513029 Ref C: 2024-03-25T01:57:04Z" ], - "Date": [ "Mon, 25 Mar 2024 01:57:04 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "2248" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"activityID\":\"a7897272-c161-4620-a4ac-bf3639b8ac4a\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-03-25T01%3A55%3A35.3294625Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-25T01:55:35.1044464Z\",\"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/ba4a566f-1230-459d-9d1f-b6808de38253\",\"name\":\"ba4a566f-1230-459d-9d1f-b6808de38253\",\"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/ba4a566f-1230-459d-9d1f-b6808de38253?api-version=2023-12-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/ba4a566f-1230-459d-9d1f-b6808de38253?api-version=2023-12-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "125" ], - "x-ms-client-request-id": [ "f047167e-db4b-4c3c-8b01-cbca79cc2e49" ], - "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], - "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "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-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "c6adf237-b667-4ee5-ae87-f1f45e86c6ea" ], - "x-ms-correlation-request-id": [ "c6adf237-b667-4ee5-ae87-f1f45e86c6ea" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015717Z:c6adf237-b667-4ee5-ae87-f1f45e86c6ea" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: A5B269E300774B0998BCAD08E6E64BCD Ref B: MAA201060513029 Ref C: 2024-03-25T01:57:15Z" ], - "Date": [ "Mon, 25 Mar 2024 01:57:16 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "2528" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"activityID\":\"a7897272-c161-4620-a4ac-bf3639b8ac4a\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-03-25T01%3A57%3A10.1648247Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-25T01:55:35.1044464Z\",\"endTime\":\"2024-03-25T01:57:09.9554176Z\",\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"Completed\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT1M34.8509712S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":2063.0,\"targetRecoverPoint\":{\"recoveryPointID\":\"93d5e55fab3246298f5b505d266debc0\",\"recoveryPointTime\":\"0001-01-01T00:00:00Z\"},\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"Completed\",\"taskProgress\":null,\"additionalDetails\":{\"OriginalDatasourceSizeInBytes\":\"8876703\",\"TaskId\":\"a7897272-c161-4620-a4ac-bf3639b8ac4a\",\"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/ba4a566f-1230-459d-9d1f-b6808de38253\",\"name\":\"ba4a566f-1230-459d-9d1f-b6808de38253\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints?api-version=2023-12-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/backupInstances/oss-pstest-server-postgres-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints?api-version=2023-12-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "126" ], - "x-ms-client-request-id": [ "a7c77e7f-249e-46fb-850c-38cca34c851a" ], + "x-ms-client-request-id": [ "8489a16f-808d-430e-a213-29a43d52262d" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionRecoveryPoint" ], "FullCommandName": [ "Get-AzDataProtectionRecoveryPoint_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -5265,30 +4102,31 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "99" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "980cf4fe-bb39-486d-94a6-5d71636b61a8" ], - "x-ms-correlation-request-id": [ "980cf4fe-bb39-486d-94a6-5d71636b61a8" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015724Z:980cf4fe-bb39-486d-94a6-5d71636b61a8" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "99" ], + "x-ms-request-id": [ "c23d982d-83c6-4759-8428-310967bd243b" ], + "x-ms-correlation-request-id": [ "c23d982d-83c6-4759-8428-310967bd243b" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240422T025638Z:c23d982d-83c6-4759-8428-310967bd243b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 6FCDEDD2220742DAAB92201E26A4CFAE Ref B: MAA201060513029 Ref C: 2024-03-25T01:57:22Z" ], - "Date": [ "Mon, 25 Mar 2024 01:57:23 GMT" ] + "X-MSEdge-Ref": [ "Ref A: D982E87459DE48A6836A66255F85F9B5 Ref B: MAA201060514035 Ref C: 2024-04-22T02:56:35Z" ], + "Date": [ "Mon, 22 Apr 2024 02:56:37 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "3397" ], + "Content-Length": [ "19441" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"93d5e55fab3246298f5b505d266debc0\",\"recoveryPointTime\":\"2024-03-25T01:56:13.7082589Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"6669e9708a0a480a8cb4236dcd8b3562\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2024-03-25T01:56:13.7082589Z\",\"expiryTime\":null,\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638468894725664864\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":null,\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints/93d5e55fab3246298f5b505d266debc0\",\"name\":\"93d5e55fab3246298f5b505d266debc0\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"bc04a2115e864ac2811bf047161c5fb3\",\"recoveryPointTime\":\"2024-03-24T17:26:46.3658631Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"bd38213f82724f4182ff52ce10038b7a\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2024-03-24T17:26:46.3658631Z\",\"expiryTime\":\"2024-06-24T17:26:46.3658631Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638468894725664864\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-06-24T17:26:46.3658631Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints/bc04a2115e864ac2811bf047161c5fb3\",\"name\":\"bc04a2115e864ac2811bf047161c5fb3\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"542885517e5948a2a75d4cf9009ebb52\",\"recoveryPointTime\":\"2024-03-24T16:45:30.4709452Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"069f5f749e3b4a478d8301fc85a2046b\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2024-03-24T16:45:30.4709452Z\",\"expiryTime\":\"2024-06-24T16:45:30.4709452Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638468894725664864\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-06-24T16:45:30.4709452Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints/542885517e5948a2a75d4cf9009ebb52\",\"name\":\"542885517e5948a2a75d4cf9009ebb52\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"}]}", + "Content": "{\"value\":[{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"2001797b6a074e55ac397e021cf5e22b\",\"recoveryPointTime\":\"2024-04-22T02:55:29.0738438Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"6675c34e690a4196b86cb358c8a8dda6\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2024-04-22T02:55:29.0738438Z\",\"expiryTime\":null,\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638468894725664864\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":null,\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints/2001797b6a074e55ac397e021cf5e22b\",\"name\":\"2001797b6a074e55ac397e021cf5e22b\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"fc91187ce45649539fa47c66a25bc1db\",\"recoveryPointTime\":\"2024-04-21T19:13:08.9635696Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"0b5ce8aa5594437b811146ddc54c110b\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2024-04-21T19:13:08.9635696Z\",\"expiryTime\":\"2024-07-21T19:13:08.9635696Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638468894725664864\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-07-21T19:13:08.9635696Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints/fc91187ce45649539fa47c66a25bc1db\",\"name\":\"fc91187ce45649539fa47c66a25bc1db\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"7fd5092ec22c4cb78ea6550061302200\",\"recoveryPointTime\":\"2024-04-21T18:33:28.1927269Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"e23331a80c3d4f35a48506ef395b9c46\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2024-04-21T18:33:28.1927269Z\",\"expiryTime\":\"2024-07-21T18:33:28.1927269Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638468894725664864\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-07-21T18:33:28.1927269Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints/7fd5092ec22c4cb78ea6550061302200\",\"name\":\"7fd5092ec22c4cb78ea6550061302200\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"92c849b6b9d94a48a055edc149b4b9a9\",\"recoveryPointTime\":\"2024-04-21T14:51:40.6833365Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"665cc000feef4a23a4f304727082c16c\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2024-04-21T14:51:40.6833365Z\",\"expiryTime\":\"2024-07-21T14:51:40.6833365Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638468894725664864\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-07-21T14:51:40.6833365Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints/92c849b6b9d94a48a055edc149b4b9a9\",\"name\":\"92c849b6b9d94a48a055edc149b4b9a9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"1e5dfb4e5e2c458ead32b96350a0d54b\",\"recoveryPointTime\":\"2024-04-21T14:22:40.4148137Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"a9db2caba81347038693ca0653810c9e\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2024-04-21T14:22:40.4148137Z\",\"expiryTime\":\"2024-07-21T14:22:40.4148137Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638468894725664864\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-07-21T14:22:40.4148137Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints/1e5dfb4e5e2c458ead32b96350a0d54b\",\"name\":\"1e5dfb4e5e2c458ead32b96350a0d54b\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"2a9eb6ebf3d8434190524a2c1c8e1275\",\"recoveryPointTime\":\"2024-04-21T04:30:56.0672256Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"4be4089e468b4110a5d8293e5899ee80\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2024-04-21T04:30:56.0672256Z\",\"expiryTime\":\"2024-07-21T04:30:56.0672256Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638468894725664864\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-07-21T04:30:56.0672256Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints/2a9eb6ebf3d8434190524a2c1c8e1275\",\"name\":\"2a9eb6ebf3d8434190524a2c1c8e1275\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"6cd01167140f4b50b7b72b179c69fbbc\",\"recoveryPointTime\":\"2024-04-18T04:30:53.5145982Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"fcf03f60b2d740eea2fa521f426b6487\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2024-04-18T04:30:53.5145982Z\",\"expiryTime\":\"2024-07-18T04:30:53.5145982Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638468894725664864\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-07-18T04:30:53.5145982Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints/6cd01167140f4b50b7b72b179c69fbbc\",\"name\":\"6cd01167140f4b50b7b72b179c69fbbc\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"15a26dbc6525489e956bd184d2fd28cb\",\"recoveryPointTime\":\"2024-04-16T11:08:18.8897554Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"9af2083e823a4c5a936b01ed8f261ed2\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2024-04-16T11:08:18.8897554Z\",\"expiryTime\":\"2024-07-16T11:08:18.8897554Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638468894725664864\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-07-16T11:08:18.8897554Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints/15a26dbc6525489e956bd184d2fd28cb\",\"name\":\"15a26dbc6525489e956bd184d2fd28cb\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"3107c1384b1446e3b9b096296f5df628\",\"recoveryPointTime\":\"2024-04-14T04:30:55.7920337Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"2b39b2a8992b458487975913cf5f2fd9\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2024-04-14T04:30:55.7920337Z\",\"expiryTime\":\"2024-07-14T04:30:55.7920337Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638468894725664864\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-07-14T04:30:55.7920337Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints/3107c1384b1446e3b9b096296f5df628\",\"name\":\"3107c1384b1446e3b9b096296f5df628\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"e5ddfddba2ab41cda23d209177b1145e\",\"recoveryPointTime\":\"2024-04-11T04:30:48.0197807Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"08c79e0d4eaa4d6b934ff5a040f8303d\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2024-04-11T04:30:48.0353360Z\",\"expiryTime\":\"2024-07-11T04:30:48.0353360Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638468894725664864\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-07-11T04:30:48.0353360Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints/e5ddfddba2ab41cda23d209177b1145e\",\"name\":\"e5ddfddba2ab41cda23d209177b1145e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"d28702158bff4814944bfa4453339f82\",\"recoveryPointTime\":\"2024-04-07T04:30:56.5426451Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"43f2aa9c7c354677bfcb6efbea2ccadf\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2024-04-07T04:30:56.5426451Z\",\"expiryTime\":\"2024-07-07T04:30:56.5426451Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638468894725664864\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-07-07T04:30:56.5426451Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints/d28702158bff4814944bfa4453339f82\",\"name\":\"d28702158bff4814944bfa4453339f82\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"34a9e90a200341e8b3f20aa71f55dded\",\"recoveryPointTime\":\"2024-04-04T04:30:51.7454682Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"08bf59795b534ec78c39828ed05832e5\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2024-04-04T04:30:51.7454682Z\",\"expiryTime\":\"2024-07-04T04:30:51.7454682Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638468894725664864\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-07-04T04:30:51.7454682Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints/34a9e90a200341e8b3f20aa71f55dded\",\"name\":\"34a9e90a200341e8b3f20aa71f55dded\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"a046a47de45b4ca597a4770ca2b84356\",\"recoveryPointTime\":\"2024-03-31T04:30:50.3882466Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"5ec2e7de69e345f5b4dcb2c01b1993e8\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2024-03-31T04:30:50.3882466Z\",\"expiryTime\":\"2024-06-30T04:30:50.3882466Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638468894725664864\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-06-30T04:30:50.3882466Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints/a046a47de45b4ca597a4770ca2b84356\",\"name\":\"a046a47de45b4ca597a4770ca2b84356\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"ab45fb4caacd410ba377ac80c4392560\",\"recoveryPointTime\":\"2024-03-28T04:30:46.3981208Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"09f97bb60a534e5d9ff2c2cd0b75e1ad\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2024-03-28T04:30:46.3981208Z\",\"expiryTime\":\"2024-06-28T04:30:46.3981208Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638468894725664864\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-06-28T04:30:46.3981208Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints/ab45fb4caacd410ba377ac80c4392560\",\"name\":\"ab45fb4caacd410ba377ac80c4392560\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"93d5e55fab3246298f5b505d266debc0\",\"recoveryPointTime\":\"2024-03-25T01:56:13.7082589Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"6669e9708a0a480a8cb4236dcd8b3562\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2024-03-25T01:56:13.7082589Z\",\"expiryTime\":\"2024-06-25T01:56:13.7082589Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638468894725664864\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-06-25T01:56:13.7082589Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints/93d5e55fab3246298f5b505d266debc0\",\"name\":\"93d5e55fab3246298f5b505d266debc0\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"bc04a2115e864ac2811bf047161c5fb3\",\"recoveryPointTime\":\"2024-03-24T17:26:46.3658631Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"bd38213f82724f4182ff52ce10038b7a\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2024-03-24T17:26:46.3658631Z\",\"expiryTime\":\"2024-06-24T17:26:46.3658631Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638468894725664864\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-06-24T17:26:46.3658631Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints/bc04a2115e864ac2811bf047161c5fb3\",\"name\":\"bc04a2115e864ac2811bf047161c5fb3\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"542885517e5948a2a75d4cf9009ebb52\",\"recoveryPointTime\":\"2024-03-24T16:45:30.4709452Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"069f5f749e3b4a478d8301fc85a2046b\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2024-03-24T16:45:30.4709452Z\",\"expiryTime\":\"2024-06-24T16:45:30.4709452Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638468894725664864\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-06-24T16:45:30.4709452Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints/542885517e5948a2a75d4cf9009ebb52\",\"name\":\"542885517e5948a2a75d4cf9009ebb52\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"}]}", "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-d63f9173-e53b-4d5c-bca1-0aca87410065/restore?api-version=2023-12-01+14": { + "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-d63f9173-e53b-4d5c-bca1-0aca87410065/restore?api-version=2024-04-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-d63f9173-e53b-4d5c-bca1-0aca87410065/restore?api-version=2023-12-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-03-2024-1-11-11\",\r\n \"resourceLocation\": \"centraluseuap\",\r\n \"resourceName\": \"oss-pstest-dbrestore-25-03-2024-1-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\": \"93d5e55fab3246298f5b505d266debc0\"\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-d63f9173-e53b-4d5c-bca1-0aca87410065/restore?api-version=2024-04-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-22-04-2024-3-11-11\",\r\n \"resourceLocation\": \"centraluseuap\",\r\n \"resourceName\": \"oss-pstest-dbrestore-22-04-2024-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\": \"2001797b6a074e55ac397e021cf5e22b\"\r\n}", "isContentBase64": false, "Headers": { }, @@ -5302,18 +4140,19 @@ "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/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2UzYWVlNjZiLTQyMTAtNDJkMy1iMDQ2LTIxZGMyZmJlNzYxOA==?api-version=2023-12-01\u0026t=638469286450358016\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=AF0_iOMfzgR_bTuIdMeqhywbSDBa6Lt6QZhZxqJg-9hjxNikD9v43b8OByqFBz7NDkuVvek63uTbQwIRQA3WBIWzkXFUvmE8mbG_0nxlfcy1cnAda4_n652zq4g9ODilCciJVsPOSLoOG5cI2aGrWdHIdkp3Wtc9bMTLoCEWg7ccBFcn7AQdL4rb0Hptyk8tBe3FneTpgmGl6vgPkyjvrYHK0DDDES1dhm77lsVbA2gRi836oJoXkOqZCN66Sh9sE9VfJ6VG_xeO42ry0movUl3F6LSyEiXzPF_UamnfDp8I-LajG9kkuMFzRy18O5LZXq2G1FQMJgmhEHJg41BLRA\u0026h=8KO_zyDWrZfgNYm0O5qGG8R4GnASZiijUj6sSXcf8pw" ], + "Location": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2I2ZjY5MGNkLWQ4MzctNGI1OC04YjM3LTA5ODVmOWY5MGMwYg==?api-version=2024-04-01\u0026t=638493513994772284\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=4f3ow5xT7ocdbSlgKFjwHqoEorUxnew3knB3ZtxiWLN472-NzP4oWkW-orEe30yzILuA33I4c3ySmbxvcdim05kcFniHpsrZVcZkN_eyWnqDR5Or0xKaRoE5xUTRS-INcCpaJlJsuC6Hnvru1Y8VuLiyls9UtH3Xd67yTyirhOnBxoyf_C0tzc6LNco6JV2xoVW52VEYEDo885ps5adcuirL0W4LDPHT704whB7xuqaMVuJQNF-dKziE1mktBMshlySMfMCqS62yCdv1vmlG7rcHdRq2ZglBYclkLd9v92mW-8AVi7DF_2FMkQDB9sdc-SXAoEvAVC1ZjUOJQ2Vq_w\u0026h=_RdjuqeksZ5Yf7nPY8RVz7jU72ljWEPTxmCDhSBAgZ4" ], "Retry-After": [ "30" ], "X-Content-Type-Options": [ "nosniff" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2UzYWVlNjZiLTQyMTAtNDJkMy1iMDQ2LTIxZGMyZmJlNzYxOA==?api-version=2023-12-01\u0026t=638469286450203799\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=NGbw15g0WLmgh-0RybBlUZZWfRQ1fjZxXHM_cb4wmfYUHKwnhUHv0ZOOaB5JJYiCFgel0An__8-Y63JE_QS2PAOUifO44pxqcCRPCH9nTMBJEG0-YIh14RfzIeqZSDhwQTG94tHWbaC8k1B5fVu_9UGjFK3QhCM_0gEzfHUWosdDLqzlHUUfq0rP7cMup58l1ETUXKrjoEyi57OifiCoCIKz0qV7OmWXi67TE8SeOzXKQLX4lqZkzo5ZPBqEfLCXuNZJPTeNto1RVSPE_s9neA0AQfYCwjySXBcubrNjpmNuPMigWjzCVI6Cg3Whx2amLuPVovTC8IbIfg4t41pOLQ\u0026h=9cDojGDkA3YM-tLhQUSUC3SLxcNTEzlwpkCQJHY0bfA" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2I2ZjY5MGNkLWQ4MzctNGI1OC04YjM3LTA5ODVmOWY5MGMwYg==?api-version=2024-04-01\u0026t=638493513994615731\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=xLd6kOyQXVm7x0BYpQO5fIgpkKAACY5527A_O5P1Mxa2go62-QAo6tLgZqXikkGGfDOvn4BUbNa68XvqWOplDOtC92ipWGdG4XwFniCG-yMUstvZfdAN_JlvMjKp0o5GymqC5SPEkWRDq42FtTYDwp__F-ucEX3mMygYV0Z-UjmeYQ8GGCIvY1fGM8aNLXKA4U-r6HeB64fDZiiYSzoA4lncsjUa5hCmqVUMq0HalRtWgN1tf_fZTs255kczHWMB1yPZK-Y0ZlAh8igSzIOrs3_5romkJHHOYrQvs9E7e75-A2E4p1Y3KKuNzTVcVp3m2jCYDCn6kqCoPmJ24-k8SA\u0026h=V1QczwAOa-WFmJcNYz2WpKoBA-WiTuwGBqOKI0inXC4" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-request-id": [ "ffb18686-47b3-4355-9d37-3b4b72b144a1" ], - "x-ms-correlation-request-id": [ "ffb18686-47b3-4355-9d37-3b4b72b144a1" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015725Z:ffb18686-47b3-4355-9d37-3b4b72b144a1" ], + "x-ms-request-id": [ "98ff86b4-b18d-4da1-9c44-6a32bcddbcaa" ], + "x-ms-correlation-request-id": [ "98ff86b4-b18d-4da1-9c44-6a32bcddbcaa" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240422T025639Z:98ff86b4-b18d-4da1-9c44-6a32bcddbcaa" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 3BD9FF6D180547C19DCE3D6D0E6B4AC1 Ref B: MAA201060513029 Ref C: 2024-03-25T01:57:24Z" ], - "Date": [ "Mon, 25 Mar 2024 01:57:24 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 1AE182F1A82A404AA9F6A62868D4C7F9 Ref B: MAA201060514035 Ref C: 2024-04-22T02:56:38Z" ], + "Date": [ "Mon, 22 Apr 2024 02:56:38 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -5323,20 +4162,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/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2UzYWVlNjZiLTQyMTAtNDJkMy1iMDQ2LTIxZGMyZmJlNzYxOA==?api-version=2023-12-01\u0026t=638469286450203799\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=NGbw15g0WLmgh-0RybBlUZZWfRQ1fjZxXHM_cb4wmfYUHKwnhUHv0ZOOaB5JJYiCFgel0An__8-Y63JE_QS2PAOUifO44pxqcCRPCH9nTMBJEG0-YIh14RfzIeqZSDhwQTG94tHWbaC8k1B5fVu_9UGjFK3QhCM_0gEzfHUWosdDLqzlHUUfq0rP7cMup58l1ETUXKrjoEyi57OifiCoCIKz0qV7OmWXi67TE8SeOzXKQLX4lqZkzo5ZPBqEfLCXuNZJPTeNto1RVSPE_s9neA0AQfYCwjySXBcubrNjpmNuPMigWjzCVI6Cg3Whx2amLuPVovTC8IbIfg4t41pOLQ\u0026h=9cDojGDkA3YM-tLhQUSUC3SLxcNTEzlwpkCQJHY0bfA+15": { + "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/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2I2ZjY5MGNkLWQ4MzctNGI1OC04YjM3LTA5ODVmOWY5MGMwYg==?api-version=2024-04-01\u0026t=638493513994615731\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=xLd6kOyQXVm7x0BYpQO5fIgpkKAACY5527A_O5P1Mxa2go62-QAo6tLgZqXikkGGfDOvn4BUbNa68XvqWOplDOtC92ipWGdG4XwFniCG-yMUstvZfdAN_JlvMjKp0o5GymqC5SPEkWRDq42FtTYDwp__F-ucEX3mMygYV0Z-UjmeYQ8GGCIvY1fGM8aNLXKA4U-r6HeB64fDZiiYSzoA4lncsjUa5hCmqVUMq0HalRtWgN1tf_fZTs255kczHWMB1yPZK-Y0ZlAh8igSzIOrs3_5romkJHHOYrQvs9E7e75-A2E4p1Y3KKuNzTVcVp3m2jCYDCn6kqCoPmJ24-k8SA\u0026h=V1QczwAOa-WFmJcNYz2WpKoBA-WiTuwGBqOKI0inXC4+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/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2UzYWVlNjZiLTQyMTAtNDJkMy1iMDQ2LTIxZGMyZmJlNzYxOA==?api-version=2023-12-01\u0026t=638469286450203799\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=NGbw15g0WLmgh-0RybBlUZZWfRQ1fjZxXHM_cb4wmfYUHKwnhUHv0ZOOaB5JJYiCFgel0An__8-Y63JE_QS2PAOUifO44pxqcCRPCH9nTMBJEG0-YIh14RfzIeqZSDhwQTG94tHWbaC8k1B5fVu_9UGjFK3QhCM_0gEzfHUWosdDLqzlHUUfq0rP7cMup58l1ETUXKrjoEyi57OifiCoCIKz0qV7OmWXi67TE8SeOzXKQLX4lqZkzo5ZPBqEfLCXuNZJPTeNto1RVSPE_s9neA0AQfYCwjySXBcubrNjpmNuPMigWjzCVI6Cg3Whx2amLuPVovTC8IbIfg4t41pOLQ\u0026h=9cDojGDkA3YM-tLhQUSUC3SLxcNTEzlwpkCQJHY0bfA", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2I2ZjY5MGNkLWQ4MzctNGI1OC04YjM3LTA5ODVmOWY5MGMwYg==?api-version=2024-04-01\u0026t=638493513994615731\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=xLd6kOyQXVm7x0BYpQO5fIgpkKAACY5527A_O5P1Mxa2go62-QAo6tLgZqXikkGGfDOvn4BUbNa68XvqWOplDOtC92ipWGdG4XwFniCG-yMUstvZfdAN_JlvMjKp0o5GymqC5SPEkWRDq42FtTYDwp__F-ucEX3mMygYV0Z-UjmeYQ8GGCIvY1fGM8aNLXKA4U-r6HeB64fDZiiYSzoA4lncsjUa5hCmqVUMq0HalRtWgN1tf_fZTs255kczHWMB1yPZK-Y0ZlAh8igSzIOrs3_5romkJHHOYrQvs9E7e75-A2E4p1Y3KKuNzTVcVp3m2jCYDCn6kqCoPmJ24-k8SA\u0026h=V1QczwAOa-WFmJcNYz2WpKoBA-WiTuwGBqOKI0inXC4", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "128" ], - "x-ms-client-request-id": [ "1ad2fe5f-30ff-4af9-b559-e68c362866da" ], + "x-ms-unique-id": [ "98" ], + "x-ms-client-request-id": [ "aa7ea04f-6c3e-4a22-9cbd-32164d58b944" ], "CommandName": [ "Az.DataProtection.Internal\\Start-AzDataProtectionBackupInstanceRestore" ], "FullCommandName": [ "Start-AzDataProtectionBackupInstanceRestore_Trigger" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -5346,39 +4185,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "f3ffc6a4-45f4-4ecb-9001-858596732149" ], - "x-ms-correlation-request-id": [ "f3ffc6a4-45f4-4ecb-9001-858596732149" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015757Z:f3ffc6a4-45f4-4ecb-9001-858596732149" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], + "x-ms-request-id": [ "161f9fff-48ff-4672-8e89-60e0a16ca180" ], + "x-ms-correlation-request-id": [ "161f9fff-48ff-4672-8e89-60e0a16ca180" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240422T025710Z:161f9fff-48ff-4672-8e89-60e0a16ca180" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 8A2936554DDF4332AA55B5F12DC3B1E2 Ref B: MAA201060513029 Ref C: 2024-03-25T01:57:55Z" ], - "Date": [ "Mon, 25 Mar 2024 01:57:56 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 24B31C04D0D94FA28E9EC78241E1017F Ref B: MAA201060514035 Ref C: 2024-04-22T02:57:09Z" ], + "Date": [ "Mon, 22 Apr 2024 02:57:09 GMT" ] }, "ContentHeaders": { "Content-Length": [ "737" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2UzYWVlNjZiLTQyMTAtNDJkMy1iMDQ2LTIxZGMyZmJlNzYxOA==\",\"name\":\"ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2UzYWVlNjZiLTQyMTAtNDJkMy1iMDQ2LTIxZGMyZmJlNzYxOA==\",\"status\":\"Succeeded\",\"startTime\":\"2024-03-25T01:57:24.8483943Z\",\"endTime\":\"2024-03-25T01:57:25Z\",\"properties\":{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/oss-pstest-rg/providers/Microsoft.DataProtection/BackupVaults/oss-pstest-vault/backupJobs/8c8858cd-7c41-4c40-8843-ee10c4a178c9\",\"objectType\":\"OperationJobExtendedInfo\"}}", + "Content": "{\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2I2ZjY5MGNkLWQ4MzctNGI1OC04YjM3LTA5ODVmOWY5MGMwYg==\",\"name\":\"ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2I2ZjY5MGNkLWQ4MzctNGI1OC04YjM3LTA5ODVmOWY5MGMwYg==\",\"status\":\"Succeeded\",\"startTime\":\"2024-04-22T02:56:39.2687883Z\",\"endTime\":\"2024-04-22T02:56:40Z\",\"properties\":{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/oss-pstest-rg/providers/Microsoft.DataProtection/BackupVaults/oss-pstest-vault/backupJobs/988b0898-06d9-425c-b440-6051b7d41c7c\",\"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/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2UzYWVlNjZiLTQyMTAtNDJkMy1iMDQ2LTIxZGMyZmJlNzYxOA==?api-version=2023-12-01\u0026t=638469286450358016\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=AF0_iOMfzgR_bTuIdMeqhywbSDBa6Lt6QZhZxqJg-9hjxNikD9v43b8OByqFBz7NDkuVvek63uTbQwIRQA3WBIWzkXFUvmE8mbG_0nxlfcy1cnAda4_n652zq4g9ODilCciJVsPOSLoOG5cI2aGrWdHIdkp3Wtc9bMTLoCEWg7ccBFcn7AQdL4rb0Hptyk8tBe3FneTpgmGl6vgPkyjvrYHK0DDDES1dhm77lsVbA2gRi836oJoXkOqZCN66Sh9sE9VfJ6VG_xeO42ry0movUl3F6LSyEiXzPF_UamnfDp8I-LajG9kkuMFzRy18O5LZXq2G1FQMJgmhEHJg41BLRA\u0026h=8KO_zyDWrZfgNYm0O5qGG8R4GnASZiijUj6sSXcf8pw+16": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2I2ZjY5MGNkLWQ4MzctNGI1OC04YjM3LTA5ODVmOWY5MGMwYg==?api-version=2024-04-01\u0026t=638493513994772284\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=4f3ow5xT7ocdbSlgKFjwHqoEorUxnew3knB3ZtxiWLN472-NzP4oWkW-orEe30yzILuA33I4c3ySmbxvcdim05kcFniHpsrZVcZkN_eyWnqDR5Or0xKaRoE5xUTRS-INcCpaJlJsuC6Hnvru1Y8VuLiyls9UtH3Xd67yTyirhOnBxoyf_C0tzc6LNco6JV2xoVW52VEYEDo885ps5adcuirL0W4LDPHT704whB7xuqaMVuJQNF-dKziE1mktBMshlySMfMCqS62yCdv1vmlG7rcHdRq2ZglBYclkLd9v92mW-8AVi7DF_2FMkQDB9sdc-SXAoEvAVC1ZjUOJQ2Vq_w\u0026h=_RdjuqeksZ5Yf7nPY8RVz7jU72ljWEPTxmCDhSBAgZ4+16": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2UzYWVlNjZiLTQyMTAtNDJkMy1iMDQ2LTIxZGMyZmJlNzYxOA==?api-version=2023-12-01\u0026t=638469286450358016\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=AF0_iOMfzgR_bTuIdMeqhywbSDBa6Lt6QZhZxqJg-9hjxNikD9v43b8OByqFBz7NDkuVvek63uTbQwIRQA3WBIWzkXFUvmE8mbG_0nxlfcy1cnAda4_n652zq4g9ODilCciJVsPOSLoOG5cI2aGrWdHIdkp3Wtc9bMTLoCEWg7ccBFcn7AQdL4rb0Hptyk8tBe3FneTpgmGl6vgPkyjvrYHK0DDDES1dhm77lsVbA2gRi836oJoXkOqZCN66Sh9sE9VfJ6VG_xeO42ry0movUl3F6LSyEiXzPF_UamnfDp8I-LajG9kkuMFzRy18O5LZXq2G1FQMJgmhEHJg41BLRA\u0026h=8KO_zyDWrZfgNYm0O5qGG8R4GnASZiijUj6sSXcf8pw", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2I2ZjY5MGNkLWQ4MzctNGI1OC04YjM3LTA5ODVmOWY5MGMwYg==?api-version=2024-04-01\u0026t=638493513994772284\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=4f3ow5xT7ocdbSlgKFjwHqoEorUxnew3knB3ZtxiWLN472-NzP4oWkW-orEe30yzILuA33I4c3ySmbxvcdim05kcFniHpsrZVcZkN_eyWnqDR5Or0xKaRoE5xUTRS-INcCpaJlJsuC6Hnvru1Y8VuLiyls9UtH3Xd67yTyirhOnBxoyf_C0tzc6LNco6JV2xoVW52VEYEDo885ps5adcuirL0W4LDPHT704whB7xuqaMVuJQNF-dKziE1mktBMshlySMfMCqS62yCdv1vmlG7rcHdRq2ZglBYclkLd9v92mW-8AVi7DF_2FMkQDB9sdc-SXAoEvAVC1ZjUOJQ2Vq_w\u0026h=_RdjuqeksZ5Yf7nPY8RVz7jU72ljWEPTxmCDhSBAgZ4", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "129" ], - "x-ms-client-request-id": [ "1ad2fe5f-30ff-4af9-b559-e68c362866da" ], + "x-ms-unique-id": [ "99" ], + "x-ms-client-request-id": [ "aa7ea04f-6c3e-4a22-9cbd-32164d58b944" ], "CommandName": [ "Az.DataProtection.Internal\\Start-AzDataProtectionBackupInstanceRestore" ], "FullCommandName": [ "Start-AzDataProtectionBackupInstanceRestore_Trigger" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -5389,39 +4229,40 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Retry-After": [ "30" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2UzYWVlNjZiLTQyMTAtNDJkMy1iMDQ2LTIxZGMyZmJlNzYxOA==?api-version=2023-12-01\u0026t=638469286780280018\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=EcJJQv2EjSEMufGZRPoniiUGBjGl0Q824XQyjtdYQrElf9upGBxaduTik8z70WRmjrrwrTvykJwVFfEuimGLbDCgNA-4twcHaM3sNKzk51QNRpV-IBH4W6EVnNX8bcVLutQ31efCm4cwZ-8vxfw-TrchLOx8gg6X4IY4lJQvlDaqFNOyljr8aflbsZztMus2GJKCn6VHGsln0EDp1bO5Curwnpm9mvm4pkYtVOX_ehHQBi11GDr9Xhc2eqTNxOutPMiIIQN0ge1y9_RXvWg5jwp0TfOpMTB2EjKxNkZZf4r9E2aFGMpiJQYHyI9Shlqw20EUq6SB_B5b4a4svaMDag\u0026h=5UqnFluqLx03PB7ztzrzB_KSX2PVfBn10q7zOKHx96g" ], - "x-ms-request-id": [ "155bf297-d571-4111-b953-ac26c16738dc" ], - "x-ms-correlation-request-id": [ "155bf297-d571-4111-b953-ac26c16738dc" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015758Z:155bf297-d571-4111-b953-ac26c16738dc" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2I2ZjY5MGNkLWQ4MzctNGI1OC04YjM3LTA5ODVmOWY5MGMwYg==?api-version=2024-04-01\u0026t=638493514318091893\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=ZnMqHOF7V9-9jWlV01b9gK_bXGy0vUi0h3InONIs_rZprImJddjNZiKrrx4qlDB9WabulTGp7RoD5YAzLlt2lr3xsLwojPYyPQaBY65tLtS7vBmbeAYR2Ko4CoSQmV36zH-yOY0KcjA6Lo0ovaSeuQDTEyHtwllu3nrpOzni2W340H_RkhCn4RdbUYFTkOh_v1w0XtbdLBaUcNodZYsFxLpXlQDMbj0-hZgmyA9-ioEq-ciSJbdB6BzSUFx_IOTDXYNR-UgapsSZiEZBCN75Nq2EG2t9QriKLvKsKUOhlWQGMYX_Ic0_bCE-YpbgrPwCjYQ-fPZProtL-3acP0Ysvg\u0026h=Se2PW6_xMgGSwtx4nmIGpDyoFFqKeMoEJ8SURcHqfXE" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "e7e19e88-649d-458c-9e24-35a35733a5a7" ], + "x-ms-correlation-request-id": [ "e7e19e88-649d-458c-9e24-35a35733a5a7" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240422T025711Z:e7e19e88-649d-458c-9e24-35a35733a5a7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 8F328BEDA5DC4B028B41E7A920D70542 Ref B: MAA201060513029 Ref C: 2024-03-25T01:57:57Z" ], - "Date": [ "Mon, 25 Mar 2024 01:57:57 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 1B89501976B741EBBDAA079B3E6E57DA Ref B: MAA201060514035 Ref C: 2024-04-22T02:57:10Z" ], + "Date": [ "Mon, 22 Apr 2024 02:57:10 GMT" ] }, "ContentHeaders": { "Content-Length": [ "245" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/oss-pstest-rg/providers/Microsoft.DataProtection/BackupVaults/oss-pstest-vault/backupJobs/8c8858cd-7c41-4c40-8843-ee10c4a178c9\",\"objectType\":\"OperationJobExtendedInfo\"}", + "Content": "{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/oss-pstest-rg/providers/Microsoft.DataProtection/BackupVaults/oss-pstest-vault/backupJobs/988b0898-06d9-425c-b440-6051b7d41c7c\",\"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/8c8858cd-7c41-4c40-8843-ee10c4a178c9?api-version=2023-12-01+17": { + "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/988b0898-06d9-425c-b440-6051b7d41c7c?api-version=2024-04-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/8c8858cd-7c41-4c40-8843-ee10c4a178c9?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/988b0898-06d9-425c-b440-6051b7d41c7c?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "130" ], - "x-ms-client-request-id": [ "af464555-3211-4aa3-a965-b33211b2b22f" ], + "x-ms-unique-id": [ "100" ], + "x-ms-client-request-id": [ "757aacf2-82f4-41cd-a61b-97378a34e95c" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -5433,37 +4274,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "8d722dd1-1a55-4954-a96b-4d9ad850773c" ], - "x-ms-correlation-request-id": [ "8d722dd1-1a55-4954-a96b-4d9ad850773c" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015819Z:8d722dd1-1a55-4954-a96b-4d9ad850773c" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "197" ], + "x-ms-request-id": [ "7f8197a0-1ff5-467d-bd0e-dbcf4c5881b7" ], + "x-ms-correlation-request-id": [ "7f8197a0-1ff5-467d-bd0e-dbcf4c5881b7" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240422T025733Z:7f8197a0-1ff5-467d-bd0e-dbcf4c5881b7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 8A251B920F2F40658BF704ED1F5E40B3 Ref B: MAA201060513029 Ref C: 2024-03-25T01:58:18Z" ], - "Date": [ "Mon, 25 Mar 2024 01:58:18 GMT" ] + "X-MSEdge-Ref": [ "Ref A: D674CFAEE1A442988635488B2AB9C0EA Ref B: MAA201060514035 Ref C: 2024-04-22T02:57:31Z" ], + "Date": [ "Mon, 22 Apr 2024 02:57:32 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2522" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"1ad2fe5f-30ff-4af9-b559-e68c362866da\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-03-25T01%3A57%3A25.2662773Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-25T01:57:25.0888063Z\",\"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\":\"93d5e55fab3246298f5b505d266debc0\",\"recoveryPointTime\":\"2024-03-25T01:56:13.7082589Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/oss-pstest-dbrestore-25-03-2024-1-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/8c8858cd-7c41-4c40-8843-ee10c4a178c9\",\"name\":\"8c8858cd-7c41-4c40-8843-ee10c4a178c9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"aa7ea04f-6c3e-4a22-9cbd-32164d58b944\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-04-22T02%3A56%3A39.6958594Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-22T02:56:39.5179771Z\",\"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\":\"2001797b6a074e55ac397e021cf5e22b\",\"recoveryPointTime\":\"2024-04-22T02:55:29.0738438Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/oss-pstest-dbrestore-22-04-2024-3-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/988b0898-06d9-425c-b440-6051b7d41c7c\",\"name\":\"988b0898-06d9-425c-b440-6051b7d41c7c\",\"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/8c8858cd-7c41-4c40-8843-ee10c4a178c9?api-version=2023-12-01+18": { + "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/988b0898-06d9-425c-b440-6051b7d41c7c?api-version=2024-04-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/8c8858cd-7c41-4c40-8843-ee10c4a178c9?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/988b0898-06d9-425c-b440-6051b7d41c7c?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "131" ], - "x-ms-client-request-id": [ "5ea7a305-cc61-4689-9b6c-7607b8e333dc" ], + "x-ms-unique-id": [ "101" ], + "x-ms-client-request-id": [ "5a8a4e31-7cf5-451c-bbff-f564eec004e0" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -5475,37 +4317,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "e162bdd6-5150-4994-a08e-3b84635d80dc" ], - "x-ms-correlation-request-id": [ "e162bdd6-5150-4994-a08e-3b84635d80dc" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015830Z:e162bdd6-5150-4994-a08e-3b84635d80dc" ], + "x-ms-request-id": [ "5ceccb1f-d145-4032-9607-2c2c1a9530e2" ], + "x-ms-correlation-request-id": [ "5ceccb1f-d145-4032-9607-2c2c1a9530e2" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240422T025745Z:5ceccb1f-d145-4032-9607-2c2c1a9530e2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 92BD5EE303BD4DB1A78EEB19BB956865 Ref B: MAA201060513029 Ref C: 2024-03-25T01:58:29Z" ], - "Date": [ "Mon, 25 Mar 2024 01:58:29 GMT" ] + "X-MSEdge-Ref": [ "Ref A: FF4247F0684E4D01A0663BC699CC08D6 Ref B: MAA201060514035 Ref C: 2024-04-22T02:57:43Z" ], + "Date": [ "Mon, 22 Apr 2024 02:57:45 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2522" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"1ad2fe5f-30ff-4af9-b559-e68c362866da\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-03-25T01%3A57%3A25.2662773Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-25T01:57:25.0888063Z\",\"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\":\"93d5e55fab3246298f5b505d266debc0\",\"recoveryPointTime\":\"2024-03-25T01:56:13.7082589Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/oss-pstest-dbrestore-25-03-2024-1-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/8c8858cd-7c41-4c40-8843-ee10c4a178c9\",\"name\":\"8c8858cd-7c41-4c40-8843-ee10c4a178c9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"aa7ea04f-6c3e-4a22-9cbd-32164d58b944\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-04-22T02%3A56%3A39.6958594Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-22T02:56:39.5179771Z\",\"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\":\"2001797b6a074e55ac397e021cf5e22b\",\"recoveryPointTime\":\"2024-04-22T02:55:29.0738438Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/oss-pstest-dbrestore-22-04-2024-3-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/988b0898-06d9-425c-b440-6051b7d41c7c\",\"name\":\"988b0898-06d9-425c-b440-6051b7d41c7c\",\"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/8c8858cd-7c41-4c40-8843-ee10c4a178c9?api-version=2023-12-01+19": { + "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/988b0898-06d9-425c-b440-6051b7d41c7c?api-version=2024-04-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/8c8858cd-7c41-4c40-8843-ee10c4a178c9?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/988b0898-06d9-425c-b440-6051b7d41c7c?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "132" ], - "x-ms-client-request-id": [ "4d56090e-1994-47cb-bef3-aefacdf95602" ], + "x-ms-unique-id": [ "102" ], + "x-ms-client-request-id": [ "ddce0f53-2fb7-4365-a8c4-5e6fb6451732" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -5517,37 +4360,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "a47d443b-3c6b-4022-b763-8d276f5f0f5f" ], - "x-ms-correlation-request-id": [ "a47d443b-3c6b-4022-b763-8d276f5f0f5f" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015841Z:a47d443b-3c6b-4022-b763-8d276f5f0f5f" ], + "x-ms-request-id": [ "8d35f25e-60cb-4490-a57d-406d29cce2ef" ], + "x-ms-correlation-request-id": [ "8d35f25e-60cb-4490-a57d-406d29cce2ef" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240422T025756Z:8d35f25e-60cb-4490-a57d-406d29cce2ef" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 703C99E9953E4053AFFAAC4502D0696B Ref B: MAA201060513029 Ref C: 2024-03-25T01:58:40Z" ], - "Date": [ "Mon, 25 Mar 2024 01:58:40 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 467316D1779E442F8E5A0D8D04764FB9 Ref B: MAA201060514035 Ref C: 2024-04-22T02:57:55Z" ], + "Date": [ "Mon, 22 Apr 2024 02:57:56 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2522" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"1ad2fe5f-30ff-4af9-b559-e68c362866da\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-03-25T01%3A57%3A25.2662773Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-25T01:57:25.0888063Z\",\"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\":\"93d5e55fab3246298f5b505d266debc0\",\"recoveryPointTime\":\"2024-03-25T01:56:13.7082589Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/oss-pstest-dbrestore-25-03-2024-1-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/8c8858cd-7c41-4c40-8843-ee10c4a178c9\",\"name\":\"8c8858cd-7c41-4c40-8843-ee10c4a178c9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"aa7ea04f-6c3e-4a22-9cbd-32164d58b944\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-04-22T02%3A56%3A39.6958594Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-22T02:56:39.5179771Z\",\"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\":\"2001797b6a074e55ac397e021cf5e22b\",\"recoveryPointTime\":\"2024-04-22T02:55:29.0738438Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/oss-pstest-dbrestore-22-04-2024-3-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/988b0898-06d9-425c-b440-6051b7d41c7c\",\"name\":\"988b0898-06d9-425c-b440-6051b7d41c7c\",\"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/8c8858cd-7c41-4c40-8843-ee10c4a178c9?api-version=2023-12-01+20": { + "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/988b0898-06d9-425c-b440-6051b7d41c7c?api-version=2024-04-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/8c8858cd-7c41-4c40-8843-ee10c4a178c9?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/988b0898-06d9-425c-b440-6051b7d41c7c?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "133" ], - "x-ms-client-request-id": [ "ba9575a4-ed41-4e57-bb78-981260681fcf" ], + "x-ms-unique-id": [ "103" ], + "x-ms-client-request-id": [ "01ed15ba-da64-4dc2-a222-2adac3a39fcc" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -5559,37 +4403,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "134f28f8-ab2f-41d1-a71e-4fe8bf6e654c" ], - "x-ms-correlation-request-id": [ "134f28f8-ab2f-41d1-a71e-4fe8bf6e654c" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015853Z:134f28f8-ab2f-41d1-a71e-4fe8bf6e654c" ], + "x-ms-request-id": [ "b8dc455c-af99-4a15-9cce-ae0d90d30cef" ], + "x-ms-correlation-request-id": [ "b8dc455c-af99-4a15-9cce-ae0d90d30cef" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240422T025808Z:b8dc455c-af99-4a15-9cce-ae0d90d30cef" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: A62D7C4F801345B98C4876B104249A75 Ref B: MAA201060513029 Ref C: 2024-03-25T01:58:51Z" ], - "Date": [ "Mon, 25 Mar 2024 01:58:52 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 654E1D387A4D46FFA6190E18DF0C2607 Ref B: MAA201060514035 Ref C: 2024-04-22T02:58:07Z" ], + "Date": [ "Mon, 22 Apr 2024 02:58:08 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2522" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"1ad2fe5f-30ff-4af9-b559-e68c362866da\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-03-25T01%3A57%3A25.2662773Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-25T01:57:25.0888063Z\",\"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\":\"93d5e55fab3246298f5b505d266debc0\",\"recoveryPointTime\":\"2024-03-25T01:56:13.7082589Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/oss-pstest-dbrestore-25-03-2024-1-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/8c8858cd-7c41-4c40-8843-ee10c4a178c9\",\"name\":\"8c8858cd-7c41-4c40-8843-ee10c4a178c9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"aa7ea04f-6c3e-4a22-9cbd-32164d58b944\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-04-22T02%3A56%3A39.6958594Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-22T02:56:39.5179771Z\",\"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\":\"2001797b6a074e55ac397e021cf5e22b\",\"recoveryPointTime\":\"2024-04-22T02:55:29.0738438Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/oss-pstest-dbrestore-22-04-2024-3-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/988b0898-06d9-425c-b440-6051b7d41c7c\",\"name\":\"988b0898-06d9-425c-b440-6051b7d41c7c\",\"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/8c8858cd-7c41-4c40-8843-ee10c4a178c9?api-version=2023-12-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/988b0898-06d9-425c-b440-6051b7d41c7c?api-version=2024-04-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/8c8858cd-7c41-4c40-8843-ee10c4a178c9?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/988b0898-06d9-425c-b440-6051b7d41c7c?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "134" ], - "x-ms-client-request-id": [ "280e7d21-d38d-4a01-a0d0-e570b486b079" ], + "x-ms-unique-id": [ "104" ], + "x-ms-client-request-id": [ "3c87e230-e694-4356-aa88-7bda4508ab3f" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -5601,37 +4446,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "d82469a9-b5b8-4bef-bcf7-f118df90593a" ], - "x-ms-correlation-request-id": [ "d82469a9-b5b8-4bef-bcf7-f118df90593a" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015904Z:d82469a9-b5b8-4bef-bcf7-f118df90593a" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], + "x-ms-request-id": [ "7749fb1d-1dc6-40cc-9a3c-c01a43867401" ], + "x-ms-correlation-request-id": [ "7749fb1d-1dc6-40cc-9a3c-c01a43867401" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240422T025820Z:7749fb1d-1dc6-40cc-9a3c-c01a43867401" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 866565DE7E924F37A5EAB06C010B05BE Ref B: MAA201060513029 Ref C: 2024-03-25T01:59:03Z" ], - "Date": [ "Mon, 25 Mar 2024 01:59:03 GMT" ] + "X-MSEdge-Ref": [ "Ref A: B62C15D9C98E46FD8FA5B317D52F63C8 Ref B: MAA201060514035 Ref C: 2024-04-22T02:58:19Z" ], + "Date": [ "Mon, 22 Apr 2024 02:58:20 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2522" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"1ad2fe5f-30ff-4af9-b559-e68c362866da\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-03-25T01%3A57%3A25.2662773Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-25T01:57:25.0888063Z\",\"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\":\"93d5e55fab3246298f5b505d266debc0\",\"recoveryPointTime\":\"2024-03-25T01:56:13.7082589Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/oss-pstest-dbrestore-25-03-2024-1-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/8c8858cd-7c41-4c40-8843-ee10c4a178c9\",\"name\":\"8c8858cd-7c41-4c40-8843-ee10c4a178c9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"aa7ea04f-6c3e-4a22-9cbd-32164d58b944\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-04-22T02%3A56%3A39.6958594Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-22T02:56:39.5179771Z\",\"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\":\"2001797b6a074e55ac397e021cf5e22b\",\"recoveryPointTime\":\"2024-04-22T02:55:29.0738438Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/oss-pstest-dbrestore-22-04-2024-3-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/988b0898-06d9-425c-b440-6051b7d41c7c\",\"name\":\"988b0898-06d9-425c-b440-6051b7d41c7c\",\"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/8c8858cd-7c41-4c40-8843-ee10c4a178c9?api-version=2023-12-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/988b0898-06d9-425c-b440-6051b7d41c7c?api-version=2024-04-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/8c8858cd-7c41-4c40-8843-ee10c4a178c9?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/988b0898-06d9-425c-b440-6051b7d41c7c?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "135" ], - "x-ms-client-request-id": [ "7355123e-37cb-47e1-91ad-5eec39db546e" ], + "x-ms-unique-id": [ "105" ], + "x-ms-client-request-id": [ "a9e72d38-2e11-4c80-b606-3e8e362ce163" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -5643,37 +4489,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "79e700ca-a698-4d20-8282-f7ec779eb138" ], - "x-ms-correlation-request-id": [ "79e700ca-a698-4d20-8282-f7ec779eb138" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015915Z:79e700ca-a698-4d20-8282-f7ec779eb138" ], + "x-ms-request-id": [ "79732e11-8011-4454-a9d9-31988fe14e1c" ], + "x-ms-correlation-request-id": [ "79732e11-8011-4454-a9d9-31988fe14e1c" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240422T025831Z:79732e11-8011-4454-a9d9-31988fe14e1c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: B3874506E4F14551BC0CD852F374859F Ref B: MAA201060513029 Ref C: 2024-03-25T01:59:14Z" ], - "Date": [ "Mon, 25 Mar 2024 01:59:14 GMT" ] + "X-MSEdge-Ref": [ "Ref A: CAAAEB6903594A6AB4360D8203B3EF0C Ref B: MAA201060514035 Ref C: 2024-04-22T02:58:30Z" ], + "Date": [ "Mon, 22 Apr 2024 02:58:31 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2522" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"1ad2fe5f-30ff-4af9-b559-e68c362866da\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-03-25T01%3A57%3A25.2662773Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-25T01:57:25.0888063Z\",\"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\":\"93d5e55fab3246298f5b505d266debc0\",\"recoveryPointTime\":\"2024-03-25T01:56:13.7082589Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/oss-pstest-dbrestore-25-03-2024-1-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/8c8858cd-7c41-4c40-8843-ee10c4a178c9\",\"name\":\"8c8858cd-7c41-4c40-8843-ee10c4a178c9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"aa7ea04f-6c3e-4a22-9cbd-32164d58b944\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-04-22T02%3A56%3A39.6958594Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-22T02:56:39.5179771Z\",\"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\":\"2001797b6a074e55ac397e021cf5e22b\",\"recoveryPointTime\":\"2024-04-22T02:55:29.0738438Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/oss-pstest-dbrestore-22-04-2024-3-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/988b0898-06d9-425c-b440-6051b7d41c7c\",\"name\":\"988b0898-06d9-425c-b440-6051b7d41c7c\",\"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/8c8858cd-7c41-4c40-8843-ee10c4a178c9?api-version=2023-12-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/988b0898-06d9-425c-b440-6051b7d41c7c?api-version=2024-04-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/backupJobs/8c8858cd-7c41-4c40-8843-ee10c4a178c9?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/988b0898-06d9-425c-b440-6051b7d41c7c?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "136" ], - "x-ms-client-request-id": [ "3c2b5b61-b041-43be-865f-95be2ad7011f" ], + "x-ms-unique-id": [ "106" ], + "x-ms-client-request-id": [ "c350ebf8-4fc7-4706-b6e4-6e900efec5c7" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -5685,37 +4532,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "e263a75c-46f4-40e3-a1ce-f7456b21ab9b" ], - "x-ms-correlation-request-id": [ "e263a75c-46f4-40e3-a1ce-f7456b21ab9b" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015926Z:e263a75c-46f4-40e3-a1ce-f7456b21ab9b" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], + "x-ms-request-id": [ "4603d0f2-d3bb-4a45-b4ed-d095ff869bed" ], + "x-ms-correlation-request-id": [ "4603d0f2-d3bb-4a45-b4ed-d095ff869bed" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240422T025842Z:4603d0f2-d3bb-4a45-b4ed-d095ff869bed" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: E35315F0CEC848629641D6A1123B231B Ref B: MAA201060513029 Ref C: 2024-03-25T01:59:25Z" ], - "Date": [ "Mon, 25 Mar 2024 01:59:26 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 7C6636CD117C454E807D0E35727D1CAA Ref B: MAA201060514035 Ref C: 2024-04-22T02:58:41Z" ], + "Date": [ "Mon, 22 Apr 2024 02:58:42 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2522" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"1ad2fe5f-30ff-4af9-b559-e68c362866da\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-03-25T01%3A57%3A25.2662773Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-25T01:57:25.0888063Z\",\"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\":\"93d5e55fab3246298f5b505d266debc0\",\"recoveryPointTime\":\"2024-03-25T01:56:13.7082589Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/oss-pstest-dbrestore-25-03-2024-1-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/8c8858cd-7c41-4c40-8843-ee10c4a178c9\",\"name\":\"8c8858cd-7c41-4c40-8843-ee10c4a178c9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"aa7ea04f-6c3e-4a22-9cbd-32164d58b944\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-04-22T02%3A56%3A39.6958594Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-22T02:56:39.5179771Z\",\"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\":\"2001797b6a074e55ac397e021cf5e22b\",\"recoveryPointTime\":\"2024-04-22T02:55:29.0738438Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/oss-pstest-dbrestore-22-04-2024-3-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/988b0898-06d9-425c-b440-6051b7d41c7c\",\"name\":\"988b0898-06d9-425c-b440-6051b7d41c7c\",\"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/8c8858cd-7c41-4c40-8843-ee10c4a178c9?api-version=2023-12-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/988b0898-06d9-425c-b440-6051b7d41c7c?api-version=2024-04-01+24": { "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/8c8858cd-7c41-4c40-8843-ee10c4a178c9?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/988b0898-06d9-425c-b440-6051b7d41c7c?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "137" ], - "x-ms-client-request-id": [ "8437ef59-8bbe-4fcb-ac59-ce20b57d59b8" ], + "x-ms-unique-id": [ "107" ], + "x-ms-client-request-id": [ "c472ce8c-781b-455f-8fa7-f7302694f062" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -5727,37 +4575,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "b18f9f99-dff9-4c3f-9344-1edd8590a903" ], - "x-ms-correlation-request-id": [ "b18f9f99-dff9-4c3f-9344-1edd8590a903" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015938Z:b18f9f99-dff9-4c3f-9344-1edd8590a903" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "6aa9e9b6-70af-42cc-97bd-dcee98a38b45" ], + "x-ms-correlation-request-id": [ "6aa9e9b6-70af-42cc-97bd-dcee98a38b45" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240422T025853Z:6aa9e9b6-70af-42cc-97bd-dcee98a38b45" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: AD7CC75F53624ADAAF636A370C10F33D Ref B: MAA201060513029 Ref C: 2024-03-25T01:59:36Z" ], - "Date": [ "Mon, 25 Mar 2024 01:59:37 GMT" ] + "X-MSEdge-Ref": [ "Ref A: FF8ADF1F8448412EACEACA4BE51228A3 Ref B: MAA201060514035 Ref C: 2024-04-22T02:58:52Z" ], + "Date": [ "Mon, 22 Apr 2024 02:58:53 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2522" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"1ad2fe5f-30ff-4af9-b559-e68c362866da\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-03-25T01%3A57%3A25.2662773Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-25T01:57:25.0888063Z\",\"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\":\"93d5e55fab3246298f5b505d266debc0\",\"recoveryPointTime\":\"2024-03-25T01:56:13.7082589Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/oss-pstest-dbrestore-25-03-2024-1-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/8c8858cd-7c41-4c40-8843-ee10c4a178c9\",\"name\":\"8c8858cd-7c41-4c40-8843-ee10c4a178c9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"aa7ea04f-6c3e-4a22-9cbd-32164d58b944\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-04-22T02%3A56%3A39.6958594Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-22T02:56:39.5179771Z\",\"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\":\"2001797b6a074e55ac397e021cf5e22b\",\"recoveryPointTime\":\"2024-04-22T02:55:29.0738438Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/oss-pstest-dbrestore-22-04-2024-3-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/988b0898-06d9-425c-b440-6051b7d41c7c\",\"name\":\"988b0898-06d9-425c-b440-6051b7d41c7c\",\"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/8c8858cd-7c41-4c40-8843-ee10c4a178c9?api-version=2023-12-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/988b0898-06d9-425c-b440-6051b7d41c7c?api-version=2024-04-01+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/backupJobs/8c8858cd-7c41-4c40-8843-ee10c4a178c9?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/988b0898-06d9-425c-b440-6051b7d41c7c?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "138" ], - "x-ms-client-request-id": [ "d291dfb0-53e9-4d81-a957-4636eb2642d2" ], + "x-ms-unique-id": [ "108" ], + "x-ms-client-request-id": [ "fa22bb18-48a7-471f-b3c1-2195e051c0c5" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -5769,37 +4618,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "25189cea-a8b5-42ff-958f-8f58b734be88" ], - "x-ms-correlation-request-id": [ "25189cea-a8b5-42ff-958f-8f58b734be88" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015949Z:25189cea-a8b5-42ff-958f-8f58b734be88" ], + "x-ms-request-id": [ "2414a9a1-a7b6-4c00-8081-457854ae3a67" ], + "x-ms-correlation-request-id": [ "2414a9a1-a7b6-4c00-8081-457854ae3a67" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240422T025905Z:2414a9a1-a7b6-4c00-8081-457854ae3a67" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 1D2E0C9F4A504A8E84947195183296B0 Ref B: MAA201060513029 Ref C: 2024-03-25T01:59:48Z" ], - "Date": [ "Mon, 25 Mar 2024 01:59:48 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 5BE7B116E0984E80BEF4C8443C607830 Ref B: MAA201060514035 Ref C: 2024-04-22T02:59:03Z" ], + "Date": [ "Mon, 22 Apr 2024 02:59:05 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2693" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"1ad2fe5f-30ff-4af9-b559-e68c362866da\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-03-25T01%3A59%3A41.9068812Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-25T01:57:25.0888063Z\",\"endTime\":\"2024-03-25T01:59:41.6436913Z\",\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"Completed\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT2M16.554885S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"93d5e55fab3246298f5b505d266debc0\",\"recoveryPointTime\":\"2024-03-25T01:56:13.7082589Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/oss-pstest-dbrestore-25-03-2024-1-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"Completed\",\"taskProgress\":null,\"additionalDetails\":{\"DataTransferredInBytes\":\"0\",\"TaskId\":\"1ad2fe5f-30ff-4af9-b559-e68c362866da\",\"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/8c8858cd-7c41-4c40-8843-ee10c4a178c9\",\"name\":\"8c8858cd-7c41-4c40-8843-ee10c4a178c9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"aa7ea04f-6c3e-4a22-9cbd-32164d58b944\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-04-22T02%3A58%3A55.9162768Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-22T02:56:39.5179771Z\",\"endTime\":\"2024-04-22T02:58:55.727671Z\",\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"Completed\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT2M16.2096939S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"2001797b6a074e55ac397e021cf5e22b\",\"recoveryPointTime\":\"2024-04-22T02:55:29.0738438Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/oss-pstest-dbrestore-22-04-2024-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"Completed\",\"taskProgress\":null,\"additionalDetails\":{\"DataTransferredInBytes\":\"0\",\"TaskId\":\"aa7ea04f-6c3e-4a22-9cbd-32164d58b944\",\"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/988b0898-06d9-425c-b440-6051b7d41c7c\",\"name\":\"988b0898-06d9-425c-b440-6051b7d41c7c\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints?api-version=2023-12-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/backupInstances/oss-pstest-server-postgres-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints?api-version=2024-04-01+26": { "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-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints?api-version=2023-12-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-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "139" ], - "x-ms-client-request-id": [ "982bd8ef-353e-4b2d-85c1-8b3a0fcc011e" ], + "x-ms-unique-id": [ "109" ], + "x-ms-client-request-id": [ "00e57d31-43d2-48eb-8614-185b3ac9a9d2" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionRecoveryPoint" ], "FullCommandName": [ "Get-AzDataProtectionRecoveryPoint_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -5810,30 +4660,31 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "99" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "7277ad92-61c1-4370-9dd9-7f5114a6a5a0" ], - "x-ms-correlation-request-id": [ "7277ad92-61c1-4370-9dd9-7f5114a6a5a0" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015954Z:7277ad92-61c1-4370-9dd9-7f5114a6a5a0" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "99" ], + "x-ms-request-id": [ "b314de85-0d26-4453-9794-1cdd62650e79" ], + "x-ms-correlation-request-id": [ "b314de85-0d26-4453-9794-1cdd62650e79" ], + "x-ms-routing-request-id": [ "JIOINDIACENTRAL:20240422T025913Z:b314de85-0d26-4453-9794-1cdd62650e79" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 08FB14C993464FA7A720806A26B612E0 Ref B: MAA201060513029 Ref C: 2024-03-25T01:59:54Z" ], - "Date": [ "Mon, 25 Mar 2024 01:59:54 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 3887EEBA4D0F4DA1A3CB330E38E1DE10 Ref B: MAA201060514035 Ref C: 2024-04-22T02:59:11Z" ], + "Date": [ "Mon, 22 Apr 2024 02:59:13 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "3449" ], + "Content-Length": [ "19441" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"93d5e55fab3246298f5b505d266debc0\",\"recoveryPointTime\":\"2024-03-25T01:56:13.7082589Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"6669e9708a0a480a8cb4236dcd8b3562\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2024-03-25T01:56:13.7082589Z\",\"expiryTime\":\"2024-06-25T01:56:13.7082589Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638468894725664864\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-06-25T01:56:13.7082589Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints/93d5e55fab3246298f5b505d266debc0\",\"name\":\"93d5e55fab3246298f5b505d266debc0\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"bc04a2115e864ac2811bf047161c5fb3\",\"recoveryPointTime\":\"2024-03-24T17:26:46.3658631Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"bd38213f82724f4182ff52ce10038b7a\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2024-03-24T17:26:46.3658631Z\",\"expiryTime\":\"2024-06-24T17:26:46.3658631Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638468894725664864\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-06-24T17:26:46.3658631Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints/bc04a2115e864ac2811bf047161c5fb3\",\"name\":\"bc04a2115e864ac2811bf047161c5fb3\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"542885517e5948a2a75d4cf9009ebb52\",\"recoveryPointTime\":\"2024-03-24T16:45:30.4709452Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"069f5f749e3b4a478d8301fc85a2046b\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2024-03-24T16:45:30.4709452Z\",\"expiryTime\":\"2024-06-24T16:45:30.4709452Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638468894725664864\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-06-24T16:45:30.4709452Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints/542885517e5948a2a75d4cf9009ebb52\",\"name\":\"542885517e5948a2a75d4cf9009ebb52\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"}]}", + "Content": "{\"value\":[{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"2001797b6a074e55ac397e021cf5e22b\",\"recoveryPointTime\":\"2024-04-22T02:55:29.0738438Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"6675c34e690a4196b86cb358c8a8dda6\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2024-04-22T02:55:29.0738438Z\",\"expiryTime\":null,\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638468894725664864\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":null,\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints/2001797b6a074e55ac397e021cf5e22b\",\"name\":\"2001797b6a074e55ac397e021cf5e22b\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"fc91187ce45649539fa47c66a25bc1db\",\"recoveryPointTime\":\"2024-04-21T19:13:08.9635696Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"0b5ce8aa5594437b811146ddc54c110b\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2024-04-21T19:13:08.9635696Z\",\"expiryTime\":\"2024-07-21T19:13:08.9635696Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638468894725664864\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-07-21T19:13:08.9635696Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints/fc91187ce45649539fa47c66a25bc1db\",\"name\":\"fc91187ce45649539fa47c66a25bc1db\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"7fd5092ec22c4cb78ea6550061302200\",\"recoveryPointTime\":\"2024-04-21T18:33:28.1927269Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"e23331a80c3d4f35a48506ef395b9c46\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2024-04-21T18:33:28.1927269Z\",\"expiryTime\":\"2024-07-21T18:33:28.1927269Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638468894725664864\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-07-21T18:33:28.1927269Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints/7fd5092ec22c4cb78ea6550061302200\",\"name\":\"7fd5092ec22c4cb78ea6550061302200\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"92c849b6b9d94a48a055edc149b4b9a9\",\"recoveryPointTime\":\"2024-04-21T14:51:40.6833365Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"665cc000feef4a23a4f304727082c16c\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2024-04-21T14:51:40.6833365Z\",\"expiryTime\":\"2024-07-21T14:51:40.6833365Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638468894725664864\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-07-21T14:51:40.6833365Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints/92c849b6b9d94a48a055edc149b4b9a9\",\"name\":\"92c849b6b9d94a48a055edc149b4b9a9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"1e5dfb4e5e2c458ead32b96350a0d54b\",\"recoveryPointTime\":\"2024-04-21T14:22:40.4148137Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"a9db2caba81347038693ca0653810c9e\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2024-04-21T14:22:40.4148137Z\",\"expiryTime\":\"2024-07-21T14:22:40.4148137Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638468894725664864\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-07-21T14:22:40.4148137Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints/1e5dfb4e5e2c458ead32b96350a0d54b\",\"name\":\"1e5dfb4e5e2c458ead32b96350a0d54b\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"2a9eb6ebf3d8434190524a2c1c8e1275\",\"recoveryPointTime\":\"2024-04-21T04:30:56.0672256Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"4be4089e468b4110a5d8293e5899ee80\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2024-04-21T04:30:56.0672256Z\",\"expiryTime\":\"2024-07-21T04:30:56.0672256Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638468894725664864\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-07-21T04:30:56.0672256Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints/2a9eb6ebf3d8434190524a2c1c8e1275\",\"name\":\"2a9eb6ebf3d8434190524a2c1c8e1275\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"6cd01167140f4b50b7b72b179c69fbbc\",\"recoveryPointTime\":\"2024-04-18T04:30:53.5145982Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"fcf03f60b2d740eea2fa521f426b6487\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2024-04-18T04:30:53.5145982Z\",\"expiryTime\":\"2024-07-18T04:30:53.5145982Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638468894725664864\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-07-18T04:30:53.5145982Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints/6cd01167140f4b50b7b72b179c69fbbc\",\"name\":\"6cd01167140f4b50b7b72b179c69fbbc\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"15a26dbc6525489e956bd184d2fd28cb\",\"recoveryPointTime\":\"2024-04-16T11:08:18.8897554Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"9af2083e823a4c5a936b01ed8f261ed2\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2024-04-16T11:08:18.8897554Z\",\"expiryTime\":\"2024-07-16T11:08:18.8897554Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638468894725664864\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-07-16T11:08:18.8897554Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints/15a26dbc6525489e956bd184d2fd28cb\",\"name\":\"15a26dbc6525489e956bd184d2fd28cb\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"3107c1384b1446e3b9b096296f5df628\",\"recoveryPointTime\":\"2024-04-14T04:30:55.7920337Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"2b39b2a8992b458487975913cf5f2fd9\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2024-04-14T04:30:55.7920337Z\",\"expiryTime\":\"2024-07-14T04:30:55.7920337Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638468894725664864\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-07-14T04:30:55.7920337Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints/3107c1384b1446e3b9b096296f5df628\",\"name\":\"3107c1384b1446e3b9b096296f5df628\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"e5ddfddba2ab41cda23d209177b1145e\",\"recoveryPointTime\":\"2024-04-11T04:30:48.0197807Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"08c79e0d4eaa4d6b934ff5a040f8303d\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2024-04-11T04:30:48.0353360Z\",\"expiryTime\":\"2024-07-11T04:30:48.0353360Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638468894725664864\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-07-11T04:30:48.0353360Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints/e5ddfddba2ab41cda23d209177b1145e\",\"name\":\"e5ddfddba2ab41cda23d209177b1145e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"d28702158bff4814944bfa4453339f82\",\"recoveryPointTime\":\"2024-04-07T04:30:56.5426451Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"43f2aa9c7c354677bfcb6efbea2ccadf\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2024-04-07T04:30:56.5426451Z\",\"expiryTime\":\"2024-07-07T04:30:56.5426451Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638468894725664864\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-07-07T04:30:56.5426451Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints/d28702158bff4814944bfa4453339f82\",\"name\":\"d28702158bff4814944bfa4453339f82\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"34a9e90a200341e8b3f20aa71f55dded\",\"recoveryPointTime\":\"2024-04-04T04:30:51.7454682Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"08bf59795b534ec78c39828ed05832e5\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2024-04-04T04:30:51.7454682Z\",\"expiryTime\":\"2024-07-04T04:30:51.7454682Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638468894725664864\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-07-04T04:30:51.7454682Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints/34a9e90a200341e8b3f20aa71f55dded\",\"name\":\"34a9e90a200341e8b3f20aa71f55dded\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"a046a47de45b4ca597a4770ca2b84356\",\"recoveryPointTime\":\"2024-03-31T04:30:50.3882466Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"5ec2e7de69e345f5b4dcb2c01b1993e8\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2024-03-31T04:30:50.3882466Z\",\"expiryTime\":\"2024-06-30T04:30:50.3882466Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638468894725664864\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-06-30T04:30:50.3882466Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints/a046a47de45b4ca597a4770ca2b84356\",\"name\":\"a046a47de45b4ca597a4770ca2b84356\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"ab45fb4caacd410ba377ac80c4392560\",\"recoveryPointTime\":\"2024-03-28T04:30:46.3981208Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"09f97bb60a534e5d9ff2c2cd0b75e1ad\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2024-03-28T04:30:46.3981208Z\",\"expiryTime\":\"2024-06-28T04:30:46.3981208Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638468894725664864\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-06-28T04:30:46.3981208Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints/ab45fb4caacd410ba377ac80c4392560\",\"name\":\"ab45fb4caacd410ba377ac80c4392560\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"93d5e55fab3246298f5b505d266debc0\",\"recoveryPointTime\":\"2024-03-25T01:56:13.7082589Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"6669e9708a0a480a8cb4236dcd8b3562\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2024-03-25T01:56:13.7082589Z\",\"expiryTime\":\"2024-06-25T01:56:13.7082589Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638468894725664864\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-06-25T01:56:13.7082589Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints/93d5e55fab3246298f5b505d266debc0\",\"name\":\"93d5e55fab3246298f5b505d266debc0\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"bc04a2115e864ac2811bf047161c5fb3\",\"recoveryPointTime\":\"2024-03-24T17:26:46.3658631Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"bd38213f82724f4182ff52ce10038b7a\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2024-03-24T17:26:46.3658631Z\",\"expiryTime\":\"2024-06-24T17:26:46.3658631Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638468894725664864\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-06-24T17:26:46.3658631Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints/bc04a2115e864ac2811bf047161c5fb3\",\"name\":\"bc04a2115e864ac2811bf047161c5fb3\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"542885517e5948a2a75d4cf9009ebb52\",\"recoveryPointTime\":\"2024-03-24T16:45:30.4709452Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"069f5f749e3b4a478d8301fc85a2046b\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2024-03-24T16:45:30.4709452Z\",\"expiryTime\":\"2024-06-24T16:45:30.4709452Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638468894725664864\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-06-24T16:45:30.4709452Z\",\"recoveryPointState\":\"Completed\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-d63f9173-e53b-4d5c-bca1-0aca87410065/recoveryPoints/542885517e5948a2a75d4cf9009ebb52\",\"name\":\"542885517e5948a2a75d4cf9009ebb52\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"}]}", "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-d63f9173-e53b-4d5c-bca1-0aca87410065/restore?api-version=2023-12-01+27": { + "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-d63f9173-e53b-4d5c-bca1-0aca87410065/restore?api-version=2024-04-01+27": { "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-d63f9173-e53b-4d5c-bca1-0aca87410065/restore?api-version=2023-12-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-03-2024-1-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\": \"93d5e55fab3246298f5b505d266debc0\"\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-d63f9173-e53b-4d5c-bca1-0aca87410065/restore?api-version=2024-04-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-22-04-2024-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\": \"2001797b6a074e55ac397e021cf5e22b\"\r\n}", "isContentBase64": false, "Headers": { }, @@ -5847,18 +4698,19 @@ "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/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzdhMWRjMjM1LWY2MjYtNDMzNy04OTE4LTJlOTdmMzUxNzY4NA==?api-version=2023-12-01\u0026t=638469287958074156\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=qA60hgsCv1KJ5woDntKmSPWCInj6kR6xTwgkqvhPX5HWK-zP4cHDJwGjEn9yJCVZC2vGOg-U4RJ0co47akaE1CIgvmc9wG7EhrHTnlZr0EM1z-UXhjIbYl3I2CSjd3YNcEtd7oX2S_TcXBQVDMk1nHA8kKU3cOHB-rpHZ0V-r756g-yhlpqcwN0oBh4f401JSqKV2lLtD9rwjT2JJBSSIF-6HFPm71cfYd61g_mAy2RG9sKuXoZ1MQpfFTLIPCgpHUpSTyDYZ-I6QYr0W2SggKKkW7FN1SN8JDVIOWFyuhVn_Az1qSA8D6OLrctTjhiT5Mme2sQaNVeY-0pSChWACw\u0026h=mB5stfK8YfzcsTH2tKG4kEwHVQItYsKfUVFiqsQVURE" ], + "Location": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzUwOTM5ODM1LWU5MzQtNGVlYy1hMzE0LTVmYzc0ZGY4ZGQ5Mw==?api-version=2024-04-01\u0026t=638493515549711101\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=iRe2bKdMTgznjJdzdmwiqqD-p146thzBN5UUsDnnURi7cK1FP_w8o-Clj5KUngzi0MA0Xmdxa07wUvi3iYb0nl60UuhWB9Fy2sox5zqY2Cy4hHgrb_vN74TEu1mT9pPSz7qmdCauMqEnzooewahDLI9GY_OQPuEfpxfiWcdYTbsXkBrZxlJb86ftI4jpEh5TrstcdPQG4cipgCB0cXxqUgU9KiXW_P-hPe1meiL_zzHipIq7sK7wIMquaFptwyieRSS1-eNG6ZY-rU03oqA04hb_7_g80QUAFAuIlhJsmldHhnKntxTWJsd-E_9cKuuG-6CCQYPaP7zNhIL1yovxdg\u0026h=KpGMhWDHK_Mv1PWxcnARxFtZy8A_Up5usvvzbteL7ek" ], "Retry-After": [ "30" ], "X-Content-Type-Options": [ "nosniff" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzdhMWRjMjM1LWY2MjYtNDMzNy04OTE4LTJlOTdmMzUxNzY4NA==?api-version=2023-12-01\u0026t=638469287957917965\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=oDHa9z-J8AyJhVRz_GNbHBMMkxxH4x657hJqNJBZaLChaL366_nx0zQdQHDY7BaTy44NDjJ9PVyfIT1_mMMK27j-ejFgJhkhFAaXQ_NCTNsfTEr9DDVd5xmrr3viD-KnduNjnWoNdpGuliZKLaD2D8jdvlmYt7Kowpz6_5kvRVyYndgzeKtgbGIV_wI_inZcsl8QMZvxgVnYufuewD_YWt3q5x0AR0yqaR8IxXd9b2vsMrD5onc7gVn2KznfWMRU9gXRqR3J5oBZmiI6Lu15-tKsbWEWNcZIu-xtNF3gLS9a3E6je43M-a-__RK7cusV6kVBDOoBUFmhancsihzAQg\u0026h=nWqKhO6lg2uaZJgDo9Xg315JlDJn-KgFZik71E3QWMg" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzUwOTM5ODM1LWU5MzQtNGVlYy1hMzE0LTVmYzc0ZGY4ZGQ5Mw==?api-version=2024-04-01\u0026t=638493515549555031\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=DNYMmxFZsl4clTX95fYQkpMZlC99ibbaaUGi_ohsO1QyEqolnDz0TvPGk8_UCt1dg46JO6FpFznGTIT4LyOJ7ezQF3dXgNP2jmPLmz41B1RkhCClS_urKzwdvYV0Dnm7Ipk5csihiW0BMiC_UvUHQ1mCXCkOovpjUA2j401OvBL6CvoGV7uDA-eO7049KrWtgEaw8VKr5i2hiUiavseHYw_4aoFKE4XnrQVOENOhXE3DRJDoeTRYYa29EIXWxlkU7sXhCm_vCoYq8EMNmZe8atN1avKWOhMCTFzDQ-sXFq6lFP7wMbq8_vTsZT4aRuProYTDYlBfHH2CauTfVuBqPg\u0026h=znUmNNipY0PEsAtL5rmPF4144paiwZieK2OWnJjB58g" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-request-id": [ "06c964be-e407-4353-b6c7-f2c7640fa490" ], - "x-ms-correlation-request-id": [ "06c964be-e407-4353-b6c7-f2c7640fa490" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T015955Z:06c964be-e407-4353-b6c7-f2c7640fa490" ], + "x-ms-request-id": [ "b394334c-384f-488c-b512-a08f3d15aa3c" ], + "x-ms-correlation-request-id": [ "b394334c-384f-488c-b512-a08f3d15aa3c" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240422T025914Z:b394334c-384f-488c-b512-a08f3d15aa3c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: A652FA1B11894DA397D44814E6AF8499 Ref B: MAA201060513029 Ref C: 2024-03-25T01:59:55Z" ], - "Date": [ "Mon, 25 Mar 2024 01:59:55 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 0F45CD64A0BE400E85224888FC608619 Ref B: MAA201060514035 Ref C: 2024-04-22T02:59:13Z" ], + "Date": [ "Mon, 22 Apr 2024 02:59:14 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -5868,20 +4720,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/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzdhMWRjMjM1LWY2MjYtNDMzNy04OTE4LTJlOTdmMzUxNzY4NA==?api-version=2023-12-01\u0026t=638469287957917965\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=oDHa9z-J8AyJhVRz_GNbHBMMkxxH4x657hJqNJBZaLChaL366_nx0zQdQHDY7BaTy44NDjJ9PVyfIT1_mMMK27j-ejFgJhkhFAaXQ_NCTNsfTEr9DDVd5xmrr3viD-KnduNjnWoNdpGuliZKLaD2D8jdvlmYt7Kowpz6_5kvRVyYndgzeKtgbGIV_wI_inZcsl8QMZvxgVnYufuewD_YWt3q5x0AR0yqaR8IxXd9b2vsMrD5onc7gVn2KznfWMRU9gXRqR3J5oBZmiI6Lu15-tKsbWEWNcZIu-xtNF3gLS9a3E6je43M-a-__RK7cusV6kVBDOoBUFmhancsihzAQg\u0026h=nWqKhO6lg2uaZJgDo9Xg315JlDJn-KgFZik71E3QWMg+28": { + "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/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzUwOTM5ODM1LWU5MzQtNGVlYy1hMzE0LTVmYzc0ZGY4ZGQ5Mw==?api-version=2024-04-01\u0026t=638493515549555031\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=DNYMmxFZsl4clTX95fYQkpMZlC99ibbaaUGi_ohsO1QyEqolnDz0TvPGk8_UCt1dg46JO6FpFznGTIT4LyOJ7ezQF3dXgNP2jmPLmz41B1RkhCClS_urKzwdvYV0Dnm7Ipk5csihiW0BMiC_UvUHQ1mCXCkOovpjUA2j401OvBL6CvoGV7uDA-eO7049KrWtgEaw8VKr5i2hiUiavseHYw_4aoFKE4XnrQVOENOhXE3DRJDoeTRYYa29EIXWxlkU7sXhCm_vCoYq8EMNmZe8atN1avKWOhMCTFzDQ-sXFq6lFP7wMbq8_vTsZT4aRuProYTDYlBfHH2CauTfVuBqPg\u0026h=znUmNNipY0PEsAtL5rmPF4144paiwZieK2OWnJjB58g+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/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzdhMWRjMjM1LWY2MjYtNDMzNy04OTE4LTJlOTdmMzUxNzY4NA==?api-version=2023-12-01\u0026t=638469287957917965\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=oDHa9z-J8AyJhVRz_GNbHBMMkxxH4x657hJqNJBZaLChaL366_nx0zQdQHDY7BaTy44NDjJ9PVyfIT1_mMMK27j-ejFgJhkhFAaXQ_NCTNsfTEr9DDVd5xmrr3viD-KnduNjnWoNdpGuliZKLaD2D8jdvlmYt7Kowpz6_5kvRVyYndgzeKtgbGIV_wI_inZcsl8QMZvxgVnYufuewD_YWt3q5x0AR0yqaR8IxXd9b2vsMrD5onc7gVn2KznfWMRU9gXRqR3J5oBZmiI6Lu15-tKsbWEWNcZIu-xtNF3gLS9a3E6je43M-a-__RK7cusV6kVBDOoBUFmhancsihzAQg\u0026h=nWqKhO6lg2uaZJgDo9Xg315JlDJn-KgFZik71E3QWMg", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzUwOTM5ODM1LWU5MzQtNGVlYy1hMzE0LTVmYzc0ZGY4ZGQ5Mw==?api-version=2024-04-01\u0026t=638493515549555031\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=DNYMmxFZsl4clTX95fYQkpMZlC99ibbaaUGi_ohsO1QyEqolnDz0TvPGk8_UCt1dg46JO6FpFznGTIT4LyOJ7ezQF3dXgNP2jmPLmz41B1RkhCClS_urKzwdvYV0Dnm7Ipk5csihiW0BMiC_UvUHQ1mCXCkOovpjUA2j401OvBL6CvoGV7uDA-eO7049KrWtgEaw8VKr5i2hiUiavseHYw_4aoFKE4XnrQVOENOhXE3DRJDoeTRYYa29EIXWxlkU7sXhCm_vCoYq8EMNmZe8atN1avKWOhMCTFzDQ-sXFq6lFP7wMbq8_vTsZT4aRuProYTDYlBfHH2CauTfVuBqPg\u0026h=znUmNNipY0PEsAtL5rmPF4144paiwZieK2OWnJjB58g", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "141" ], - "x-ms-client-request-id": [ "9c7b9a4e-bbcf-4fef-81c0-2535ba2b108a" ], + "x-ms-unique-id": [ "111" ], + "x-ms-client-request-id": [ "9a97599c-0c52-4b62-92aa-c4059066582d" ], "CommandName": [ "Az.DataProtection.Internal\\Start-AzDataProtectionBackupInstanceRestore" ], "FullCommandName": [ "Start-AzDataProtectionBackupInstanceRestore_Trigger" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -5891,39 +4743,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "896c7313-d782-4e74-8111-bbf91a4b647b" ], - "x-ms-correlation-request-id": [ "896c7313-d782-4e74-8111-bbf91a4b647b" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T020027Z:896c7313-d782-4e74-8111-bbf91a4b647b" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], + "x-ms-request-id": [ "6bca2356-a49a-4341-a2d8-c0484893e815" ], + "x-ms-correlation-request-id": [ "6bca2356-a49a-4341-a2d8-c0484893e815" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240422T025947Z:6bca2356-a49a-4341-a2d8-c0484893e815" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 16B575A12D5C47F4AD40EF0A83B41D8A Ref B: MAA201060513029 Ref C: 2024-03-25T02:00:25Z" ], - "Date": [ "Mon, 25 Mar 2024 02:00:26 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 89EBEAB5E75C40AC815ACCA8769C30A0 Ref B: MAA201060514035 Ref C: 2024-04-22T02:59:45Z" ], + "Date": [ "Mon, 22 Apr 2024 02:59:46 GMT" ] }, "ContentHeaders": { "Content-Length": [ "737" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzdhMWRjMjM1LWY2MjYtNDMzNy04OTE4LTJlOTdmMzUxNzY4NA==\",\"name\":\"ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzdhMWRjMjM1LWY2MjYtNDMzNy04OTE4LTJlOTdmMzUxNzY4NA==\",\"status\":\"Succeeded\",\"startTime\":\"2024-03-25T01:59:55.6097089Z\",\"endTime\":\"2024-03-25T01:59:56Z\",\"properties\":{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/oss-pstest-rg/providers/Microsoft.DataProtection/BackupVaults/oss-pstest-vault/backupJobs/899fd699-8c9e-4237-8420-4a66963cf7c8\",\"objectType\":\"OperationJobExtendedInfo\"}}", + "Content": "{\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzUwOTM5ODM1LWU5MzQtNGVlYy1hMzE0LTVmYzc0ZGY4ZGQ5Mw==\",\"name\":\"ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzUwOTM5ODM1LWU5MzQtNGVlYy1hMzE0LTVmYzc0ZGY4ZGQ5Mw==\",\"status\":\"Succeeded\",\"startTime\":\"2024-04-22T02:59:14.7502881Z\",\"endTime\":\"2024-04-22T02:59:15Z\",\"properties\":{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/oss-pstest-rg/providers/Microsoft.DataProtection/BackupVaults/oss-pstest-vault/backupJobs/69beca44-4f04-43c0-b699-b643de53b369\",\"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/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzdhMWRjMjM1LWY2MjYtNDMzNy04OTE4LTJlOTdmMzUxNzY4NA==?api-version=2023-12-01\u0026t=638469287958074156\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=qA60hgsCv1KJ5woDntKmSPWCInj6kR6xTwgkqvhPX5HWK-zP4cHDJwGjEn9yJCVZC2vGOg-U4RJ0co47akaE1CIgvmc9wG7EhrHTnlZr0EM1z-UXhjIbYl3I2CSjd3YNcEtd7oX2S_TcXBQVDMk1nHA8kKU3cOHB-rpHZ0V-r756g-yhlpqcwN0oBh4f401JSqKV2lLtD9rwjT2JJBSSIF-6HFPm71cfYd61g_mAy2RG9sKuXoZ1MQpfFTLIPCgpHUpSTyDYZ-I6QYr0W2SggKKkW7FN1SN8JDVIOWFyuhVn_Az1qSA8D6OLrctTjhiT5Mme2sQaNVeY-0pSChWACw\u0026h=mB5stfK8YfzcsTH2tKG4kEwHVQItYsKfUVFiqsQVURE+29": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzUwOTM5ODM1LWU5MzQtNGVlYy1hMzE0LTVmYzc0ZGY4ZGQ5Mw==?api-version=2024-04-01\u0026t=638493515549711101\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=iRe2bKdMTgznjJdzdmwiqqD-p146thzBN5UUsDnnURi7cK1FP_w8o-Clj5KUngzi0MA0Xmdxa07wUvi3iYb0nl60UuhWB9Fy2sox5zqY2Cy4hHgrb_vN74TEu1mT9pPSz7qmdCauMqEnzooewahDLI9GY_OQPuEfpxfiWcdYTbsXkBrZxlJb86ftI4jpEh5TrstcdPQG4cipgCB0cXxqUgU9KiXW_P-hPe1meiL_zzHipIq7sK7wIMquaFptwyieRSS1-eNG6ZY-rU03oqA04hb_7_g80QUAFAuIlhJsmldHhnKntxTWJsd-E_9cKuuG-6CCQYPaP7zNhIL1yovxdg\u0026h=KpGMhWDHK_Mv1PWxcnARxFtZy8A_Up5usvvzbteL7ek+29": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzdhMWRjMjM1LWY2MjYtNDMzNy04OTE4LTJlOTdmMzUxNzY4NA==?api-version=2023-12-01\u0026t=638469287958074156\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=qA60hgsCv1KJ5woDntKmSPWCInj6kR6xTwgkqvhPX5HWK-zP4cHDJwGjEn9yJCVZC2vGOg-U4RJ0co47akaE1CIgvmc9wG7EhrHTnlZr0EM1z-UXhjIbYl3I2CSjd3YNcEtd7oX2S_TcXBQVDMk1nHA8kKU3cOHB-rpHZ0V-r756g-yhlpqcwN0oBh4f401JSqKV2lLtD9rwjT2JJBSSIF-6HFPm71cfYd61g_mAy2RG9sKuXoZ1MQpfFTLIPCgpHUpSTyDYZ-I6QYr0W2SggKKkW7FN1SN8JDVIOWFyuhVn_Az1qSA8D6OLrctTjhiT5Mme2sQaNVeY-0pSChWACw\u0026h=mB5stfK8YfzcsTH2tKG4kEwHVQItYsKfUVFiqsQVURE", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzUwOTM5ODM1LWU5MzQtNGVlYy1hMzE0LTVmYzc0ZGY4ZGQ5Mw==?api-version=2024-04-01\u0026t=638493515549711101\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=iRe2bKdMTgznjJdzdmwiqqD-p146thzBN5UUsDnnURi7cK1FP_w8o-Clj5KUngzi0MA0Xmdxa07wUvi3iYb0nl60UuhWB9Fy2sox5zqY2Cy4hHgrb_vN74TEu1mT9pPSz7qmdCauMqEnzooewahDLI9GY_OQPuEfpxfiWcdYTbsXkBrZxlJb86ftI4jpEh5TrstcdPQG4cipgCB0cXxqUgU9KiXW_P-hPe1meiL_zzHipIq7sK7wIMquaFptwyieRSS1-eNG6ZY-rU03oqA04hb_7_g80QUAFAuIlhJsmldHhnKntxTWJsd-E_9cKuuG-6CCQYPaP7zNhIL1yovxdg\u0026h=KpGMhWDHK_Mv1PWxcnARxFtZy8A_Up5usvvzbteL7ek", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "142" ], - "x-ms-client-request-id": [ "9c7b9a4e-bbcf-4fef-81c0-2535ba2b108a" ], + "x-ms-unique-id": [ "112" ], + "x-ms-client-request-id": [ "9a97599c-0c52-4b62-92aa-c4059066582d" ], "CommandName": [ "Az.DataProtection.Internal\\Start-AzDataProtectionBackupInstanceRestore" ], "FullCommandName": [ "Start-AzDataProtectionBackupInstanceRestore_Trigger" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -5934,39 +4787,40 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Retry-After": [ "30" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-throttling-version": [ "v1" ], "X-Content-Type-Options": [ "nosniff" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzdhMWRjMjM1LWY2MjYtNDMzNy04OTE4LTJlOTdmMzUxNzY4NA==?api-version=2023-12-01\u0026t=638469288274115335\u0026c=MIIHADCCBeigAwIBAgITfARk1TE_ZglsTRafPwAABGTVMTANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDUwHhcNMjQwMTMwMTUwODE5WhcNMjUwMTI0MTUwODE5WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK902W8oGHqHsYxfQcAXt6Ljumrh6DLgGihvCAJqh_U0j8R4Jupt1lXUnhMY-cA7JAT9q7SEoTZskdrko1uzzlaykxYQUacRB8irTYwbgK6DCIqWuOd2G-W2g3eWAyxRb-Dffjnsz-vBsjd1fyP0MvIXDSDMzp2oK65BSxTbBiStV3YxtKZ3eONvKga4d77iEw0zAZHIFkt0PSHzHO7kk-b_trhadwDxPYnjrQOGmouEj7HuNoC8H7-vKZvgbeplfrHtJO9vq0TOUUqIGlT236cbPe62XQNJRim_aa3chEFUmacjUnjEZtgJjup_tDQ0iV_Oe0ZqRBBGzpjoK23Wch0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9DTzFQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA1LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQ08xUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNS5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0NPMVBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3J0MB0GA1UdDgQWBBSnxeoeDA6bR-Af5MXqnvahGPcbyTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDUuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBR61hmFKHlscXYeYPjzS--iBUIWHTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGj6QqaLOPa3RZUHMPeeSymifn86nh52yaIojZbdHUiE_o0iWzV-2ZRZOxE2IgkOrAeMYXIUhMoqV7XxTwfpi6zGwrzIeuTWMbNjgzbIZGIMJCbUyNbvEkGqxvBpcwzATT8KQYU2-J2iL5slKYZIACN6THLJn5BI6dAecS1X4PJ5vNAgI8qlsYmnafZSCIrWLUQQUsZeLUaxy3t-hozvyfVe-B-nktPdgNv3-iCsI0AtlvezwfFcJXQHQeNByXg5oxXPIe02On7O1u8swvMta16Va5_kDzD80TS3LYzVk2nzUVxEqPaGhpA-vs_ttjm7hDhYk80OIsQ_YZd286sA58Q\u0026s=aj_7mXCiHmgWEgvKeshy9NFceL8emzYEJOQ_REZbPb5p4MNx8xk1EDF3oVmHLc2wpRJIrM5V2tW6fsbMqEPoNVGzsE56l70jldiEO60lVJIfxpzQ7VWwcmfzmyRYMv3NYvtQjlYPzipqEYZUyrts3LXi4-FzhhpaIPMCflYHfjsdL9Hyops0Bvb7OITk2sYOANFQvAWH76_XLnxBWoRtv_7Pkziv8_Lj48IA-A6DvkTCPNHzpjsk1dffuvUBTDvq4FMqqQfG2JXYDNUIvvH9XqtbIg0J48RMOAwbuSfb1IKioG8dfZM2Rzxc9IzJ5ZwQKKVZMmplfSeri8ztXjpygw\u0026h=ZNLybM57dESC4AK3_8AyS49DSW9Bi2XEG-l7GwDbSG8" ], - "x-ms-request-id": [ "61b07e8e-0393-459b-bc07-118034e67f0c" ], - "x-ms-correlation-request-id": [ "61b07e8e-0393-459b-bc07-118034e67f0c" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T020027Z:61b07e8e-0393-459b-bc07-118034e67f0c" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzUwOTM5ODM1LWU5MzQtNGVlYy1hMzE0LTVmYzc0ZGY4ZGQ5Mw==?api-version=2024-04-01\u0026t=638493515880630060\u0026c=MIIHADCCBeigAwIBAgITHgPomYee4Qu7BfhItwAAA-iZhzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjQwMTMwMDYwOTE2WhcNMjUwMTI0MDYwOTE2WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOiFRUCW7ME0-8OmweyLAOhLjShprrewSQr0u8xpOevEY7HpOWaMDZbr57UkO48d4CQyGgkYqH6pQ3mDn6Zq95LFOe63LBgJ_Io9Qn9C4OLOJPSTHOcyryRN0Qgr9k3eMiHwFuomN80I7ezdx8FS6zDqQu1Wbjw-yyd9Mbxe_m45O0TPpda-Jt6d9Un5z7dnzlLlrjguCCIzCadGyV2t7rA7qMMGVjTXSal1A_9zCBngC8-p4z1ifaM4LQtC5f6Em6Rmu74zRjW5jFDIKCPhhwAMuJwsHQDfQ2hxnl6qd8cHG5VGCcyQIPrVCIvWB1zTbaYW1fIK-OyrFXwRv6wesk0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRa65snqFvL5cbUkgPmVp5BN6VURjAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBADYz_oLBrhGl-i2E4jxv9Z4RNcpp4gaxqVJv_GEzvVtwgx_8P3UrhZ1_mC3wETOajOHWZ44sJEzrSgyljDsF94dPoMGucgCuZewgFqyU_sPQSk0RRb8_sbRpS0dxUHvPIGNKbuoWB_Cd_hn9ZWM5VPdN_OHbromAkwOdgA6BPx7P7Ral6mk-aPegxaMUKMfwhg1m7LjUhci2aRzJJxGJSWoFQoUrGuQcAJp-7KXiWr_hDM69eWh0n6q1i7iTwme6w3Tf3zXGfbwhwYrV8qfGJjrsBraBDq3Z_SHk8SjHSXZpsJ3tyhT8ucyXRcYNWIJZvnjTdcVwmguYnhuTf-_fP5E\u0026s=vzorth7XvaIz_fpOvlabeI3hQCZH2l7av-DYbPsAE9NLNhfkkZhrMfeUvgYex7s29gpVrqmh0AXbkHLOL2Aj4Zim79q3abPuRm7TuMoIoE1UQ3z_y67OHvQkW9RrqpA9j9NAcEbAXJncoXZYYR4WEY4tdxqnw6jJOh9aiCO-k1hzw5qJLOGCqEVMi7N83jZ3EVvrweNmm8m94BKRXUPb6_a3nHBlRQPaahHasRVOPJplnXDpOTUeEvCbdlGx3QiabqxAwiwK22X1YaRReQFLLTJ0mpwbgh2JH6M6BZSTX-bWm_vfgIXCwImX-rE27VZx4r1cM13k-G86259lK4VSig\u0026h=sUekMoXolFAR2aCUkR2g1lXE8fAcUebt4sRHrhcSXXU" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-request-id": [ "404dc004-3048-4432-97af-cbbf85a3f573" ], + "x-ms-correlation-request-id": [ "404dc004-3048-4432-97af-cbbf85a3f573" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240422T025948Z:404dc004-3048-4432-97af-cbbf85a3f573" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: ED34C07A5EAB42CE9FF5F879F82252A7 Ref B: MAA201060513029 Ref C: 2024-03-25T02:00:27Z" ], - "Date": [ "Mon, 25 Mar 2024 02:00:26 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 6DB51931359644EBB3A381F9856FE99D Ref B: MAA201060514035 Ref C: 2024-04-22T02:59:47Z" ], + "Date": [ "Mon, 22 Apr 2024 02:59:47 GMT" ] }, "ContentHeaders": { "Content-Length": [ "245" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/oss-pstest-rg/providers/Microsoft.DataProtection/BackupVaults/oss-pstest-vault/backupJobs/899fd699-8c9e-4237-8420-4a66963cf7c8\",\"objectType\":\"OperationJobExtendedInfo\"}", + "Content": "{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/oss-pstest-rg/providers/Microsoft.DataProtection/BackupVaults/oss-pstest-vault/backupJobs/69beca44-4f04-43c0-b699-b643de53b369\",\"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/899fd699-8c9e-4237-8420-4a66963cf7c8?api-version=2023-12-01+30": { + "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/69beca44-4f04-43c0-b699-b643de53b369?api-version=2024-04-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/899fd699-8c9e-4237-8420-4a66963cf7c8?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/69beca44-4f04-43c0-b699-b643de53b369?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "143" ], - "x-ms-client-request-id": [ "378d7fb8-4580-4031-a174-f509b62bee12" ], + "x-ms-unique-id": [ "113" ], + "x-ms-client-request-id": [ "37fd8e6e-68b4-4f62-9114-8442c9886515" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -5978,37 +4832,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "7e714753-d38c-44fa-8673-e944219fcee4" ], - "x-ms-correlation-request-id": [ "7e714753-d38c-44fa-8673-e944219fcee4" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T020038Z:7e714753-d38c-44fa-8673-e944219fcee4" ], + "x-ms-request-id": [ "f67addb0-2e41-4228-95fd-fbed65115d7c" ], + "x-ms-correlation-request-id": [ "f67addb0-2e41-4228-95fd-fbed65115d7c" ], + "x-ms-routing-request-id": [ "SOUTHINDIA:20240422T030000Z:f67addb0-2e41-4228-95fd-fbed65115d7c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 9390E0FB626442519170E34BC5B6DFE8 Ref B: MAA201060513029 Ref C: 2024-03-25T02:00:37Z" ], - "Date": [ "Mon, 25 Mar 2024 02:00:37 GMT" ] + "X-MSEdge-Ref": [ "Ref A: A804A3131EDC41AABD3DC397F38B3893 Ref B: MAA201060514035 Ref C: 2024-04-22T02:59:58Z" ], + "Date": [ "Mon, 22 Apr 2024 02:59:59 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2464" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"9c7b9a4e-bbcf-4fef-81c0-2535ba2b108a\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-03-25T01%3A59%3A56.0478669Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-25T01:59:55.8695196Z\",\"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\":\"93d5e55fab3246298f5b505d266debc0\",\"recoveryPointTime\":\"2024-03-25T01:56:13.7082589Z\"},\"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-03-2024-1-11-11\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/899fd699-8c9e-4237-8420-4a66963cf7c8\",\"name\":\"899fd699-8c9e-4237-8420-4a66963cf7c8\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9a97599c-0c52-4b62-92aa-c4059066582d\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-04-22T02%3A59%3A15.1844441Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-22T02:59:14.9907911Z\",\"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\":\"2001797b6a074e55ac397e021cf5e22b\",\"recoveryPointTime\":\"2024-04-22T02:55:29.0738438Z\"},\"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-22-04-2024-3-11-11\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/69beca44-4f04-43c0-b699-b643de53b369\",\"name\":\"69beca44-4f04-43c0-b699-b643de53b369\",\"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/899fd699-8c9e-4237-8420-4a66963cf7c8?api-version=2023-12-01+31": { + "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/69beca44-4f04-43c0-b699-b643de53b369?api-version=2024-04-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/899fd699-8c9e-4237-8420-4a66963cf7c8?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/69beca44-4f04-43c0-b699-b643de53b369?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "144" ], - "x-ms-client-request-id": [ "9a215086-9fb0-4a4f-ada1-895240294f5a" ], + "x-ms-unique-id": [ "114" ], + "x-ms-client-request-id": [ "30a76d82-5bdf-4651-a69c-2be6ebe7effd" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -6020,37 +4875,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "b420687f-b002-4b7e-85e5-b2e8d68ff3be" ], - "x-ms-correlation-request-id": [ "b420687f-b002-4b7e-85e5-b2e8d68ff3be" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T020050Z:b420687f-b002-4b7e-85e5-b2e8d68ff3be" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], + "x-ms-request-id": [ "e83b84fd-575d-455d-990b-195aa28efc1e" ], + "x-ms-correlation-request-id": [ "e83b84fd-575d-455d-990b-195aa28efc1e" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240422T030012Z:e83b84fd-575d-455d-990b-195aa28efc1e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 8717D14EEC4B4521A92CE5F92F982982 Ref B: MAA201060513029 Ref C: 2024-03-25T02:00:48Z" ], - "Date": [ "Mon, 25 Mar 2024 02:00:49 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 72839930CC614E7BBE75DDC14D39BA7F Ref B: MAA201060514035 Ref C: 2024-04-22T03:00:10Z" ], + "Date": [ "Mon, 22 Apr 2024 03:00:11 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2464" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"9c7b9a4e-bbcf-4fef-81c0-2535ba2b108a\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-03-25T01%3A59%3A56.0478669Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-25T01:59:55.8695196Z\",\"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\":\"93d5e55fab3246298f5b505d266debc0\",\"recoveryPointTime\":\"2024-03-25T01:56:13.7082589Z\"},\"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-03-2024-1-11-11\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/899fd699-8c9e-4237-8420-4a66963cf7c8\",\"name\":\"899fd699-8c9e-4237-8420-4a66963cf7c8\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9a97599c-0c52-4b62-92aa-c4059066582d\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-04-22T02%3A59%3A15.1844441Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-22T02:59:14.9907911Z\",\"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\":\"2001797b6a074e55ac397e021cf5e22b\",\"recoveryPointTime\":\"2024-04-22T02:55:29.0738438Z\"},\"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-22-04-2024-3-11-11\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/69beca44-4f04-43c0-b699-b643de53b369\",\"name\":\"69beca44-4f04-43c0-b699-b643de53b369\",\"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/899fd699-8c9e-4237-8420-4a66963cf7c8?api-version=2023-12-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/69beca44-4f04-43c0-b699-b643de53b369?api-version=2024-04-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/899fd699-8c9e-4237-8420-4a66963cf7c8?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/69beca44-4f04-43c0-b699-b643de53b369?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "145" ], - "x-ms-client-request-id": [ "9b7f5dc0-5576-40d2-9939-1f10824c05ca" ], + "x-ms-unique-id": [ "115" ], + "x-ms-client-request-id": [ "74df72fd-d2bc-4d62-8afa-cc02b86589db" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -6062,37 +4918,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "37e52ec9-8f41-4b6e-a9dc-159afa1e6a5a" ], - "x-ms-correlation-request-id": [ "37e52ec9-8f41-4b6e-a9dc-159afa1e6a5a" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T020101Z:37e52ec9-8f41-4b6e-a9dc-159afa1e6a5a" ], + "x-ms-request-id": [ "e1eb9b65-49fd-4a80-88a2-a13ce3b5db7a" ], + "x-ms-correlation-request-id": [ "e1eb9b65-49fd-4a80-88a2-a13ce3b5db7a" ], + "x-ms-routing-request-id": [ "CENTRALINDIA:20240422T030023Z:e1eb9b65-49fd-4a80-88a2-a13ce3b5db7a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: AA732808CCB04964892E3B0557684D81 Ref B: MAA201060513029 Ref C: 2024-03-25T02:01:00Z" ], - "Date": [ "Mon, 25 Mar 2024 02:01:00 GMT" ] + "X-MSEdge-Ref": [ "Ref A: F3257AFE82CB4FE2B0102C8EE962980D Ref B: MAA201060514035 Ref C: 2024-04-22T03:00:22Z" ], + "Date": [ "Mon, 22 Apr 2024 03:00:23 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2464" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"9c7b9a4e-bbcf-4fef-81c0-2535ba2b108a\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-03-25T01%3A59%3A56.0478669Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-25T01:59:55.8695196Z\",\"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\":\"93d5e55fab3246298f5b505d266debc0\",\"recoveryPointTime\":\"2024-03-25T01:56:13.7082589Z\"},\"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-03-2024-1-11-11\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/899fd699-8c9e-4237-8420-4a66963cf7c8\",\"name\":\"899fd699-8c9e-4237-8420-4a66963cf7c8\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9a97599c-0c52-4b62-92aa-c4059066582d\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-04-22T02%3A59%3A15.1844441Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-22T02:59:14.9907911Z\",\"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\":\"2001797b6a074e55ac397e021cf5e22b\",\"recoveryPointTime\":\"2024-04-22T02:55:29.0738438Z\"},\"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-22-04-2024-3-11-11\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/69beca44-4f04-43c0-b699-b643de53b369\",\"name\":\"69beca44-4f04-43c0-b699-b643de53b369\",\"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/899fd699-8c9e-4237-8420-4a66963cf7c8?api-version=2023-12-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/69beca44-4f04-43c0-b699-b643de53b369?api-version=2024-04-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/899fd699-8c9e-4237-8420-4a66963cf7c8?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/69beca44-4f04-43c0-b699-b643de53b369?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "146" ], - "x-ms-client-request-id": [ "beba2e48-5232-43d1-932e-aedb0a4067f0" ], + "x-ms-unique-id": [ "116" ], + "x-ms-client-request-id": [ "9fa055d9-f6e4-4aa9-851c-6f8259fb4526" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -6104,79 +4961,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "cc2033aa-3ee8-469f-b95f-ee878838ef8c" ], - "x-ms-correlation-request-id": [ "cc2033aa-3ee8-469f-b95f-ee878838ef8c" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T020112Z:cc2033aa-3ee8-469f-b95f-ee878838ef8c" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 904238AD700749CAA068B455749496CC Ref B: MAA201060513029 Ref C: 2024-03-25T02:01:11Z" ], - "Date": [ "Mon, 25 Mar 2024 02:01:11 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "2464" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"activityID\":\"9c7b9a4e-bbcf-4fef-81c0-2535ba2b108a\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-03-25T01%3A59%3A56.0478669Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-25T01:59:55.8695196Z\",\"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\":\"93d5e55fab3246298f5b505d266debc0\",\"recoveryPointTime\":\"2024-03-25T01:56:13.7082589Z\"},\"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-03-2024-1-11-11\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/899fd699-8c9e-4237-8420-4a66963cf7c8\",\"name\":\"899fd699-8c9e-4237-8420-4a66963cf7c8\",\"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/899fd699-8c9e-4237-8420-4a66963cf7c8?api-version=2023-12-01+34": { - "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/899fd699-8c9e-4237-8420-4a66963cf7c8?api-version=2023-12-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "147" ], - "x-ms-client-request-id": [ "9ab61857-ef15-49a1-b459-6a181a251a1d" ], - "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], - "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "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-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "1080caf0-b060-45d9-8c40-a5fe7b0a6992" ], - "x-ms-correlation-request-id": [ "1080caf0-b060-45d9-8c40-a5fe7b0a6992" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T020123Z:1080caf0-b060-45d9-8c40-a5fe7b0a6992" ], + "x-ms-request-id": [ "0db037a2-f5e7-4eb5-8fa3-eeeaab6d0cbe" ], + "x-ms-correlation-request-id": [ "0db037a2-f5e7-4eb5-8fa3-eeeaab6d0cbe" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240422T030034Z:0db037a2-f5e7-4eb5-8fa3-eeeaab6d0cbe" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 518C7D43ACCF4524853F8A3DA9179474 Ref B: MAA201060513029 Ref C: 2024-03-25T02:01:22Z" ], - "Date": [ "Mon, 25 Mar 2024 02:01:22 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 59EBF4909BD5479684A042247F6B1EE8 Ref B: MAA201060514035 Ref C: 2024-04-22T03:00:33Z" ], + "Date": [ "Mon, 22 Apr 2024 03:00:34 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2464" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"9c7b9a4e-bbcf-4fef-81c0-2535ba2b108a\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-03-25T01%3A59%3A56.0478669Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-25T01:59:55.8695196Z\",\"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\":\"93d5e55fab3246298f5b505d266debc0\",\"recoveryPointTime\":\"2024-03-25T01:56:13.7082589Z\"},\"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-03-2024-1-11-11\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/899fd699-8c9e-4237-8420-4a66963cf7c8\",\"name\":\"899fd699-8c9e-4237-8420-4a66963cf7c8\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9a97599c-0c52-4b62-92aa-c4059066582d\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-04-22T02%3A59%3A15.1844441Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-22T02:59:14.9907911Z\",\"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\":\"2001797b6a074e55ac397e021cf5e22b\",\"recoveryPointTime\":\"2024-04-22T02:55:29.0738438Z\"},\"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-22-04-2024-3-11-11\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/69beca44-4f04-43c0-b699-b643de53b369\",\"name\":\"69beca44-4f04-43c0-b699-b643de53b369\",\"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/899fd699-8c9e-4237-8420-4a66963cf7c8?api-version=2023-12-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/69beca44-4f04-43c0-b699-b643de53b369?api-version=2024-04-01+34": { "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/899fd699-8c9e-4237-8420-4a66963cf7c8?api-version=2023-12-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/69beca44-4f04-43c0-b699-b643de53b369?api-version=2024-04-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "148" ], - "x-ms-client-request-id": [ "91b806f8-6b94-43ad-9b00-32b9dce692e5" ], + "x-ms-unique-id": [ "117" ], + "x-ms-client-request-id": [ "b6045ce2-e322-471c-a2c1-c74c4e75ade3" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.2", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -6188,63 +5004,22 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "X-Content-Type-Options": [ "nosniff" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "7851c47e-e638-4ac1-b032-46aff86b802d" ], - "x-ms-correlation-request-id": [ "7851c47e-e638-4ac1-b032-46aff86b802d" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T020134Z:7851c47e-e638-4ac1-b032-46aff86b802d" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: 834A18BFE94F409686477B431CBE4E5C Ref B: MAA201060513029 Ref C: 2024-03-25T02:01:33Z" ], - "Date": [ "Mon, 25 Mar 2024 02:01:34 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "2464" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"activityID\":\"9c7b9a4e-bbcf-4fef-81c0-2535ba2b108a\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-03-25T01%3A59%3A56.0478669Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-25T01:59:55.8695196Z\",\"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\":\"93d5e55fab3246298f5b505d266debc0\",\"recoveryPointTime\":\"2024-03-25T01:56:13.7082589Z\"},\"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-03-2024-1-11-11\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/899fd699-8c9e-4237-8420-4a66963cf7c8\",\"name\":\"899fd699-8c9e-4237-8420-4a66963cf7c8\",\"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/899fd699-8c9e-4237-8420-4a66963cf7c8?api-version=2023-12-01+36": { - "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/899fd699-8c9e-4237-8420-4a66963cf7c8?api-version=2023-12-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "149" ], - "x-ms-client-request-id": [ "9335795e-d88a-4d7a-95e9-56b5d4035963" ], - "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], - "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v11.3.1", "PSVersion/v7.4.1", "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-ratelimit-remaining-subscription-resource-requests": [ "197" ], - "x-ms-request-id": [ "97ddf4de-cbc6-406b-b9ff-8c3f3cda6cd7" ], - "x-ms-correlation-request-id": [ "97ddf4de-cbc6-406b-b9ff-8c3f3cda6cd7" ], - "x-ms-routing-request-id": [ "SOUTHINDIA:20240325T020146Z:97ddf4de-cbc6-406b-b9ff-8c3f3cda6cd7" ], + "x-ms-request-id": [ "1714b3bc-2c52-4443-bb89-5ffa8a731cbf" ], + "x-ms-correlation-request-id": [ "1714b3bc-2c52-4443-bb89-5ffa8a731cbf" ], + "x-ms-routing-request-id": [ "WESTINDIA:20240422T030046Z:1714b3bc-2c52-4443-bb89-5ffa8a731cbf" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Cache": [ "CONFIG_NOCACHE" ], - "X-MSEdge-Ref": [ "Ref A: DE47263FE3F543D4A476E456665C5D24 Ref B: MAA201060513029 Ref C: 2024-03-25T02:01:45Z" ], - "Date": [ "Mon, 25 Mar 2024 02:01:46 GMT" ] + "X-MSEdge-Ref": [ "Ref A: 4E7BD65E294E422A8FA58B5A56AE955F Ref B: MAA201060514035 Ref C: 2024-04-22T03:00:44Z" ], + "Date": [ "Mon, 22 Apr 2024 03:00:46 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2636" ], + "Content-Length": [ "2635" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"9c7b9a4e-bbcf-4fef-81c0-2535ba2b108a\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-03-25T02%3A01%3A42.4145627Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-03-25T01:59:55.8695196Z\",\"endTime\":\"2024-03-25T02:01:42.2157511Z\",\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"Completed\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT1M46.3462315S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"93d5e55fab3246298f5b505d266debc0\",\"recoveryPointTime\":\"2024-03-25T01:56:13.7082589Z\"},\"recoveryDestination\":\"https://osspstestsa.blob.core.windows.net/oss-pstest-container\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"Completed\",\"taskProgress\":null,\"additionalDetails\":{\"DataTransferredInBytes\":\"0\",\"TaskId\":\"9c7b9a4e-bbcf-4fef-81c0-2535ba2b108a\",\"DatasourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\"}}],\"additionalDetails\":{\"Restore File Prefix\":\"oss-pstest-restoreasfiles-25-03-2024-1-11-11\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/899fd699-8c9e-4237-8420-4a66963cf7c8\",\"name\":\"899fd699-8c9e-4237-8420-4a66963cf7c8\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"9a97599c-0c52-4b62-92aa-c4059066582d\",\"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-d63f9173-e53b-4d5c-bca1-0aca87410065\",\"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\u00272024-04-22T03%3A00%3A35.189482Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2024-04-22T02:59:14.9907911Z\",\"endTime\":\"2024-04-22T03:00:34.9942253Z\",\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"Completed\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT1M20.0034342S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"2001797b6a074e55ac397e021cf5e22b\",\"recoveryPointTime\":\"2024-04-22T02:55:29.0738438Z\"},\"recoveryDestination\":\"https://osspstestsa.blob.core.windows.net/oss-pstest-container\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"Completed\",\"taskProgress\":null,\"additionalDetails\":{\"DataTransferredInBytes\":\"0\",\"TaskId\":\"9a97599c-0c52-4b62-92aa-c4059066582d\",\"DatasourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\"}}],\"additionalDetails\":{\"Restore File Prefix\":\"oss-pstest-restoreasfiles-22-04-2024-3-11-11\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/69beca44-4f04-43c0-b699-b643de53b369\",\"name\":\"69beca44-4f04-43c0-b699-b643de53b369\",\"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 fbac81870ac7..30f216541971 100644 --- a/src/DataProtection/DataProtection.Autorest/test/Start-AzDataProtectionBackupInstanceRestore.Tests.ps1 +++ b/src/DataProtection/DataProtection.Autorest/test/Start-AzDataProtectionBackupInstanceRestore.Tests.ps1 @@ -13,22 +13,23 @@ while(-not $mockingPath) { Describe 'Start-AzDataProtectionBackupInstanceRestore' { It 'PGFlexRestore' { - $subId = $env.TestPGFlex.SubscriptionId - $resourceGroupName = $env.TestPGFlex.ResourceGroupName - $vaultName = $env.TestPGFlex.VaultName - $policyName = $env.TestPGFlex.PolicyName - $targetContainerURI = $env.TestPGFlex.TargetContainerURI + $subId = $env.TestPGFlexRestore.SubscriptionId + $resourceGroupName = $env.TestPGFlexRestore.ResourceGroupName + $vaultName = $env.TestPGFlexRestore.VaultName + $policyName = $env.TestPGFlexRestore.PolicyName + $targetContainerURI = $env.TestPGFlexRestore.TargetContainerURI + $backupInstanceName = $env.TestPGFlexRestore.BackupInstanceName $vault = Get-AzDataProtectionBackupVault -SubscriptionId $subId -ResourceGroupName $resourceGroupName -VaultName $vaultName - $instance = Get-AzDataProtectionBackupInstance -SubscriptionId $subId -ResourceGroupName $resourceGroupName -VaultName $vaultName | Where-Object { $_.Name -match "archive-test" } + $instance = Get-AzDataProtectionBackupInstance -SubscriptionId $subId -ResourceGroupName $resourceGroupName -VaultName $vaultName | Where-Object { $_.Name -match $backupInstanceName } ($instance -ne $null) | Should be $true # Trigger Backup $policy = Get-AzDataProtectionBackupPolicy -SubscriptionId $subId -VaultName $vaultName -ResourceGroupName $resourceGroupName -Name $policyName - $backupJob = Backup-AzDataProtectionBackupInstanceAdhoc -BackupInstanceName $instance.Name -ResourceGroupName $resourceGroupName -SubscriptionId $subId -VaultName $vaultName -BackupRuleOptionRuleName $policy.Property.PolicyRule[1].Name -TriggerOptionRetentionTagOverride $policy.Property.PolicyRule[1].Trigger.TaggingCriterion[0].TagInfoTagName + $backupJob = Backup-AzDataProtectionBackupInstanceAdhoc -BackupInstanceName $instance.Name -ResourceGroupName $resourceGroupName -SubscriptionId $subId -VaultName $vaultName -BackupRuleOptionRuleName $policy.Property.PolicyRule[0].Name -TriggerOptionRetentionTagOverride $policy.Property.PolicyRule[0].Trigger.TaggingCriterion[0].TagInfoTagName $jobid = $backupJob.JobId.Split("/")[-1] $jobstatus = "InProgress" @@ -47,7 +48,12 @@ Describe 'Start-AzDataProtectionBackupInstanceRestore' { $pgFlexRestoreReqFiles = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureDatabaseForPGFlexServer -SourceDataStore VaultStore -RestoreLocation $vault.Location -RestoreType RestoreAsFiles -RecoveryPoint $rps[0].Property.RecoveryPointId -TargetContainerURI $targetContainerURI - $restoreFilesJob = Start-AzDataProtectionBackupInstanceRestore -SubscriptionId $subId -ResourceGroupName $resourceGroupName -VaultName $VaultName -BackupInstanceName $instance.BackupInstanceName -Parameter $pgFlexRestoreReqFiles + # MuA + $proxy = Get-AzDataProtectionResourceGuardMapping -ResourceGroupName $resourceGroupName -VaultName $vaultName -SubscriptionId $subId + $operationRequests = $proxy.ResourceGuardOperationDetail.DefaultResourceRequest + $resourceGuardOperationRequest = $operationRequests | Where-Object { $_ -match "dppTriggerRestoreRequests" } + + $restoreFilesJob = Start-AzDataProtectionBackupInstanceRestore -SubscriptionId $subId -ResourceGroupName $resourceGroupName -VaultName $VaultName -BackupInstanceName $instance.BackupInstanceName -Parameter $pgFlexRestoreReqFiles -ResourceGuardOperationRequest $resourceGuardOperationRequest $jobid = $restoreFilesJob.JobId.Split("/")[-1] ($jobid -ne $null) | Should be $true @@ -62,16 +68,17 @@ Describe 'Start-AzDataProtectionBackupInstanceRestore' { $jobstatus | Should be "Completed" } - It 'MySQLRestore' { - $subId = $env.TestMySQL.SubscriptionId - $resourceGroupName = $env.TestMySQL.ResourceGroupName - $vaultName = $env.TestMySQL.VaultName - $policyName = $env.TestMySQL.PolicyName - $targetContainerURI = $env.TestMySQL.TargetContainerURI + It 'MySQLRestore' -skip { + $subId = $env.TestMySQLRestore.SubscriptionId + $resourceGroupName = $env.TestMySQLRestore.ResourceGroupName + $vaultName = $env.TestMySQLRestore.VaultName + $policyName = $env.TestMySQLRestore.PolicyName + $targetContainerURI = $env.TestMySQLRestore.TargetContainerURI + $backupInstanceName = $env.TestMySQLRestore.BackupInstanceName $vault = Get-AzDataProtectionBackupVault -SubscriptionId $subId -ResourceGroupName $resourceGroupName -VaultName $vaultName - $instance = Get-AzDataProtectionBackupInstance -SubscriptionId $subId -ResourceGroupName $resourceGroupName -VaultName $vaultName | Where-Object { $_.Name -match "arhive-test" } + $instance = Get-AzDataProtectionBackupInstance -SubscriptionId $subId -ResourceGroupName $resourceGroupName -VaultName $vaultName | Where-Object { $_.Name -match $backupInstanceName } ($instance -ne $null) | Should be $true diff --git a/src/DataProtection/DataProtection.Autorest/test/Stop-AzDataProtectionBackupInstanceProtectionClient.Tests.ps1 b/src/DataProtection/DataProtection.Autorest/test/Stop-AzDataProtectionBackupInstanceProtectionClient.Tests.ps1 new file mode 100644 index 000000000000..9f228d0a26ef --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/test/Stop-AzDataProtectionBackupInstanceProtectionClient.Tests.ps1 @@ -0,0 +1,25 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Stop-AzDataProtectionBackupInstanceProtectionClient')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Stop-AzDataProtectionBackupInstanceProtectionClient.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 'Stop-AzDataProtectionBackupInstanceProtectionClient' { + It 'StopExpanded' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } + + It 'Stop' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/DataProtection/DataProtection.Autorest/test/env.json b/src/DataProtection/DataProtection.Autorest/test/env.json index b6b6562c4bcf..8280601754cb 100644 --- a/src/DataProtection/DataProtection.Autorest/test/env.json +++ b/src/DataProtection/DataProtection.Autorest/test/env.json @@ -1,41 +1,20 @@ { - "TestMUA": { - "ResourceGuardSubscription": "62b829ee-7936-40c9-a1c9-47a93f9f3965", - "VaultName": "mua-pstest-backupvault", - "ResourceGuardName": "mua-pstest-dpp-ccy-resguard", - "BackupInstanceName": "alrpstestvm-datadisk-000-20220808-115835", - "ResourceGroupName": "hiagarg", - "ResourceGuardRGName": "hiaga-rg", - "SubscriptionId": "38304e13-357e-405e-9e9a-220351dcce8c", - "Location": "centraluseuap", - "ResourceGuardId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/hiaga-rg/providers/Microsoft.DataProtection/ResourceGuards/mua-pstest-dpp-ccy-resguard" - }, - "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", - "FileNamePrefix": "oss-pstest-restoreasfiles", - "VaultName": "oss-pstest-vault", - "ResourceGroupName": "oss-pstest-rg", - "NewPolicyName": "oss-pstest-policy-archive", - "SubscriptionId": "38304e13-357e-405e-9e9a-220351dcce8c", - "OssServerName": "oss-pstest-server", - "OssDbId": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres", - "PolicyName": "oss-pstest-policy", - "KeyVault": "oss-pstest-keyvault", - "SecretURI": "https://oss-pstest-keyvault.vault.azure.net/secrets/oss-pstest-secret", - "OssDbName": "oss-pstest-db" - }, "TestBlobHardeningScenario": { - "TargetStorageAccId": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.Storage/storageAccounts/hiagaeussa", - "Location": "eastus", "TargetCrossSubStorageAccId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/hiagaTestRG/providers/Microsoft.Storage/storageAccounts/hiagatestsa", - "SubscriptionId": "38304e13-357e-405e-9e9a-220351dcce8c", - "StorageAccountName": "blobeuspstestsa", - "TargetCrossSubStorageAccountRGName": "hiagaTestRG", - "TargetCrossSubStorageAccountName": "hiagatestsa", - "PolicyName": "operational-vaulted-policy", "StorageAccId": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.Storage/storageAccounts/blobeuspstestsa", + "Location": "eastus", "VaultPolicyName": "vaulted-pstest-policy", + "TargetStorageAccountRGName": "hiagarg", + "PolicyName": "operational-vaulted-policy", + "UpdatePolicyName": "op-vault-pstest-policy", + "SubscriptionId": "38304e13-357e-405e-9e9a-220351dcce8c", + "OperationalVaultedPolicyName": "op-vault-pstest-policy", + "OperationalPolicyName": "op-pstest-policy", + "CrossSubscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "TargetCrossSubStorageAccountName": "hiagatestsa", + "VaultName": "blob-eus-pstest-vault", + "TargetCrossSubStorageAccountRGName": "hiagaTestRG", + "TargetStorageAccId": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.Storage/storageAccounts/hiagaeussa", "UpdatedContainersList": [ "conaaa", "conabb", @@ -43,158 +22,198 @@ "conwxy", "conzzz" ], - "ResourceGroupName": "blob-eus-pstest-rg", - "UpdatePolicyName": "op-vault-pstest-policy", - "CrossSubscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", - "TargetStorageAccountRGName": "hiagarg", - "OperationalVaultedPolicyName": "op-vault-pstest-policy", "TargetStorageAccountName": "hiagaeussa", - "VaultName": "blob-eus-pstest-vault", - "OperationalPolicyName": "op-pstest-policy" + "StorageAccountName": "blobeuspstestsa", + "ResourceGroupName": "blob-eus-pstest-rg" }, - "TestAksRestoreScenario": { - "SourceClusterId": "/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy", - "ClusterName": "azk8ssvcs-bi-backupecy", - "VaultName": "azk8ssvcs-vault-ecy", - "SnapshotResourceGroupId": "/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/MC_azk8ssvcs-cluster-r-ecy_azk8ssvcs-cluster-ecy_eastus2euap", - "ResourceGroupName": "azk8ssvcs-cluster-r-ecy", - "PolicyName": "azk8ssvcs-ad-policy-backupecy", - "SubscriptionId": "f0c630e0-2995-4853-b056-0b3c09cb673f", - "FriendlyName": "aksCluster3-ecy-araj-BI", - "NewPolicyName": "", - "DataSourceLocation": "eastus2euap" + "TestGrantPermission": { + "Diskrg": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/Diskrg", + "KeyURI": "https://rishitkeyvault3.vault.azure.net/secrets/rishitnewsecret", + "SubscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "VaultRG": "testBkpVaultRG", + "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", + "DiskId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/Diskrg/providers/Microsoft.Compute/disks/Mydisk2", + "BlobPolicyName": "blobBkpPolicy", + "OssPolicyName": "TestOSSPolicy2", + "KeyVaultId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/Sqlrg/providers/Microsoft.KeyVault/vaults/rishitkeyvault3", + "Blobrg": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/Blobrg", + "Ossrg": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/Ossrg", + "VaultName": "TestBkpVault", + "DiskPolicyName": "diskBkpPolicy", + "BlobId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/Blobrg/providers/Microsoft.Storage/storageAccounts/testblobacc4" }, - "TestSoftDelete": { - "ResourceGroupName": "pstest-diskrg", + "TestPGFlexRestore": { + "BackupInstanceName": "zubair-pgflex-cli1", + "ResourceGroupName": "zubairRG", + "PolicyName": "OssFlexiblePolicy1", + "TargetContainerURI": "https://akneemasaecy.blob.core.windows.net/oss-csr-container", + "NewPolicyName": "pstest-pgflex-policy", + "VaultName": "zpgflex", + "SubscriptionId": "38304e13-357e-405e-9e9a-220351dcce8c" + }, + "TestBackupConfig": { + "StorageAccountResourceGroup": "blob-pstest-rg", "SubscriptionId": "38304e13-357e-405e-9e9a-220351dcce8c", - "DiskId": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk2", - "VaultName": "pstest-disk-vault2", - "BackupRuleName": "BackupDaily" + "StorageAccountName": "blobpstestsa" + }, + "TestBackupVault": { + "NewCSRVault": "csr-pstest-vault", + "SubscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "NewVaultName": "new-pstest-vault", + "ResourceGroupName": "sarath-rg", + "VaultName": "sarath-vault" }, - "SubscriptionId": "38304e13-357e-405e-9e9a-220351dcce8c", "TestPGFlex": { + "ResourceGroupName": "vdhingraRG", "PolicyName": "pgflexArchivePolicy1", + "TargetContainerURI": "https://vdhingra1psa.blob.core.windows.net/powershellpgflexrestore", "NewPolicyName": "pstest-pgflex-policy", "VaultName": "vdhingraBackupVault", - "ResourceGroupName": "vdhingraRG", - "TargetContainerURI": "https://vdhingra1psa.blob.core.windows.net/powershellpgflexrestore", "SubscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965" }, - "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "TestTriggerBackup": { - "ResourceGroupName": "pstest-diskrg", - "SubscriptionId": "38304e13-357e-405e-9e9a-220351dcce8c", - "DiskId": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk", - "VaultName": "pstest-disk-vault", - "BackupRuleName": "BackupHourly" - }, - "TestBackupJob": { + "RecordDate": "22-04-2024-3-11-11", + "TestBackupPolicy": { + "DiskNewPolicyName": "sarath-disk-generated-policy", + "SubscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", "ResourceGroupName": "sarath-rg", "VaultName": "sarath-vault" }, - "TestCrossRegionRestoreScenario": { - "FileNamePrefix": "oss-pstest-crrasfiles-1", - "TargetResourceId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/DppCrrRG/providers/Microsoft.DBforPostgreSQL/servers/crr-ccy-1/databases/oss-pstestrun-crr-1", - "VaultName": "crr-wala-ecy-vault", - "ResourceGroupName": "adigupt-rg", - "TargetContainerURI": "https://zftccypod01otds1.blob.core.windows.net/oss-crr-pstest", + "TestAksBackupScenario": { + "FriendlyName": "pstest-aks-cluster", + "ResourceGroupName": "aksbackuptestrg-rajat", + "NewPolicyName": "pstest-aks-policy", + "SourceClusterId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksbackuptestrg-rajat/providers/Microsoft.ContainerService/managedClusters/aks-pstest-cluster", "SubscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", - "SecretURI": "https://crr-ccy-kv.vault.azure.net/secrets/secret-for-crr-ccy-1" - }, - "TestAksPolicyScenario": { - "ResourceGroupName": "AKS-ps-shasha-test-source", - "SubscriptionId": "f0c630e0-2995-4853-b056-0b3c09cb673f", - "VaultName": "ps-vault", - "NewPolicyName": "pstest-aks-policy" + "VaultName": "demobackupvault", + "PolicyName": "demoaksbackuppolicy", + "DataSourceLocation": "eastus", + "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" }, - "TestBackupConfig": { - "StorageAccountName": "blobpstestsa", + "TestSoftDelete": { + "DiskId": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk2", "SubscriptionId": "38304e13-357e-405e-9e9a-220351dcce8c", - "StorageAccountResourceGroup": "blob-pstest-rg" + "BackupRuleName": "BackupDaily", + "ResourceGroupName": "pstest-diskrg", + "VaultName": "pstest-disk-vault2" }, - "TestMySQL": { - "PolicyName": "pstest-simple-mysql", - "NewPolicyName": "pstest-mysql-policy", - "VaultName": "vdhingraBackupVault", - "ResourceGroupName": "vdhingraRG", - "TargetContainerURI": "https://vdhingra1psa.blob.core.windows.net/powershellpgflexrestore", + "TestCrossSubscriptionRestoreScenario": { + "ResourceGroupName": "CSRTestRg", + "TargetContainerArmId": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.Storage/storageAccounts/akneemasaecy/blobServices/default/containers/oss-csr-container", + "TargetContainerURI": "https://akneemasaecy.blob.core.windows.net/oss-csr-container", + "VaultName": "CSRPortalTestVault", + "FileNamePrefix": "oss-csr-pstest-restoreasfiles", "SubscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965" }, + "TestBlobsRestore": { + "SubscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "ResourceGroupName": "BlobBackup-BugBash", + "VaultName": "jecECYBlobVault" + }, + "TestAksPolicyScenario": { + "NewPolicyName": "pstest-aks-policy", + "SubscriptionId": "f0c630e0-2995-4853-b056-0b3c09cb673f", + "ResourceGroupName": "AKS-ps-shasha-test-source", + "VaultName": "ps-vault" + }, "TestResourceGuard": { - "ResourceGroupName": "hiagarg", + "Location": "centraluseuap", "ResourceGuardName": "pstest-resourceguard", "SubscriptionId": "38304e13-357e-405e-9e9a-220351dcce8c", - "Location": "centraluseuap" + "ResourceGroupName": "hiagarg" }, - "TestBackupPolicy": { - "DiskNewPolicyName": "sarath-disk-generated-policy", - "ResourceGroupName": "sarath-rg", - "SubscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", - "VaultName": "sarath-vault" + "TestAksRestoreScenario": { + "FriendlyName": "aksCluster3-ecy-araj-BI", + "ResourceGroupName": "azk8ssvcs-cluster-r-ecy", + "NewPolicyName": "", + "SourceClusterId": "/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy", + "ClusterName": "azk8ssvcs-bi-backupecy", + "SubscriptionId": "f0c630e0-2995-4853-b056-0b3c09cb673f", + "VaultName": "azk8ssvcs-vault-ecy", + "PolicyName": "azk8ssvcs-ad-policy-backupecy", + "DataSourceLocation": "eastus2euap", + "SnapshotResourceGroupId": "/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/MC_azk8ssvcs-cluster-r-ecy_azk8ssvcs-cluster-ecy_eastus2euap" }, - "RecordDate": "25-03-2024-1-11-11", + "TestBackupJob": { + "VaultName": "sarath-vault", + "ResourceGroupName": "sarath-rg" + }, + "TestMySQLRestore": null, + "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", "TestDiskBackupScenario": { - "VaultName": "pstest-disk-vault", - "RestoreDiskId": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-03-2024-1-11-11", + "SnapshotRG": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg", + "NewPolicyName": "newdiskpolicy-22-04-2024-3-11-11", "DiskId": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk", "ResourceGroupName": "pstest-diskrg", - "NewPolicyName": "newdiskpolicy-25-03-2024-1-11-11", + "VaultName": "pstest-disk-vault", "SubscriptionId": "38304e13-357e-405e-9e9a-220351dcce8c", - "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-22-04-2024-3-11-11", + "RestoreRG": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg" }, - "TestGrantPermission": { - "BlobPolicyName": "blobBkpPolicy", - "DiskPolicyName": "diskBkpPolicy", - "VaultName": "TestBkpVault", - "VaultRG": "testBkpVaultRG", - "Diskrg": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/Diskrg", - "DiskId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/Diskrg/providers/Microsoft.Compute/disks/Mydisk2", - "OssPolicyName": "TestOSSPolicy2", - "SubscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", - "Ossrg": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/Ossrg", - "Blobrg": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/Blobrg", - "BlobId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/Blobrg/providers/Microsoft.Storage/storageAccounts/testblobacc4", - "KeyURI": "https://rishitkeyvault3.vault.azure.net/secrets/rishitnewsecret", - "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", - "KeyVaultId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/Sqlrg/providers/Microsoft.KeyVault/vaults/rishitkeyvault3" - }, - "TestAksBackupScenario": { - "SourceClusterId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksbackuptestrg-rajat/providers/Microsoft.ContainerService/managedClusters/aks-pstest-cluster", - "TargetClusterId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksbackuptestrg-rajat/providers/Microsoft.ContainerService/managedClusters/aks-clitest-cluster", - "VaultName": "demobackupvault", - "SnapshotResourceGroupId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksbackuptestrg-rajat", - "ResourceGroupName": "aksbackuptestrg-rajat", - "PolicyName": "demoaksbackuppolicy", - "SubscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", - "FriendlyName": "pstest-aks-cluster", - "NewPolicyName": "pstest-aks-policy", - "DataSourceLocation": "eastus" + "TestCrossRegionRestoreScenario": { + "TargetResourceId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/DppCrrRG/providers/Microsoft.DBforPostgreSQL/servers/crr-ccy-1/databases/oss-pstestrun-crr-1", + "ResourceGroupName": "adigupt-rg", + "TargetContainerURI": "https://zftccypod01otds1.blob.core.windows.net/oss-crr-pstest", + "SecretURI": "https://crr-ccy-kv.vault.azure.net/secrets/secret-for-crr-ccy-1", + "VaultName": "crr-wala-ecy-vault", + "FileNamePrefix": "oss-pstest-crrasfiles-1", + "SubscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965" }, - "TestBlobsRestore": { - "ResourceGroupName": "BlobBackup-BugBash", - "SubscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", - "VaultName": "jecECYBlobVault" + "TestMySQL": { + "ResourceGroupName": "vdhingraRG", + "PolicyName": "pstest-simple-mysql", + "TargetContainerURI": "https://vdhingra1psa.blob.core.windows.net/powershellpgflexrestore", + "NewPolicyName": "pstest-mysql-policy", + "VaultName": "vdhingraBackupVault", + "SubscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965" }, "TestBackupInstance": { - "ResourceGroupName": "sarath-rg", "SubscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", - "VaultName": "sarath-vault" - }, - "TestBackupVault": { - "NewCSRVault": "csr-pstest-vault", "ResourceGroupName": "sarath-rg", - "SubscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", - "NewVaultName": "new-pstest-vault", "VaultName": "sarath-vault" }, - "TestCrossSubscriptionRestoreScenario": { - "TargetContainerURI": "https://akneemasaecy.blob.core.windows.net/oss-csr-container", - "VaultName": "CSRPortalTestVault", - "ResourceGroupName": "CSRTestRg", - "FileNamePrefix": "oss-csr-pstest-restoreasfiles", - "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" + "TestOssBackupScenario": { + "TargetResourceId": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/oss-pstest-dbrestore", + "KeyVault": "oss-pstest-keyvault", + "OssDbName": "oss-pstest-db", + "PolicyName": "oss-pstest-policy", + "SecretURI": "https://oss-pstest-keyvault.vault.azure.net/secrets/oss-pstest-secret", + "FileNamePrefix": "oss-pstest-restoreasfiles", + "OssServerName": "oss-pstest-server", + "ResourceGroupName": "oss-pstest-rg", + "VaultName": "oss-pstest-vault", + "NewPolicyName": "oss-pstest-policy-archive", + "OssDbId": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres", + "SubscriptionId": "38304e13-357e-405e-9e9a-220351dcce8c", + "TargetContainerURI": "https://osspstestsa.blob.core.windows.net/oss-pstest-container" + }, + "TestMUA": { + "ResourceGuardRGName": "hiaga-rg", + "ResourceGroupName": "hiagarg", + "BackupInstanceName": "alrpstestvm-datadisk-000-20220808-115835", + "ResourceGuardId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/hiaga-rg/providers/Microsoft.DataProtection/ResourceGuards/mua-pstest-dpp-ccy-resguard", + "ResourceGuardName": "mua-pstest-dpp-ccy-resguard", + "ResourceGuardSubscription": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "SubscriptionId": "38304e13-357e-405e-9e9a-220351dcce8c", + "VaultName": "mua-pstest-backupvault", + "Location": "centraluseuap" + }, + "SubscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "TestCmkEncryption": { + "ResourceGroupName": "jeevan-wrk-vms", + "Location": "eastasia", + "CmkEncryptionKeyUri": "https://jeevantestkeyvaultcmk.vault.azure.net/keys/pstest/3cd5235ad6ac4c11b40a6f35444bcbe1", + "VaultName": "pstestvault-automated", + "CmkUserAssignedIdentityId": "/subscriptions/191973cd-9c54-41e0-ac19-25dd9a92d5a8/resourcegroups/jeevan-wrk-vms/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userMSIpstest", + "SubscriptionId": "191973cd-9c54-41e0-ac19-25dd9a92d5a8", + "CmkEncryptionKeyUriUpdated": "https://jeevantestkeyvaultcmk.vault.azure.net/keys/pstest/3cd5235ad6ac4c11b40a6f35444bcbe1" + }, + "TestTriggerBackup": { + "DiskId": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk", + "SubscriptionId": "38304e13-357e-405e-9e9a-220351dcce8c", + "BackupRuleName": "BackupHourly", + "ResourceGroupName": "pstest-diskrg", + "VaultName": "pstest-disk-vault" } } diff --git a/src/DataProtection/DataProtection.Autorest/test/utils.ps1 b/src/DataProtection/DataProtection.Autorest/test/utils.ps1 index 9ab199947d3c..b858943f07de 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 2024 -Month 03 -Day 25 -Hour 13 -Minute 11 -Second 11).ToString('dd-MM-yyyy-h-m-s') + $env.RecordDate = (Get-Date -Year 2024 -Month 04 -Day 22 -Hour 15 -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 = @{ @@ -237,6 +237,26 @@ function setupEnv() { ResourceGuardId = "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/hiaga-rg/providers/Microsoft.DataProtection/ResourceGuards/mua-pstest-dpp-ccy-resguard" } + $PGFlexRestoreVariables = @{ + SubscriptionId = "38304e13-357e-405e-9e9a-220351dcce8c" # "62b829ee-7936-40c9-a1c9-47a93f9f3965" + ResourceGroupName = "zubairRG" #"vdhingraRG" + VaultName = "zpgflex" #"vdhingraBackupVault" + NewPolicyName = "pstest-pgflex-policy" + PolicyName = "OssFlexiblePolicy1" # "pgflexArchivePolicy1" + TargetContainerURI = "https://akneemasaecy.blob.core.windows.net/oss-csr-container" # "https://vdhingra1psa.blob.core.windows.net/powershellpgflexrestore" + BackupInstanceName = "zubair-pgflex-cli1" # "archive-test" + } + + $MySQLRetoreVariables = @{ + SubscriptionId = "62b829ee-7936-40c9-a1c9-47a93f9f3965" + ResourceGroupName = "MySQLTest" # "vdhingraRG" + VaultName = "MYSQLBugBashCCY" #"vdhingraBackupVault" + NewPolicyName = "pstest-mysql-policy" + PolicyName = "LowRetention" #"pstest-simple-mysql" + TargetContainerURI = "https://adityaccy.blob.core.windows.net/ads" # "https://vdhingra1psa.blob.core.windows.net/powershellpgflexrestore" + BackupInstanceName = "bugbash-02" # "arhive-test" + } + $PGFlexVariables = @{ SubscriptionId = "62b829ee-7936-40c9-a1c9-47a93f9f3965" ResourceGroupName = "vdhingraRG" @@ -255,6 +275,16 @@ function setupEnv() { TargetContainerURI = "https://vdhingra1psa.blob.core.windows.net/powershellpgflexrestore" } + $CmkEncryptionVariables = @{ + SubscriptionId = "191973cd-9c54-41e0-ac19-25dd9a92d5a8" + ResourceGroupName = "jeevan-wrk-vms" + VaultName = "pstestvault-automated" + Location = "eastasia" + CmkUserAssignedIdentityId = "/subscriptions/191973cd-9c54-41e0-ac19-25dd9a92d5a8/resourcegroups/jeevan-wrk-vms/providers/Microsoft.ManagedIdentity/userAssignedIdentities/userMSIpstest" + CmkEncryptionKeyUri = "https://jeevantestkeyvaultcmk.vault.azure.net/keys/pstest/3cd5235ad6ac4c11b40a6f35444bcbe1" + CmkEncryptionKeyUriUpdated = "https://jeevantestkeyvaultcmk.vault.azure.net/keys/pstest/3cd5235ad6ac4c11b40a6f35444bcbe1" + } + $env.add("TestBackupInstance", $BackupInstanceTestVariables) | Out-Null $env.add("TestBackupPolicy", $BackupPolicyTestVariables) | Out-Null $env.add("TestBackupVault", $BackupVaultTestVariables) | Out-Null @@ -276,6 +306,9 @@ function setupEnv() { $env.add("TestMUA", $MUAVariables) | Out-Null $env.add("TestPGFlex", $PGFlexVariables) | Out-Null $env.add("TestMySQL", $MySQLVariables) | Out-Null + $env.add("TestPGFlexRestore", $PGFlexRestoreVariables) | Out-Null + $env.add("TestMySQLRestore", $MySQLRestoreVariables) | Out-Null + $env.add("TestCmkEncryption", $CmkEncryptionVariables) | Out-Null $envFile = 'env.json' if ($TestMode -eq 'live') { diff --git a/src/DataProtection/DataProtection/Az.DataProtection.psd1 b/src/DataProtection/DataProtection/Az.DataProtection.psd1 index 0909b9d70a0a..49373737fc28 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: 4/19/2024 +# Generated on: 4/22/2024 # @{ @@ -75,6 +75,7 @@ FunctionsToExport = 'Backup-AzDataProtectionBackupInstanceAdhoc', 'Edit-AzDataProtectionPolicyTriggerClientObject', 'Find-AzDataProtectionRestorableTimeRange', 'Get-AzDataProtectionBackupInstance', + 'Get-AzDataProtectionBackupInstancesExtensionRouting', 'Get-AzDataProtectionBackupPolicy', 'Get-AzDataProtectionBackupVault', 'Get-AzDataProtectionJob', 'Get-AzDataProtectionOperation', diff --git a/src/DataProtection/DataProtection/ChangeLog.md b/src/DataProtection/DataProtection/ChangeLog.md index 68a1d6a6473a..f10e8d661b51 100644 --- a/src/DataProtection/DataProtection/ChangeLog.md +++ b/src/DataProtection/DataProtection/ChangeLog.md @@ -19,6 +19,8 @@ --> ## Upcoming Release * Added vault tier restore and update backup instance for blobs. +* Added CmkEnryption parameters to Get-AzDataProtectionBackupVault, New-AzDataProtectionBackupVault and Update-AzDataProtectionBackupVault cmdlets. +* Added MUA support for DisableVaultImmutability, Restore, Stop-Protection, Suspend-backup, Disable soft delete operations. ## Version 2.3.0 * Onboarded new workloads AzureDatabaseForPGFlexServer, AzureDatabaseForMySQL for data protection. diff --git a/src/DataProtection/DataProtection/help/Az.DataProtection.md b/src/DataProtection/DataProtection/help/Az.DataProtection.md index 7fc039439628..67f7f24b78e0 100644 --- a/src/DataProtection/DataProtection/help/Az.DataProtection.md +++ b/src/DataProtection/DataProtection/help/Az.DataProtection.md @@ -29,6 +29,9 @@ 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-AzDataProtectionBackupInstancesExtensionRouting](Get-AzDataProtectionBackupInstancesExtensionRouting.md) +Gets a list of backup instances associated with a tracked resource + ### [Get-AzDataProtectionBackupPolicy](Get-AzDataProtectionBackupPolicy.md) Gets a backup policy belonging to a backup vault @@ -135,7 +138,7 @@ Triggers restore for a BackupInstance 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) +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 diff --git a/src/DataProtection/DataProtection/help/Backup-AzDataProtectionBackupInstanceAdhoc.md b/src/DataProtection/DataProtection/help/Backup-AzDataProtectionBackupInstanceAdhoc.md index b2d66570f78c..56828f48d05c 100644 --- a/src/DataProtection/DataProtection/help/Backup-AzDataProtectionBackupInstanceAdhoc.md +++ b/src/DataProtection/DataProtection/help/Backup-AzDataProtectionBackupInstanceAdhoc.md @@ -269,7 +269,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo ## NOTES diff --git a/src/DataProtection/DataProtection/help/Edit-AzDataProtectionPolicyRetentionRuleClientObject.md b/src/DataProtection/DataProtection/help/Edit-AzDataProtectionPolicyRetentionRuleClientObject.md index 6117ecbbecdf..8b06e675ea31 100644 --- a/src/DataProtection/DataProtection/help/Edit-AzDataProtectionPolicyRetentionRuleClientObject.md +++ b/src/DataProtection/DataProtection/help/Edit-AzDataProtectionPolicyRetentionRuleClientObject.md @@ -82,7 +82,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.Api20231201.ISourceLifeCycle[] +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycle[] Parameter Sets: AddRetention Aliases: @@ -129,7 +129,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.Api20231201.IBackupPolicy +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicy Parameter Sets: (All) Aliases: @@ -177,7 +177,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupPolicy +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicy ## NOTES diff --git a/src/DataProtection/DataProtection/help/Edit-AzDataProtectionPolicyTagClientObject.md b/src/DataProtection/DataProtection/help/Edit-AzDataProtectionPolicyTagClientObject.md index a4da7b7895a6..c555d215a729 100644 --- a/src/DataProtection/DataProtection/help/Edit-AzDataProtectionPolicyTagClientObject.md +++ b/src/DataProtection/DataProtection/help/Edit-AzDataProtectionPolicyTagClientObject.md @@ -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.Api20231201.IScheduleBasedBackupCriteria[] +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedBackupCriteria[] Parameter Sets: updateTag Aliases: @@ -95,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.Api20231201.IBackupPolicy +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicy Parameter Sets: (All) Aliases: @@ -143,7 +143,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupPolicy +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicy ## NOTES diff --git a/src/DataProtection/DataProtection/help/Edit-AzDataProtectionPolicyTriggerClientObject.md b/src/DataProtection/DataProtection/help/Edit-AzDataProtectionPolicyTriggerClientObject.md index 78318e2014eb..c0e54b041774 100644 --- a/src/DataProtection/DataProtection/help/Edit-AzDataProtectionPolicyTriggerClientObject.md +++ b/src/DataProtection/DataProtection/help/Edit-AzDataProtectionPolicyTriggerClientObject.md @@ -50,7 +50,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.Api20231201.IBackupPolicy +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicy Parameter Sets: (All) Aliases: @@ -113,7 +113,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupPolicy +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicy ## NOTES diff --git a/src/DataProtection/DataProtection/help/Find-AzDataProtectionRestorableTimeRange.md b/src/DataProtection/DataProtection/help/Find-AzDataProtectionRestorableTimeRange.md index 2464b04123c5..301cce2a6d53 100644 --- a/src/DataProtection/DataProtection/help/Find-AzDataProtectionRestorableTimeRange.md +++ b/src/DataProtection/DataProtection/help/Find-AzDataProtectionRestorableTimeRange.md @@ -224,7 +224,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupFindRestorableTimeRangesResponseResource +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupFindRestorableTimeRangesResponseResource ## NOTES diff --git a/src/DataProtection/DataProtection/help/Get-AzDataProtectionBackupInstance.md b/src/DataProtection/DataProtection/help/Get-AzDataProtectionBackupInstance.md index b632edc36822..0f0cb3f52a46 100644 --- a/src/DataProtection/DataProtection/help/Get-AzDataProtectionBackupInstance.md +++ b/src/DataProtection/DataProtection/help/Get-AzDataProtectionBackupInstance.md @@ -182,7 +182,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResource +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource ## NOTES diff --git a/src/DataProtection/DataProtection/help/Get-AzDataProtectionBackupInstancesExtensionRouting.md b/src/DataProtection/DataProtection/help/Get-AzDataProtectionBackupInstancesExtensionRouting.md new file mode 100644 index 000000000000..db9dd97172ff --- /dev/null +++ b/src/DataProtection/DataProtection/help/Get-AzDataProtectionBackupInstancesExtensionRouting.md @@ -0,0 +1,93 @@ +--- +external help file: Az.DataProtection-help.xml +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionbackupinstancesextensionrouting +schema: 2.0.0 +--- + +# Get-AzDataProtectionBackupInstancesExtensionRouting + +## SYNOPSIS +Gets a list of backup instances associated with a tracked resource + +## SYNTAX + +``` +Get-AzDataProtectionBackupInstancesExtensionRouting -ResourceId [-DefaultProfile ] + [-ProgressAction ] [] +``` + +## DESCRIPTION +Gets a list of backup instances associated with a tracked resource + +## EXAMPLES + +### Example 1: Get backup instance extension routing +```powershell +$diskARMID = "subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx/resourceGroups/testRG/providers/Microsoft.Compute/disks/testDisk" +Get-AzDataProtectionBackupInstancesExtensionRouting -ResourceId $diskARMID +``` + +This command gets a list of backup instances associated with a tracked resource. +To execute the cmdlet, We pass the datasource ARM ID to the parameter ResourceId. + +## 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 +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceId +ARM path of the resource to be protected using Microsoft.DataProtection + +```yaml +Type: System.String +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.Api20240401.IBackupInstanceResource + +## NOTES + +## RELATED LINKS diff --git a/src/DataProtection/DataProtection/help/Get-AzDataProtectionBackupPolicy.md b/src/DataProtection/DataProtection/help/Get-AzDataProtectionBackupPolicy.md index 20083355bc9c..d103c9aa02de 100644 --- a/src/DataProtection/DataProtection/help/Get-AzDataProtectionBackupPolicy.md +++ b/src/DataProtection/DataProtection/help/Get-AzDataProtectionBackupPolicy.md @@ -182,7 +182,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResource +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResource ## NOTES diff --git a/src/DataProtection/DataProtection/help/Get-AzDataProtectionBackupVault.md b/src/DataProtection/DataProtection/help/Get-AzDataProtectionBackupVault.md index 16fcb1188c73..1192b41749c3 100644 --- a/src/DataProtection/DataProtection/help/Get-AzDataProtectionBackupVault.md +++ b/src/DataProtection/DataProtection/help/Get-AzDataProtectionBackupVault.md @@ -97,6 +97,29 @@ Adequate First command gets a specific vault by given vault name, then we fetch the secure score of the vault which shows Adequate. +### Example 4: Get encryption settings of backup vault. +```powershell +$vault = Get-AzDataProtectionBackupVault -SubscriptionId "xxxx-xxx-xxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" +$vault.EncryptionSetting |fl +$vault.EncryptionSetting.CmkIdentity |fl +$vault.EncryptionSetting.CmkKeyVaultProperty |fl +``` + +```output +CmkIdentity : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CmkKekIdentity +CmkInfrastructureEncryption : Enabled +CmkKeyVaultProperty : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.CmkKeyVaultProperties +State : Enabled + +IdentityId : /subscriptions/191973cd-9c54-41e0-ac19-25dd9a92d5a8/resourcegroups/jeevan-wrk-vms/providers/Microsoft.ManagedIdentity/userAssignedIdentities + /userMSIpstest +IdentityType : UserAssigned + +KeyUri : https://jeevantestkeyvaultcmk.vault.azure.net/keys/pstest/3cd5235ad6ac4c11b40a6f35444bcbe1 +``` + +First command gets a specific vault by given vault name, subsequent three commands fetch the specity properites of encryption settings. + ## PARAMETERS ### -DefaultProfile @@ -202,7 +225,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResource +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResource ## NOTES diff --git a/src/DataProtection/DataProtection/help/Get-AzDataProtectionJob.md b/src/DataProtection/DataProtection/help/Get-AzDataProtectionJob.md index 69254cca0053..d0943aef330c 100644 --- a/src/DataProtection/DataProtection/help/Get-AzDataProtectionJob.md +++ b/src/DataProtection/DataProtection/help/Get-AzDataProtectionJob.md @@ -212,7 +212,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupJobResource +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupJobResource ## NOTES diff --git a/src/DataProtection/DataProtection/help/Get-AzDataProtectionOperation.md b/src/DataProtection/DataProtection/help/Get-AzDataProtectionOperation.md index c911e98e38f9..90935e2039be 100644 --- a/src/DataProtection/DataProtection/help/Get-AzDataProtectionOperation.md +++ b/src/DataProtection/DataProtection/help/Get-AzDataProtectionOperation.md @@ -126,7 +126,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IClientDiscoveryValueForSingleApi +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IClientDiscoveryValueForSingleApi ## NOTES diff --git a/src/DataProtection/DataProtection/help/Get-AzDataProtectionOperationStatus.md b/src/DataProtection/DataProtection/help/Get-AzDataProtectionOperationStatus.md index 0afcf8dd3032..56a69566dcdf 100644 --- a/src/DataProtection/DataProtection/help/Get-AzDataProtectionOperationStatus.md +++ b/src/DataProtection/DataProtection/help/Get-AzDataProtectionOperationStatus.md @@ -155,7 +155,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationResource +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationResource ## NOTES diff --git a/src/DataProtection/DataProtection/help/Get-AzDataProtectionPolicyTemplate.md b/src/DataProtection/DataProtection/help/Get-AzDataProtectionPolicyTemplate.md index 546aef61dd0a..a3ad881862f6 100644 --- a/src/DataProtection/DataProtection/help/Get-AzDataProtectionPolicyTemplate.md +++ b/src/DataProtection/DataProtection/help/Get-AzDataProtectionPolicyTemplate.md @@ -76,7 +76,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupPolicy +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicy ## NOTES diff --git a/src/DataProtection/DataProtection/help/Get-AzDataProtectionRecoveryPoint.md b/src/DataProtection/DataProtection/help/Get-AzDataProtectionRecoveryPoint.md index b4e6bed6a14d..9f0d1fea51fc 100644 --- a/src/DataProtection/DataProtection/help/Get-AzDataProtectionRecoveryPoint.md +++ b/src/DataProtection/DataProtection/help/Get-AzDataProtectionRecoveryPoint.md @@ -303,7 +303,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRecoveryPointResource +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRecoveryPointResource ### System.Management.Automation.PSObject diff --git a/src/DataProtection/DataProtection/help/Get-AzDataProtectionResourceGuard.md b/src/DataProtection/DataProtection/help/Get-AzDataProtectionResourceGuard.md index 09d81ea2fbcd..205652e3f3e2 100644 --- a/src/DataProtection/DataProtection/help/Get-AzDataProtectionResourceGuard.md +++ b/src/DataProtection/DataProtection/help/Get-AzDataProtectionResourceGuard.md @@ -169,7 +169,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResource +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource ## NOTES diff --git a/src/DataProtection/DataProtection/help/Get-AzDataProtectionResourceGuardMapping.md b/src/DataProtection/DataProtection/help/Get-AzDataProtectionResourceGuardMapping.md index cd2296e870d2..bf3e5f8edc4a 100644 --- a/src/DataProtection/DataProtection/help/Get-AzDataProtectionResourceGuardMapping.md +++ b/src/DataProtection/DataProtection/help/Get-AzDataProtectionResourceGuardMapping.md @@ -49,8 +49,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.Api20231201.ResourceGuardOperationDetail, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuardOperationDetail} +ResourceGuardOperationDetail : {Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardOperationDetail, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardOperationDetail} SystemData : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemData Type : Microsoft.DataProtection/vaults/backupResourceGuardProxies ``` @@ -163,7 +163,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResource +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResource ## NOTES diff --git a/src/DataProtection/DataProtection/help/Get-AzDataProtectionSoftDeletedBackupInstance.md b/src/DataProtection/DataProtection/help/Get-AzDataProtectionSoftDeletedBackupInstance.md index 1c902a9ca906..ed92e156f36b 100644 --- a/src/DataProtection/DataProtection/help/Get-AzDataProtectionSoftDeletedBackupInstance.md +++ b/src/DataProtection/DataProtection/help/Get-AzDataProtectionSoftDeletedBackupInstance.md @@ -169,7 +169,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IDeletedBackupInstanceResource +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IDeletedBackupInstanceResource ## NOTES diff --git a/src/DataProtection/DataProtection/help/Initialize-AzDataProtectionBackupInstance.md b/src/DataProtection/DataProtection/help/Initialize-AzDataProtectionBackupInstance.md index a357c89f01b1..1772c79dd96f 100644 --- a/src/DataProtection/DataProtection/help/Initialize-AzDataProtectionBackupInstance.md +++ b/src/DataProtection/DataProtection/help/Initialize-AzDataProtectionBackupInstance.md @@ -96,7 +96,7 @@ Use this parameter to configure protection for AzureKubernetesService,AzureBlob. To construct, see NOTES section for BACKUPCONFIGURATION properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupDatasourceParameters +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupDatasourceParameters Parameter Sets: (All) Aliases: @@ -253,7 +253,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResource +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource ## NOTES diff --git a/src/DataProtection/DataProtection/help/Initialize-AzDataProtectionRestoreRequest.md b/src/DataProtection/DataProtection/help/Initialize-AzDataProtectionRestoreRequest.md index 10af2f50f5d2..b370e7422ca4 100644 --- a/src/DataProtection/DataProtection/help/Initialize-AzDataProtectionRestoreRequest.md +++ b/src/DataProtection/DataProtection/help/Initialize-AzDataProtectionRestoreRequest.md @@ -196,7 +196,7 @@ 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.Api20231201.BackupInstanceResource +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.BackupInstanceResource Parameter Sets: OriginalLocationFullRecovery, OriginalLocationILR Aliases: @@ -384,7 +384,7 @@ 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.Api20231201.KubernetesClusterRestoreCriteria +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.KubernetesClusterRestoreCriteria Parameter Sets: AlternateLocationFullRecovery, AlternateLocationILR, OriginalLocationFullRecovery, OriginalLocationILR Aliases: @@ -546,7 +546,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest ## NOTES diff --git a/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupConfigurationClientObject.md b/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupConfigurationClientObject.md index 2d0d39724f73..ec9fbc5c2a16 100644 --- a/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupConfigurationClientObject.md +++ b/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupConfigurationClientObject.md @@ -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.Api20231201.NamespacedNameResource[] +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.NamespacedNameResource[] Parameter Sets: (All) Aliases: diff --git a/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupInstance.md b/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupInstance.md index 99a16d9ec7c2..624334eda41e 100644 --- a/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupInstance.md +++ b/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupInstance.md @@ -178,7 +178,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.Api20231201.IBackupInstanceResource +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource Parameter Sets: (All) Aliases: diff --git a/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupPolicy.md b/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupPolicy.md index b974ef8b831d..c88fbafac951 100644 --- a/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupPolicy.md +++ b/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupPolicy.md @@ -262,7 +262,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.Api20231201.IBackupPolicy +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupPolicy Parameter Sets: (All) Aliases: @@ -371,7 +371,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBaseBackupPolicyResource +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBaseBackupPolicyResource ## NOTES diff --git a/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupVault.md b/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupVault.md index 10cd5bbac8b8..59b27346b358 100644 --- a/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupVault.md +++ b/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupVault.md @@ -18,8 +18,11 @@ New-AzDataProtectionBackupVault -ResourceGroupName -VaultName [-AzureMonitorAlertsForAllJobFailure ] [-ImmutabilityState ] [-CrossRegionRestoreState ] [-CrossSubscriptionRestoreState ] [-SoftDeleteRetentionDurationInDay ] - [-SoftDeleteState ] [-Tag ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-SoftDeleteState ] [-Tag ] [-IdentityUserAssignedIdentity ] + [-CmkEncryptionState ] [-CmkInfrastructureEncryption ] + [-CmkIdentityType ] [-CmkUserAssignedIdentityId ] [-CmkEncryptionKeyUri ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] + [] ``` ## DESCRIPTION @@ -57,6 +60,35 @@ ETag IdentityPrincipalId IdentityTenantId IdentityType Location Name Type This command creates a new backup vault while setting Immutability state, cross subscription restore state, soft delete settings of the vault at creation time. +### Example 3: Create a Backup Vault with CMK +```powershell +$storagesetting = New-AzDataProtectionBackupVaultStorageSettingObject -DataStoreType VaultStore -Type LocallyRedundant +$userAssignedIdentity = @{ + "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/samplerg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sampleuami" = @{ + clientId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + principalId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + } + "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/samplerg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sampleuami2" = @{ + clientId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + principalId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" + } +} + +$cmkIdentityId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/samplerg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sampleuami" + +$cmkKeyUri = "https://samplekvazbckp.vault.azure.net/keys/testkey/3cd5235ad6ac4c11b40a6f35444bcbe1" + +New-AzDataProtectionBackupVault -SubscriptionId xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -Location "location" -StorageSetting $storagesetting -IdentityType UserAssigned -UserAssignedIdentity $userAssignedIdentity -CmkEncryptionState Enabled -CmkIdentityType UserAssigned -CmkUserAssignedIdentityId $cmkIdentityId -CmkEncryptionKeyUri $cmkKeyUri -CmkInfrastructureEncryption Enabled +``` + +```output +Name Location IdentityType +-------- -------- ------------ +vaultName location UserAssigned +``` + +This command creates a backup vault with CMK encryption enabled + ## PARAMETERS ### -AsJob @@ -89,6 +121,84 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -CmkEncryptionKeyUri +The Key URI of the CMK key to be used for encryption. +To enable auto-rotation of keys, exclude the version component from the Key URI. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -CmkEncryptionState +Enable CMK encryption state for a Backup Vault. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.EncryptionState +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -CmkIdentityType +The identity type to be used for CMK encryption - SystemAssigned or UserAssigned Identity. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.IdentityType +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -CmkInfrastructureEncryption +Enable infrastructure encryption with CMK on this vault. +Infrastructure encryption must be configured only when creating the vault. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.InfrastructureEncryptionState +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -CmkUserAssignedIdentityId +This parameter is required if the identity type is UserAssigned. +Add the user assigned managed identity id to be used which has access permissions to the Key Vault. + +```yaml +Type: System.String +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. @@ -151,7 +261,7 @@ Accept wildcard characters: False ``` ### -IdentityType -The identityType which can be either SystemAssigned or None. +The identityType can take values - "SystemAssigned", "UserAssigned", "SystemAssigned,UserAssigned", "None". ```yaml Type: System.String @@ -165,6 +275,21 @@ 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: UserAssignedIdentity + +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. @@ -277,7 +402,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.Api20231201.IStorageSetting[] +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IStorageSetting[] Parameter Sets: (All) Aliases: diff --git a/src/DataProtection/DataProtection/help/New-AzDataProtectionPolicyTagCriteriaClientObject.md b/src/DataProtection/DataProtection/help/New-AzDataProtectionPolicyTagCriteriaClientObject.md index 06aa0d870e0e..ecaa750d9eb9 100644 --- a/src/DataProtection/DataProtection/help/New-AzDataProtectionPolicyTagCriteriaClientObject.md +++ b/src/DataProtection/DataProtection/help/New-AzDataProtectionPolicyTagCriteriaClientObject.md @@ -182,7 +182,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IScheduleBasedBackupCriteria +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IScheduleBasedBackupCriteria ## NOTES diff --git a/src/DataProtection/DataProtection/help/New-AzDataProtectionResourceGuard.md b/src/DataProtection/DataProtection/help/New-AzDataProtectionResourceGuard.md index 165ce87fe5ee..0a80341a783d 100644 --- a/src/DataProtection/DataProtection/help/New-AzDataProtectionResourceGuard.md +++ b/src/DataProtection/DataProtection/help/New-AzDataProtectionResourceGuard.md @@ -210,7 +210,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResource +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource ## NOTES diff --git a/src/DataProtection/DataProtection/help/New-AzDataProtectionRestoreConfigurationClientObject.md b/src/DataProtection/DataProtection/help/New-AzDataProtectionRestoreConfigurationClientObject.md index e5442cc8c5aa..3f35b63677d1 100644 --- a/src/DataProtection/DataProtection/help/New-AzDataProtectionRestoreConfigurationClientObject.md +++ b/src/DataProtection/DataProtection/help/New-AzDataProtectionRestoreConfigurationClientObject.md @@ -171,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.Api20231201.KubernetesClusterRestoreCriteriaNamespaceMappings +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.KubernetesClusterRestoreCriteriaNamespaceMappings Parameter Sets: (All) Aliases: @@ -219,7 +219,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.Api20231201.NamespacedNameResource[] +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.NamespacedNameResource[] Parameter Sets: (All) Aliases: diff --git a/src/DataProtection/DataProtection/help/New-AzDataProtectionRetentionLifeCycleClientObject.md b/src/DataProtection/DataProtection/help/New-AzDataProtectionRetentionLifeCycleClientObject.md index 79b658088b90..722d0c7bf8e6 100644 --- a/src/DataProtection/DataProtection/help/New-AzDataProtectionRetentionLifeCycleClientObject.md +++ b/src/DataProtection/DataProtection/help/New-AzDataProtectionRetentionLifeCycleClientObject.md @@ -157,7 +157,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ISourceLifeCycle +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ISourceLifeCycle ## NOTES diff --git a/src/DataProtection/DataProtection/help/Remove-AzDataProtectionBackupInstance.md b/src/DataProtection/DataProtection/help/Remove-AzDataProtectionBackupInstance.md index 36eaa93a7e3b..327c5eaa819d 100644 --- a/src/DataProtection/DataProtection/help/Remove-AzDataProtectionBackupInstance.md +++ b/src/DataProtection/DataProtection/help/Remove-AzDataProtectionBackupInstance.md @@ -15,14 +15,15 @@ Delete a backupInstances ### Delete (Default) ``` Remove-AzDataProtectionBackupInstance -Name -ResourceGroupName [-SubscriptionId ] - -VaultName [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + -VaultName [-Token ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### DeleteViaIdentity ``` -Remove-AzDataProtectionBackupInstance -InputObject [-DefaultProfile ] - [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] +Remove-AzDataProtectionBackupInstance -InputObject [-Token ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] + [-Confirm] [] ``` ## DESCRIPTION @@ -179,6 +180,22 @@ 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 The name of the backup vault. diff --git a/src/DataProtection/DataProtection/help/Set-AzDataProtectionMSIPermission.md b/src/DataProtection/DataProtection/help/Set-AzDataProtectionMSIPermission.md index 9dac34da850e..352d8787f3c3 100644 --- a/src/DataProtection/DataProtection/help/Set-AzDataProtectionMSIPermission.md +++ b/src/DataProtection/DataProtection/help/Set-AzDataProtectionMSIPermission.md @@ -106,7 +106,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.Api20231201.IBackupInstanceResource +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource Parameter Sets: SetPermissionsForBackup Aliases: @@ -183,7 +183,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.Api20231201.IAzureBackupRestoreRequest +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest Parameter Sets: SetPermissionsForRestore Aliases: diff --git a/src/DataProtection/DataProtection/help/Set-AzDataProtectionResourceGuardMapping.md b/src/DataProtection/DataProtection/help/Set-AzDataProtectionResourceGuardMapping.md index 3483ea36121b..0c41d5ff0a77 100644 --- a/src/DataProtection/DataProtection/help/Set-AzDataProtectionResourceGuardMapping.md +++ b/src/DataProtection/DataProtection/help/Set-AzDataProtectionResourceGuardMapping.md @@ -37,8 +37,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.Api20231201.ResourceGuardOperationDetail, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.ResourceGuardOperationDetail} +ResourceGuardOperationDetail : {Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardOperationDetail, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardOperationDetail} SystemData : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemData Type : Microsoft.DataProtection/vaults/backupResourceGuardProxies ``` @@ -179,7 +179,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardProxyBaseResource +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardProxyBaseResource ## NOTES diff --git a/src/DataProtection/DataProtection/help/Start-AzDataProtectionBackupInstanceRestore.md b/src/DataProtection/DataProtection/help/Start-AzDataProtectionBackupInstanceRestore.md index 3079008066d1..c1efd58194af 100644 --- a/src/DataProtection/DataProtection/help/Start-AzDataProtectionBackupInstanceRestore.md +++ b/src/DataProtection/DataProtection/help/Start-AzDataProtectionBackupInstanceRestore.md @@ -16,18 +16,19 @@ Triggers restore for a BackupInstance ``` Start-AzDataProtectionBackupInstanceRestore -ResourceGroupName -BackupInstanceName -VaultName -Parameter [-SubscriptionId ] - [-RestoreToSecondaryRegion] [-DefaultProfile ] [-AsJob] [-NoWait] - [-ProgressAction ] [-WhatIf] [-Confirm] [] + [-ResourceGuardOperationRequest ] [-Token ] [-RestoreToSecondaryRegion] + [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] + [] ``` ### TriggerExpanded ``` Start-AzDataProtectionBackupInstanceRestore -ResourceGroupName -BackupInstanceName - -VaultName [-SubscriptionId ] [-RestoreToSecondaryRegion] [-DefaultProfile ] - [-AsJob] [-NoWait] -ObjectType -RestoreTargetInfo - -SourceDataStoreType [-IdentityDetailUserAssignedIdentityArmUrl ] - [-IdentityDetailUseSystemAssignedIdentity] [-SourceResourceId ] [-ProgressAction ] - [-WhatIf] [-Confirm] [] + -VaultName [-SubscriptionId ] [-ResourceGuardOperationRequest ] [-Token ] + [-RestoreToSecondaryRegion] [-DefaultProfile ] [-AsJob] [-NoWait] -ObjectType + -RestoreTargetInfo -SourceDataStoreType + [-IdentityDetailUserAssignedIdentityArmUrl ] [-IdentityDetailUseSystemAssignedIdentity] + [-SourceResourceId ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -343,7 +344,7 @@ Restore request object to be initialized using Initialize-AzDataProtectionRestor To construct, see NOTES section for PARAMETER properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest Parameter Sets: Trigger Aliases: @@ -384,12 +385,28 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ResourceGuardOperationRequest +Resource guard operation request in the format similar to \/dppTriggerRestoreRequests/default. +Use this parameter when the operation is MUA protected. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +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.Api20231201.IRestoreTargetInfoBase +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IRestoreTargetInfoBase Parameter Sets: TriggerExpanded Aliases: @@ -460,6 +477,22 @@ 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 The name of the backup vault @@ -511,11 +544,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IAzureBackupRestoreRequest +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo ## NOTES diff --git a/src/DataProtection/DataProtection/help/Stop-AzDataProtectionBackupInstanceProtection.md b/src/DataProtection/DataProtection/help/Stop-AzDataProtectionBackupInstanceProtection.md index 0242963e8c22..5196bc0957e5 100644 --- a/src/DataProtection/DataProtection/help/Stop-AzDataProtectionBackupInstanceProtection.md +++ b/src/DataProtection/DataProtection/help/Stop-AzDataProtectionBackupInstanceProtection.md @@ -14,16 +14,17 @@ This operation will stop protection of a backup instance and data will be held f ### Stop (Default) ``` -Stop-AzDataProtectionBackupInstanceProtection -BackupInstanceName -ResourceGroupName - [-SubscriptionId ] -VaultName [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] - [-ProgressAction ] [-WhatIf] [-Confirm] [] +Stop-AzDataProtectionBackupInstanceProtection -ResourceGroupName -BackupInstanceName + -VaultName [-SubscriptionId ] [-ResourceGuardOperationRequest ] [-Token ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] + [-Confirm] [] ``` ### StopViaIdentity ``` -Stop-AzDataProtectionBackupInstanceProtection -InputObject - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] - [-Confirm] [] +Stop-AzDataProtectionBackupInstanceProtection [-ResourceGuardOperationRequest ] [-Token ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] -InputObject + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -56,7 +57,7 @@ Accept wildcard characters: False ``` ### -BackupInstanceName -The name of the backup instance. +The name of the backup instance ```yaml Type: System.String @@ -71,8 +72,6 @@ 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 @@ -148,8 +147,7 @@ Accept wildcard characters: False ``` ### -ResourceGroupName -The name of the resource group. -The name is case insensitive. +The name of the resource group where the backup vault is present ```yaml Type: System.String @@ -163,9 +161,24 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ResourceGuardOperationRequest +Resource guard operation request in the format similar to \/dppDisableStopProtectionRequests/default. +Use this parameter when the operation is MUA protected. + +```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. +Subscription Id of the backup vault ```yaml Type: System.String @@ -174,13 +187,29 @@ Aliases: Required: False Position: Named -Default value: (Get-AzContext).Subscription.Id +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 -The name of the backup vault. +The name of the backup vault ```yaml Type: System.String diff --git a/src/DataProtection/DataProtection/help/Suspend-AzDataProtectionBackupInstanceBackup.md b/src/DataProtection/DataProtection/help/Suspend-AzDataProtectionBackupInstanceBackup.md index 70c10ffd4411..e5520a7ca396 100644 --- a/src/DataProtection/DataProtection/help/Suspend-AzDataProtectionBackupInstanceBackup.md +++ b/src/DataProtection/DataProtection/help/Suspend-AzDataProtectionBackupInstanceBackup.md @@ -8,26 +8,27 @@ 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) +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 - [-SubscriptionId ] -VaultName [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] - [-ProgressAction ] [-WhatIf] [-Confirm] [] +Suspend-AzDataProtectionBackupInstanceBackup -ResourceGroupName -BackupInstanceName + -VaultName [-SubscriptionId ] [-ResourceGuardOperationRequest ] [-Token ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] + [-Confirm] [] ``` ### SuspendViaIdentity ``` -Suspend-AzDataProtectionBackupInstanceBackup -InputObject - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] - [-Confirm] [] +Suspend-AzDataProtectionBackupInstanceBackup [-ResourceGuardOperationRequest ] [-Token ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] -InputObject + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## 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) +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 @@ -56,7 +57,7 @@ Accept wildcard characters: False ``` ### -BackupInstanceName -The name of the backup instance. +The name of the backup instance ```yaml Type: System.String @@ -71,8 +72,6 @@ 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 @@ -148,8 +147,7 @@ Accept wildcard characters: False ``` ### -ResourceGroupName -The name of the resource group. -The name is case insensitive. +The name of the resource group where the backup vault is present ```yaml Type: System.String @@ -163,9 +161,24 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ResourceGuardOperationRequest +Resource guard operation request in the format similar to \/dppDisableSuspendBackupsRequests/default. +Use this parameter when the operation is MUA protected. + +```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. +Subscription Id of the backup vault ```yaml Type: System.String @@ -174,13 +187,29 @@ Aliases: Required: False Position: Named -Default value: (Get-AzContext).Subscription.Id +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 -The name of the backup vault. +The name of the backup vault ```yaml Type: System.String diff --git a/src/DataProtection/DataProtection/help/Test-AzDataProtectionBackupInstanceReadiness.md b/src/DataProtection/DataProtection/help/Test-AzDataProtectionBackupInstanceReadiness.md index 71fd697411f1..0766fc7903d6 100644 --- a/src/DataProtection/DataProtection/help/Test-AzDataProtectionBackupInstanceReadiness.md +++ b/src/DataProtection/DataProtection/help/Test-AzDataProtectionBackupInstanceReadiness.md @@ -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.Api20231201.IBackupInstance +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstance Parameter Sets: (All) Aliases: @@ -204,7 +204,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo ## NOTES diff --git a/src/DataProtection/DataProtection/help/Test-AzDataProtectionBackupInstanceRestore.md b/src/DataProtection/DataProtection/help/Test-AzDataProtectionBackupInstanceRestore.md index 69d402ab10a6..573720d15321 100644 --- a/src/DataProtection/DataProtection/help/Test-AzDataProtectionBackupInstanceRestore.md +++ b/src/DataProtection/DataProtection/help/Test-AzDataProtectionBackupInstanceRestore.md @@ -137,7 +137,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.Api20231201.IAzureBackupRestoreRequest +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IAzureBackupRestoreRequest Parameter Sets: (All) Aliases: @@ -231,7 +231,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IOperationJobExtendedInfo +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IOperationJobExtendedInfo ## NOTES diff --git a/src/DataProtection/DataProtection/help/Update-AzDataProtectionBackupInstance.md b/src/DataProtection/DataProtection/help/Update-AzDataProtectionBackupInstance.md index 64603385c881..0db8a827acdc 100644 --- a/src/DataProtection/DataProtection/help/Update-AzDataProtectionBackupInstance.md +++ b/src/DataProtection/DataProtection/help/Update-AzDataProtectionBackupInstance.md @@ -235,7 +235,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResource +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource ## NOTES diff --git a/src/DataProtection/DataProtection/help/Update-AzDataProtectionBackupInstanceAssociatedPolicy.md b/src/DataProtection/DataProtection/help/Update-AzDataProtectionBackupInstanceAssociatedPolicy.md index 276d8ed68dd0..ea4b2548e76b 100644 --- a/src/DataProtection/DataProtection/help/Update-AzDataProtectionBackupInstanceAssociatedPolicy.md +++ b/src/DataProtection/DataProtection/help/Update-AzDataProtectionBackupInstanceAssociatedPolicy.md @@ -211,7 +211,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupInstanceResource +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupInstanceResource ## NOTES diff --git a/src/DataProtection/DataProtection/help/Update-AzDataProtectionBackupVault.md b/src/DataProtection/DataProtection/help/Update-AzDataProtectionBackupVault.md index 23f0d6e51f39..998d91b747c2 100644 --- a/src/DataProtection/DataProtection/help/Update-AzDataProtectionBackupVault.md +++ b/src/DataProtection/DataProtection/help/Update-AzDataProtectionBackupVault.md @@ -15,24 +15,27 @@ For example, updating tags for a resource. ### UpdateExpanded (Default) ``` -Update-AzDataProtectionBackupVault -ResourceGroupName [-SubscriptionId ] -VaultName - [-AzureMonitorAlertsForAllJobFailure ] [-CrossRegionRestoreState ] +Update-AzDataProtectionBackupVault [-Token ] [-AzureMonitorAlertsForAllJobFailure ] + [-CrossRegionRestoreState ] [-CrossSubscriptionRestoreState ] [-IdentityType ] [-IdentityUserAssignedIdentity ] [-ImmutabilityState ] - [-SoftDeleteRetentionDurationInDay ] [-SoftDeleteState ] [-Tag ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] - [] + [-ResourceGuardOperationRequest ] [-SoftDeleteRetentionDurationInDay ] + [-SoftDeleteState ] [-Tag ] [-DefaultProfile ] [-AsJob] [-NoWait] + -ResourceGroupName -VaultName [-SubscriptionId ] + [-CmkEncryptionState ] [-CmkIdentityType ] + [-CmkUserAssignedIdentityId ] [-CmkEncryptionKeyUri ] [-ProgressAction ] + [-WhatIf] [-Confirm] [] ``` ### UpdateViaIdentityExpanded ``` -Update-AzDataProtectionBackupVault -InputObject +Update-AzDataProtectionBackupVault -InputObject [-Token ] [-AzureMonitorAlertsForAllJobFailure ] [-CrossRegionRestoreState ] - [-CrossSubscriptionRestoreState ] [-IdentityType ] - [-IdentityUserAssignedIdentity ] [-ImmutabilityState ] - [-SoftDeleteRetentionDurationInDay ] [-SoftDeleteState ] [-Tag ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-ProgressAction ] [-WhatIf] [-Confirm] - [] + [-CrossSubscriptionRestoreState ] [-EncryptionSetting ] + [-IdentityType ] [-IdentityUserAssignedIdentity ] [-ImmutabilityState ] + [-ResourceGuardOperationRequest ] [-SoftDeleteRetentionDurationInDay ] + [-SoftDeleteState ] [-Tag ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -85,6 +88,38 @@ 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. +### Example 4: Update vault CmkIdentityType from UserAssignedManagedIdentity to SystemAssignedManagedIdentity and CmkEncryptionKeyUri +```powershell +$cmkKeyUri = "https://samplekvazbckp.vault.azure.net/keys/testkey/3cd5235ad6ac4c11b40a6f35444bcbe1" + +Update-AzDataProtectionBackupVault -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -CmkIdentityType SystemAssigned -CmkEncryptionKeyUri $cmkKeyUri +``` + +```output +Name Location Type IdentityType +---- -------- ---- ------------ +vaultName southeastasia Microsoft.DataProtection/backupVaults SystemAssigned +``` + +This command is used to modify CmkIdentityType and CmkEncryptionKeyUri. +These parameters are optional and can be used independently. + +### Example 5: Update vault CmkIdentityType from SystemAssignedManagedIdentity to UserAssignedManagedIdentity +```powershell +$cmkIdentityId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/samplerg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sampleuami" + +Update-AzDataProtectionBackupVault -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -CmkIdentityType UserAssigned -CmkUserAssignedIdentityId $cmkIdentityId +``` + +```output +Name Location Type IdentityType +---- -------- ---- ------------ +vaultName southeastasia Microsoft.DataProtection/backupVaults UserAssigned +``` + +This command is used to change CmkIdentityType from SystemAssigned to UserAssgined. +CmkIdenityId is a required parameter. + ## PARAMETERS ### -AsJob @@ -118,6 +153,68 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -CmkEncryptionKeyUri +The Key URI of the CMK key to be used for encryption. +To enable auto-rotation of keys, exclude the version component from the Key URI. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -CmkEncryptionState +Enable CMK encryption state for a Backup Vault. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.EncryptionState +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -CmkIdentityType +The identity type to be used for CMK encryption - SystemAssigned or UserAssigned Identity. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.IdentityType +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -CmkUserAssignedIdentityId +This parameter is required if the identity type is UserAssigned. +Add the user assigned managed identity id to be used which has access permissions to the Key Vault. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +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. @@ -166,6 +263,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -EncryptionSetting +Customer Managed Key details of the resource. +To construct, see NOTES section for ENCRYPTIONSETTING properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IEncryptionSettings +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +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 @@ -187,7 +300,7 @@ Gets or sets the user assigned identities. ```yaml Type: System.Collections.Hashtable Parameter Sets: (All) -Aliases: +Aliases: UserAssignedIdentity Required: False Position: Named @@ -274,6 +387,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ResourceGuardOperationRequest +ResourceGuardOperationRequests on which LAC check will be performed + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -SoftDeleteRetentionDurationInDay Soft delete retention duration in days. @@ -316,7 +444,7 @@ Aliases: Required: False Position: Named -Default value: (Get-AzContext).Subscription.Id +Default value: None Accept pipeline input: False Accept wildcard characters: False ``` @@ -336,6 +464,22 @@ 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 The name of the backup vault. @@ -391,7 +535,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IBackupVaultResource +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IBackupVaultResource ## NOTES diff --git a/src/DataProtection/DataProtection/help/Update-AzDataProtectionResourceGuard.md b/src/DataProtection/DataProtection/help/Update-AzDataProtectionResourceGuard.md index d60a8f7c6daa..279603414f61 100644 --- a/src/DataProtection/DataProtection/help/Update-AzDataProtectionResourceGuard.md +++ b/src/DataProtection/DataProtection/help/Update-AzDataProtectionResourceGuard.md @@ -46,7 +46,7 @@ The fourth command is used to exclude some critical operations from the resource ### -CriticalOperationExclusionList List of critical operations which are not protected by this resourceGuard. -Supported values are DeleteProtection, UpdateProtection, UpdatePolicy, GetSecurityPin, DeleteBackupInstance +Supported values are DeleteProtection, UpdateProtection, UpdatePolicy, GetSecurityPin, DeleteBackupInstance, RecoveryServicesDisableImmutability, DataProtectionDisableImmutability, RecoveryServicesModifyEncryptionSettings, DataProtectionModifyEncryptionSettings ```yaml Type: System.String[] @@ -217,7 +217,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231201.IResourceGuardResource +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource ## NOTES